From c1bb45bc92c47cf9b3ebed462e30cec6006ee125 Mon Sep 17 00:00:00 2001 From: Guillaume Claret Date: Sat, 1 Jun 2024 20:58:20 +0200 Subject: [PATCH 1/4] revm: add links for the default of the gas --- CoqOfRust/core/links/default.v | 354 +++++++++++++++++++++++++ CoqOfRust/revm/interpreter/links/gas.v | 49 ++++ 2 files changed, 403 insertions(+) create mode 100644 CoqOfRust/core/links/default.v diff --git a/CoqOfRust/core/links/default.v b/CoqOfRust/core/links/default.v new file mode 100644 index 000000000..4bd841715 --- /dev/null +++ b/CoqOfRust/core/links/default.v @@ -0,0 +1,354 @@ +Require Import CoqOfRust.CoqOfRust. +Require Import links.M. +Require Import core.default. + +Import Run. + +(* + pub trait Default: Sized { + // Required method + fn default() -> Self; + } +*) +Module Default. + Definition Run_default (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := + {default @ + IsTraitMethod.t "core::default::Default" Self_ty [] "default" default * + {{ + default [] [] ⇓ + fun (v : Self) => inl (φ v) + }} + }. + + Record RunImpl (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := { + default : Run_default Self Self_ty; + }. +End Default. + +Module Impl_Default_for_unit. + Definition Self : Set := unit. + Definition Self_ty : Ty.t := Ty.tuple []. + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_Tuple_.Implements. } + { reflexivity. } + } + { run_symbolic. + now instantiate (1 := tt). + } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_unit. + +Module Impl_Default_for_bool. + Definition Self : Set := bool. + Definition Self_ty : Ty.t := Ty.path "bool". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_bool.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_bool. + +Module Impl_Default_for_char. + (* TODO *) +End Impl_Default_for_char. + +Module Impl_Default_for_usize. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "usize". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_usize.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_usize. + +Module Impl_Default_for_u8. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "u8". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_u8.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_u8. + +Module Impl_Default_for_u16. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "u16". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_u16.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_u16. + +Module Impl_Default_for_u32. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "u32". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_u32.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_u32. + +Module Impl_Default_for_u64. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "u64". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_u64.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_u64. + +Module Impl_Default_for_u128. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "u128". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_u128.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_u128. + +Module Impl_Default_for_isize. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "isize". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_isize.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_isize. + +Module Impl_Default_for_i8. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "i8". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_i8.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_i8. + +Module Impl_Default_for_i16. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "i16". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_i16.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_i16. + +Module Impl_Default_for_i32. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "i32". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_i32.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_i32. + +Module Impl_Default_for_i64. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "i64". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_i64.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_i64. + +Module Impl_Default_for_i128. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "i128". + + Definition run_default : Default.Run_default Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply default.Impl_core_default_Default_for_i128.Implements. } + { reflexivity. } + } + { run_symbolic. } + Defined. + + Definition run_impl : Default.RunImpl Self Self_ty. + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default_for_i128. diff --git a/CoqOfRust/revm/interpreter/links/gas.v b/CoqOfRust/revm/interpreter/links/gas.v index 18cd9d4bc..94fe69b8c 100644 --- a/CoqOfRust/revm/interpreter/links/gas.v +++ b/CoqOfRust/revm/interpreter/links/gas.v @@ -1,6 +1,7 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. Require core.links.clone. +Require core.links.default. Require Import revm.interpreter.gas. Import Run. @@ -92,6 +93,54 @@ Module Impl_Clone. Defined. End Impl_Clone. +Module Impl_Default. + Definition run_default : default.Default.Run_default Gas.t (Φ Gas.t). + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply gas.Impl_core_default_Default_for_revm_interpreter_gas_Gas.Implements. } + { reflexivity. } + } + { intros; cbn. + destruct default.Impl_Default_for_u64.run_default + as [default_u64 [H_default_u64 run_default_u64]]. + destruct default.Impl_Default_for_i64.run_default + as [default_i64 [H_default_i64 run_default_i64]]. + eapply Run.CallPrimitiveGetTraitMethod. { + apply H_default_u64. + } + eapply Run.CallClosure. { + apply run_default_u64. + } + intros; cbn. + eapply Run.CallPrimitiveGetTraitMethod. { + apply H_default_u64. + } + eapply Run.CallClosure. { + apply run_default_u64. + } + intros; cbn. + eapply Run.CallPrimitiveGetTraitMethod. { + apply H_default_i64. + } + eapply Run.CallClosure. { + apply run_default_i64. + } + intros; cbn. + run_symbolic. + now instantiate (1 := Gas.Build_t _ _ _). + } + Defined. + + Definition run_impl : default.Default.RunImpl Gas.t (Φ Gas.t). + Proof. + constructor. + { (* default *) + exact run_default. + } + Defined. +End Impl_Default. + Module Impl_revm_interpreter_gas_Gas. Definition Self : Set := Gas.t. From f7944e48f1d421ffc87568bcf9346096195c51af Mon Sep 17 00:00:00 2001 From: Guillaume Claret Date: Sat, 1 Jun 2024 21:10:49 +0200 Subject: [PATCH 2/4] revm: definition of clone impl per method --- CoqOfRust/core/links/clone.v | 9 ++++++--- CoqOfRust/revm/interpreter/links/gas.v | 21 +++++++++++++-------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/CoqOfRust/core/links/clone.v b/CoqOfRust/core/links/clone.v index 84e0c35a8..d69452075 100644 --- a/CoqOfRust/core/links/clone.v +++ b/CoqOfRust/core/links/clone.v @@ -13,15 +13,18 @@ Import Run. } *) Module Clone. - Record RunImpl (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := { - clone : {clone @ + Definition Run_clone (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := + {clone @ IsTraitMethod.t "core::clone::Clone" Self_ty [] "clone" clone * forall (self : Ref.t Self), {{ clone [] [ φ self ] ⇓ fun (v : Self) => inl (φ v) }} - }; + }. + + Record RunImpl (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := { + clone : Run_clone Self Self_ty; (* TODO: add [clone_from] *) }. End Clone. diff --git a/CoqOfRust/revm/interpreter/links/gas.v b/CoqOfRust/revm/interpreter/links/gas.v index 94fe69b8c..cbc2a6b6d 100644 --- a/CoqOfRust/revm/interpreter/links/gas.v +++ b/CoqOfRust/revm/interpreter/links/gas.v @@ -77,18 +77,23 @@ Module Gas. End Gas. Module Impl_Clone. + Definition run_clone : clone.Clone.Run_clone Gas.t (Φ Gas.t). + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply gas.Impl_core_clone_Clone_for_revm_interpreter_gas_Gas.Implements. } + { reflexivity. } + } + { intros. + run_symbolic. + } + Defined. + Definition run_impl : clone.Clone.RunImpl Gas.t (Φ Gas.t). Proof. constructor. { (* clone *) - eexists; split. - { eapply IsTraitMethod.Explicit. - { apply gas.Impl_core_clone_Clone_for_revm_interpreter_gas_Gas.Implements. } - { reflexivity. } - } - { intros. - run_symbolic. - } + exact run_clone. } Defined. End Impl_Clone. From 2190c0745138572156871f40c422e08d3703d340 Mon Sep 17 00:00:00 2001 From: Guillaume Claret Date: Sun, 2 Jun 2024 14:22:51 +0200 Subject: [PATCH 3/4] links: more progress of the gas linking --- CoqOfRust/CoqOfRust.v | 47 - CoqOfRust/M.v | 51 + CoqOfRust/alloc/boxed.v | 172 +- CoqOfRust/alloc/collections/binary_heap/mod.v | 324 +- CoqOfRust/alloc/collections/btree/append.v | 73 +- CoqOfRust/alloc/collections/btree/map.v | 4733 ++++----- CoqOfRust/alloc/collections/btree/map/entry.v | 386 +- CoqOfRust/alloc/collections/btree/mem.v | 47 +- CoqOfRust/alloc/collections/btree/navigate.v | 2843 +++--- CoqOfRust/alloc/collections/btree/node.v | 314 +- CoqOfRust/alloc/collections/btree/search.v | 243 +- CoqOfRust/alloc/collections/btree/set.v | 659 +- CoqOfRust/alloc/collections/linked_list.v | 1784 ++-- .../alloc/collections/vec_deque/into_iter.v | 404 +- CoqOfRust/alloc/collections/vec_deque/mod.v | 423 +- CoqOfRust/alloc/ffi/c_str.v | 81 +- CoqOfRust/alloc/fmt.v | 25 +- CoqOfRust/alloc/raw_vec.v | 148 +- CoqOfRust/alloc/rc.v | 886 +- CoqOfRust/alloc/slice.v | 927 +- CoqOfRust/alloc/str.v | 362 +- CoqOfRust/alloc/string.v | 669 +- CoqOfRust/alloc/sync.v | 869 +- CoqOfRust/alloc/vec/drain.v | 54 +- CoqOfRust/alloc/vec/in_place_collect.v | 292 +- CoqOfRust/alloc/vec/is_zero.v | 364 +- CoqOfRust/alloc/vec/mod.v | 420 +- CoqOfRust/core/array/iter.v | 430 +- CoqOfRust/core/array/mod.v | 100 +- CoqOfRust/core/cell/once.v | 45 +- CoqOfRust/core/char/convert.v | 46 +- CoqOfRust/core/char/decode.v | 35 +- CoqOfRust/core/char/methods.v | 83 +- CoqOfRust/core/cmp.v | 293 +- CoqOfRust/core/convert/num.v | 3395 +++---- CoqOfRust/core/escape.v | 146 +- CoqOfRust/core/fmt/builders.v | 8497 +++++++++-------- CoqOfRust/core/fmt/mod.v | 31 +- CoqOfRust/core/fmt/rt.v | 67 +- CoqOfRust/core/iter/adapters/array_chunks.v | 145 +- CoqOfRust/core/iter/adapters/chain.v | 889 +- CoqOfRust/core/iter/adapters/cloned.v | 87 +- CoqOfRust/core/iter/adapters/copied.v | 114 +- CoqOfRust/core/iter/adapters/cycle.v | 89 +- CoqOfRust/core/iter/adapters/filter.v | 549 +- CoqOfRust/core/iter/adapters/filter_map.v | 713 +- CoqOfRust/core/iter/adapters/flatten.v | 78 +- CoqOfRust/core/iter/adapters/fuse.v | 195 +- CoqOfRust/core/iter/adapters/inspect.v | 154 +- CoqOfRust/core/iter/adapters/intersperse.v | 235 +- CoqOfRust/core/iter/adapters/map.v | 174 +- CoqOfRust/core/iter/adapters/map_while.v | 211 +- CoqOfRust/core/iter/adapters/map_windows.v | 55 +- CoqOfRust/core/iter/adapters/mod.v | 223 +- CoqOfRust/core/iter/adapters/peekable.v | 150 +- CoqOfRust/core/iter/range.v | 35 +- CoqOfRust/core/iter/traits/accum.v | 6220 ++++++------ CoqOfRust/core/iter/traits/iterator.v | 442 +- CoqOfRust/core/links/clone.v | 2 +- CoqOfRust/core/links/cmp.v | 227 + CoqOfRust/core/links/default.v | 30 +- CoqOfRust/core/mem/mod.v | 2 +- CoqOfRust/core/net/ip_addr.v | 133 +- CoqOfRust/core/net/parser.v | 4264 +++++---- CoqOfRust/core/num/bignum.v | 254 +- CoqOfRust/core/num/dec2flt/decimal.v | 166 +- CoqOfRust/core/num/dec2flt/parse.v | 158 +- CoqOfRust/core/num/dec2flt/slow.v | 106 +- CoqOfRust/core/num/flt2dec/mod.v | 27 +- CoqOfRust/core/num/mod.v | 277 +- CoqOfRust/core/ops/links/function.v | 33 + CoqOfRust/core/ops/try_trait.v | 110 +- CoqOfRust/core/option.v | 145 +- CoqOfRust/core/panic/unwind_safe.v | 58 +- CoqOfRust/core/ptr/alignment.v | 7 +- CoqOfRust/core/result.v | 231 +- CoqOfRust/core/slice/ascii.v | 91 +- CoqOfRust/core/slice/cmp.v | 84 +- CoqOfRust/core/slice/index.v | 132 +- CoqOfRust/core/slice/iter.v | 555 +- CoqOfRust/core/slice/iter/macros.v | 75 +- CoqOfRust/core/slice/memchr.v | 50 +- CoqOfRust/core/slice/mod.v | 922 +- CoqOfRust/core/slice/select.v | 320 +- CoqOfRust/core/slice/sort.v | 1220 +-- CoqOfRust/core/str/count.v | 39 +- CoqOfRust/core/str/iter.v | 814 +- CoqOfRust/core/str/mod.v | 308 +- CoqOfRust/core/str/pattern.v | 1212 +-- CoqOfRust/core/str/validations.v | 18 +- CoqOfRust/core/task/poll.v | 47 +- CoqOfRust/core/unicode/unicode_data.v | 752 +- CoqOfRust/core/unit.v | 11 +- .../examples/default/examples/custom/if_let.v | 5 +- .../default/examples/ink_contracts/erc721.v | 32 +- .../default/examples/ink_contracts/multisig.v | 99 +- .../examples/ink_contracts/payment_channel.v | 83 +- .../examples/ink_contracts/set_code_hash.v | 47 +- .../set_code_hash/updated_incrementer.v | 47 +- .../error_handling/aliases_for_result.v | 98 +- .../rust_book/error_handling/boxing_errors.v | 259 +- .../error_handling/combinators_map.v | 120 +- .../error_handling/defining_an_error_type.v | 153 +- ..._valid_values_and_failures_via_partition.v | 35 +- ...ues_and_failures_via_partition_unwrapped.v | 35 +- ...sults_collect_via_map_err_and_filter_map.v | 176 +- ...esults_fail_entire_operation_via_collect.v | 35 +- .../iterating_over_results_failed.v | 35 +- ...ating_over_results_handle_via_filter_map.v | 61 +- .../map_in_result_via_combinators.v | 98 +- .../pulling_results_out_of_options.v | 98 +- ...ut_of_options_with_stop_error_processing.v | 152 +- ...ions_and_defaults_via_get_or_insert_with.v | 87 +- ...packing_options_and_defaults_via_or_else.v | 190 +- .../rust_book/flow_of_control/match.v | 51 +- .../rust_book/functions/functions_closures.v | 53 +- .../functions_closures_as_input_parameters.v | 299 +- .../functions_closures_as_output_parameters.v | 315 +- .../functions/functions_closures_capturing.v | 367 +- .../functions_closures_example_Iterator_any.v | 104 +- ...earching_through_iterators_Iterator_find.v | 112 +- ...hing_through_iterators_Iterator_position.v | 48 +- ...ions_closures_forced_capturing_with_move.v | 63 +- .../functions_closures_input_functions.v | 69 +- ...s_closures_type_anonymity_define_and_use.v | 105 +- .../functions/higher_order_functions.v | 83 +- .../rust_book/std_library_types/arc.v | 157 +- .../examples/rust_book/std_misc/channels.v | 183 +- .../rust_book/std_misc/child_processes.v | 101 +- .../std_misc/filesystem_operations.v | 793 +- .../examples/rust_book/std_misc/threads.v | 133 +- .../std_misc/threads_test_case_map_reduce.v | 445 +- CoqOfRust/links/M.v | 44 + CoqOfRust/revm/interpreter/function_stack.v | 51 +- CoqOfRust/revm/interpreter/gas/calc.v | 136 +- .../revm/interpreter/instruction_result.v | 54 +- .../revm/interpreter/instructions/bitwise.v | 35 +- .../revm/interpreter/instructions/contract.v | 44 +- CoqOfRust/revm/interpreter/interpreter.v | 1262 +-- .../revm/interpreter/interpreter/analysis.v | 383 +- .../revm/interpreter/interpreter/contract.v | 37 +- .../interpreter_action/call_inputs.v | 44 +- CoqOfRust/revm/interpreter/links/gas.v | 46 +- CoqOfRust/revm/interpreter/opcode.v | 172 +- CoqOfRust/revm/precompile/bn128.v | 1142 +-- CoqOfRust/revm/precompile/lib.v | 766 +- CoqOfRust/revm/precompile/modexp.v | 182 +- CoqOfRust/revm/precompile/secp256k1.v | 122 +- CoqOfRust/revm/primitives/bytecode/eof.v | 87 +- CoqOfRust/revm/primitives/bytecode/eof/body.v | 280 +- CoqOfRust/revm/primitives/env.v | 434 +- CoqOfRust/revm/primitives/kzg/env_settings.v | 197 +- .../primitives/kzg/trusted_setup_points.v | 94 +- CoqOfRust/revm/primitives/result.v | 5 +- CoqOfRust/revm/primitives/state.v | 41 +- .../revm/revm/context/context_precompiles.v | 152 +- CoqOfRust/revm/revm/context/evm_context.v | 116 +- .../revm/revm/context/inner_evm_context.v | 380 +- CoqOfRust/revm/revm/db/in_memory_db.v | 207 +- .../revm/revm/db/states/account_status.v | 342 +- .../revm/revm/db/states/bundle_account.v | 1551 +-- CoqOfRust/revm/revm/db/states/bundle_state.v | 3315 +++---- CoqOfRust/revm/revm/db/states/cache.v | 170 +- CoqOfRust/revm/revm/db/states/cache_account.v | 903 +- CoqOfRust/revm/revm/db/states/reverts.v | 327 +- CoqOfRust/revm/revm/db/states/state.v | 556 +- CoqOfRust/revm/revm/db/states/state_builder.v | 47 +- .../revm/revm/db/states/transition_account.v | 317 +- CoqOfRust/revm/revm/evm.v | 761 +- CoqOfRust/revm/revm/handler.v | 140 +- .../revm/revm/handler/mainnet/execution.v | 76 +- .../revm/handler/mainnet/post_execution.v | 131 +- .../revm/revm/inspector/handler_register.v | 6107 ++++++------ CoqOfRust/revm/revm/journaled_state.v | 167 +- lib/src/expression.rs | 7 +- 175 files changed, 41511 insertions(+), 39751 deletions(-) create mode 100644 CoqOfRust/core/links/cmp.v create mode 100644 CoqOfRust/core/ops/links/function.v diff --git a/CoqOfRust/CoqOfRust.v b/CoqOfRust/CoqOfRust.v index 01b171b09..42882d208 100644 --- a/CoqOfRust/CoqOfRust.v +++ b/CoqOfRust/CoqOfRust.v @@ -40,50 +40,3 @@ Parameter pointer_coercion : string -> Value.t -> Value.t. Parameter InlineAssembly : Value.t. Parameter UnsupportedLiteral : Value.t. - -(** There is an automatic instanciation of the function traits for closures and functions. *) -Module FunctionTraitAutomaticImpl. - Axiom FunctionImplementsFn : - forall (Args : list Ty.t) (Output : Ty.t), - M.IsTraitInstance - "core::ops::function::Fn" - (Ty.function Args Output) - (* Trait polymorphic types *) [Ty.tuple Args] - (* Instance *) [ ("call", InstanceField.Method (fun τ α => - match τ, α with - | [], [self; Value.Tuple args] => - let* self := M.read self in - M.call_closure self args - | _, _ => M.impossible - end - )) ]. - - Axiom FunctionImplementsFnMut : - forall (Args : list Ty.t) (Output : Ty.t), - M.IsTraitInstance - "core::ops::function::FnMut" - (Ty.function Args Output) - (* Trait polymorphic types *) [Ty.tuple Args] - (* Instance *) [ ("call_mut", InstanceField.Method (fun τ α => - match τ, α with - | [], [self; Value.Tuple args] => - let* self := M.read self in - M.call_closure self args - | _, _ => M.impossible - end - )) ]. - - Axiom FunctionImplementsFnOnce : - forall (Args : list Ty.t) (Output : Ty.t), - M.IsTraitInstance - "core::ops::function::FnOnce" - (Ty.function Args Output) - (* Trait polymorphic types *) [Ty.tuple Args] - (* Instance *) [ ("call_once", InstanceField.Method (fun τ α => - match τ, α with - | [], [self; Value.Tuple args] => - M.call_closure self args - | _, _ => M.impossible - end - )) ]. -End FunctionTraitAutomaticImpl. diff --git a/CoqOfRust/M.v b/CoqOfRust/M.v index c6598f7d1..913949f36 100644 --- a/CoqOfRust/M.v +++ b/CoqOfRust/M.v @@ -9,6 +9,7 @@ From Hammer Require Export Tactics. Import List.ListNotations. Local Open Scope list. +Local Open Scope string. Inductive sigS {A : Type} (P : A -> Set) : Set := | existS : forall (x : A), P x -> sigS P. @@ -621,6 +622,7 @@ Arguments call_primitive /. Definition alloc (v : Value.t) : M := call_primitive (Primitive.StateAlloc v). +Arguments alloc /. Definition read (r : Value.t) : M := match r with @@ -637,6 +639,7 @@ Definition write (r : Value.t) (update : Value.t) : M := Definition copy (r : Value.t) : M := let* v := read r in alloc v. +Arguments copy /. (** If we cannot get the sub-pointer, due to a field that does not exist or to an out-of bound access in an array, we do a [break_match]. *) @@ -804,6 +807,7 @@ Definition is_constant_or_break_match (value expected_value : Value.t) : M := break_match. Definition is_struct_tuple (value : Value.t) (constructor : string) : M := + let* value := read value in match value with | Value.StructTuple current_constructor _ => if String.eqb current_constructor constructor then @@ -830,3 +834,50 @@ Definition constructor_as_closure (constructor : string) : Value.t := Parameter struct_record_update : Value.t -> list (string * Value.t) -> Value.t. Parameter yield : Value.t -> M. + +(** There is an automatic instanciation of the function traits for closures and functions. *) +Module FunctionTraitAutomaticImpl. + Axiom FunctionImplementsFn : + forall (Args : list Ty.t) (Output : Ty.t), + M.IsTraitInstance + "core::ops::function::Fn" + (Ty.function Args Output) + (* Trait polymorphic types *) [Ty.tuple Args] + (* Instance *) [ ("call", InstanceField.Method (fun τ α => + match τ, α with + | [], [self; Value.Tuple args] => + let* self := M.read self in + M.call_closure self args + | _, _ => M.impossible + end + )) ]. + + Axiom FunctionImplementsFnMut : + forall (Args : list Ty.t) (Output : Ty.t), + M.IsTraitInstance + "core::ops::function::FnMut" + (Ty.function Args Output) + (* Trait polymorphic types *) [Ty.tuple Args] + (* Instance *) [ ("call_mut", InstanceField.Method (fun τ α => + match τ, α with + | [], [self; Value.Tuple args] => + let* self := M.read self in + M.call_closure self args + | _, _ => M.impossible + end + )) ]. + + Axiom FunctionImplementsFnOnce : + forall (Args : list Ty.t) (Output : Ty.t), + M.IsTraitInstance + "core::ops::function::FnOnce" + (Ty.function Args Output) + (* Trait polymorphic types *) [Ty.tuple Args] + (* Instance *) [ ("call_once", InstanceField.Method (fun τ α => + match τ, α with + | [], [self; Value.Tuple args] => + M.call_closure self args + | _, _ => M.impossible + end + )) ]. +End FunctionTraitAutomaticImpl. diff --git a/CoqOfRust/alloc/boxed.v b/CoqOfRust/alloc/boxed.v index 694eb05f0..59374e3bc 100644 --- a/CoqOfRust/alloc/boxed.v +++ b/CoqOfRust/alloc/boxed.v @@ -6306,49 +6306,50 @@ Module boxed. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.dyn - [ - ("core::error::Error::Trait", []); - ("core::marker::Send::AutoTrait", []) - ]; - Ty.path "alloc::alloc::Global" - ], - "from_raw", - [] - |), - [ - M.rust_cast - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn [ - Ty.dyn [ ("core::error::Error::Trait", []) ]; - Ty.path "alloc::alloc::Global" - ], - "into_raw", - [] - |), - [ M.read (| s |) ] - |)) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ("core::error::Error::Trait", []); + ("core::marker::Send::AutoTrait", []) + ]; + Ty.path "alloc::alloc::Global" + ], + "from_raw", + [] + |), + [ + M.rust_cast + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn [ ("core::error::Error::Trait", []) ]; + Ty.path "alloc::alloc::Global" + ], + "into_raw", + [] + |), + [ M.read (| s |) ] + |)) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6451,50 +6452,51 @@ Module boxed. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.dyn - [ - ("core::error::Error::Trait", []); - ("core::marker::Sync::AutoTrait", []); - ("core::marker::Send::AutoTrait", []) - ]; - Ty.path "alloc::alloc::Global" - ], - "from_raw", - [] - |), - [ - M.rust_cast - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn [ - Ty.dyn [ ("core::error::Error::Trait", []) ]; - Ty.path "alloc::alloc::Global" - ], - "into_raw", - [] - |), - [ M.read (| s |) ] - |)) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ("core::error::Error::Trait", []); + ("core::marker::Sync::AutoTrait", []); + ("core::marker::Send::AutoTrait", []) + ]; + Ty.path "alloc::alloc::Global" + ], + "from_raw", + [] + |), + [ + M.rust_cast + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn [ ("core::error::Error::Trait", []) ]; + Ty.path "alloc::alloc::Global" + ], + "into_raw", + [] + |), + [ M.read (| s |) ] + |)) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/collections/binary_heap/mod.v b/CoqOfRust/alloc/collections/binary_heap/mod.v index eb1c496b7..3adcc846c 100644 --- a/CoqOfRust/alloc/collections/binary_heap/mod.v +++ b/CoqOfRust/alloc/collections/binary_heap/mod.v @@ -1216,91 +1216,92 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::binary_heap::BinaryHeap") - [ T; A ], - "is_empty", - [] - |), - [ M.read (| self |) ] - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "core::mem::swap", [ T ] |), - [ - item; - M.call_closure (| - M.get_trait_method (| - "core::ops::index::IndexMut", - Ty.apply - (Ty.path "alloc::vec::Vec") - [ T; A ], - [ Ty.path "usize" ], - "index_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::binary_heap::BinaryHeap", - "data" - |); - Value.Integer 0 - ] - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::binary_heap::BinaryHeap") - [ T; A ], - "sift_down_to_bottom", - [] - |), - [ M.read (| self |); Value.Integer 0 ] - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - item - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + M.read (| + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::binary_heap::BinaryHeap") + [ T; A ], + "is_empty", + [] + |), + [ M.read (| self |) ] + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "core::mem::swap", [ T ] |), + [ + item; + M.call_closure (| + M.get_trait_method (| + "core::ops::index::IndexMut", + Ty.apply + (Ty.path "alloc::vec::Vec") + [ T; A ], + [ Ty.path "usize" ], + "index_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::binary_heap::BinaryHeap", + "data" + |); + Value.Integer 0 + ] + |) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::binary_heap::BinaryHeap") + [ T; A ], + "sift_down_to_bottom", + [] + |), + [ M.read (| self |); Value.Integer 0 ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + item + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3081,82 +3082,83 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - let~ keep := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| e |) ] ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - LogicalOp.and (| - UnOp.Pure.not (M.read (| keep |)), - ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| i |)) - (M.read (| - M.SubPointer.get_struct_record_field (| - guard, - "alloc::collections::binary_heap::RebuildOnDrop", - "rebuild_from" - |) - |)))) - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - guard, - "alloc::collections::binary_heap::RebuildOnDrop", - "rebuild_from" - |), - M.read (| i |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - let β := i in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - keep - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + let~ keep := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| e |) ] ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + LogicalOp.and (| + UnOp.Pure.not (M.read (| keep |)), + ltac:(M.monadic + (BinOp.Pure.lt + (M.read (| i |)) + (M.read (| + M.SubPointer.get_struct_record_field (| + guard, + "alloc::collections::binary_heap::RebuildOnDrop", + "rebuild_from" + |) + |)))) + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + guard, + "alloc::collections::binary_heap::RebuildOnDrop", + "rebuild_from" + |), + M.read (| i |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + let β := i in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + keep + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/collections/btree/append.v b/CoqOfRust/alloc/collections/btree/append.v index 306616f79..20b26610b 100644 --- a/CoqOfRust/alloc/collections/btree/append.v +++ b/CoqOfRust/alloc/collections/btree/append.v @@ -932,42 +932,43 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::Ord", - K, - [], - "cmp", - [] - |), - [ - M.SubPointer.get_tuple_field (| - M.read (| a |), - 0 - |); - M.SubPointer.get_tuple_field (| - M.read (| b |), - 0 - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::Ord", + K, + [], + "cmp", + [] + |), + [ + M.SubPointer.get_tuple_field (| + M.read (| a |), + 0 + |); + M.SubPointer.get_tuple_field (| + M.read (| b |), + 0 + |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/collections/btree/map.v b/CoqOfRust/alloc/collections/btree/map.v index 17a70f88b..c1da4e479 100644 --- a/CoqOfRust/alloc/collections/btree/map.v +++ b/CoqOfRust/alloc/collections/btree/map.v @@ -1034,64 +1034,65 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - Ty.path - "alloc::collections::btree::set_val::SetValZST"; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "new", - [ A ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - A, - [], - "clone", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "core::mem::manually_drop::ManuallyDrop") - [ A ], - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| map |), - "alloc::collections::btree::map::BTreeMap", - "alloc" - |) - ] - |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + Ty.path + "alloc::collections::btree::set_val::SetValZST"; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "new", + [ A ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + A, + [], + "clone", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "core::mem::manually_drop::ManuallyDrop") + [ A ], + [], + "deref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| map |), + "alloc::collections::btree::map::BTreeMap", + "alloc" + |) + ] + |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2261,18 +2262,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let val := M.copy (| γ0_1 |) in - M.read (| val |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let val := M.copy (| γ0_1 |) in + M.read (| val |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2398,18 +2400,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let key := M.copy (| γ0_0 |) in - M.read (| key |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let key := M.copy (| γ0_0 |) in + M.read (| key |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2535,18 +2538,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let val := M.copy (| γ0_1 |) in - M.read (| val |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let val := M.copy (| γ0_1 |) in + M.read (| val |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4189,26 +4193,27 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let entry := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::map::entry::OccupiedEntry") - [ K; V; A ], - "remove_entry", - [] - |), - [ M.read (| entry |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let entry := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::map::entry::OccupiedEntry") + [ K; V; A ], + "remove_entry", + [] + |), + [ M.read (| entry |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5009,26 +5014,27 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let entry := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::map::entry::OccupiedEntry") - [ K; V; A ], - "remove_entry", - [] - |), - [ M.read (| entry |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let entry := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::map::entry::OccupiedEntry") + [ K; V; A ], + "remove_entry", + [] + |), + [ M.read (| entry |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5519,18 +5525,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let v := M.copy (| γ0_1 |) in - M.read (| v |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let v := M.copy (| γ0_1 |) in + M.read (| v |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5901,44 +5908,45 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let k := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - UnOp.Pure.not - (M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let k := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + UnOp.Pure.not + (M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply (Ty.path "&") [ K ]; + Ty.apply (Ty.path "&mut") [ V ] + ] + ], + "call_mut", + [] + |), [ - Ty.tuple - [ - Ty.apply (Ty.path "&") [ K ]; - Ty.apply (Ty.path "&mut") [ V ] - ] - ], - "call_mut", - [] - |), - [ - f; - Value.Tuple - [ M.read (| k |); M.read (| v |) ] - ] - |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + f; + Value.Tuple + [ M.read (| k |); M.read (| v |) ] + ] + |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -6254,63 +6262,64 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "new", - [ A ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - A, - [], - "clone", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "core::mem::manually_drop::ManuallyDrop") - [ A ], - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::btree::map::BTreeMap", - "alloc" - |) - ] - |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "new", + [ A ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + A, + [], + "clone", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "core::mem::manually_drop::ManuallyDrop") + [ A ], + [], + "deref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::btree::map::BTreeMap", + "alloc" + |) + ] + |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -10653,37 +10662,38 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let kv := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Dying"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_key_val", - [] - |), - [ M.read (| kv |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let kv := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Dying"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path "alloc::collections::btree::node::marker::KV" + ], + "into_key_val", + [] + |), + [ M.read (| kv |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -10814,37 +10824,38 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let kv := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Dying"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_key_val", - [] - |), - [ M.read (| kv |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let kv := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Dying"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path "alloc::collections::btree::node::marker::KV" + ], + "into_key_val", + [] + |), + [ M.read (| kv |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -10964,18 +10975,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11161,18 +11173,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11390,18 +11403,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let v := M.copy (| γ0_1 |) in - M.read (| v |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let v := M.copy (| γ0_1 |) in + M.read (| v |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11531,18 +11545,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let v := M.copy (| γ0_1 |) in - M.read (| v |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let v := M.copy (| γ0_1 |) in + M.read (| v |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12551,158 +12566,43 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ root := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::borrow::DormantMutRef") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ], - "awaken", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::borrow::DormantMutRef") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::borrow::DormantMutRef") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - ], - "take", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| - self - |), - "alloc::collections::btree::map::ExtractIfInner", - "dormant_root" - |) - ] - |) - ] - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "pop_internal_level", - [ A ] - |), - [ - M.read (| - root - |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - A, - [], - "clone", - [] - |), - [ - alloc - ] - |) - ] - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| - self - |), - "alloc::collections::btree::map::ExtractIfInner", - "dormant_root" - |), - Value.StructTuple - "core::option::Option::Some" - [ - M.read (| - M.SubPointer.get_tuple_field (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ root := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::borrow::DormantMutRef") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "awaken", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ Ty.apply (Ty.path "alloc::collections::btree::borrow::DormantMutRef") @@ -12718,29 +12618,148 @@ Module collections. Ty.path "alloc::collections::btree::node::marker::LeafOrInternal" ] + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::borrow::DormantMutRef") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ] ], - "new", + "take", [] |), [ - M.read (| - root + M.SubPointer.get_struct_record_field (| + M.read (| + self + |), + "alloc::collections::btree::map::ExtractIfInner", + "dormant_root" |) ] |) + ] + |) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "pop_internal_level", + [ A ] + |), + [ + M.read (| + root + |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + A, + [], + "clone", + [] |), - 1 + [ + alloc + ] |) - |) - ] - |) in - M.alloc (| - Value.Tuple [] - |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| + self + |), + "alloc::collections::btree::map::ExtractIfInner", + "dormant_root" + |), + Value.StructTuple + "core::option::Option::Some" + [ + M.read (| + M.SubPointer.get_tuple_field (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::borrow::DormantMutRef") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "new", + [] + |), + [ + M.read (| + root + |) + ] + |) + |), + 1 + |) + |) + ] + |) in + M.alloc (| + Value.Tuple + [] + |) + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) end)); M.call_closure (| M.get_trait_method (| @@ -13150,18 +13169,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let v := M.copy (| γ0_1 |) in - M.read (| v |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let v := M.copy (| γ0_1 |) in + M.read (| v |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13293,18 +13313,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let v := M.copy (| γ0_1 |) in - M.read (| v |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let v := M.copy (| γ0_1 |) in + M.read (| v |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13422,18 +13443,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13608,18 +13630,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13778,18 +13801,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let v := M.copy (| γ0_1 |) in - M.read (| v |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let v := M.copy (| γ0_1 |) in + M.read (| v |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13908,18 +13932,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let v := M.copy (| γ0_1 |) in - M.read (| v |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let v := M.copy (| γ0_1 |) in + M.read (| v |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14464,42 +14489,43 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::Ord", - K, - [], - "cmp", - [] - |), - [ - M.SubPointer.get_tuple_field (| - M.read (| a |), - 0 - |); - M.SubPointer.get_tuple_field (| - M.read (| b |), - 0 - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::Ord", + K, + [], + "cmp", + [] + |), + [ + M.SubPointer.get_tuple_field (| + M.read (| a |), + 0 + |); + M.SubPointer.get_tuple_field (| + M.read (| b |), + 0 + |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -14579,36 +14605,40 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - let v := M.copy (| γ0_1 |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::map::BTreeMap") - [ K; V; A ], - "insert", - [] - |), - [ M.read (| self |); M.read (| k |); M.read (| v |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + let v := M.copy (| γ0_1 |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::map::BTreeMap") + [ K; V; A ], + "insert", + [] + |), + [ + M.read (| self |); + M.read (| k |); + M.read (| v |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -14754,21 +14784,23 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let γ0_0 := M.read (| γ0_0 |) in - let key := M.copy (| γ0_0 |) in - let γ0_1 := M.read (| γ0_1 |) in - let value := M.copy (| γ0_1 |) in - Value.Tuple [ M.read (| key |); M.read (| value |) ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let γ0_0 := M.read (| γ0_0 |) in + let key := M.copy (| γ0_0 |) in + let γ0_1 := M.read (| γ0_1 |) in + let value := M.copy (| γ0_1 |) in + Value.Tuple [ M.read (| key |); M.read (| value |) ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -15119,44 +15151,45 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let a := M.copy (| γ0_0 |) in - let b := M.copy (| γ0_1 |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.tuple - [ - Ty.apply (Ty.path "&") [ K ]; - Ty.apply (Ty.path "&") [ V ] - ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let a := M.copy (| γ0_0 |) in + let b := M.copy (| γ0_1 |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", Ty.tuple [ Ty.apply (Ty.path "&") [ K ]; Ty.apply (Ty.path "&") [ V ] - ] - ], - "eq", - [] - |), - [ a; b ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - |))) - | _, _ => M.impossible - end. + ], + [ + Ty.tuple + [ + Ty.apply (Ty.path "&") [ K ]; + Ty.apply (Ty.path "&") [ V ] + ] + ], + "eq", + [] + |), + [ a; b ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + |))) + | _, _ => M.impossible + end. Axiom Implements : forall (K V A : Ty.t), @@ -15503,42 +15536,43 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::Ord", - K, - [], - "cmp", - [] - |), - [ - M.SubPointer.get_tuple_field (| - M.read (| a |), - 0 - |); - M.SubPointer.get_tuple_field (| - M.read (| b |), - 0 - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::Ord", + K, + [], + "cmp", + [] + |), + [ + M.SubPointer.get_tuple_field (| + M.read (| a |), + 0 + |); + M.SubPointer.get_tuple_field (| + M.read (| b |), + 0 + |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -16015,183 +16049,184 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let root := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ] - ], - "ok", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "right_kv", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "forget_node_type", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "first_leaf_edge", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "reborrow", - [] - |), - [ M.read (| root |) ] - |) - ] - |) - ] - |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let current := M.copy (| γ0_0 |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::btree::map::Cursor", - "current" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let root := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "right_kv", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "forget_node_type", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "first_leaf_edge", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "reborrow", + [] + |), + [ M.read (| root |) ] + |) + ] + |) + ] + |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let current := M.copy (| γ0_0 |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::btree::map::Cursor", + "current" + |), + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") [ Ty.path "alloc::collections::btree::node::marker::Immut"; @@ -16430,183 +16465,184 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let root := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ] - ], - "ok", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "left_kv", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "forget_node_type", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "last_leaf_edge", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "reborrow", - [] - |), - [ M.read (| root |) ] - |) - ] - |) - ] - |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let current := M.copy (| γ0_0 |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::btree::map::Cursor", - "current" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let root := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "left_kv", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "forget_node_type", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "last_leaf_edge", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "reborrow", + [] + |), + [ M.read (| root |) ] + |) + ] + |) + ] + |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let current := M.copy (| γ0_0 |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::btree::map::Cursor", + "current" + |), + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") [ Ty.path "alloc::collections::btree::node::marker::Immut"; @@ -16789,46 +16825,47 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.read (| - M.SubPointer.get_tuple_field (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| M.read (| current |) |) ] - |) - |), - 0 - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.read (| + M.SubPointer.get_tuple_field (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ M.read (| M.read (| current |) |) ] + |) + |), + 0 + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16939,58 +16976,59 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.read (| - M.SubPointer.get_tuple_field (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| M.read (| current |) |) ] - |) - |), - 1 - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_value : - forall (K V : Ty.t), - M.IsAssociatedFunction (Self K V) "value" (value K V). - - (* - pub fn key_value(&self) -> Option<(&'a K, &'a V)> { + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.read (| + M.SubPointer.get_tuple_field (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ M.read (| M.read (| current |) |) ] + |) + |), + 1 + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_value : + forall (K V : Ty.t), + M.IsAssociatedFunction (Self K V) "value" (value K V). + + (* + pub fn key_value(&self) -> Option<(&'a K, &'a V)> { self.current.as_ref().map(|current| current.into_kv()) } *) @@ -17089,37 +17127,38 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| M.read (| current |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ M.read (| M.read (| current |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17261,37 +17300,40 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| M.read (| current |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ M.read (| M.read (| current |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -17435,37 +17477,40 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| M.read (| current |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ M.read (| M.read (| current |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -17688,152 +17733,153 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let root := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ] - ], - "ok", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "right_kv", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "forget_node_type", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "first_leaf_edge", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "borrow_mut", - [] - |), - [ M.read (| root |) ] - |) - ] - |) - ] - |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let root := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "right_kv", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "forget_node_type", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "first_leaf_edge", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "borrow_mut", + [] + |), + [ M.read (| root |) ] + |) + ] + |) + ] + |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -18150,152 +18196,153 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let root := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ] - ], - "ok", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "left_kv", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "forget_node_type", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "last_leaf_edge", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "borrow_mut", - [] - |), - [ M.read (| root |) ] - |) - ] - |) - ] - |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let root := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "left_kv", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "forget_node_type", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "last_leaf_edge", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "borrow_mut", + [] + |), + [ M.read (| root |) ] + |) + ] + |) + ] + |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -18507,72 +18554,73 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.read (| - M.SubPointer.get_tuple_field (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "reborrow", - [] - |), - [ M.read (| current |) ] - |) - ] - |) - |), - 0 - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.read (| + M.SubPointer.get_tuple_field (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "reborrow", + [] + |), + [ M.read (| current |) ] + |) + ] + |) + |), + 0 + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18683,72 +18731,73 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.read (| - M.SubPointer.get_tuple_field (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "reborrow", - [] - |), - [ M.read (| current |) ] - |) - ] - |) - |), - 1 - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.read (| + M.SubPointer.get_tuple_field (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "reborrow", + [] + |), + [ M.read (| current |) ] + |) + ] + |) + |), + 1 + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18859,60 +18908,63 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "reborrow", - [] - |), - [ M.read (| current |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "reborrow", + [] + |), + [ M.read (| current |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -19023,46 +19075,47 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.read (| - M.SubPointer.get_tuple_field (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "kv_mut", - [] - |), - [ M.read (| current |) ] - |) - |), - 1 - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.read (| + M.SubPointer.get_tuple_field (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "kv_mut", + [] + |), + [ M.read (| current |) ] + |) + |), + 1 + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -19176,56 +19229,58 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "kv_mut", - [] - |), - [ M.read (| current |) ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - let v := M.copy (| γ0_1 |) in - M.alloc (| - Value.Tuple [ M.read (| k |); M.read (| v |) ] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "kv_mut", + [] + |), + [ M.read (| current |) ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + let v := M.copy (| γ0_1 |) in + M.alloc (| + Value.Tuple [ M.read (| k |); M.read (| v |) ] + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -19336,46 +19391,47 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.read (| - M.SubPointer.get_tuple_field (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "kv_mut", - [] - |), - [ M.read (| current |) ] - |) - |), - 0 - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.read (| + M.SubPointer.get_tuple_field (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "kv_mut", + [] + |), + [ M.read (| current |) ] + |) + |), + 0 + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -20981,39 +21037,40 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "reborrow", - [] - |), - [ M.read (| current |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "reborrow", + [] + |), + [ M.read (| current |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -21425,222 +21482,224 @@ Module collections. (fun γ => ltac:(M.monadic match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ins := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::mem::drop", - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "left" - |) - |) - ] - |) - |) in - let~ root := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ], - "as_mut", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::borrow::DormantMutRef") - [ - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - ], - "reborrow", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::btree::map::CursorMut", - "root" - |) - ] - |) - ] - |) - ] - |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Internal" - ], - "push", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ins := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::mem::drop", + [ Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") [ Ty.path - "alloc::collections::btree::node::marker::Owned"; + "alloc::collections::btree::node::marker::Mut"; K; V; Ty.path "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "push_internal_level", - [ A ] - |), - [ - M.read (| root |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - A, - [], - "clone", - [] - |), - [ - M.read (| + ] + ] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "left" + |) + |) + ] + |) + |) in + let~ root := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "as_mut", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::borrow::DormantMutRef") + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ] + ], + "reborrow", + [] + |), + [ M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::map::CursorMut", - "alloc" + "root" |) - |) - ] - |) - ] - |) - |); - M.read (| - M.SubPointer.get_tuple_field (| - M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "kv" - |), - 0 - |) - |); - M.read (| - M.SubPointer.get_tuple_field (| + ] + |) + ] + |) + ] + |) + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Internal" + ], + "push", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "push_internal_level", + [ A ] + |), + [ + M.read (| root |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + A, + [], + "clone", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::btree::map::CursorMut", + "alloc" + |) + |) + ] + |) + ] + |) + |); + M.read (| + M.SubPointer.get_tuple_field (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "kv" + |), + 0 + |) + |); + M.read (| + M.SubPointer.get_tuple_field (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "kv" + |), + 1 + |) + |); + M.read (| M.SubPointer.get_struct_record_field (| ins, "alloc::collections::btree::node::SplitResult", - "kv" - |), - 1 - |) - |); - M.read (| - M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "right" + "right" + |) |) - |) - ] + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -22157,221 +22216,223 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ins := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::mem::drop", - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "left" - |) - |) - ] - |) - |) in - let~ root := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ], - "as_mut", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ins := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::mem::drop", [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::borrow::DormantMutRef") - [ - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - ], - "reborrow", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::btree::map::CursorMut", - "root" - |) - ] - |) - ] - |) - ] - |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Internal" - ], - "push", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") [ Ty.path - "alloc::collections::btree::node::marker::Owned"; + "alloc::collections::btree::node::marker::Mut"; K; V; Ty.path "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "push_internal_level", - [ A ] - |), - [ - M.read (| root |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - A, - [], - "clone", - [] - |), - [ - M.read (| + ] + ] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "left" + |) + |) + ] + |) + |) in + let~ root := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "as_mut", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::borrow::DormantMutRef") + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ] + ], + "reborrow", + [] + |), + [ M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::map::CursorMut", - "alloc" + "root" |) - |) - ] - |) - ] - |) - |); - M.read (| - M.SubPointer.get_tuple_field (| - M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "kv" - |), - 0 - |) - |); - M.read (| - M.SubPointer.get_tuple_field (| + ] + |) + ] + |) + ] + |) + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Internal" + ], + "push", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "push_internal_level", + [ A ] + |), + [ + M.read (| root |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + A, + [], + "clone", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::btree::map::CursorMut", + "alloc" + |) + |) + ] + |) + ] + |) + |); + M.read (| + M.SubPointer.get_tuple_field (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "kv" + |), + 0 + |) + |); + M.read (| + M.SubPointer.get_tuple_field (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "kv" + |), + 1 + |) + |); + M.read (| M.SubPointer.get_struct_record_field (| ins, "alloc::collections::btree::node::SplitResult", - "kv" - |), - 1 - |) - |); - M.read (| - M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "right" + "right" + |) |) - |) - ] + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -23089,17 +23150,18 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.write (| emptied_internal_root, Value.Bool true |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + M.write (| emptied_internal_root, Value.Bool true |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.call_closure (| M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), @@ -23529,17 +23591,18 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.write (| emptied_internal_root, Value.Bool true |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + M.write (| emptied_internal_root, Value.Bool true |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.call_closure (| M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), diff --git a/CoqOfRust/alloc/collections/btree/map/entry.v b/CoqOfRust/alloc/collections/btree/map/entry.v index 7a3b3651e..445812369 100644 --- a/CoqOfRust/alloc/collections/btree/map/entry.v +++ b/CoqOfRust/alloc/collections/btree/map/entry.v @@ -1534,209 +1534,210 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ins := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::mem::drop", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ins := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::mem::drop", + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ] + |), [ + M.read (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "left" + |) + |) + ] + |) + |) in + let~ map := + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path - "alloc::collections::btree::node::NodeRef") + "alloc::collections::btree::borrow::DormantMutRef") [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] - |), - [ - M.read (| + Ty.apply + (Ty.path + "alloc::collections::btree::map::BTreeMap") + [ K; V; A ] + ], + "reborrow", + [] + |), + [ M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "left" + self, + "alloc::collections::btree::map::entry::VacantEntry", + "dormant_map" |) - |) - ] - |) - |) in - let~ map := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::borrow::DormantMutRef") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::map::BTreeMap") - [ K; V; A ] - ], - "reborrow", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - self, - "alloc::collections::btree::map::entry::VacantEntry", - "dormant_map" - |) - ] - |) - |) in - let~ root := + ] + |) + |) in + let~ root := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "as_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| map |), + "alloc::collections::btree::map::BTreeMap", + "root" + |) + ] + |) + ] + |) + |) in M.alloc (| M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path - "core::option::Option") + "alloc::collections::btree::node::NodeRef") [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ] + Ty.path + "alloc::collections::btree::node::marker::Mut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Internal" ], - "unwrap", + "push", [] |), [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ], - "as_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| map |), - "alloc::collections::btree::map::BTreeMap", - "root" - |) - ] - |) - ] - |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Mut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Internal" - ], - "push", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ], - "push_internal_level", - [ A ] - |), - [ - M.read (| root |); - M.read (| - M.SubPointer.get_struct_record_field (| - self, - "alloc::collections::btree::map::entry::VacantEntry", - "alloc" + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ], + "push_internal_level", + [ A ] + |), + [ + M.read (| root |); + M.read (| + M.SubPointer.get_struct_record_field (| + self, + "alloc::collections::btree::map::entry::VacantEntry", + "alloc" + |) |) - |) - ] - |) - |); - M.read (| - M.SubPointer.get_tuple_field (| - M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "kv" - |), - 0 - |) - |); - M.read (| - M.SubPointer.get_tuple_field (| + ] + |) + |); + M.read (| + M.SubPointer.get_tuple_field (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "kv" + |), + 0 + |) + |); + M.read (| + M.SubPointer.get_tuple_field (| + M.SubPointer.get_struct_record_field (| + ins, + "alloc::collections::btree::node::SplitResult", + "kv" + |), + 1 + |) + |); + M.read (| M.SubPointer.get_struct_record_field (| ins, "alloc::collections::btree::node::SplitResult", - "kv" - |), - 1 - |) - |); - M.read (| - M.SubPointer.get_struct_record_field (| - ins, - "alloc::collections::btree::node::SplitResult", - "right" + "right" + |) |) - |) - ] + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2223,17 +2224,18 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.write (| emptied_internal_root, Value.Bool true |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + M.write (| emptied_internal_root, Value.Bool true |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.call_closure (| M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), diff --git a/CoqOfRust/alloc/collections/btree/mem.v b/CoqOfRust/alloc/collections/btree/mem.v index 30f0f1214..6a1389c3c 100644 --- a/CoqOfRust/alloc/collections/btree/mem.v +++ b/CoqOfRust/alloc/collections/btree/mem.v @@ -27,29 +27,30 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let value := M.copy (| γ |) in - Value.Tuple - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - impl_FnOnce_T__arrow_T, - [ Ty.tuple [ T ] ], - "call_once", - [] - |), - [ M.read (| change |); Value.Tuple [ M.read (| value |) ] ] - |); - Value.Tuple [] - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let value := M.copy (| γ |) in + Value.Tuple + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + impl_FnOnce_T__arrow_T, + [ Ty.tuple [ T ] ], + "call_once", + [] + |), + [ M.read (| change |); Value.Tuple [ M.read (| value |) ] ] + |); + Value.Tuple [] + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/alloc/collections/btree/navigate.v b/CoqOfRust/alloc/collections/btree/navigate.v index a1f63f019..8297baeb2 100644 --- a/CoqOfRust/alloc/collections/btree/navigate.v +++ b/CoqOfRust/alloc/collections/btree/navigate.v @@ -411,38 +411,39 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "reborrow", - [] - |), - [ M.read (| f |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "reborrow", + [] + |), + [ M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)); @@ -560,38 +561,39 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "reborrow", - [] - |), - [ M.read (| b |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "reborrow", + [] + |), + [ M.read (| b |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -782,119 +784,47 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let front := M.copy (| γ |) in - M.read (| - let~ kv := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ], - "ok", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "next_kv", - [] - |), - [ M.read (| front |) ] - |) - ] - |) - ] - |) - |) in - let~ result := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - F, - [ - Ty.tuple + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let front := M.copy (| γ |) in + M.read (| + let~ kv := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ Ty.apply - (Ty.path "&") + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") [ Ty.apply (Ty.path @@ -912,52 +842,125 @@ Module collections. ]; Ty.path "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" ] - ] - ] - ], - "call", - [] - |), - [ f; Value.Tuple [ kv ] ] - |) - |) in - M.alloc (| - Value.Tuple - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") + ], + "ok", + [] + |), [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "next_leaf_edge", + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "next_kv", + [] + |), + [ M.read (| front |) ] + |) + ] + |) + ] + |) + |) in + let~ result := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + F, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ] + ] + ], + "call", [] |), - [ M.read (| kv |) ] - |); - Value.StructTuple - "core::option::Option::Some" - [ M.read (| result |) ] - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + [ f; Value.Tuple [ kv ] ] + |) + |) in + M.alloc (| + Value.Tuple + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "next_leaf_edge", + [] + |), + [ M.read (| kv |) ] + |); + Value.StructTuple + "core::option::Option::Some" + [ M.read (| result |) ] + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1155,64 +1158,156 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let back := M.copy (| γ |) in - M.read (| - let~ kv := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let back := M.copy (| γ |) in + M.read (| + let~ kv := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "next_back_kv", + [] + |), + [ M.read (| back |) ] + |) + ] + |) + ] + |) + |) in + let~ result := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + F, [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") + Ty.tuple [ Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") + (Ty.path "&") [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ] ] ], - "unwrap", - [] - |), + "call", + [] + |), + [ f; Value.Tuple [ kv ] ] + |) + |) in + M.alloc (| + Value.Tuple [ M.call_closure (| M.get_associated_function (| Ty.apply - (Ty.path "core::result::Result") + (Ty.path + "alloc::collections::btree::node::Handle") [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -1222,115 +1317,24 @@ Module collections. V; Ty.path "alloc::collections::btree::node::marker::LeafOrInternal" - ] + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" ], - "ok", + "next_back_leaf_edge", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "next_back_kv", - [] - |), - [ M.read (| back |) ] - |) - ] - |) + [ M.read (| kv |) ] + |); + Value.StructTuple + "core::option::Option::Some" + [ M.read (| result |) ] ] - |) - |) in - let~ result := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ] - ] - ], - "call", - [] - |), - [ f; Value.Tuple [ kv ] ] - |) - |) in - M.alloc (| - Value.Tuple - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "next_back_leaf_edge", - [] - |), - [ M.read (| kv |) ] - |); - Value.StructTuple - "core::option::Option::Some" - [ M.read (| result |) ] - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1408,37 +1412,38 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let kv := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| M.read (| kv |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let kv := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ M.read (| M.read (| kv |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1502,37 +1507,38 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let kv := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| M.read (| kv |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let kv := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ M.read (| M.read (| kv |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1603,63 +1609,64 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let kv := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_kv_valmut", - [] - |), - [ - M.call_closure (| - M.get_function (| - "core::ptr::read", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let kv := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") [ Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") + (Ty.path "alloc::collections::btree::node::NodeRef") [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ] - |), - [ M.read (| kv |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path "alloc::collections::btree::node::marker::KV" + ], + "into_kv_valmut", + [] + |), + [ + M.call_closure (| + M.get_function (| + "core::ptr::read", + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ] + |), + [ M.read (| kv |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1723,63 +1730,64 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let kv := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path "alloc::collections::btree::node::marker::KV" - ], - "into_kv_valmut", - [] - |), - [ - M.call_closure (| - M.get_function (| - "core::ptr::read", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let kv := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") [ Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") + (Ty.path "alloc::collections::btree::node::NodeRef") [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ] - |), - [ M.read (| kv |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path "alloc::collections::btree::node::marker::KV" + ], + "into_kv_valmut", + [] + |), + [ + M.call_closure (| + M.get_function (| + "core::ptr::read", + [ + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ] + |), + [ M.read (| kv |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2257,26 +2265,27 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::navigate::LazyLeafHandle") - [ BorrowType; K; V ], - "reborrow", - [] - |), - [ M.read (| f |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::navigate::LazyLeafHandle") + [ BorrowType; K; V ], + "reborrow", + [] + |), + [ M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)); @@ -2344,26 +2353,27 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::navigate::LazyLeafHandle") - [ BorrowType; K; V ], - "reborrow", - [] - |), - [ M.read (| b |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::navigate::LazyLeafHandle") + [ BorrowType; K; V ], + "reborrow", + [] + |), + [ M.read (| b |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -5404,99 +5414,100 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let pos := M.copy (| γ |) in - M.read (| - M.match_operator (| - pos, - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "alloc::collections::btree::navigate::Position::Leaf", - 0 - |) in - let node := M.copy (| γ0_0 |) in - let β := result in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ], - "len", - [] - |), - [ node ] - |)) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "alloc::collections::btree::navigate::Position::Internal", - 0 - |) in - let node := M.copy (| γ0_0 |) in - let β := result in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Internal" - ], - "len", - [] - |), - [ node ] - |)) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "alloc::collections::btree::navigate::Position::InternalKV", - 0 - |) in - M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let pos := M.copy (| γ |) in + M.read (| + M.match_operator (| + pos, + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "alloc::collections::btree::navigate::Position::Leaf", + 0 + |) in + let node := M.copy (| γ0_0 |) in + let β := result in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ], + "len", + [] + |), + [ node ] + |)) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "alloc::collections::btree::navigate::Position::Internal", + 0 + |) in + let node := M.copy (| γ0_0 |) in + let β := result in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Internal" + ], + "len", + [] + |), + [ node ] + |)) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "alloc::collections::btree::navigate::Position::InternalKV", + 0 + |) in + M.alloc (| Value.Tuple [] |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7244,87 +7255,91 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let leaf_edge := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.tuple - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Dying"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ]; - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Dying"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Dying"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "deallocating_next", - [ A ] - |), - [ M.read (| leaf_edge |); M.read (| alloc |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let leaf_edge := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.tuple + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Dying"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Dying"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Dying"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "deallocating_next", + [ A ] + |), + [ M.read (| leaf_edge |); M.read (| alloc |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7446,87 +7461,91 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let leaf_edge := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.tuple - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Dying"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ]; - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Dying"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Dying"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "deallocating_next_back", - [ A ] - |), - [ M.read (| leaf_edge |); M.read (| alloc |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let leaf_edge := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.tuple + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Dying"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Dying"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Dying"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "deallocating_next_back", + [ A ] + |), + [ M.read (| leaf_edge |); M.read (| alloc |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7634,66 +7653,147 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let leaf_edge := M.copy (| γ |) in - M.read (| - let~ kv := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ], - "unwrap", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let leaf_edge := M.copy (| γ |) in + M.read (| + let~ kv := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "next_kv", + [] + |), + [ M.read (| leaf_edge |) ] + |) + ] + |) + ] + |) + |) in + M.alloc (| + Value.Tuple [ M.call_closure (| M.get_associated_function (| Ty.apply - (Ty.path "core::result::Result") + (Ty.path + "alloc::collections::btree::node::Handle") [ Ty.apply (Ty.path - "alloc::collections::btree::node::Handle") + "alloc::collections::btree::node::NodeRef") [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; Ty.path - "alloc::collections::btree::node::marker::KV" + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "next_leaf_edge", + [] + |), + [ M.read (| kv |) ] + |); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -7704,99 +7804,21 @@ Module collections. V; Ty.path "alloc::collections::btree::node::marker::LeafOrInternal" - ] + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" ], - "ok", + "into_kv", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "next_kv", - [] - |), - [ M.read (| leaf_edge |) ] - |) - ] + [ M.read (| kv |) ] |) ] - |) - |) in - M.alloc (| - Value.Tuple - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "next_leaf_edge", - [] - |), - [ M.read (| kv |) ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| kv |) ] - |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7884,169 +7906,172 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let leaf_edge := M.copy (| γ |) in - M.read (| - let~ kv := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] - ], - "ok", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "next_back_kv", - [] - |), - [ M.read (| leaf_edge |) ] - |) - ] - |) - ] - |) - |) in - M.alloc (| - Value.Tuple - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let leaf_edge := M.copy (| γ |) in + M.read (| + let~ kv := + M.alloc (| M.call_closure (| M.get_associated_function (| Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") + (Ty.path "core::option::Option") [ Ty.apply (Ty.path - "alloc::collections::btree::node::NodeRef") + "alloc::collections::btree::node::Handle") [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" + "alloc::collections::btree::node::marker::KV" + ] ], - "next_back_leaf_edge", + "unwrap", [] |), - [ M.read (| kv |) ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::Handle") - [ + [ + M.call_closure (| + M.get_associated_function (| Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") + (Ty.path "core::result::Result") [ - Ty.path - "alloc::collections::btree::node::marker::Immut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "into_kv", - [] - |), - [ M.read (| kv |) ] + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "next_back_kv", + [] + |), + [ M.read (| leaf_edge |) ] + |) + ] + |) + ] |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) in + M.alloc (| + Value.Tuple + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "next_back_leaf_edge", + [] + |), + [ M.read (| kv |) ] + |); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Immut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ], + "into_kv", + [] + |), + [ M.read (| kv |) ] + |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8181,20 +8206,118 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let leaf_edge := M.copy (| γ |) in - M.read (| - let~ kv := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let leaf_edge := M.copy (| γ |) in + M.read (| + let~ kv := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "next_kv", + [] + |), + [ M.read (| leaf_edge |) ] + |) + ] + |) + ] + |) + |) in M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ + Value.Tuple + [ + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::Handle") @@ -8212,143 +8335,46 @@ Module collections. ]; Ty.path "alloc::collections::btree::node::marker::KV" - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] ], - "ok", + "next_leaf_edge", [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "next_kv", - [] - |), - [ M.read (| leaf_edge |) ] - |) - ] - |) - ] - |) - |) in - M.alloc (| - Value.Tuple - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "next_leaf_edge", - [] - |), - [ - M.call_closure (| - M.get_function (| - "core::ptr::read", - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ] - |), - [ kv ] - |) - ] - |); - M.read (| kv |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |), + [ + M.call_closure (| + M.get_function (| + "core::ptr::read", + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ] + |), + [ kv ] + |) + ] + |); + M.read (| kv |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -8490,20 +8516,118 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let leaf_edge := M.copy (| γ |) in - M.read (| - let~ kv := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let leaf_edge := M.copy (| γ |) in + M.read (| + let~ kv := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ]; + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ] + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Leaf" + ]; + Ty.path + "alloc::collections::btree::node::marker::Edge" + ], + "next_back_kv", + [] + |), + [ M.read (| leaf_edge |) ] + |) + ] + |) + ] + |) + |) in M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ + Value.Tuple + [ + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::Handle") @@ -8521,143 +8645,46 @@ Module collections. ]; Ty.path "alloc::collections::btree::node::marker::KV" - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ]; - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ] ], - "ok", + "next_back_leaf_edge", [] |), [ M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Leaf" - ]; - Ty.path - "alloc::collections::btree::node::marker::Edge" - ], - "next_back_kv", - [] + M.get_function (| + "core::ptr::read", + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::Handle") + [ + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::ValMut"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::LeafOrInternal" + ]; + Ty.path + "alloc::collections::btree::node::marker::KV" + ] + ] |), - [ M.read (| leaf_edge |) ] + [ kv ] |) ] - |) + |); + M.read (| kv |) ] - |) - |) in - M.alloc (| - Value.Tuple - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ], - "next_back_leaf_edge", - [] - |), - [ - M.call_closure (| - M.get_function (| - "core::ptr::read", - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::Handle") - [ - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::ValMut"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::LeafOrInternal" - ]; - Ty.path - "alloc::collections::btree::node::marker::KV" - ] - ] - |), - [ kv ] - |) - ] - |); - M.read (| kv |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/collections/btree/node.v b/CoqOfRust/alloc/collections/btree/node.v index f5212a95c..dd3a786e0 100644 --- a/CoqOfRust/alloc/collections/btree/node.v +++ b/CoqOfRust/alloc/collections/btree/node.v @@ -2238,82 +2238,83 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let parent := M.copy (| γ |) in - Value.StructRecord - "alloc::collections::btree::node::Handle" - [ - ("node", - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - BorrowType; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Internal" - ], - "from_internal", - [] - |), - [ - M.read (| M.read (| parent |) |); - BinOp.Wrap.add - Integer.Usize - (M.read (| - M.SubPointer.get_struct_record_field (| - self, - "alloc::collections::btree::node::NodeRef", - "height" - |) - |)) - (Value.Integer 1) - ] - |)); - ("idx", - M.call_closure (| - M.get_trait_method (| - "core::convert::From", - Ty.path "usize", - [ Ty.path "u16" ], - "from", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ Ty.path "u16" ], - "assume_init", - [] - |), - [ - M.read (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let parent := M.copy (| γ |) in + Value.StructRecord + "alloc::collections::btree::node::Handle" + [ + ("node", + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + BorrowType; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Internal" + ], + "from_internal", + [] + |), + [ + M.read (| M.read (| parent |) |); + BinOp.Wrap.add + Integer.Usize + (M.read (| M.SubPointer.get_struct_record_field (| - M.read (| leaf_ptr |), - "alloc::collections::btree::node::LeafNode", - "parent_idx" + self, + "alloc::collections::btree::node::NodeRef", + "height" |) - |) - ] - |) - ] - |)); - ("_marker", - Value.StructTuple "core::marker::PhantomData" []) - ])) - ] - |) - | _ => M.impossible (||) + |)) + (Value.Integer 1) + ] + |)); + ("idx", + M.call_closure (| + M.get_trait_method (| + "core::convert::From", + Ty.path "usize", + [ Ty.path "u16" ], + "from", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ Ty.path "u16" ], + "assume_init", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| leaf_ptr |), + "alloc::collections::btree::node::LeafNode", + "parent_idx" + |) + |) + ] + |) + ] + |)); + ("_marker", + Value.StructTuple "core::marker::PhantomData" []) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -4532,51 +4533,52 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let old_root := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Internal" - ], - "forget_type", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::node::NodeRef") - [ - Ty.path - "alloc::collections::btree::node::marker::Owned"; - K; - V; - Ty.path - "alloc::collections::btree::node::marker::Internal" - ], - "new_internal", - [ A ] - |), - [ M.read (| old_root |); M.read (| alloc |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let old_root := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Internal" + ], + "forget_type", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::node::NodeRef") + [ + Ty.path + "alloc::collections::btree::node::marker::Owned"; + K; + V; + Ty.path + "alloc::collections::btree::node::marker::Internal" + ], + "new_internal", + [ A ] + |), + [ M.read (| old_root |); M.read (| alloc |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -12832,24 +12834,25 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let parent := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let _child := M.copy (| γ |) in - M.read (| parent |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let parent := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let _child := M.copy (| γ |) in + M.read (| parent |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.read (| alloc |) ] @@ -12929,24 +12932,25 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let _parent := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let child := M.copy (| γ |) in - M.read (| child |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let _parent := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let child := M.copy (| γ |) in + M.read (| child |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.read (| alloc |) ] diff --git a/CoqOfRust/alloc/collections/btree/search.v b/CoqOfRust/alloc/collections/btree/search.v index deec8c25a..b88f5870e 100644 --- a/CoqOfRust/alloc/collections/btree/search.v +++ b/CoqOfRust/alloc/collections/btree/search.v @@ -640,138 +640,145 @@ Module collections. ltac:(M.monadic match γ with | [ s ] => - M.find_or_pattern (| - γ0_1, - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::range::Bound::Included", - 0 - |) in - let e := M.copy (| γ0_0 |) in - Value.Tuple [ e ])); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::range::Bound::Excluded", - 0 - |) in - let e := M.copy (| γ0_0 |) in - Value.Tuple [ e ])) - ], - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ e ] => - let γ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialOrd", - Ty.apply (Ty.path "&") [ Q ], - [ Ty.apply (Ty.path "&") [ Q ] ], - "gt", - [] - |), - [ s; M.alloc (| M.read (| e |) |) ] - |) + ltac:(M.monadic + (M.find_or_pattern (| + γ0_1, + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::range::Bound::Included", + 0 |) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true + let e := M.copy (| γ0_0 |) in + Value.Tuple [ e ])); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::range::Bound::Excluded", + 0 |) in - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.use is_set in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::panicking::panic_fmt", - [] - |), - [ + let e := M.copy (| γ0_0 |) in + Value.Tuple [ e ])) + ], + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ e ] => + ltac:(M.monadic + (let γ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialOrd", + Ty.apply (Ty.path "&") [ Q ], + [ Ty.apply (Ty.path "&") [ Q ] + ], + "gt", + [] + |), + [ + s; + M.alloc (| M.read (| e |) |) + ] + |) + |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.use is_set in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Arguments", - "new_const", + M.get_function (| + "core::panicking::panic_fmt", [] |), [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "range start is greater than range end in BTreeSet" - |) - ] - |)) + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "range start is greater than range end in BTreeSet" + |) + ] + |)) + ] + |) ] |) - ] - |) - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::panicking::panic_fmt", - [] - |), - [ + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.never_to_any (| M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Arguments", - "new_const", + M.get_function (| + "core::panicking::panic_fmt", [] |), [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "range start is greater than range end in BTreeMap" - |) - ] - |)) + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "range start is greater than range end in BTreeMap" + |) + ] + |)) + ] + |) ] |) - ] - |) - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) + end)) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) diff --git a/CoqOfRust/alloc/collections/btree/set.v b/CoqOfRust/alloc/collections/btree/set.v index 8a1d43209..43d81d2ad 100644 --- a/CoqOfRust/alloc/collections/btree/set.v +++ b/CoqOfRust/alloc/collections/btree/set.v @@ -1786,24 +1786,26 @@ Module collections. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "alloc::collections::btree::set::DifferenceInner::Iterate" - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::set::BTreeSet") - [ T; A ], - "iter", - [] - |), - [ M.read (| self |) ] - |) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "alloc::collections::btree::set::DifferenceInner::Iterate" + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::set::BTreeSet") + [ T; A ], + "iter", + [] + |), + [ M.read (| self |) ] + |) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2369,16 +2371,18 @@ Module collections. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "alloc::collections::btree::set::IntersectionInner::Answer" - [ - Value.StructTuple - "core::option::Option::None" - [] - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "alloc::collections::btree::set::IntersectionInner::Answer" + [ + Value.StructTuple + "core::option::Option::None" + [] + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -3492,35 +3496,38 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let other1 := - M.copy (| - γ - |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::Ord", - T, - [], - "cmp", - [] - |), - [ - M.read (| - self1 - |); - M.read (| - other1 - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let other1 := + M.copy (| + γ + |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::Ord", + T, + [], + "cmp", + [] + |), + [ + M.read (| + self1 + |); + M.read (| + other1 + |) + ] + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) end)) ] |) @@ -3707,18 +3714,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3797,18 +3805,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3872,16 +3881,17 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let kv := M.copy (| γ |) in - M.read (| M.SubPointer.get_tuple_field (| kv, 0 |) |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let kv := M.copy (| γ |) in + M.read (| M.SubPointer.get_tuple_field (| kv, 0 |) |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3945,16 +3955,17 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let kv := M.copy (| γ |) in - M.read (| M.SubPointer.get_tuple_field (| kv, 0 |) |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let kv := M.copy (| γ |) in + M.read (| M.SubPointer.get_tuple_field (| kv, 0 |) |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4216,26 +4227,27 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - UnOp.Pure.not - (M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| v |) ] ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + UnOp.Pure.not + (M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| v |) ] ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -4548,30 +4560,31 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let k := M.copy (| γ |) in - Value.Tuple - [ - M.read (| k |); - M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path - "alloc::collections::btree::set_val::SetValZST", - [], - "default", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let k := M.copy (| γ |) in + Value.Tuple + [ + M.read (| k |); + M.call_closure (| + M.get_trait_method (| + "core::default::Default", + Ty.path + "alloc::collections::btree::set_val::SetValZST", + [], + "default", + [] + |), [] - |), - [] - |) - ])) - ] - |) - | _ => M.impossible (||) + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4897,30 +4910,31 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let k := M.copy (| γ |) in - Value.Tuple - [ - M.read (| k |); - M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path - "alloc::collections::btree::set_val::SetValZST", - [], - "default", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let k := M.copy (| γ |) in + Value.Tuple + [ + M.read (| k |); + M.call_closure (| + M.get_trait_method (| + "core::default::Default", + Ty.path + "alloc::collections::btree::set_val::SetValZST", + [], + "default", + [] + |), [] - |), - [] - |) - ])) - ] - |) - | _ => M.impossible (||) + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5200,19 +5214,21 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5269,33 +5285,35 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let k := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let _v := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ M.read (| pred |); Value.Tuple [ M.read (| k |) ] ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let k := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let _v := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ M.read (| pred |); Value.Tuple [ M.read (| k |) ] + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in M.alloc (| @@ -5364,18 +5382,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5486,32 +5505,33 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::set::BTreeSet") - [ T; A ], - "insert", - [] - |), - [ M.read (| self |); M.read (| elem |) ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::set::BTreeSet") + [ T; A ], + "insert", + [] + |), + [ M.read (| self |); M.read (| elem |) ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6596,18 +6616,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6759,18 +6780,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7011,18 +7033,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7194,18 +7217,19 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - M.read (| k |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + M.read (| k |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7652,30 +7676,31 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let other_next := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::Ord", - T, - [], - "cmp", - [] - |), - [ - M.read (| self_next |); - M.read (| - M.read (| other_next |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let other_next := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::Ord", + T, + [], + "cmp", + [] + |), + [ + M.read (| self_next |); + M.read (| + M.read (| other_next |) + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/collections/linked_list.v b/CoqOfRust/alloc/collections/linked_list.v index 3cc9b2d75..0724255da 100644 --- a/CoqOfRust/alloc/collections/linked_list.v +++ b/CoqOfRust/alloc/collections/linked_list.v @@ -848,142 +848,143 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.read (| - let~ node := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ]; - Ty.apply (Ty.path "&") [ A ] - ], - "from_raw_in", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.read (| + let~ node := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ]; + Ty.apply (Ty.path "&") [ A ] + ], + "from_raw_in", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path + "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| node |) ] + |); + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "alloc" + |) + ] + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "head" |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path - "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] - |), - [ M.read (| node |) ] - |); + M.read (| M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "alloc" + M.read (| node |), + "alloc::collections::linked_list::Node", + "next" |) - ] - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "head" - |), - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "next" |) - |) - |) in - let~ _ := - M.match_operator (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "head" - |), - [ - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "tail" - |), - Value.StructTuple "core::option::Option::None" [] - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let head := M.copy (| γ0_0 |) in - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path - "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] + |) in + let~ _ := + M.match_operator (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "head" + |), + [ + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "tail" + |), + Value.StructTuple "core::option::Option::None" [] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let head := M.copy (| γ0_0 |) in + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path + "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| head |) ] |), - [ M.read (| head |) ] + "alloc::collections::linked_list::Node", + "prev" |), - "alloc::collections::linked_list::Node", - "prev" - |), - Value.StructTuple "core::option::Option::None" [] - |))) - ] - |) in - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "len" + Value.StructTuple "core::option::Option::None" [] + |))) + ] |) in - M.write (| - β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - node - |))) - ] - |) - | _ => M.impossible (||) + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "len" + |) in + M.write (| + β, + BinOp.Wrap.sub + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + node + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1214,142 +1215,143 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.read (| - let~ node := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ]; - Ty.apply (Ty.path "&") [ A ] - ], - "from_raw_in", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.read (| + let~ node := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ]; + Ty.apply (Ty.path "&") [ A ] + ], + "from_raw_in", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path + "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| node |) ] + |); + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "alloc" + |) + ] + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "tail" |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path - "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] - |), - [ M.read (| node |) ] - |); + M.read (| M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "alloc" + M.read (| node |), + "alloc::collections::linked_list::Node", + "prev" |) - ] - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "tail" - |), - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "prev" |) - |) - |) in - let~ _ := - M.match_operator (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "tail" - |), - [ - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "head" - |), - Value.StructTuple "core::option::Option::None" [] - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let tail := M.copy (| γ0_0 |) in - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path - "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] + |) in + let~ _ := + M.match_operator (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "tail" + |), + [ + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "head" + |), + Value.StructTuple "core::option::Option::None" [] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let tail := M.copy (| γ0_0 |) in + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path + "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| tail |) ] |), - [ M.read (| tail |) ] + "alloc::collections::linked_list::Node", + "next" |), - "alloc::collections::linked_list::Node", - "next" - |), - Value.StructTuple "core::option::Option::None" [] - |))) - ] - |) in - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::LinkedList", - "len" + Value.StructTuple "core::option::Option::None" [] + |))) + ] |) in - M.write (| - β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - node - |))) - ] - |) - | _ => M.impossible (||) + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::LinkedList", + "len" + |) in + M.write (| + β, + BinOp.Wrap.sub + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + node + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2936,25 +2938,26 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.apply (Ty.path "&") [ T ], - [ Ty.apply (Ty.path "&") [ T ] ], - "eq", - [] - |), - [ e; x ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.apply (Ty.path "&") [ T ], + [ Ty.apply (Ty.path "&") [ T ] ], + "eq", + [] + |), + [ e; x ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3034,33 +3037,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ref", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ref", + [] + |), + [ M.read (| node |) ] |), - [ M.read (| node |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3140,33 +3144,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_mut", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_mut", + [] + |), + [ M.read (| node |) ] |), - [ M.read (| node |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3246,33 +3251,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ref", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ref", + [] + |), + [ M.read (| node |) ] |), - [ M.read (| node |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3352,33 +3358,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_mut", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_mut", + [] + |), + [ M.read (| node |) ] |), - [ M.read (| node |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4605,25 +4612,26 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| elem |) ] ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| elem |) ] ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5364,71 +5372,72 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.read (| - let~ node := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path - "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] - |), - [ M.read (| node |) ] - |) - |) in - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::Iter", - "len" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.read (| + let~ node := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path + "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| node |) ] + |) |) in - M.write (| - β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::Iter", - "head" - |), - M.read (| + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::Iter", + "len" + |) in + M.write (| + β, + BinOp.Wrap.sub + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + let~ _ := + M.write (| M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "next" + M.read (| self |), + "alloc::collections::linked_list::Iter", + "head" + |), + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| node |), + "alloc::collections::linked_list::Node", + "next" + |) |) + |) in + M.alloc (| + M.SubPointer.get_struct_record_field (| + M.read (| node |), + "alloc::collections::linked_list::Node", + "element" |) - |) in - M.alloc (| - M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "element" |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5604,71 +5613,72 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.read (| - let~ node := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path - "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] - |), - [ M.read (| node |) ] - |) - |) in - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::Iter", - "len" - |) in - M.write (| - β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::Iter", - "tail" - |), - M.read (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.read (| + let~ node := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path + "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| node |) ] + |) + |) in + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::Iter", + "len" + |) in + M.write (| + β, + BinOp.Wrap.sub + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + let~ _ := + M.write (| M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "prev" + M.read (| self |), + "alloc::collections::linked_list::Iter", + "tail" + |), + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| node |), + "alloc::collections::linked_list::Node", + "prev" + |) |) + |) in + M.alloc (| + M.SubPointer.get_struct_record_field (| + M.read (| node |), + "alloc::collections::linked_list::Node", + "element" |) - |) in - M.alloc (| - M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "element" |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5858,71 +5868,72 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.read (| - let~ node := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path - "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] - |), - [ M.read (| node |) ] - |) - |) in - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::IterMut", - "len" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.read (| + let~ node := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path + "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| node |) ] + |) |) in - M.write (| - β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::IterMut", - "head" - |), - M.read (| + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::IterMut", + "len" + |) in + M.write (| + β, + BinOp.Wrap.sub + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + let~ _ := + M.write (| M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "next" + M.read (| self |), + "alloc::collections::linked_list::IterMut", + "head" + |), + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| node |), + "alloc::collections::linked_list::Node", + "next" + |) |) + |) in + M.alloc (| + M.SubPointer.get_struct_record_field (| + M.read (| node |), + "alloc::collections::linked_list::Node", + "element" |) - |) in - M.alloc (| - M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "element" |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6098,71 +6109,72 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.read (| - let~ node := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path - "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] - |), - [ M.read (| node |) ] - |) - |) in - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::IterMut", - "len" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.read (| + let~ node := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path + "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| node |) ] + |) |) in - M.write (| - β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::IterMut", - "tail" - |), - M.read (| + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::IterMut", + "len" + |) in + M.write (| + β, + BinOp.Wrap.sub + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + let~ _ := + M.write (| M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "prev" + M.read (| self |), + "alloc::collections::linked_list::IterMut", + "tail" + |), + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| node |), + "alloc::collections::linked_list::Node", + "prev" + |) |) + |) in + M.alloc (| + M.SubPointer.get_struct_record_field (| + M.read (| node |), + "alloc::collections::linked_list::Node", + "element" |) - |) in - M.alloc (| - M.SubPointer.get_struct_record_field (| - M.read (| node |), - "alloc::collections::linked_list::Node", - "element" |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6984,33 +6996,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::linked_list::LinkedList") - [ T; A ], - "len", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::Cursor", - "list" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::linked_list::LinkedList") + [ T; A ], + "len", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::Cursor", + "list" + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7074,33 +7087,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| current |) ] |), - [ M.read (| current |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7198,46 +7212,47 @@ Module collections. [ Ty.apply (Ty.path "core::ptr::non_null::NonNull") - [ Ty.apply (Ty.path "alloc::collections::linked_list::Node") [ T ] ] - ] - ] - (Ty.apply (Ty.path "&") [ T ]) - ] - |), - [ - M.read (| next |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let next := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] + [ Ty.apply (Ty.path "alloc::collections::linked_list::Node") [ T ] ] + ] + ] + (Ty.apply (Ty.path "&") [ T ]) + ] + |), + [ + M.read (| next |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let next := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| next |) ] |), - [ M.read (| next |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7350,33 +7365,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let prev := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let prev := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| prev |) ] |), - [ M.read (| prev |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7903,33 +7919,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::linked_list::LinkedList") - [ T; A ], - "len", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "alloc::collections::linked_list::CursorMut", - "list" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::linked_list::LinkedList") + [ T; A ], + "len", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "alloc::collections::linked_list::CursorMut", + "list" + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7993,33 +8010,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let current := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let current := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| current |) ] |), - [ M.read (| current |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8130,33 +8148,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let next := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let next := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| next |) ] |), - [ M.read (| next |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -8269,33 +8288,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let prev := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ptr::non_null::NonNull") - [ - Ty.apply - (Ty.path "alloc::collections::linked_list::Node") - [ T ] - ], - "as_ptr", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let prev := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::ptr::non_null::NonNull") + [ + Ty.apply + (Ty.path "alloc::collections::linked_list::Node") + [ T ] + ], + "as_ptr", + [] + |), + [ M.read (| prev |) ] |), - [ M.read (| prev |) ] - |), - "alloc::collections::linked_list::Node", - "element" - |))) - ] - |) - | _ => M.impossible (||) + "alloc::collections::linked_list::Node", + "element" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -11474,25 +11494,27 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elt := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::collections::linked_list::LinkedList") - [ Ty.associated; A ], - "push_back", - [] - |), - [ M.read (| self |); M.read (| elt |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elt := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::linked_list::LinkedList") + [ Ty.associated; A ], + "push_back", + [] + |), + [ M.read (| self |); M.read (| elt |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/collections/vec_deque/into_iter.v b/CoqOfRust/alloc/collections/vec_deque/into_iter.v index a6a003650..f57b26321 100644 --- a/CoqOfRust/alloc/collections/vec_deque/into_iter.v +++ b/CoqOfRust/alloc/collections/vec_deque/into_iter.v @@ -564,40 +564,42 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.read (| - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - guard, - "alloc::collections::vec_deque::into_iter::try_fold::Guard", - "consumed" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.read (| + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + guard, + "alloc::collections::vec_deque::into_iter::try_fold::Guard", + "consumed" + |) in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) |) in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - M.alloc (| - M.call_closure (| - M.get_function (| - "core::ptr::read", - [ T ] - |), - [ M.read (| elem |) ] + M.alloc (| + M.call_closure (| + M.get_function (| + "core::ptr::read", + [ T ] + |), + [ M.read (| elem |) ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -694,40 +696,41 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.read (| - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - guard, - "alloc::collections::vec_deque::into_iter::try_fold::Guard", - "consumed" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.read (| + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + guard, + "alloc::collections::vec_deque::into_iter::try_fold::Guard", + "consumed" + |) in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) |) in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - M.alloc (| - M.call_closure (| - M.get_function (| - "core::ptr::read", - [ T ] - |), - [ M.read (| elem |) ] + M.alloc (| + M.call_closure (| + M.get_function (| + "core::ptr::read", + [ T ] + |), + [ M.read (| elem |) ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -790,41 +793,42 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - Value.StructTuple - "core::result::Result::Ok" - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ B; T ] ], - "call_mut", - [] - |), - [ - f; - Value.Tuple - [ M.read (| b |); M.read (| item |) ] - ] - |) - ])) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + Value.StructTuple + "core::result::Result::Ok" + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ B; T ] ], + "call_mut", + [] + |), + [ + f; + Value.Tuple + [ M.read (| b |); M.read (| item |) ] + ] + |) + ])) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1811,40 +1815,42 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.read (| - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - guard, - "alloc::collections::vec_deque::into_iter::try_rfold::Guard", - "consumed" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.read (| + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + guard, + "alloc::collections::vec_deque::into_iter::try_rfold::Guard", + "consumed" + |) in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) |) in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - M.alloc (| - M.call_closure (| - M.get_function (| - "core::ptr::read", - [ T ] - |), - [ M.read (| elem |) ] + M.alloc (| + M.call_closure (| + M.get_function (| + "core::ptr::read", + [ T ] + |), + [ M.read (| elem |) ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1941,40 +1947,41 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.read (| - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - guard, - "alloc::collections::vec_deque::into_iter::try_rfold::Guard", - "consumed" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.read (| + let~ _ := + let β := + M.SubPointer.get_struct_record_field (| + guard, + "alloc::collections::vec_deque::into_iter::try_rfold::Guard", + "consumed" + |) in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) |) in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - M.alloc (| - M.call_closure (| - M.get_function (| - "core::ptr::read", - [ T ] - |), - [ M.read (| elem |) ] + M.alloc (| + M.call_closure (| + M.get_function (| + "core::ptr::read", + [ T ] + |), + [ M.read (| elem |) ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2037,41 +2044,42 @@ Module collections. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - Value.StructTuple - "core::result::Result::Ok" - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ B; T ] ], - "call_mut", - [] - |), - [ - f; - Value.Tuple - [ M.read (| b |); M.read (| item |) ] - ] - |) - ])) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + Value.StructTuple + "core::result::Result::Ok" + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ B; T ] ], + "call_mut", + [] + |), + [ + f; + Value.Tuple + [ M.read (| b |); M.read (| item |) ] + ] + |) + ])) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/collections/vec_deque/mod.v b/CoqOfRust/alloc/collections/vec_deque/mod.v index 434543d19..06fe2a9bc 100644 --- a/CoqOfRust/alloc/collections/vec_deque/mod.v +++ b/CoqOfRust/alloc/collections/vec_deque/mod.v @@ -2642,51 +2642,52 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let i := M.copy (| γ0_0 |) in - let element := M.copy (| γ0_1 |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::vec_deque::VecDeque") - [ T; A ], - "buffer_write", - [] - |), - [ - M.read (| self |); - BinOp.Wrap.add - Integer.Usize - (M.read (| dst |)) - (M.read (| i |)); - M.read (| element |) - ] - |) - |) in - let~ _ := - let β := M.read (| written |) in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let i := M.copy (| γ0_0 |) in + let element := M.copy (| γ0_1 |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::vec_deque::VecDeque") + [ T; A ], + "buffer_write", + [] + |), + [ + M.read (| self |); + BinOp.Wrap.add + Integer.Usize + (M.read (| dst |)) + (M.read (| i |)); + M.read (| element |) + ] + |) + |) in + let~ _ := + let β := M.read (| written |) in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -8743,25 +8744,26 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| elem |) ] ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| elem |) ] ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -10614,19 +10616,20 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::cmp::Ord", T, [], "cmp", [] |), - [ M.read (| e |); M.read (| x |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::cmp::Ord", T, [], "cmp", [] |), + [ M.read (| e |); M.read (| x |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -10709,25 +10712,26 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| elem |) ] ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| elem |) ] ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -10817,28 +10821,29 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ T ], - "len", - [] - |), - [ M.read (| front |) ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ T ], + "len", + [] + |), + [ M.read (| front |) ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -10847,26 +10852,29 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ T ], - "len", - [] - |), - [ M.read (| front |) ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ T ], + "len", + [] + |), + [ M.read (| front |) ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -10931,33 +10939,34 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let k := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::cmp::Ord", B, [], "cmp", [] |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| k |) ] ] - |) - |); - M.read (| b |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let k := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::cmp::Ord", B, [], "cmp", [] |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| k |) ] ] + |) + |); + M.read (| b |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11042,28 +11051,29 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ - Ty.tuple - [ Ty.apply (Ty.path "&") [ T ] ] - ], - "call_mut", - [] - |), - [ pred; Value.Tuple [ M.read (| v |) ] ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ + Ty.tuple + [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ pred; Value.Tuple [ M.read (| v |) ] ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -13211,25 +13221,26 @@ Module collections. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::hash::Hash", - T, - [], - "hash", - [ H ] - |), - [ M.read (| elem |); M.read (| state |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::hash::Hash", + T, + [], + "hash", + [ H ] + |), + [ M.read (| elem |); M.read (| state |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/ffi/c_str.v b/CoqOfRust/alloc/ffi/c_str.v index c6b98e812..227e845b5 100644 --- a/CoqOfRust/alloc/ffi/c_str.v +++ b/CoqOfRust/alloc/ffi/c_str.v @@ -1765,46 +1765,47 @@ Module ffi. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - Value.StructRecord - "alloc::ffi::c_str::IntoStringError" - [ - ("error", - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::string::FromUtf8Error", - "utf8_error", - [] - |), - [ e ] - |)); - ("inner", - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::ffi::c_str::CString", - "_from_vec_unchecked", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::string::FromUtf8Error", - "into_bytes", - [] - |), - [ M.read (| e |) ] - |) - ] - |)) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + Value.StructRecord + "alloc::ffi::c_str::IntoStringError" + [ + ("error", + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::string::FromUtf8Error", + "utf8_error", + [] + |), + [ e ] + |)); + ("inner", + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::ffi::c_str::CString", + "_from_vec_unchecked", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::string::FromUtf8Error", + "into_bytes", + [] + |), + [ M.read (| e |) ] + |) + ] + |)) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/alloc/fmt.v b/CoqOfRust/alloc/fmt.v index 98a05ad2b..75dc14eb4 100644 --- a/CoqOfRust/alloc/fmt.v +++ b/CoqOfRust/alloc/fmt.v @@ -39,18 +39,19 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_function (| "alloc::fmt::format.format_inner", [] |), - [ M.read (| args |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_function (| "alloc::fmt::format.format_inner", [] |), + [ M.read (| args |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_trait_method (| "alloc::borrow::ToOwned", Ty.path "str", [], "to_owned", [] |) ] diff --git a/CoqOfRust/alloc/raw_vec.v b/CoqOfRust/alloc/raw_vec.v index 4a847980e..80cce540f 100644 --- a/CoqOfRust/alloc/raw_vec.v +++ b/CoqOfRust/alloc/raw_vec.v @@ -2647,24 +2647,27 @@ Module raw_vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructRecord - "alloc::collections::TryReserveErrorKind::AllocError" - [ - ("layout", - M.read (| - new_layout - |)); - ("non_exhaustive", - Value.Tuple []) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructRecord + "alloc::collections::TryReserveErrorKind::AllocError" + [ + ("layout", + M.read (| + new_layout + |)); + ("non_exhaustive", + Value.Tuple []) + ])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) end)) ] |) @@ -2845,17 +2848,18 @@ Module raw_vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "alloc::collections::TryReserveErrorKind::CapacityOverflow" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "alloc::collections::TryReserveErrorKind::CapacityOverflow" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3204,31 +3208,32 @@ Module raw_vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.path "alloc::collections::TryReserveErrorKind", - [ Ty.path "alloc::collections::TryReserveError" ], - "into", - [] - |), - [ - Value.StructRecord - "alloc::collections::TryReserveErrorKind::AllocError" - [ - ("layout", M.read (| new_layout |)); - ("non_exhaustive", Value.Tuple []) - ] - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::convert::Into", + Ty.path "alloc::collections::TryReserveErrorKind", + [ Ty.path "alloc::collections::TryReserveError" ], + "into", + [] + |), + [ + Value.StructRecord + "alloc::collections::TryReserveErrorKind::AllocError" + [ + ("layout", M.read (| new_layout |)); + ("non_exhaustive", Value.Tuple []) + ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3350,23 +3355,24 @@ Module raw_vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::collections::TryReserveError", - "kind", - [] - |), - [ e ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::collections::TryReserveError", + "kind", + [] + |), + [ e ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/rc.v b/CoqOfRust/alloc/rc.v index 929b1983a..5d4738f3b 100644 --- a/CoqOfRust/alloc/rc.v +++ b/CoqOfRust/alloc/rc.v @@ -794,28 +794,29 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate", - [] - |), - [ - M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate", + [] + |), + [ + M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -910,28 +911,29 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate_zeroed", - [] - |), - [ - M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate_zeroed", + [] + |), + [ + M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1257,32 +1259,33 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate", - [] - |), - [ - M.alloc (| - Value.StructTuple - "alloc::alloc::Global" - [] - |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate", + [] + |), + [ + M.alloc (| + Value.StructTuple + "alloc::alloc::Global" + [] + |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1485,32 +1488,33 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate_zeroed", - [] - |), - [ - M.alloc (| - Value.StructTuple - "alloc::alloc::Global" - [] - |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate_zeroed", + [] + |), + [ + M.alloc (| + Value.StructTuple + "alloc::alloc::Global" + [] + |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1779,20 +1783,21 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - M.get_function (| "alloc::alloc::handle_alloc_error", [] |), - [ M.read (| layout |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.never_to_any (| + M.call_closure (| + M.get_function (| "alloc::alloc::handle_alloc_error", [] |), + [ M.read (| layout |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2395,25 +2400,26 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -2510,25 +2516,26 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate_zeroed", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate_zeroed", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -2864,25 +2871,26 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -3087,25 +3095,26 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate_zeroed", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate_zeroed", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -4494,30 +4503,31 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let rc := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply (Ty.path "alloc::rc::Rc") [ T; A ], - [], - "deref", - [] - |), - [ rc ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let rc := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply (Ty.path "alloc::rc::Rc") [ T; A ], + [], + "deref", + [] + |), + [ rc ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4580,48 +4590,50 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate", - [] - |), - [ M.read (| alloc |); M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate", + [] + |), + [ M.read (| alloc |); M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "with_metadata_of", - [ Ty.apply (Ty.path "alloc::rc::RcBox") [ T ] ] - |), - [ M.read (| mem |); M.rust_cast (M.read (| ptr |)) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "with_metadata_of", + [ Ty.apply (Ty.path "alloc::rc::RcBox") [ T ] ] + |), + [ M.read (| mem |); M.rust_cast (M.read (| ptr |)) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4938,61 +4950,63 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate_zeroed", - [] - |), - [ - M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate_zeroed", + [] + |), + [ + M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| - "core::ptr::slice_from_raw_parts_mut", - [ T ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "cast", - [ T ] - |), - [ M.read (| mem |) ] - |); - M.read (| len |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| + "core::ptr::slice_from_raw_parts_mut", + [ T ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "cast", + [ T ] + |), + [ M.read (| mem |) ] + |); + M.read (| len |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5073,58 +5087,63 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate", - [] - |), - [ - M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate", + [] + |), + [ + M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| "core::ptr::slice_from_raw_parts_mut", [ T ] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "cast", - [ T ] - |), - [ M.read (| mem |) ] - |); - M.read (| len |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| + "core::ptr::slice_from_raw_parts_mut", + [ T ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "cast", + [ T ] + |), + [ M.read (| mem |) ] + |); + M.read (| len |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5629,58 +5648,60 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate_zeroed", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate_zeroed", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| - "core::ptr::slice_from_raw_parts_mut", - [ T ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "cast", - [ T ] - |), - [ M.read (| mem |) ] - |); - M.read (| len |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| + "core::ptr::slice_from_raw_parts_mut", + [ T ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "cast", + [ T ] + |), + [ M.read (| mem |) ] + |); + M.read (| len |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -5763,55 +5784,60 @@ Module rc. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate", - [] - |), - [ M.read (| alloc |); M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate", + [] + |), + [ M.read (| alloc |); M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| "core::ptr::slice_from_raw_parts_mut", [ T ] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "cast", - [ T ] - |), - [ M.read (| mem |) ] - |); - M.read (| len |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| + "core::ptr::slice_from_raw_parts_mut", + [ T ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "cast", + [ T ] + |), + [ M.read (| mem |) ] + |); + M.read (| len |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/alloc/slice.v b/CoqOfRust/alloc/slice.v index 3e54cd150..7ef92145d 100644 --- a/CoqOfRust/alloc/slice.v +++ b/CoqOfRust/alloc/slice.v @@ -576,58 +576,60 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.path "core::cmp::Ordering", - [ Ty.path "core::cmp::Ordering" ], - "eq", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.path "core::cmp::Ordering", + [ Ty.path "core::cmp::Ordering" ], + "eq", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply (Ty.path "&") [ T ]; + Ty.apply (Ty.path "&") [ T ] + ] + ], + "call_mut", + [] + |), [ - Ty.tuple - [ - Ty.apply (Ty.path "&") [ T ]; - Ty.apply (Ty.path "&") [ T ] - ] - ], - "call_mut", - [] - |), - [ - compare; - Value.Tuple [ M.read (| a |); M.read (| b |) ] - ] + compare; + Value.Tuple + [ M.read (| a |); M.read (| b |) ] + ] + |) + |); + M.alloc (| + Value.StructTuple "core::cmp::Ordering::Less" [] |) - |); - M.alloc (| - Value.StructTuple "core::cmp::Ordering::Less" [] - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -677,58 +679,61 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialOrd", - K, - [ K ], - "lt", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| a |) ] ] - |) - |); - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| b |) ] ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialOrd", + K, + [ K ], + "lt", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| a |) ] ] + |) + |); + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| b |) ] ] + |) |) - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -987,31 +992,32 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let i := M.copy (| γ0_0 |) in - let k := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| k |); - M.rust_cast (M.read (| i |)) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let i := M.copy (| γ0_0 |) in + let k := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| k |); + M.rust_cast (M.read (| i |)) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1422,31 +1428,32 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let i := M.copy (| γ0_0 |) in - let k := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| k |); - M.rust_cast (M.read (| i |)) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let i := M.copy (| γ0_0 |) in + let k := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| k |); + M.rust_cast (M.read (| i |)) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1857,31 +1864,32 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let i := M.copy (| γ0_0 |) in - let k := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| k |); - M.rust_cast (M.read (| i |)) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let i := M.copy (| γ0_0 |) in + let k := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| k |); + M.rust_cast (M.read (| i |)) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2245,19 +2253,21 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let i := M.copy (| γ0_0 |) in - let k := M.copy (| γ0_1 |) in - Value.Tuple [ M.read (| k |); M.read (| M.use i |) ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let i := M.copy (| γ0_0 |) in + let k := M.copy (| γ0_1 |) in + Value.Tuple [ M.read (| k |); M.read (| M.use i |) ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3253,34 +3263,35 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let slice := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ T ], - "len", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::borrow::Borrow", - V, - [ Ty.apply (Ty.path "slice") [ T ] ], - "borrow", - [] - |), - [ M.read (| slice |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let slice := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ T ], + "len", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::borrow::Borrow", + V, + [ Ty.apply (Ty.path "slice") [ T ] ], + "borrow", + [] + |), + [ M.read (| slice |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3537,34 +3548,35 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ T ], - "len", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::borrow::Borrow", - V, - [ Ty.apply (Ty.path "slice") [ T ] ], - "borrow", - [] - |), - [ M.read (| v |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ T ], + "len", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::borrow::Borrow", + V, + [ Ty.apply (Ty.path "slice") [ T ] ], + "borrow", + [] + |), + [ M.read (| v |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3880,34 +3892,35 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ T ], - "len", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::borrow::Borrow", - V, - [ Ty.apply (Ty.path "slice") [ T ] ], - "borrow", - [] - |), - [ M.read (| v |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ T ], + "len", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::borrow::Borrow", + V, + [ Ty.apply (Ty.path "slice") [ T ] ], + "borrow", + [] + |), + [ M.read (| v |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4479,43 +4492,44 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let len := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| "alloc::alloc::alloc", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "core::alloc::layout::Layout"; - Ty.path "core::alloc::layout::LayoutError" - ], - "unwrap_unchecked", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::alloc::layout::Layout", - "array", - [ T ] - |), - [ M.read (| len |) ] - |) - ] - |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let len := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| "alloc::alloc::alloc", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "core::alloc::layout::Layout"; + Ty.path "core::alloc::layout::LayoutError" + ], + "unwrap_unchecked", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::alloc::layout::Layout", + "array", + [ T ] + |), + [ M.read (| len |) ] + |) + ] + |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ elem_dealloc_fn := @@ -4525,58 +4539,62 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let buf_ptr := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let len := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "alloc::alloc::dealloc", [] |), - [ - M.rust_cast (M.read (| buf_ptr |)); - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "core::alloc::layout::Layout"; - Ty.path - "core::alloc::layout::LayoutError" - ], - "unwrap_unchecked", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::alloc::layout::Layout", - "array", - [ T ] - |), - [ M.read (| len |) ] - |) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let buf_ptr := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let len := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "alloc::alloc::dealloc", + [] + |), + [ + M.rust_cast (M.read (| buf_ptr |)); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "core::alloc::layout::Layout"; + Ty.path + "core::alloc::layout::LayoutError" + ], + "unwrap_unchecked", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::alloc::layout::Layout", + "array", + [ T ] + |), + [ M.read (| len |) ] + |) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ run_alloc_fn := @@ -4586,43 +4604,44 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let len := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| "alloc::alloc::alloc", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "core::alloc::layout::Layout"; - Ty.path "core::alloc::layout::LayoutError" - ], - "unwrap_unchecked", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::alloc::layout::Layout", - "array", - [ Ty.path "core::slice::sort::TimSortRun" ] - |), - [ M.read (| len |) ] - |) - ] - |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let len := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| "alloc::alloc::alloc", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "core::alloc::layout::Layout"; + Ty.path "core::alloc::layout::LayoutError" + ], + "unwrap_unchecked", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::alloc::layout::Layout", + "array", + [ Ty.path "core::slice::sort::TimSortRun" ] + |), + [ M.read (| len |) ] + |) + ] + |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ run_dealloc_fn := @@ -4632,61 +4651,65 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let buf_ptr := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let len := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "alloc::alloc::dealloc", [] |), - [ - M.rust_cast (M.read (| buf_ptr |)); - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "core::alloc::layout::Layout"; - Ty.path - "core::alloc::layout::LayoutError" - ], - "unwrap_unchecked", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::alloc::layout::Layout", - "array", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let buf_ptr := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let len := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "alloc::alloc::dealloc", + [] + |), + [ + M.rust_cast (M.read (| buf_ptr |)); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") [ + Ty.path "core::alloc::layout::Layout"; Ty.path - "core::slice::sort::TimSortRun" - ] - |), - [ M.read (| len |) ] - |) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + "core::alloc::layout::LayoutError" + ], + "unwrap_unchecked", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::alloc::layout::Layout", + "array", + [ + Ty.path + "core::slice::sort::TimSortRun" + ] + |), + [ M.read (| len |) ] + |) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := diff --git a/CoqOfRust/alloc/str.v b/CoqOfRust/alloc/str.v index 0699770f0..1ce0afd66 100644 --- a/CoqOfRust/alloc/str.v +++ b/CoqOfRust/alloc/str.v @@ -269,131 +269,137 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let n := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::map::Map") - [ - Ty.apply - (Ty.path "core::slice::iter::Iter") - [ S ]; - Ty.function - [ Ty.tuple [ Ty.apply (Ty.path "&") [ S ] ] ] - (Ty.path "usize") - ], - [], - "try_fold", - [ - Ty.path "usize"; - Ty.function - [ Ty.path "usize"; Ty.path "usize" ] - (Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "usize" ]); + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let n := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "usize" ] - ] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", + (Ty.path "core::iter::adapters::map::Map") + [ Ty.apply (Ty.path "core::slice::iter::Iter") - [ S ], - [], - "map", + [ S ]; + Ty.function + [ Ty.tuple [ Ty.apply (Ty.path "&") [ S ] ] ] + (Ty.path "usize") + ], + [], + "try_fold", + [ + Ty.path "usize"; + Ty.function + [ Ty.path "usize"; Ty.path "usize" ] + (Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "usize" ]); + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "usize" ] + ] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::slice::iter::Iter") + [ S ], + [], + "map", + [ + Ty.path "usize"; + Ty.function + [ + Ty.tuple + [ Ty.apply (Ty.path "&") [ S ] ] + ] + (Ty.path "usize") + ] + |), [ - Ty.path "usize"; - Ty.function - [ Ty.tuple [ Ty.apply (Ty.path "&") [ S ] ] - ] - (Ty.path "usize") - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ S ], - "iter", - [] - |), - [ M.read (| slice |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ T ], - "len", - [] - |), - [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ S ], + "iter", + [] + |), + [ M.read (| slice |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in M.call_closure (| - M.get_trait_method (| - "core::convert::AsRef", - B, - [ - Ty.apply - (Ty.path "slice") - [ T ] - ], - "as_ref", + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ T ], + "len", [] |), [ M.call_closure (| M.get_trait_method (| - "core::borrow::Borrow", - S, - [ B ], - "borrow", + "core::convert::AsRef", + B, + [ + Ty.apply + (Ty.path + "slice") + [ T ] + ], + "as_ref", [] |), - [ M.read (| s |) ] + [ + M.call_closure (| + M.get_trait_method (| + "core::borrow::Borrow", + S, + [ B ], + "borrow", + [] + |), + [ M.read (| s |) ] + |) + ] |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + |); + M.read (| n |); + M.get_associated_function (| + Ty.path "usize", + "checked_add", + [] |) - |); - M.read (| n |); - M.get_associated_function (| - Ty.path "usize", - "checked_add", - [] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -615,85 +621,87 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let it := M.copy (| γ |) in - M.read (| - let~ it := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let it := M.copy (| γ |) in + M.read (| + let~ it := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::convert::AsRef", + B, + [ Ty.apply (Ty.path "slice") [ T ] ], + "as_ref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::borrow::Borrow", + S, + [ B ], + "borrow", + [] + |), + [ M.read (| it |) ] + |) + ] + |) + |) in M.alloc (| M.call_closure (| - M.get_trait_method (| - "core::convert::AsRef", - B, - [ Ty.apply (Ty.path "slice") [ T ] ], - "as_ref", - [] + M.get_function (| + "core::slice::raw::from_raw_parts", + [ + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ T ] + ] |), [ M.call_closure (| - M.get_trait_method (| - "core::borrow::Borrow", - S, - [ B ], - "borrow", + M.get_associated_function (| + Ty.apply (Ty.path "*const") [ T ], + "cast", + [ + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ T ] + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ T ], + "as_ptr", + [] + |), + [ M.read (| it |) ] + |) + ] + |); + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ T ], + "len", [] |), [ M.read (| it |) ] |) ] |) - |) in - M.alloc (| - M.call_closure (| - M.get_function (| - "core::slice::raw::from_raw_parts", - [ - Ty.apply - (Ty.path "core::mem::maybe_uninit::MaybeUninit") - [ T ] - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*const") [ T ], - "cast", - [ - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ T ] - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ T ], - "as_ptr", - [] - |), - [ M.read (| it |) ] - |) - ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ T ], - "len", - [] - |), - [ M.read (| it |) ] - |) - ] |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/string.v b/CoqOfRust/alloc/string.v index cc9778359..c5d5c1144 100644 --- a/CoqOfRust/alloc/string.v +++ b/CoqOfRust/alloc/string.v @@ -1417,35 +1417,36 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let r := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "char"; - Ty.path "core::char::decode::DecodeUtf16Error" - ], - "unwrap_or", - [] - |), - [ - M.read (| r |); - M.read (| - M.get_constant (| - "core::char::methods::REPLACEMENT_CHARACTER" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let r := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "char"; + Ty.path "core::char::decode::DecodeUtf16Error" + ], + "unwrap_or", + [] + |), + [ + M.read (| r |); + M.read (| + M.get_constant (| + "core::char::methods::REPLACEMENT_CHARACTER" + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1691,17 +1692,18 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "alloc::string::FromUtf16Error" - [ Value.Tuple [] ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "alloc::string::FromUtf16Error" + [ Value.Tuple [] ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2010,36 +2012,37 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let r := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "char"; - Ty.path - "core::char::decode::DecodeUtf16Error" - ], - "unwrap_or", - [] - |), - [ - M.read (| r |); - M.read (| - M.get_constant (| - "core::char::methods::REPLACEMENT_CHARACTER" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let r := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "char"; + Ty.path + "core::char::decode::DecodeUtf16Error" + ], + "unwrap_or", + [] + |), + [ + M.read (| r |); + M.read (| + M.get_constant (| + "core::char::methods::REPLACEMENT_CHARACTER" + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2339,17 +2342,18 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "alloc::string::FromUtf16Error" - [ Value.Tuple [] ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "alloc::string::FromUtf16Error" + [ Value.Tuple [] ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2658,36 +2662,37 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let r := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "char"; - Ty.path - "core::char::decode::DecodeUtf16Error" - ], - "unwrap_or", - [] - |), - [ - M.read (| r |); - M.read (| - M.get_constant (| - "core::char::methods::REPLACEMENT_CHARACTER" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let r := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "char"; + Ty.path + "core::char::decode::DecodeUtf16Error" + ], + "unwrap_or", + [] + |), + [ + M.read (| r |); + M.read (| + M.get_constant (| + "core::char::methods::REPLACEMENT_CHARACTER" + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4092,128 +4097,129 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.match_operator (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.tuple - [ Ty.path "usize"; Ty.path "usize" ] - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::str::pattern::Searcher", - Ty.associated, - [], - "next_match", - [] - |), - [ searcher ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.tuple - [ - Ty.path "usize"; - Ty.path "usize" - ] - ], - [ + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.tuple + [ Ty.path "usize"; Ty.path "usize" ] + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::str::pattern::Searcher", + Ty.associated, + [], + "next_match", + [] + |), + [ searcher ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") [ - Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + Ty.tuple + [ + Ty.path "usize"; + Ty.path "usize" + ] + ], + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |), + [ fun γ => ltac:(M.monadic (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| γ, 1 |) in + let start := M.copy (| γ0_0 |) in + let end_ := M.copy (| γ0_1 |) in + let~ prev_front := M.copy (| front |) in + let~ _ := + M.write (| front, M.read (| end_ |) |) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + Value.Tuple + [ + M.read (| prev_front |); + M.read (| start |) + ] + ] + |))) ] - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| γ, 1 |) in - let start := M.copy (| γ0_0 |) in - let end_ := M.copy (| γ0_1 |) in - let~ prev_front := M.copy (| front |) in - let~ _ := - M.write (| front, M.read (| end_ |) |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - Value.Tuple - [ - M.read (| prev_front |); - M.read (| start |) - ] - ] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6912,23 +6918,24 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::string::String", - "push", - [] - |), - [ M.read (| self |); M.read (| c |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::string::String", + "push", + [] + |), + [ M.read (| self |); M.read (| c |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7176,23 +7183,24 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::string::String", - "push_str", - [] - |), - [ M.read (| self |); M.read (| s |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::string::String", + "push_str", + [] + |), + [ M.read (| self |); M.read (| s |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7288,23 +7296,24 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::string::String", - "push_str", - [] - |), - [ M.read (| self |); M.read (| s |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::string::String", + "push_str", + [] + |), + [ M.read (| self |); M.read (| s |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7367,35 +7376,36 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::string::String", - "push_str", - [] - |), - [ - M.read (| self |); - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloc::string::String", - [], - "deref", - [] - |), - [ s ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::string::String", + "push_str", + [] + |), + [ + M.read (| self |); + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "alloc::string::String", + [], + "deref", + [] + |), + [ s ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -7496,37 +7506,38 @@ Module string. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::string::String", - "push_str", - [] - |), - [ - M.read (| self |); - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path "alloc::borrow::Cow") - [ Ty.path "str" ], - [], - "deref", - [] - |), - [ s ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "alloc::string::String", + "push_str", + [] + |), + [ + M.read (| self |); + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path "alloc::borrow::Cow") + [ Ty.path "str" ], + [], + "deref", + [] + |), + [ s ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/alloc/sync.v b/CoqOfRust/alloc/sync.v index ec8492090..2a3ae6f49 100644 --- a/CoqOfRust/alloc/sync.v +++ b/CoqOfRust/alloc/sync.v @@ -705,28 +705,29 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate", - [] - |), - [ - M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate", + [] + |), + [ + M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -821,28 +822,29 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate_zeroed", - [] - |), - [ - M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate_zeroed", + [] + |), + [ + M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1336,32 +1338,33 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate", - [] - |), - [ - M.alloc (| - Value.StructTuple - "alloc::alloc::Global" - [] - |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate", + [] + |), + [ + M.alloc (| + Value.StructTuple + "alloc::alloc::Global" + [] + |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1564,32 +1567,33 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate_zeroed", - [] - |), - [ - M.alloc (| - Value.StructTuple - "alloc::alloc::Global" - [] - |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate_zeroed", + [] + |), + [ + M.alloc (| + Value.StructTuple + "alloc::alloc::Global" + [] + |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1827,20 +1831,24 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - M.get_function (| "alloc::alloc::handle_alloc_error", [] |), - [ M.read (| layout |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.never_to_any (| + M.call_closure (| + M.get_function (| + "alloc::alloc::handle_alloc_error", + [] + |), + [ M.read (| layout |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2514,25 +2522,26 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -2629,25 +2638,26 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate_zeroed", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate_zeroed", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -3141,25 +3151,26 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -3364,25 +3375,26 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate_zeroed", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate_zeroed", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -4841,48 +4853,50 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate", - [] - |), - [ M.read (| alloc |); M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate", + [] + |), + [ M.read (| alloc |); M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "with_metadata_of", - [ Ty.apply (Ty.path "alloc::sync::ArcInner") [ T ] ] - |), - [ M.read (| mem |); M.rust_cast (M.read (| ptr |)) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "with_metadata_of", + [ Ty.apply (Ty.path "alloc::sync::ArcInner") [ T ] ] + |), + [ M.read (| mem |); M.rust_cast (M.read (| ptr |)) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5500,30 +5514,31 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let arc := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply (Ty.path "alloc::sync::Arc") [ T; A ], - [], - "deref", - [] - |), - [ arc ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let arc := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply (Ty.path "alloc::sync::Arc") [ T; A ], + [], + "deref", + [] + |), + [ arc ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6148,51 +6163,53 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate_zeroed", - [] - |), - [ - M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate_zeroed", + [] + |), + [ + M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| - "core::ptr::slice_from_raw_parts_mut", - [ T ] - |), - [ M.rust_cast (M.read (| mem |)); M.read (| len |) ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| + "core::ptr::slice_from_raw_parts_mut", + [ T ] + |), + [ M.rust_cast (M.read (| mem |)); M.read (| len |) ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6277,58 +6294,63 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - Ty.path "alloc::alloc::Global", - [], - "allocate", - [] - |), - [ - M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); - M.read (| layout |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + Ty.path "alloc::alloc::Global", + [], + "allocate", + [] + |), + [ + M.alloc (| Value.StructTuple "alloc::alloc::Global" [] |); + M.read (| layout |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| "core::ptr::slice_from_raw_parts_mut", [ T ] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "cast", - [ T ] - |), - [ M.read (| mem |) ] - |); - M.read (| len |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| + "core::ptr::slice_from_raw_parts_mut", + [ T ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "cast", + [ T ] + |), + [ M.read (| mem |) ] + |); + M.read (| len |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6839,58 +6861,60 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate_zeroed", - [] - |), - [ alloc; M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate_zeroed", + [] + |), + [ alloc; M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| - "core::ptr::slice_from_raw_parts_mut", - [ T ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "cast", - [ T ] - |), - [ M.read (| mem |) ] - |); - M.read (| len |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| + "core::ptr::slice_from_raw_parts_mut", + [ T ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "cast", + [ T ] + |), + [ M.read (| mem |) ] + |); + M.read (| len |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -6977,55 +7001,60 @@ Module sync. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let layout := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::alloc::Allocator", - A, - [], - "allocate", - [] - |), - [ M.read (| alloc |); M.read (| layout |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let layout := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::alloc::Allocator", + A, + [], + "allocate", + [] + |), + [ M.read (| alloc |); M.read (| layout |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let mem := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_function (| "core::ptr::slice_from_raw_parts_mut", [ T ] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], - "cast", - [ T ] - |), - [ M.read (| mem |) ] - |); - M.read (| len |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let mem := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_function (| + "core::ptr::slice_from_raw_parts_mut", + [ T ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], + "cast", + [ T ] + |), + [ M.read (| mem |) ] + |); + M.read (| len |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/alloc/vec/drain.v b/CoqOfRust/alloc/vec/drain.v index 832608601..d0d3f271d 100644 --- a/CoqOfRust/alloc/vec/drain.v +++ b/CoqOfRust/alloc/vec/drain.v @@ -677,19 +677,20 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elt := M.copy (| γ |) in - M.call_closure (| - M.get_function (| "core::ptr::read", [ T ] |), - [ M.read (| M.use (M.alloc (| M.read (| elt |) |)) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elt := M.copy (| γ |) in + M.call_closure (| + M.get_function (| "core::ptr::read", [ T ] |), + [ M.read (| M.use (M.alloc (| M.read (| elt |) |)) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -782,19 +783,20 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elt := M.copy (| γ |) in - M.call_closure (| - M.get_function (| "core::ptr::read", [ T ] |), - [ M.read (| M.use (M.alloc (| M.read (| elt |) |)) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elt := M.copy (| γ |) in + M.call_closure (| + M.get_function (| "core::ptr::read", [ T ] |), + [ M.read (| M.use (M.alloc (| M.read (| elt |) |)) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/alloc/vec/in_place_collect.v b/CoqOfRust/alloc/vec/in_place_collect.v index fc362fbb3..0db60886a 100644 --- a/CoqOfRust/alloc/vec/in_place_collect.v +++ b/CoqOfRust/alloc/vec/in_place_collect.v @@ -1327,155 +1327,157 @@ Module vec. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let sink := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - M.read (| - let~ _ := - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.use (M.alloc (| Value.Bool true |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.rust_cast - (* MutToConstPointer *) - (M.pointer_coercion - (M.read (| - M.SubPointer.get_struct_record_field (| - sink, - "alloc::vec::in_place_drop::InPlaceDrop", - "dst" - |) - |)))) - (M.read (| src_end |))) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::panicking::panic_fmt", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "InPlaceIterable contract violation" - |) - ] - |)) - ] - |) - ] - |) - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let sink := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "core::ptr::write", [ T ] |), + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), [ - M.read (| - M.SubPointer.get_struct_record_field (| - sink, - "alloc::vec::in_place_drop::InPlaceDrop", - "dst" - |) - |); - M.read (| item |) + fun γ => + ltac:(M.monadic + (let γ := M.use (M.alloc (| Value.Bool true |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (BinOp.Pure.le + (M.rust_cast + (* MutToConstPointer *) + (M.pointer_coercion + (M.read (| + M.SubPointer.get_struct_record_field (| + sink, + "alloc::vec::in_place_drop::InPlaceDrop", + "dst" + |) + |)))) + (M.read (| src_end |))) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::panicking::panic_fmt", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "InPlaceIterable contract violation" + |) + ] + |)) + ] + |) + ] + |) + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - sink, - "alloc::vec::in_place_drop::InPlaceDrop", - "dst" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ T ], - "add", - [] + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "core::ptr::write", [ T ] |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + sink, + "alloc::vec::in_place_drop::InPlaceDrop", + "dst" + |) + |); + M.read (| item |) + ] + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + sink, + "alloc::vec::in_place_drop::InPlaceDrop", + "dst" |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - sink, - "alloc::vec::in_place_drop::InPlaceDrop", - "dst" - |) - |); - Value.Integer 1 - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| - Value.StructTuple - "core::result::Result::Ok" - [ M.read (| sink |) ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ T ], + "add", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + sink, + "alloc::vec::in_place_drop::InPlaceDrop", + "dst" + |) + |); + Value.Integer 1 + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| + Value.StructTuple + "core::result::Result::Ok" + [ M.read (| sink |) ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. diff --git a/CoqOfRust/alloc/vec/is_zero.v b/CoqOfRust/alloc/vec/is_zero.v index 90852779c..d1c0a16f0 100644 --- a/CoqOfRust/alloc/vec/is_zero.v +++ b/CoqOfRust/alloc/vec/is_zero.v @@ -34,16 +34,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -88,16 +89,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -142,16 +144,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -196,16 +199,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -250,16 +254,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -304,16 +309,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -358,16 +364,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -412,16 +419,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -466,16 +474,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -520,16 +529,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -574,16 +584,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -628,16 +639,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -682,16 +694,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Bool false))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.Bool false))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -736,16 +749,17 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.UnicodeChar 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| x |)) (Value.UnicodeChar 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -790,21 +804,26 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.call_closure (| - M.get_associated_function (| Ty.path "f32", "to_bits", [] |), - [ M.read (| x |) ] - |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.call_closure (| + M.get_associated_function (| + Ty.path "f32", + "to_bits", + [] + |), + [ M.read (| x |) ] + |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] @@ -849,21 +868,26 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.call_closure (| - M.get_associated_function (| Ty.path "f64", "to_bits", [] |), - [ M.read (| x |) ] - |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.call_closure (| + M.get_associated_function (| + Ty.path "f64", + "to_bits", + [] + |), + [ M.read (| x |) ] + |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] diff --git a/CoqOfRust/alloc/vec/mod.v b/CoqOfRust/alloc/vec/mod.v index 0f192f833..965e394e6 100644 --- a/CoqOfRust/alloc/vec/mod.v +++ b/CoqOfRust/alloc/vec/mod.v @@ -1828,25 +1828,26 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elem := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| elem |) ] ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elem := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| elem |) ] ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2061,58 +2062,59 @@ Module vec. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - K, - [ K ], - "eq", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ T ] ] ], - "call_mut", - [] - |), - [ key; Value.Tuple [ M.read (| a |) ] ] - |) - |); - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ T ] ] ], - "call_mut", - [] - |), - [ key; Value.Tuple [ M.read (| b |) ] ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + K, + [ K ], + "eq", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ T ] ] ], + "call_mut", + [] + |), + [ key; Value.Tuple [ M.read (| a |) ] ] + |) + |); + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ T ] ] ], + "call_mut", + [] + |), + [ key; Value.Tuple [ M.read (| b |) ] ] + |) |) - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4724,33 +4726,34 @@ Module vec. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.apply (Ty.path "&mut") [ T ], - [ Ty.apply (Ty.path "&mut") [ T ] ], - "eq", - [] - |), - [ a; b ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.apply (Ty.path "&mut") [ T ], + [ Ty.apply (Ty.path "&mut") [ T ] ], + "eq", + [] + |), + [ a; b ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5246,61 +5249,62 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let element := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::ptr::write", - [ T ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*mut") [ T ], - "add", - [] - |), - [ - M.read (| ptr |); - M.call_closure (| - M.get_associated_function (| - Ty.path - "alloc::vec::set_len_on_drop::SetLenOnDrop", - "current_len", - [] - |), - [ local_len ] - |) - ] - |); - M.read (| element |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "alloc::vec::set_len_on_drop::SetLenOnDrop", - "increment_len", - [] - |), - [ local_len; Value.Integer 1 ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let element := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::ptr::write", + [ T ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*mut") [ T ], + "add", + [] + |), + [ + M.read (| ptr |); + M.call_closure (| + M.get_associated_function (| + Ty.path + "alloc::vec::set_len_on_drop::SetLenOnDrop", + "current_len", + [] + |), + [ local_len ] + |) + ] + |); + M.read (| element |) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "alloc::vec::set_len_on_drop::SetLenOnDrop", + "increment_len", + [] + |), + [ local_len; Value.Integer 1 ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5864,43 +5868,44 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| γ, 1 |) in - let src := M.copy (| γ0_0 |) in - let dst := M.copy (| γ0_1 |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ T ], - "write", - [] - |), - [ - M.read (| dst |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - T, - [], - "clone", - [] - |), - [ M.read (| src |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| γ, 1 |) in + let src := M.copy (| γ0_0 |) in + let dst := M.copy (| γ0_1 |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ T ], + "write", + [] + |), + [ + M.read (| dst |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + T, + [], + "clone", + [] + |), + [ M.read (| src |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -5909,24 +5914,25 @@ Module vec. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let β := M.read (| len |) in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let β := M.read (| len |) in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/array/iter.v b/CoqOfRust/core/array/iter.v index e4a1ed49a..116d5ddee 100644 --- a/CoqOfRust/core/array/iter.v +++ b/CoqOfRust/core/array/iter.v @@ -442,47 +442,50 @@ Module array. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [ T ], - "assume_init_read", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ - Ty.apply - (Ty.path "core::mem::maybe_uninit::MaybeUninit") - [ T ] - ], - "get_unchecked", - [ Ty.path "usize" ] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::array::iter::IntoIter", - "data" - |)); - M.read (| idx |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [ T ], + "assume_init_read", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [ T ] + ], + "get_unchecked", + [ Ty.path "usize" ] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::array::iter::IntoIter", + "data" + |)); + M.read (| idx |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -584,70 +587,72 @@ Module array. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - Fold, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ - fold; - Value.Tuple - [ - M.read (| acc |); - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ T ], - "assume_init_read", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ T ] - ], - "get_unchecked", - [ Ty.path "usize" ] - |), - [ - (* Unsize *) - M.pointer_coercion (M.read (| data |)); - M.read (| idx |) - ] - |) - ] - |) - ] - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + Fold, + [ Ty.tuple [ Acc; T ] ], + "call_mut", + [] + |), + [ + fold; + Value.Tuple + [ + M.read (| acc |); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ T ], + "assume_init_read", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ T ] + ], + "get_unchecked", + [ Ty.path "usize" ] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.read (| data |)); + M.read (| idx |) + ] + |) + ] + |) + ] + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1001,47 +1006,50 @@ Module array. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [ T ], - "assume_init_read", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ - Ty.apply - (Ty.path "core::mem::maybe_uninit::MaybeUninit") - [ T ] - ], - "get_unchecked", - [ Ty.path "usize" ] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::array::iter::IntoIter", - "data" - |)); - M.read (| idx |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [ T ], + "assume_init_read", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [ T ] + ], + "get_unchecked", + [ Ty.path "usize" ] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::array::iter::IntoIter", + "data" + |)); + M.read (| idx |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1106,70 +1114,72 @@ Module array. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - Fold, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ - rfold; - Value.Tuple - [ - M.read (| acc |); - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ T ], - "assume_init_read", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ T ] - ], - "get_unchecked", - [ Ty.path "usize" ] - |), - [ - (* Unsize *) - M.pointer_coercion (M.read (| data |)); - M.read (| idx |) - ] - |) - ] - |) - ] - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + Fold, + [ Ty.tuple [ Acc; T ] ], + "call_mut", + [] + |), + [ + rfold; + Value.Tuple + [ + M.read (| acc |); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ T ], + "assume_init_read", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ T ] + ], + "get_unchecked", + [ Ty.path "usize" ] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.read (| data |)); + M.read (| idx |) + ] + |) + ] + |) + ] + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/array/mod.v b/CoqOfRust/core/array/mod.v index 02e49ea89..a506af6af 100644 --- a/CoqOfRust/core/array/mod.v +++ b/CoqOfRust/core/array/mod.v @@ -4517,39 +4517,40 @@ Module array. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "core::array::try_from_trusted_iterator", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "core::array::try_from_trusted_iterator", + [ + Ty.associated; + R; + Ty.apply + (Ty.path "core::iter::adapters::map::Map") + [ Ty.apply (Ty.path "core::array::drain::Drain") [ T ]; F ] + ] + |), [ - Ty.associated; - R; - Ty.apply - (Ty.path "core::iter::adapters::map::Map") - [ Ty.apply (Ty.path "core::array::drain::Drain") [ T ]; F ] + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply (Ty.path "core::array::drain::Drain") [ T ], + [], + "map", + [ R; F ] + |), + [ M.read (| iter |); M.read (| f |) ] + |) ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply (Ty.path "core::array::drain::Drain") [ T ], - [], - "map", - [ R; F ] - |), - [ M.read (| iter |); M.read (| f |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4971,24 +4972,25 @@ Module array. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::iter::traits::unchecked_iterator::UncheckedIterator", - impl_UncheckedIterator_Item___T_, - [], - "next_unchecked", - [] - |), - [ iter ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::iter::traits::unchecked_iterator::UncheckedIterator", + impl_UncheckedIterator_Item___T_, + [], + "next_unchecked", + [] + |), + [ iter ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. diff --git a/CoqOfRust/core/cell/once.v b/CoqOfRust/core/cell/once.v index 502e8a1ae..733cc0035 100644 --- a/CoqOfRust/core/cell/once.v +++ b/CoqOfRust/core/cell/once.v @@ -343,28 +343,29 @@ Module cell. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "core::result::Result::Ok" - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ Ty.tuple [] ], - "call_once", - [] - |), - [ M.read (| f |); Value.Tuple [] ] - |) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "core::result::Result::Ok" + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ Ty.tuple [] ], + "call_once", + [] + |), + [ M.read (| f |); Value.Tuple [] ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/char/convert.v b/CoqOfRust/core/char/convert.v index d94c21d3f..8981a793a 100644 --- a/CoqOfRust/core/char/convert.v +++ b/CoqOfRust/core/char/convert.v @@ -236,17 +236,18 @@ Module char. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "core::char::TryFromCharError" - [ Value.Tuple [] ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "core::char::TryFromCharError" + [ Value.Tuple [] ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -318,17 +319,18 @@ Module char. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "core::char::TryFromCharError" - [ Value.Tuple [] ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "core::char::TryFromCharError" + [ Value.Tuple [] ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/char/decode.v b/CoqOfRust/core/char/decode.v index a625f6c2c..836df2a90 100644 --- a/CoqOfRust/core/char/decode.v +++ b/CoqOfRust/core/char/decode.v @@ -924,23 +924,24 @@ Module char. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let h := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "usize", - "checked_add", - [] - |), - [ M.read (| h |); M.read (| high_buf |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let h := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "usize", + "checked_add", + [] + |), + [ M.read (| h |); M.read (| high_buf |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/char/methods.v b/CoqOfRust/core/char/methods.v index 72b312dbb..753954217 100644 --- a/CoqOfRust/core/char/methods.v +++ b/CoqOfRust/core/char/methods.v @@ -700,37 +700,38 @@ Module char. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::char::EscapeDefault", - "backslash", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::ascii::ascii_char::AsciiChar" ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "char", - "as_ascii", - [] - |), - [ self ] - |) - ] - |) - ] - |) - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::char::EscapeDefault", + "backslash", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::ascii::ascii_char::AsciiChar" ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "as_ascii", + [] + |), + [ self ] + |) + ] + |) + ] + |) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -918,8 +919,8 @@ Module char. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -1069,8 +1070,8 @@ Module char. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -1546,8 +1547,8 @@ Module char. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1897,8 +1898,8 @@ Module char. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1944,8 +1945,8 @@ Module char. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) diff --git a/CoqOfRust/core/cmp.v b/CoqOfRust/core/cmp.v index 098fb4021..fd6c056af 100644 --- a/CoqOfRust/core/cmp.v +++ b/CoqOfRust/core/cmp.v @@ -1335,8 +1335,8 @@ Module cmp. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1435,8 +1435,8 @@ Module cmp. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1517,7 +1517,11 @@ Module cmp. ], M.closure (fun γ => - ltac:(M.monadic match γ with | [] => v1 | _ => M.impossible (||) end)) + ltac:(M.monadic + match γ with + | [] => ltac:(M.monadic v1) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) |))); fun γ => ltac:(M.monadic @@ -1561,52 +1565,53 @@ Module cmp. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v1 := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let v2 := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::cmp::Ord", K, [], "cmp", [] |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| v1 |) ] ] - |) - |); - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| v2 |) ] ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v1 := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let v2 := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::cmp::Ord", K, [], "cmp", [] |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| v1 |) ] ] + |) + |); + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| v2 |) ] ] + |) |) - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1681,7 +1686,11 @@ Module cmp. ], M.closure (fun γ => - ltac:(M.monadic match γ with | [] => v2 | _ => M.impossible (||) end)) + ltac:(M.monadic + match γ with + | [] => ltac:(M.monadic v2) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) |))); fun γ => ltac:(M.monadic @@ -1725,52 +1734,53 @@ Module cmp. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v1 := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let v2 := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::cmp::Ord", K, [], "cmp", [] |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| v1 |) ] ] - |) - |); - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| v2 |) ] ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v1 := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let v2 := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::cmp::Ord", K, [], "cmp", [] |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| v1 |) ] ] + |) + |); + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| v2 |) ] ] + |) |) - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1912,52 +1922,53 @@ Module cmp. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v1 := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let v2 := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::cmp::Ord", K, [], "cmp", [] |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| v1 |) ] ] - |) - |); - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| v2 |) ] ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v1 := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let v2 := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::cmp::Ord", K, [], "cmp", [] |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| v1 |) ] ] + |) + |); + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| v2 |) ] ] + |) |) - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/convert/num.v b/CoqOfRust/core/convert/num.v index 070bb6c8c..fd4f13c61 100644 --- a/CoqOfRust/core/convert/num.v +++ b/CoqOfRust/core/convert/num.v @@ -10694,23 +10694,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -10783,23 +10784,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -10872,23 +10874,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -10961,23 +10964,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11050,23 +11054,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11139,23 +11144,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11228,23 +11234,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11317,23 +11324,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11406,23 +11414,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11495,23 +11504,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11584,23 +11594,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11673,23 +11684,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11762,23 +11774,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11851,23 +11864,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -11940,23 +11954,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12029,23 +12044,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12118,23 +12134,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12207,23 +12224,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12296,23 +12314,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12385,23 +12404,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12474,23 +12494,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12563,23 +12584,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12652,23 +12674,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12741,23 +12764,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12830,23 +12854,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -12919,23 +12944,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13008,23 +13034,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13097,23 +13124,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13186,23 +13214,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13275,23 +13304,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13364,23 +13394,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13453,23 +13484,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13542,23 +13574,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13631,23 +13664,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13720,23 +13754,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13809,23 +13844,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13898,23 +13934,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13987,23 +14024,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14076,23 +14114,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14165,23 +14204,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14254,23 +14294,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14343,23 +14384,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14432,23 +14474,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14521,23 +14564,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14610,23 +14654,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroU128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroU128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14699,23 +14744,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14788,23 +14834,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14877,23 +14924,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -14966,23 +15014,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15055,23 +15104,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15144,23 +15194,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15233,23 +15284,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15322,23 +15374,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15411,23 +15464,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroUsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroUsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15500,23 +15554,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15589,23 +15644,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15678,23 +15734,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15767,23 +15824,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15856,23 +15914,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -15945,23 +16004,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16034,23 +16094,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16123,23 +16184,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16212,23 +16274,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16301,23 +16364,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16390,23 +16454,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI8", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI8", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16479,23 +16544,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16568,23 +16634,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16657,23 +16724,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16746,23 +16814,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16835,23 +16904,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -16924,23 +16994,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17013,23 +17084,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17102,23 +17174,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17191,23 +17264,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI16", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI16", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17280,23 +17354,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17369,23 +17444,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17458,23 +17534,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17547,23 +17624,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17636,23 +17714,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17725,23 +17804,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17814,23 +17894,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI32", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI32", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17903,23 +17984,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -17992,23 +18074,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18081,23 +18164,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18170,23 +18254,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18259,23 +18344,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI64", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI64", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18348,23 +18434,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18437,23 +18524,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18526,23 +18614,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroI128", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroI128", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18615,23 +18704,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroIsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroIsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18704,23 +18794,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroIsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroIsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18793,23 +18884,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroIsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroIsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18882,23 +18974,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroIsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroIsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -18971,23 +19064,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroIsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroIsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -19060,23 +19154,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroIsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroIsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -19149,23 +19244,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroIsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroIsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -19238,23 +19334,24 @@ Module convert. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::nonzero::NonZeroIsize", - "new_unchecked", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::nonzero::NonZeroIsize", + "new_unchecked", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/escape.v b/CoqOfRust/core/escape.v index 82b5d2972..48f3c06e7 100644 --- a/CoqOfRust/core/escape.v +++ b/CoqOfRust/core/escape.v @@ -1055,45 +1055,46 @@ Module escape. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::ascii::ascii_char::AsciiChar", - "to_u8", - [] - |), - [ - M.read (| - M.SubPointer.get_array_field (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::escape::EscapeIterInner", - "data" - |), - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::convert::From", - Ty.path "usize", - [ Ty.path "u8" ], - "from", - [] - |), - [ M.read (| i |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::ascii::ascii_char::AsciiChar", + "to_u8", + [] + |), + [ + M.read (| + M.SubPointer.get_array_field (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::escape::EscapeIterInner", + "data" + |), + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::convert::From", + Ty.path "usize", + [ Ty.path "u8" ], + "from", + [] + |), + [ M.read (| i |) ] + |) |) |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1140,45 +1141,46 @@ Module escape. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::ascii::ascii_char::AsciiChar", - "to_u8", - [] - |), - [ - M.read (| - M.SubPointer.get_array_field (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::escape::EscapeIterInner", - "data" - |), - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::convert::From", - Ty.path "usize", - [ Ty.path "u8" ], - "from", - [] - |), - [ M.read (| i |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::ascii::ascii_char::AsciiChar", + "to_u8", + [] + |), + [ + M.read (| + M.SubPointer.get_array_field (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::escape::EscapeIterInner", + "data" + |), + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::convert::From", + Ty.path "usize", + [ Ty.path "u8" ], + "from", + [] + |), + [ M.read (| i |) ] + |) |) |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/fmt/builders.v b/CoqOfRust/core/fmt/builders.v index 47d656ad5..c0386639d 100644 --- a/CoqOfRust/core/fmt/builders.v +++ b/CoqOfRust/core/fmt/builders.v @@ -86,36 +86,37 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let buf := M.copy (| γ |) in - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::fmt::builders::PadAdapter" ], - "insert", - [] - |), - [ - M.read (| slot |); - Value.StructRecord - "core::fmt::builders::PadAdapter" - [ - ("buf", - (* Unsize *) M.pointer_coercion (M.read (| buf |))); - ("state", M.read (| state |)) - ] - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let buf := M.copy (| γ |) in + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::fmt::builders::PadAdapter" ], + "insert", + [] + |), + [ + M.read (| slot |); + Value.StructRecord + "core::fmt::builders::PadAdapter" + [ + ("buf", + (* Unsize *) M.pointer_coercion (M.read (| buf |))); + ("state", M.read (| state |)) + ] + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -744,25 +745,26 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Debug", - Ty.dyn [ ("core::fmt::Debug::Trait", []) ], - [], - "fmt", - [] - |), - [ M.read (| value |); M.read (| f |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Debug", + Ty.dyn [ ("core::fmt::Debug::Trait", []) ], + [], + "fmt", + [] + |), + [ M.read (| value |); M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -844,834 +846,844 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::builders::DebugStruct", - "is_pretty", - [] - |), - [ M.read (| self |) ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "has_fields" - |) - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - M.read (| - Value.String " { + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::builders::DebugStruct", + "is_pretty", + [] + |), + [ M.read (| self |) ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "has_fields" + |) + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + M.read (| + Value.String " { " - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := - M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path - "core::fmt::Error" - ], - [ + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := + M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ - M.read (| - residual - |) - ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ slot := - M.alloc (| - Value.StructTuple - "core::option::Option::None" - [] - |) in - let~ state := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path - "core::fmt::builders::PadAdapterState", - [], - "default", - [] - |), - [] - |) - |) in - let~ writer := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::PadAdapter", - "wrap", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - slot; - state + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := + M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) ] - |) - |) in - let~ _ := - M.match_operator (| + |) in + let~ slot := + M.alloc (| + Value.StructTuple + "core::option::Option::None" + [] + |) in + let~ state := M.alloc (| M.call_closure (| M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], + "core::default::Default", + Ty.path + "core::fmt::builders::PadAdapterState", [], - "branch", + "default", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ writer; M.read (| name |) ] - |) - ] + [] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ _ := - M.match_operator (| + |) in + let~ writer := M.alloc (| M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", + M.get_associated_function (| + Ty.path "core::fmt::builders::PadAdapter", + "wrap", [] |), [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ writer; M.read (| Value.String ": " |) - ] - |) + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + slot; + state ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [ + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ writer; M.read (| name |) ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "core::fmt::Formatter" - ] - ] + Ty.tuple []; + Ty.path "core::fmt::Error" ], - "call_once", - [] - |), - [ - M.read (| value_fmt |); - Value.Tuple [ writer ] - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [ + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + writer; + M.read (| Value.String ": " |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ writer; M.read (| Value.String ", -" |) ] - |) - |))); - fun γ => - ltac:(M.monadic - (let~ prefix := - M.copy (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ + |))); fun γ => ltac:(M.monadic - (let γ := - M.use - (M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "has_fields" - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 |) in - Value.String ", ")); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.read (| Value.String " { " |) - |))) + let val := M.copy (| γ0_0 |) in + val)) ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - M.read (| prefix |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ Ty.apply - (Ty.path - "core::result::Result") + (Ty.path "&mut") [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [ + Ty.path + "core::fmt::Formatter" + ] + ] + ], + "call_once", + [] + |), + [ + M.read (| value_fmt |); + Value.Tuple [ writer ] + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - M.read (| name |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") + ], [ - Ty.tuple []; - Ty.path "core::fmt::Error" + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ writer; M.read (| Value.String ", +" |) ] + |) + |))); + fun γ => + ltac:(M.monadic + (let~ prefix := + M.copy (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - M.read (| Value.String ": " |) - ] - |) + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "has_fields" + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + Value.String ", ")); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.read (| Value.String " { " |) + |))) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [ + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + M.read (| prefix |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ - Ty.tuple - [ + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", Ty.apply - (Ty.path "&mut") - [ Ty.path "core::fmt::Formatter" ] - ] - ], - "call_once", - [] - |), - [ - M.read (| value_fmt |); - Value.Tuple - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |) - ] - ] - |) - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + M.read (| name |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + M.read (| Value.String ": " |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path "core::fmt::Formatter" ] + ] + ], + "call_once", + [] + |), + [ + M.read (| value_fmt |); + Value.Tuple + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |) + ] + ] + |) + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1753,345 +1765,30 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "has_fields" - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::builders::DebugStruct", - "is_pretty", - [] - |), - [ M.read (| self |) ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ slot := - M.alloc (| - Value.StructTuple - "core::option::Option::None" - [] - |) in - let~ state := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path - "core::fmt::builders::PadAdapterState", - [], - "default", - [] - |), - [] - |) - |) in - let~ writer := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::builders::PadAdapter", - "wrap", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - slot; - state - ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Formatter", - "write_str", - [] - |), - [ - writer; - M.read (| - Value.String ".. -" - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := - M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path - "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) - ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - M.read (| Value.String "}" |) - ] - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - M.read (| Value.String ", .. }" |) - ] - |) - |))) - ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - M.read (| Value.String " { .. }" |) - ] - |) - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - |) in - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "result" - |) - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_finish_non_exhaustive : - M.IsAssociatedFunction Self "finish_non_exhaustive" finish_non_exhaustive. - - (* - pub fn finish(&mut self) -> fmt::Result { - if self.has_fields { - self.result = self.result.and_then(|_| { - if self.is_pretty() { self.fmt.write_str("}") } else { self.fmt.write_str(" }") } - }); - } - self.result - } - *) - Definition finish (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "has_fields" - |)) in - let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "result" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ], - "and_then", - [ - Ty.tuple []; - Ty.function - [ Ty.tuple [ Ty.tuple [] ] ] - (Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]) - ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "result" - |) - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "has_fields" + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -2115,23 +1812,163 @@ Module fmt. M.read (| γ |), Value.Bool true |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", + let~ slot := + M.alloc (| + Value.StructTuple + "core::option::Option::None" + [] + |) in + let~ state := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::default::Default", + Ty.path + "core::fmt::builders::PadAdapterState", + [], + "default", + [] + |), [] + |) + |) in + let~ writer := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::builders::PadAdapter", + "wrap", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + slot; + state + ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Formatter", + "write_str", + [] + |), + [ + writer; + M.read (| + Value.String ".. +" + |) + ] + |) + ] + |) |), [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugStruct", - "fmt" - |) - |); - M.read (| Value.String "}" |) - ] + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := + M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + M.read (| Value.String "}" |) + ] |) |))); fun γ => @@ -2151,16 +1988,197 @@ Module fmt. "fmt" |) |); - M.read (| Value.String " }" |) + M.read (| Value.String ", .. }" |) ] |) |))) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + M.read (| Value.String " { .. }" |) + ] + |) + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + |) in + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "result" + |) + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_finish_non_exhaustive : + M.IsAssociatedFunction Self "finish_non_exhaustive" finish_non_exhaustive. + + (* + pub fn finish(&mut self) -> fmt::Result { + if self.has_fields { + self.result = self.result.and_then(|_| { + if self.is_pretty() { self.fmt.write_str("}") } else { self.fmt.write_str(" }") } + }); + } + self.result + } + *) + Definition finish (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + M.read (| + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "has_fields" + |)) in + let _ := + M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "result" + |), + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ], + "and_then", + [ + Ty.tuple []; + Ty.function + [ Ty.tuple [ Ty.tuple [] ] ] + (Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]) + ] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "result" + |) + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::builders::DebugStruct", + "is_pretty", + [] + |), + [ M.read (| self |) ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + M.read (| Value.String "}" |) + ] + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugStruct", + "fmt" + |) + |); + M.read (| Value.String " }" |) + ] + |) + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2301,25 +2319,26 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Debug", - Ty.dyn [ ("core::fmt::Debug::Trait", []) ], - [], - "fmt", - [] - |), - [ M.read (| value |); M.read (| f |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Debug", + Ty.dyn [ ("core::fmt::Debug::Trait", []) ], + [], + "fmt", + [] + |), + [ M.read (| value |); M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2396,323 +2415,37 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugTuple", - "is_pretty", - [] - |), - [ M.read (| self |) ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.eq - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fields" - |) - |)) - (Value.Integer 0) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fmt" - |) - |); - M.read (| - Value.String "( -" - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := - M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path - "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ - M.read (| - residual - |) - ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ slot := - M.alloc (| - Value.StructTuple - "core::option::Option::None" - [] - |) in - let~ state := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path - "core::fmt::builders::PadAdapterState", - [], - "default", - [] - |), - [] - |) - |) in - let~ writer := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::PadAdapter", - "wrap", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fmt" - |) - |); - slot; - state - ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "core::fmt::Formatter" - ] - ] - ], - "call_once", - [] - |), - [ - M.read (| value_fmt |); - Value.Tuple [ writer ] - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ writer; M.read (| Value.String ", -" |) ] - |) - |))); - fun γ => - ltac:(M.monadic - (let~ prefix := - M.copy (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::builders::DebugTuple", + "is_pretty", + [] + |), + [ M.read (| self |) ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -2736,292 +2469,6 @@ Module fmt. M.read (| γ |), Value.Bool true |) in - Value.String "(")); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.read (| Value.String ", " |) - |))) - ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fmt" - |) - |); - M.read (| prefix |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ Ty.path "core::fmt::Formatter" ] - ] - ], - "call_once", - [] - |), - [ - M.read (| value_fmt |); - Value.Tuple - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fmt" - |) - |) - ] - ] - |) - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - |) in - let~ _ := - let β := - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fields" - |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in - M.alloc (| M.read (| self |) |) - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_field_with : M.IsAssociatedFunction Self "field_with" field_with. - - (* - pub fn finish(&mut self) -> fmt::Result { - if self.fields > 0 { - self.result = self.result.and_then(|_| { - if self.fields == 1 && self.empty_name && !self.is_pretty() { - self.fmt.write_str(",")?; - } - self.fmt.write_str(")") - }); - } - self.result - } - *) - Definition finish (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.gt - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fields" - |) - |)) - (Value.Integer 0) - |)) in - let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "result" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ], - "and_then", - [ - Ty.tuple []; - Ty.function - [ Ty.tuple [ Ty.tuple [] ] ] - (Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]) - ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "result" - |) - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - LogicalOp.and (| - LogicalOp.and (| - BinOp.Pure.eq - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fields" - |) - |)) - (Value.Integer 1), - ltac:(M.monadic - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "empty_name" - |) - |))) - |), - ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::builders::DebugTuple", - "is_pretty", - [] - |), - [ M.read (| self |) ] - |)))) - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in let~ _ := M.match_operator (| M.alloc (| @@ -3056,7 +2503,8 @@ Module fmt. |) |); M.read (| - Value.String "," + Value.String "( +" |) ] |) @@ -3132,807 +2580,696 @@ Module fmt. (M.alloc (| Value.Tuple [] |))) ] |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", + let~ slot := + M.alloc (| + Value.StructTuple + "core::option::Option::None" [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fmt" - |) - |); - M.read (| Value.String ")" |) - ] - |) - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "result" - |) - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. - - (* - fn is_pretty(&self) -> bool { - self.fmt.alternate() - } - *) - Definition is_pretty (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - M.call_closure (| - M.get_associated_function (| Ty.path "core::fmt::Formatter", "alternate", [] |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugTuple", - "fmt" - |) - |) - ] - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_is_pretty : M.IsAssociatedFunction Self "is_pretty" is_pretty. - End Impl_core_fmt_builders_DebugTuple. - - (* StructRecord - { - name := "DebugInner"; - ty_params := []; - fields := - [ - ("fmt", Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ]); - ("result", - Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]); - ("has_fields", Ty.path "bool") - ]; - } *) - - Module Impl_core_fmt_builders_DebugInner. - Definition Self : Ty.t := Ty.path "core::fmt::builders::DebugInner". - - (* - fn entry_with(&mut self, entry_fmt: F) - where - F: FnOnce(&mut fmt::Formatter<'_>) -> fmt::Result, - { - self.result = self.result.and_then(|_| { - if self.is_pretty() { - if !self.has_fields { - self.fmt.write_str("\n")?; - } - let mut slot = None; - let mut state = Default::default(); - let mut writer = PadAdapter::wrap(self.fmt, &mut slot, &mut state); - entry_fmt(&mut writer)?; - writer.write_str(",\n") - } else { - if self.has_fields { - self.fmt.write_str(", ")? - } - entry_fmt(self.fmt) - } - }); - - self.has_fields = true; - } - *) - Definition entry_with (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [ F ], [ self; entry_fmt ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let entry_fmt := M.alloc (| entry_fmt |) in - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "result" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ], - "and_then", - [ - Ty.tuple []; - Ty.function - [ Ty.tuple [ Ty.tuple [] ] ] - (Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]) - ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "result" - |) - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| + |) in + let~ state := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::default::Default", + Ty.path + "core::fmt::builders::PadAdapterState", + [], + "default", + [] + |), + [] + |) + |) in + let~ writer := + M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "core::fmt::builders::DebugInner", - "is_pretty", + Ty.path "core::fmt::builders::PadAdapter", + "wrap", [] |), - [ M.read (| self |) ] + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fmt" + |) + |); + slot; + state + ] |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "has_fields" - |) - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "fmt" - |) - |); - M.read (| - Value.String " -" - |) - ] - |) - ] - |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.path + "core::fmt::Formatter" + ] + ] + ], + "call_once", + [] |), [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := - M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path - "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ - M.read (| - residual - |) - ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) + M.read (| value_fmt |); + Value.Tuple [ writer ] ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ slot := - M.alloc (| - Value.StructTuple - "core::option::Option::None" - [] - |) in - let~ state := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path - "core::fmt::builders::PadAdapterState", - [], - "default", - [] + |) + ] + |) |), - [] - |) - |) in - let~ writer := + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "core::fmt::builders::PadAdapter", - "wrap", + Ty.path "core::fmt::Formatter", + "write_str", [] |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "fmt" - |) - |); - slot; - state - ] + [ writer; M.read (| Value.String ", +" |) ] |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), + |))); + fun γ => + ltac:(M.monadic + (let~ prefix := + M.copy (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "core::fmt::Formatter" - ] - ] - ], - "call_once", - [] - |), - [ - M.read (| entry_fmt |); - Value.Tuple [ writer ] - ] - |) + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.eq + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fields" + |) + |)) + (Value.Integer 0) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + Value.String "(")); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.read (| Value.String ", " |) + |))) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [ + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fmt" + |) + |); + M.read (| prefix |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ writer; M.read (| Value.String ", -" |) ] - |) - |))); - fun γ => - ltac:(M.monadic - (let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "has_fields" - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "fmt" - |) - |); - M.read (| Value.String ", " |) - ] - |) - ] - |) - |), + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := - M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path - "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) - ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) + Ty.apply + (Ty.path "&mut") + [ Ty.path "core::fmt::Formatter" ] ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, + ], + "call_once", + [] + |), [ - Ty.tuple + M.read (| value_fmt |); + Value.Tuple [ - Ty.apply - (Ty.path "&mut") - [ Ty.path "core::fmt::Formatter" ] - ] - ], - "call_once", - [] - |), - [ - M.read (| entry_fmt |); - Value.Tuple - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "fmt" + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fmt" + |) |) - |) - ] - ] - |) - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ] + ] + |) + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) |) in let~ _ := - M.write (| + let β := M.SubPointer.get_struct_record_field (| M.read (| self |), - "core::fmt::builders::DebugInner", - "has_fields" - |), - Value.Bool true - |) in - M.alloc (| Value.Tuple [] |) + "core::fmt::builders::DebugTuple", + "fields" + |) in + M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.alloc (| M.read (| self |) |) |))) | _, _ => M.impossible end. - Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. + Axiom AssociatedFunction_field_with : M.IsAssociatedFunction Self "field_with" field_with. (* - fn is_pretty(&self) -> bool { - self.fmt.alternate() + pub fn finish(&mut self) -> fmt::Result { + if self.fields > 0 { + self.result = self.result.and_then(|_| { + if self.fields == 1 && self.empty_name && !self.is_pretty() { + self.fmt.write_str(",")?; + } + self.fmt.write_str(")") + }); + } + self.result } *) - Definition is_pretty (τ : list Ty.t) (α : list Value.t) : M := + Definition finish (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.call_closure (| - M.get_associated_function (| Ty.path "core::fmt::Formatter", "alternate", [] |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugInner", - "fmt" - |) - |) - ] - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_is_pretty : M.IsAssociatedFunction Self "is_pretty" is_pretty. - End Impl_core_fmt_builders_DebugInner. - - (* StructRecord - { - name := "DebugSet"; - ty_params := []; - fields := [ ("inner", Ty.path "core::fmt::builders::DebugInner") ]; - } *) - - (* - pub(super) fn debug_set_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>) -> DebugSet<'a, 'b> { - let result = fmt.write_str("{"); - DebugSet { inner: DebugInner { fmt, result, has_fields: false } } - } - *) - Definition debug_set_new (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ fmt ] => - ltac:(M.monadic - (let fmt := M.alloc (| fmt |) in - M.read (| - let~ result := - M.alloc (| - M.call_closure (| - M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), - [ M.read (| fmt |); M.read (| Value.String "{" |) ] - |) - |) in - M.alloc (| - Value.StructRecord - "core::fmt::builders::DebugSet" - [ - ("inner", - Value.StructRecord - "core::fmt::builders::DebugInner" - [ - ("fmt", M.read (| fmt |)); - ("result", M.read (| result |)); - ("has_fields", Value.Bool false) - ]) - ] - |) - |))) - | _, _ => M.impossible - end. - - Axiom Function_debug_set_new : M.IsFunction "core::fmt::builders::debug_set_new" debug_set_new. - - Module Impl_core_fmt_builders_DebugSet. - Definition Self : Ty.t := Ty.path "core::fmt::builders::DebugSet". - - (* - pub fn entry(&mut self, entry: &dyn fmt::Debug) -> &mut Self { - self.inner.entry_with(|f| entry.fmt(f)); - self - } - *) - Definition entry (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self; entry ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let entry := M.alloc (| entry |) in M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugInner", - "entry_with", - [ - Ty.function - [ - Ty.tuple - [ Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ] ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]) - ] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugSet", - "inner" - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.gt + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fields" + |) + |)) + (Value.Integer 0) + |)) in + let _ := + M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "result" + |), + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ], + "and_then", [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Debug", - Ty.dyn [ ("core::fmt::Debug::Trait", []) ], - [], - "fmt", - [] - |), - [ M.read (| entry |); M.read (| f |) ] - |))) + Ty.tuple []; + Ty.function + [ Ty.tuple [ Ty.tuple [] ] ] + (Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]) ] - |) - | _ => M.impossible (||) - end)) - ] - |) + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "result" + |) + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + LogicalOp.and (| + LogicalOp.and (| + BinOp.Pure.eq + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fields" + |) + |)) + (Value.Integer 1), + ltac:(M.monadic + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "empty_name" + |) + |))) + |), + ltac:(M.monadic + (UnOp.Pure.not + (M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::builders::DebugTuple", + "is_pretty", + [] + |), + [ M.read (| self |) ] + |)))) + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fmt" + |) + |); + M.read (| + Value.String "," + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := + M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := + M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fmt" + |) + |); + M.read (| Value.String ")" |) + ] + |) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] |) in - M.alloc (| M.read (| self |) |) + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "result" + |) |))) | _, _ => M.impossible end. - Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. + Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. (* - pub fn entry_with(&mut self, entry_fmt: F) -> &mut Self + fn is_pretty(&self) -> bool { + self.fmt.alternate() + } + *) + Definition is_pretty (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + M.call_closure (| + M.get_associated_function (| Ty.path "core::fmt::Formatter", "alternate", [] |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugTuple", + "fmt" + |) + |) + ] + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_is_pretty : M.IsAssociatedFunction Self "is_pretty" is_pretty. + End Impl_core_fmt_builders_DebugTuple. + + (* StructRecord + { + name := "DebugInner"; + ty_params := []; + fields := + [ + ("fmt", Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ]); + ("result", + Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]); + ("has_fields", Ty.path "bool") + ]; + } *) + + Module Impl_core_fmt_builders_DebugInner. + Definition Self : Ty.t := Ty.path "core::fmt::builders::DebugInner". + + (* + fn entry_with(&mut self, entry_fmt: F) where F: FnOnce(&mut fmt::Formatter<'_>) -> fmt::Result, { - self.inner.entry_with(entry_fmt); - self + self.result = self.result.and_then(|_| { + if self.is_pretty() { + if !self.has_fields { + self.fmt.write_str("\n")?; + } + let mut slot = None; + let mut state = Default::default(); + let mut writer = PadAdapter::wrap(self.fmt, &mut slot, &mut state); + entry_fmt(&mut writer)?; + writer.write_str(",\n") + } else { + if self.has_fields { + self.fmt.write_str(", ")? + } + entry_fmt(self.fmt) + } + }); + + self.has_fields = true; } *) Definition entry_with (τ : list Ty.t) (α : list Value.t) : M := @@ -3943,849 +3280,47 @@ Module fmt. let entry_fmt := M.alloc (| entry_fmt |) in M.read (| let~ _ := - M.alloc (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugInner", + "result" + |), M.call_closure (| M.get_associated_function (| - Ty.path "core::fmt::builders::DebugInner", - "entry_with", - [ F ] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugSet", - "inner" - |); - M.read (| entry_fmt |) - ] - |) - |) in - M.alloc (| M.read (| self |) |) - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. - - (* - pub fn entries(&mut self, entries: I) -> &mut Self - where - D: fmt::Debug, - I: IntoIterator, - { - for entry in entries { - self.entry(&entry); - } - self - } - *) - Definition entries (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [ D; _ as I ], [ self; entries ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let entries := M.alloc (| entries |) in - M.read (| - let~ _ := - M.use - (M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", - I, - [], - "into_iter", - [] - |), - [ M.read (| entries |) ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.loop (| - ltac:(M.monadic - (let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.associated, - [], - "next", - [] - |), - [ iter ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| - M.never_to_any (| M.read (| M.break (||) |) |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let entry := M.copy (| γ0_0 |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugSet", - "entry", - [] - |), - [ - M.read (| self |); - (* Unsize *) M.pointer_coercion entry - ] - |) - |) in - M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| Value.Tuple [] |))) - |))) - ] - |)) in - M.alloc (| M.read (| self |) |) - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_entries : M.IsAssociatedFunction Self "entries" entries. - - (* - pub fn finish(&mut self) -> fmt::Result { - self.inner.result.and_then(|_| self.inner.fmt.write_str("}")) - } - *) - Definition finish (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ], - "and_then", - [ - Ty.tuple []; - Ty.function - [ Ty.tuple [ Ty.tuple [] ] ] - (Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]) - ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugSet", - "inner" - |), - "core::fmt::builders::DebugInner", - "result" - |) - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugSet", - "inner" - |), - "core::fmt::builders::DebugInner", - "fmt" - |) - |); - M.read (| Value.String "}" |) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. - End Impl_core_fmt_builders_DebugSet. - - (* StructRecord - { - name := "DebugList"; - ty_params := []; - fields := [ ("inner", Ty.path "core::fmt::builders::DebugInner") ]; - } *) - - (* - pub(super) fn debug_list_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>) -> DebugList<'a, 'b> { - let result = fmt.write_str("["); - DebugList { inner: DebugInner { fmt, result, has_fields: false } } - } - *) - Definition debug_list_new (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ fmt ] => - ltac:(M.monadic - (let fmt := M.alloc (| fmt |) in - M.read (| - let~ result := - M.alloc (| - M.call_closure (| - M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), - [ M.read (| fmt |); M.read (| Value.String "[" |) ] - |) - |) in - M.alloc (| - Value.StructRecord - "core::fmt::builders::DebugList" - [ - ("inner", - Value.StructRecord - "core::fmt::builders::DebugInner" - [ - ("fmt", M.read (| fmt |)); - ("result", M.read (| result |)); - ("has_fields", Value.Bool false) - ]) - ] - |) - |))) - | _, _ => M.impossible - end. - - Axiom Function_debug_list_new : - M.IsFunction "core::fmt::builders::debug_list_new" debug_list_new. - - Module Impl_core_fmt_builders_DebugList. - Definition Self : Ty.t := Ty.path "core::fmt::builders::DebugList". - - (* - pub fn entry(&mut self, entry: &dyn fmt::Debug) -> &mut Self { - self.inner.entry_with(|f| entry.fmt(f)); - self - } - *) - Definition entry (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self; entry ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let entry := M.alloc (| entry |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugInner", - "entry_with", + Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ], + "and_then", [ + Ty.tuple []; Ty.function - [ - Ty.tuple - [ Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ] ] - ] + [ Ty.tuple [ Ty.tuple [] ] ] (Ty.apply (Ty.path "core::result::Result") [ Ty.tuple []; Ty.path "core::fmt::Error" ]) ] |), [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugList", - "inner" - |); - M.closure + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugInner", + "result" + |) + |); + M.closure (fun γ => ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Debug", - Ty.dyn [ ("core::fmt::Debug::Trait", []) ], - [], - "fmt", - [] - |), - [ M.read (| entry |); M.read (| f |) ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - |) in - M.alloc (| M.read (| self |) |) - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. - - (* - pub fn entry_with(&mut self, entry_fmt: F) -> &mut Self - where - F: FnOnce(&mut fmt::Formatter<'_>) -> fmt::Result, - { - self.inner.entry_with(entry_fmt); - self - } - *) - Definition entry_with (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [ F ], [ self; entry_fmt ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let entry_fmt := M.alloc (| entry_fmt |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugInner", - "entry_with", - [ F ] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugList", - "inner" - |); - M.read (| entry_fmt |) - ] - |) - |) in - M.alloc (| M.read (| self |) |) - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. - - (* - pub fn entries(&mut self, entries: I) -> &mut Self - where - D: fmt::Debug, - I: IntoIterator, - { - for entry in entries { - self.entry(&entry); - } - self - } - *) - Definition entries (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [ D; _ as I ], [ self; entries ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let entries := M.alloc (| entries |) in - M.read (| - let~ _ := - M.use - (M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", - I, - [], - "into_iter", - [] - |), - [ M.read (| entries |) ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.loop (| - ltac:(M.monadic - (let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.associated, - [], - "next", - [] - |), - [ iter ] - |) - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), [ fun γ => ltac:(M.monadic - (let _ := - M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| - M.never_to_any (| M.read (| M.break (||) |) |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let entry := M.copy (| γ0_0 |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugList", - "entry", - [] - |), - [ - M.read (| self |); - (* Unsize *) M.pointer_coercion entry - ] - |) - |) in - M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| Value.Tuple [] |))) - |))) - ] - |)) in - M.alloc (| M.read (| self |) |) - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_entries : M.IsAssociatedFunction Self "entries" entries. - - (* - pub fn finish(&mut self) -> fmt::Result { - self.inner.result.and_then(|_| self.inner.fmt.write_str("]")) - } - *) - Definition finish (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ], - "and_then", - [ - Ty.tuple []; - Ty.function - [ Ty.tuple [ Ty.tuple [] ] ] - (Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]) - ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugList", - "inner" - |), - "core::fmt::builders::DebugInner", - "result" - |) - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugList", - "inner" - |), - "core::fmt::builders::DebugInner", - "fmt" - |) - |); - M.read (| Value.String "]" |) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. - End Impl_core_fmt_builders_DebugList. - - (* StructRecord - { - name := "DebugMap"; - ty_params := []; - fields := - [ - ("fmt", Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ]); - ("result", - Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]); - ("has_fields", Ty.path "bool"); - ("has_key", Ty.path "bool"); - ("state", Ty.path "core::fmt::builders::PadAdapterState") - ]; - } *) - - (* - pub(super) fn debug_map_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>) -> DebugMap<'a, 'b> { - let result = fmt.write_str("{"); - DebugMap { fmt, result, has_fields: false, has_key: false, state: Default::default() } - } - *) - Definition debug_map_new (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ fmt ] => - ltac:(M.monadic - (let fmt := M.alloc (| fmt |) in - M.read (| - let~ result := - M.alloc (| - M.call_closure (| - M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), - [ M.read (| fmt |); M.read (| Value.String "{" |) ] - |) - |) in - M.alloc (| - Value.StructRecord - "core::fmt::builders::DebugMap" - [ - ("fmt", M.read (| fmt |)); - ("result", M.read (| result |)); - ("has_fields", Value.Bool false); - ("has_key", Value.Bool false); - ("state", - M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path "core::fmt::builders::PadAdapterState", - [], - "default", - [] - |), - [] - |)) - ] - |) - |))) - | _, _ => M.impossible - end. - - Axiom Function_debug_map_new : M.IsFunction "core::fmt::builders::debug_map_new" debug_map_new. - - Module Impl_core_fmt_builders_DebugMap. - Definition Self : Ty.t := Ty.path "core::fmt::builders::DebugMap". - - (* - pub fn entry(&mut self, key: &dyn fmt::Debug, value: &dyn fmt::Debug) -> &mut Self { - self.key(key).value(value) - } - *) - Definition entry (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self; key; value ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let key := M.alloc (| key |) in - let value := M.alloc (| value |) in - M.call_closure (| - M.get_associated_function (| Ty.path "core::fmt::builders::DebugMap", "value", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugMap", - "key", - [] - |), - [ M.read (| self |); (* Unsize *) M.pointer_coercion (M.read (| key |)) ] - |); - (* Unsize *) M.pointer_coercion (M.read (| value |)) - ] - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. - - (* - pub fn key(&mut self, key: &dyn fmt::Debug) -> &mut Self { - self.key_with(|f| key.fmt(f)) - } - *) - Definition key (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [], [ self; key ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let key := M.alloc (| key |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugMap", - "key_with", - [ - Ty.function - [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ] ] ] - (Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]) - ] - |), - [ - M.read (| self |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Debug", - Ty.dyn [ ("core::fmt::Debug::Trait", []) ], - [], - "fmt", - [] - |), - [ M.read (| key |); M.read (| f |) ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - | _, _ => M.impossible - end. - - Axiom AssociatedFunction_key : M.IsAssociatedFunction Self "key" key. - - (* - pub fn key_with(&mut self, key_fmt: F) -> &mut Self - where - F: FnOnce(&mut fmt::Formatter<'_>) -> fmt::Result, - { - self.result = self.result.and_then(|_| { - assert!( - !self.has_key, - "attempted to begin a new map entry \ - without completing the previous one" - ); - - if self.is_pretty() { - if !self.has_fields { - self.fmt.write_str("\n")?; - } - let mut slot = None; - self.state = Default::default(); - let mut writer = PadAdapter::wrap(self.fmt, &mut slot, &mut self.state); - key_fmt(&mut writer)?; - writer.write_str(": ")?; - } else { - if self.has_fields { - self.fmt.write_str(", ")? - } - key_fmt(self.fmt)?; - self.fmt.write_str(": ")?; - } - - self.has_key = true; - Ok(()) - }); - - self - } - *) - Definition key_with (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with - | [ F ], [ self; key_fmt ] => - ltac:(M.monadic - (let self := M.alloc (| self |) in - let key_fmt := M.alloc (| key_fmt |) in - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "result" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ], - "and_then", - [ - Ty.tuple []; - Ty.function - [ Ty.tuple [ Ty.tuple [] ] ] - (Ty.apply - (Ty.path "core::result::Result") - [ Ty.tuple []; Ty.path "core::fmt::Error" ]) - ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "result" - |) - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "has_key" - |) - |))) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::panicking::panic_fmt", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "attempted to begin a new map entry without completing the previous one" - |) - ] - |)) - ] - |) - ] - |) - |) - |))); - fun γ => - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := + (M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -4796,7 +3331,8 @@ Module fmt. (M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "core::fmt::builders::DebugMap", + Ty.path + "core::fmt::builders::DebugInner", "is_pretty", [] |), @@ -4821,7 +3357,7 @@ Module fmt. (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), - "core::fmt::builders::DebugMap", + "core::fmt::builders::DebugInner", "has_fields" |) |)) @@ -4860,7 +3396,7 @@ Module fmt. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), - "core::fmt::builders::DebugMap", + "core::fmt::builders::DebugInner", "fmt" |) |); @@ -4948,13 +3484,8 @@ Module fmt. "core::option::Option::None" [] |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "state" - |), + let~ state := + M.alloc (| M.call_closure (| M.get_trait_method (| "core::default::Default", @@ -4979,16 +3510,12 @@ Module fmt. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), - "core::fmt::builders::DebugMap", + "core::fmt::builders::DebugInner", "fmt" |) |); slot; - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "state" - |) + state ] |) |) in @@ -5028,7 +3555,7 @@ Module fmt. [] |), [ - M.read (| key_fmt |); + M.read (| entry_fmt |); Value.Tuple [ writer ] ] |) @@ -5092,95 +3619,17 @@ Module fmt. val)) ] |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - writer; - M.read (| Value.String ": " |) - ] - |) - ] - |) + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path - "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| Value.Tuple [] |))); + [ writer; M.read (| Value.String ", +" |) ] + |) + |))); fun γ => ltac:(M.monadic (let~ _ := @@ -5193,7 +3642,7 @@ Module fmt. M.use (M.SubPointer.get_struct_record_field (| M.read (| self |), - "core::fmt::builders::DebugMap", + "core::fmt::builders::DebugInner", "has_fields" |)) in let _ := @@ -5210,328 +3659,1925 @@ Module fmt. (Ty.path "core::result::Result") [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugInner", + "fmt" + |) + |); + M.read (| + Value.String ", " + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := + M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path "core::fmt::Formatter" ] + ] + ], + "call_once", + [] + |), + [ + M.read (| entry_fmt |); + Value.Tuple + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugInner", + "fmt" + |) + |) + ] + ] + |) + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugInner", + "has_fields" + |), + Value.Bool true + |) in + M.alloc (| Value.Tuple [] |) + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. + + (* + fn is_pretty(&self) -> bool { + self.fmt.alternate() + } + *) + Definition is_pretty (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + M.call_closure (| + M.get_associated_function (| Ty.path "core::fmt::Formatter", "alternate", [] |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugInner", + "fmt" + |) + |) + ] + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_is_pretty : M.IsAssociatedFunction Self "is_pretty" is_pretty. + End Impl_core_fmt_builders_DebugInner. + + (* StructRecord + { + name := "DebugSet"; + ty_params := []; + fields := [ ("inner", Ty.path "core::fmt::builders::DebugInner") ]; + } *) + + (* + pub(super) fn debug_set_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>) -> DebugSet<'a, 'b> { + let result = fmt.write_str("{"); + DebugSet { inner: DebugInner { fmt, result, has_fields: false } } + } + *) + Definition debug_set_new (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ fmt ] => + ltac:(M.monadic + (let fmt := M.alloc (| fmt |) in + M.read (| + let~ result := + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), + [ M.read (| fmt |); M.read (| Value.String "{" |) ] + |) + |) in + M.alloc (| + Value.StructRecord + "core::fmt::builders::DebugSet" + [ + ("inner", + Value.StructRecord + "core::fmt::builders::DebugInner" + [ + ("fmt", M.read (| fmt |)); + ("result", M.read (| result |)); + ("has_fields", Value.Bool false) + ]) + ] + |) + |))) + | _, _ => M.impossible + end. + + Axiom Function_debug_set_new : M.IsFunction "core::fmt::builders::debug_set_new" debug_set_new. + + Module Impl_core_fmt_builders_DebugSet. + Definition Self : Ty.t := Ty.path "core::fmt::builders::DebugSet". + + (* + pub fn entry(&mut self, entry: &dyn fmt::Debug) -> &mut Self { + self.inner.entry_with(|f| entry.fmt(f)); + self + } + *) + Definition entry (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self; entry ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let entry := M.alloc (| entry |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::builders::DebugInner", + "entry_with", + [ + Ty.function + [ + Ty.tuple + [ Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ] ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]) + ] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugSet", + "inner" + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Debug", + Ty.dyn [ ("core::fmt::Debug::Trait", []) ], + [], + "fmt", + [] + |), + [ M.read (| entry |); M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + |) in + M.alloc (| M.read (| self |) |) + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. + + (* + pub fn entry_with(&mut self, entry_fmt: F) -> &mut Self + where + F: FnOnce(&mut fmt::Formatter<'_>) -> fmt::Result, + { + self.inner.entry_with(entry_fmt); + self + } + *) + Definition entry_with (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [ F ], [ self; entry_fmt ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let entry_fmt := M.alloc (| entry_fmt |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::builders::DebugInner", + "entry_with", + [ F ] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugSet", + "inner" + |); + M.read (| entry_fmt |) + ] + |) + |) in + M.alloc (| M.read (| self |) |) + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. + + (* + pub fn entries(&mut self, entries: I) -> &mut Self + where + D: fmt::Debug, + I: IntoIterator, + { + for entry in entries { + self.entry(&entry); + } + self + } + *) + Definition entries (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [ D; _ as I ], [ self; entries ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let entries := M.alloc (| entries |) in + M.read (| + let~ _ := + M.use + (M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + I, + [], + "into_iter", + [] + |), + [ M.read (| entries |) ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.loop (| + ltac:(M.monadic + (let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.associated, + [], + "next", + [] + |), + [ iter ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| γ, "core::option::Option::None" |) in + M.alloc (| + M.never_to_any (| M.read (| M.break (||) |) |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let entry := M.copy (| γ0_0 |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::builders::DebugSet", + "entry", + [] + |), + [ + M.read (| self |); + (* Unsize *) M.pointer_coercion entry + ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| Value.Tuple [] |))) + |))) + ] + |)) in + M.alloc (| M.read (| self |) |) + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_entries : M.IsAssociatedFunction Self "entries" entries. + + (* + pub fn finish(&mut self) -> fmt::Result { + self.inner.result.and_then(|_| self.inner.fmt.write_str("}")) + } + *) + Definition finish (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ], + "and_then", + [ + Ty.tuple []; + Ty.function + [ Ty.tuple [ Ty.tuple [] ] ] + (Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]) + ] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugSet", + "inner" + |), + "core::fmt::builders::DebugInner", + "result" + |) + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugSet", + "inner" + |), + "core::fmt::builders::DebugInner", + "fmt" + |) + |); + M.read (| Value.String "}" |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. + End Impl_core_fmt_builders_DebugSet. + + (* StructRecord + { + name := "DebugList"; + ty_params := []; + fields := [ ("inner", Ty.path "core::fmt::builders::DebugInner") ]; + } *) + + (* + pub(super) fn debug_list_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>) -> DebugList<'a, 'b> { + let result = fmt.write_str("["); + DebugList { inner: DebugInner { fmt, result, has_fields: false } } + } + *) + Definition debug_list_new (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ fmt ] => + ltac:(M.monadic + (let fmt := M.alloc (| fmt |) in + M.read (| + let~ result := + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), + [ M.read (| fmt |); M.read (| Value.String "[" |) ] + |) + |) in + M.alloc (| + Value.StructRecord + "core::fmt::builders::DebugList" + [ + ("inner", + Value.StructRecord + "core::fmt::builders::DebugInner" + [ + ("fmt", M.read (| fmt |)); + ("result", M.read (| result |)); + ("has_fields", Value.Bool false) + ]) + ] + |) + |))) + | _, _ => M.impossible + end. + + Axiom Function_debug_list_new : + M.IsFunction "core::fmt::builders::debug_list_new" debug_list_new. + + Module Impl_core_fmt_builders_DebugList. + Definition Self : Ty.t := Ty.path "core::fmt::builders::DebugList". + + (* + pub fn entry(&mut self, entry: &dyn fmt::Debug) -> &mut Self { + self.inner.entry_with(|f| entry.fmt(f)); + self + } + *) + Definition entry (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self; entry ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let entry := M.alloc (| entry |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::builders::DebugInner", + "entry_with", + [ + Ty.function + [ + Ty.tuple + [ Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ] ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]) + ] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugList", + "inner" + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Debug", + Ty.dyn [ ("core::fmt::Debug::Trait", []) ], + [], + "fmt", + [] + |), + [ M.read (| entry |); M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + |) in + M.alloc (| M.read (| self |) |) + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. + + (* + pub fn entry_with(&mut self, entry_fmt: F) -> &mut Self + where + F: FnOnce(&mut fmt::Formatter<'_>) -> fmt::Result, + { + self.inner.entry_with(entry_fmt); + self + } + *) + Definition entry_with (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [ F ], [ self; entry_fmt ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let entry_fmt := M.alloc (| entry_fmt |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::builders::DebugInner", + "entry_with", + [ F ] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugList", + "inner" + |); + M.read (| entry_fmt |) + ] + |) + |) in + M.alloc (| M.read (| self |) |) + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. + + (* + pub fn entries(&mut self, entries: I) -> &mut Self + where + D: fmt::Debug, + I: IntoIterator, + { + for entry in entries { + self.entry(&entry); + } + self + } + *) + Definition entries (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [ D; _ as I ], [ self; entries ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let entries := M.alloc (| entries |) in + M.read (| + let~ _ := + M.use + (M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + I, + [], + "into_iter", + [] + |), + [ M.read (| entries |) ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.loop (| + ltac:(M.monadic + (let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.associated, + [], + "next", + [] + |), + [ iter ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| γ, "core::option::Option::None" |) in + M.alloc (| + M.never_to_any (| M.read (| M.break (||) |) |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let entry := M.copy (| γ0_0 |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::builders::DebugList", + "entry", + [] + |), + [ + M.read (| self |); + (* Unsize *) M.pointer_coercion entry + ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| Value.Tuple [] |))) + |))) + ] + |)) in + M.alloc (| M.read (| self |) |) + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_entries : M.IsAssociatedFunction Self "entries" entries. + + (* + pub fn finish(&mut self) -> fmt::Result { + self.inner.result.and_then(|_| self.inner.fmt.write_str("]")) + } + *) + Definition finish (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ], + "and_then", + [ + Ty.tuple []; + Ty.function + [ Ty.tuple [ Ty.tuple [] ] ] + (Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]) + ] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugList", + "inner" + |), + "core::fmt::builders::DebugInner", + "result" + |) + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugList", + "inner" + |), + "core::fmt::builders::DebugInner", + "fmt" + |) + |); + M.read (| Value.String "]" |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. + End Impl_core_fmt_builders_DebugList. + + (* StructRecord + { + name := "DebugMap"; + ty_params := []; + fields := + [ + ("fmt", Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ]); + ("result", + Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]); + ("has_fields", Ty.path "bool"); + ("has_key", Ty.path "bool"); + ("state", Ty.path "core::fmt::builders::PadAdapterState") + ]; + } *) + + (* + pub(super) fn debug_map_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>) -> DebugMap<'a, 'b> { + let result = fmt.write_str("{"); + DebugMap { fmt, result, has_fields: false, has_key: false, state: Default::default() } + } + *) + Definition debug_map_new (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ fmt ] => + ltac:(M.monadic + (let fmt := M.alloc (| fmt |) in + M.read (| + let~ result := + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), + [ M.read (| fmt |); M.read (| Value.String "{" |) ] + |) + |) in + M.alloc (| + Value.StructRecord + "core::fmt::builders::DebugMap" + [ + ("fmt", M.read (| fmt |)); + ("result", M.read (| result |)); + ("has_fields", Value.Bool false); + ("has_key", Value.Bool false); + ("state", + M.call_closure (| + M.get_trait_method (| + "core::default::Default", + Ty.path "core::fmt::builders::PadAdapterState", + [], + "default", + [] + |), + [] + |)) + ] + |) + |))) + | _, _ => M.impossible + end. + + Axiom Function_debug_map_new : M.IsFunction "core::fmt::builders::debug_map_new" debug_map_new. + + Module Impl_core_fmt_builders_DebugMap. + Definition Self : Ty.t := Ty.path "core::fmt::builders::DebugMap". + + (* + pub fn entry(&mut self, key: &dyn fmt::Debug, value: &dyn fmt::Debug) -> &mut Self { + self.key(key).value(value) + } + *) + Definition entry (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self; key; value ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let key := M.alloc (| key |) in + let value := M.alloc (| value |) in + M.call_closure (| + M.get_associated_function (| Ty.path "core::fmt::builders::DebugMap", "value", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::builders::DebugMap", + "key", + [] + |), + [ M.read (| self |); (* Unsize *) M.pointer_coercion (M.read (| key |)) ] + |); + (* Unsize *) M.pointer_coercion (M.read (| value |)) + ] + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. + + (* + pub fn key(&mut self, key: &dyn fmt::Debug) -> &mut Self { + self.key_with(|f| key.fmt(f)) + } + *) + Definition key (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [], [ self; key ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let key := M.alloc (| key |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::builders::DebugMap", + "key_with", + [ + Ty.function + [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ Ty.path "core::fmt::Formatter" ] ] ] + (Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]) + ] + |), + [ + M.read (| self |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Debug", + Ty.dyn [ ("core::fmt::Debug::Trait", []) ], + [], + "fmt", + [] + |), + [ M.read (| key |); M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + | _, _ => M.impossible + end. + + Axiom AssociatedFunction_key : M.IsAssociatedFunction Self "key" key. + + (* + pub fn key_with(&mut self, key_fmt: F) -> &mut Self + where + F: FnOnce(&mut fmt::Formatter<'_>) -> fmt::Result, + { + self.result = self.result.and_then(|_| { + assert!( + !self.has_key, + "attempted to begin a new map entry \ + without completing the previous one" + ); + + if self.is_pretty() { + if !self.has_fields { + self.fmt.write_str("\n")?; + } + let mut slot = None; + self.state = Default::default(); + let mut writer = PadAdapter::wrap(self.fmt, &mut slot, &mut self.state); + key_fmt(&mut writer)?; + writer.write_str(": ")?; + } else { + if self.has_fields { + self.fmt.write_str(", ")? + } + key_fmt(self.fmt)?; + self.fmt.write_str(": ")?; + } + + self.has_key = true; + Ok(()) + }); + + self + } + *) + Definition key_with (τ : list Ty.t) (α : list Value.t) : M := + match τ, α with + | [ F ], [ self; key_fmt ] => + ltac:(M.monadic + (let self := M.alloc (| self |) in + let key_fmt := M.alloc (| key_fmt |) in + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "result" + |), + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ], + "and_then", + [ + Ty.tuple []; + Ty.function + [ Ty.tuple [ Ty.tuple [] ] ] + (Ty.apply + (Ty.path "core::result::Result") + [ Ty.tuple []; Ty.path "core::fmt::Error" ]) + ] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "result" + |) + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (UnOp.Pure.not + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "has_key" + |) + |))) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::panicking::panic_fmt", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "attempted to begin a new map entry without completing the previous one" + |) + ] + |)) + ] + |) + ] + |) + |) + |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::builders::DebugMap", + "is_pretty", + [] + |), + [ M.read (| self |) ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "has_fields" + |) + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.match_operator (| + M.alloc (| M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Formatter", - "write_str", + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [], + "branch", [] |), [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "fmt" - |) - |); - M.read (| - Value.String ", " + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "fmt" + |) + |); + M.read (| + Value.String " +" + |) + ] |) ] |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := - M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path - "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := + M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ - M.read (| - residual + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] |) - ] + |) |) |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.match_operator (| + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := + M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ slot := M.alloc (| + Value.StructTuple + "core::option::Option::None" + [] + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "state" + |), M.call_closure (| M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], + "core::default::Default", + Ty.path + "core::fmt::builders::PadAdapterState", [], - "branch", + "default", + [] + |), + [] + |) + |) in + let~ writer := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::builders::PadAdapter", + "wrap", [] |), [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "core::fmt::Formatter" - ] - ] - ], - "call_once", - [] - |), - [ - M.read (| key_fmt |); - Value.Tuple - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "fmt" - |) - |) - ] - ] + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "fmt" + |) + |); + slot; + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "state" |) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ Ty.apply - (Ty.path - "core::result::Result") + (Ty.path "&mut") + [ + Ty.path + "core::fmt::Formatter" + ] + ] + ], + "call_once", + [] + |), + [ + M.read (| key_fmt |); + Value.Tuple [ writer ] + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], [ - Ty.tuple []; - Ty.path - "core::fmt::Error" + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] ], - [ + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + writer; + M.read (| Value.String ": " |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugMap", - "fmt" + "has_fields" + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "fmt" + |) + |); + M.read (| + Value.String ", " + |) + ] + |) + ] |) - |); - M.read (| Value.String ": " |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := + M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := + M.copy (| γ0_0 |) in + val)) + ] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") [ - Ty.tuple []; Ty.path - "core::fmt::Error" - ], - [ + "core::fmt::Formatter" + ] + ] + ], + "call_once", + [] + |), + [ + M.read (| key_fmt |); + Value.Tuple + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "fmt" + |) + |) + ] + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "fmt" + |) + |); + M.read (| Value.String ": " |) + ] |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "has_key" - |), - Value.Bool true - |) in - M.alloc (| - Value.StructTuple - "core::result::Result::Ok" - [ Value.Tuple [] ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "has_key" + |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple + "core::result::Result::Ok" + [ Value.Tuple [] ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5573,25 +5619,26 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Debug", - Ty.dyn [ ("core::fmt::Debug::Trait", []) ], - [], - "fmt", - [] - |), - [ M.read (| value |); M.read (| f |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Debug", + Ty.dyn [ ("core::fmt::Debug::Trait", []) ], + [], + "fmt", + [] + |), + [ M.read (| value |); M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5667,447 +5714,450 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "has_key" - |) - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::panicking::panic_fmt", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "attempted to format a map value before its key" - |) - ] - |)) - ] - |) - ] - |) - |) - |))); - fun γ => - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::DebugMap", - "is_pretty", - [] - |), - [ M.read (| self |) ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ slot := - M.alloc (| - Value.StructTuple - "core::option::Option::None" - [] - |) in - let~ writer := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "has_key" + |) + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::builders::PadAdapter", - "wrap", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "fmt" - |) - |); - slot; - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "state" - |) - ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| + M.never_to_any (| M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", + M.get_function (| + "core::panicking::panic_fmt", [] |), [ M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "core::fmt::Formatter" - ] - ] - ], - "call_once", + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", [] |), [ - M.read (| value_fmt |); - Value.Tuple [ writer ] + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "attempted to format a map value before its key" + |) + ] + |)) ] |) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.path - "core::fmt::Error" - ], - [ - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "core::convert::Infallible"; - Ty.path - "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ _ := - M.match_operator (| + |) + |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::builders::DebugMap", + "is_pretty", + [] + |), + [ M.read (| self |) ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ slot := + M.alloc (| + Value.StructTuple + "core::option::Option::None" + [] + |) in + let~ writer := M.alloc (| M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", + M.get_associated_function (| + Ty.path + "core::fmt::builders::PadAdapter", + "wrap", [] |), [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - writer; - M.read (| Value.String ", -" |) - ] + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "fmt" + |) + |); + slot; + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "state" |) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ Ty.apply - (Ty.path - "core::result::Result") + (Ty.path "&mut") [ - Ty.tuple []; Ty.path - "core::fmt::Error" - ], - [ + "core::fmt::Formatter" + ] + ] + ], + "call_once", + [] + |), + [ + M.read (| value_fmt |); + Value.Tuple [ writer ] + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.path "core::fmt::Error" - ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "core::fmt::Formatter" - ] - ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" ], - "call_once", - [] - |), - [ - M.read (| value_fmt |); - Value.Tuple - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "fmt" + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + writer; + M.read (| Value.String ", +" |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.path + "core::fmt::Error" + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] |) |) - ] - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.path "core::fmt::Error" + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ Ty.apply - (Ty.path - "core::result::Result") + (Ty.path "&mut") [ - Ty.tuple []; Ty.path - "core::fmt::Error" - ], - [ + "core::fmt::Formatter" + ] + ] + ], + "call_once", + [] + |), + [ + M.read (| value_fmt |); + Value.Tuple + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "fmt" + |) + |) + ] + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ - Ty.path - "core::convert::Infallible"; + Ty.tuple []; Ty.path "core::fmt::Error" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.path + "core::fmt::Error" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "has_key" - |), - Value.Bool false - |) in - M.alloc (| - Value.StructTuple - "core::result::Result::Ok" - [ Value.Tuple [] ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "has_key" + |), + Value.Bool false + |) in + M.alloc (| + Value.StructTuple + "core::result::Result::Ok" + [ Value.Tuple [] ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6274,94 +6324,95 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "has_key" - |) - |))) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::panicking::panic_fmt", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "attempted to finish a map with a partial entry" - |) - ] - |)) - ] - |) - ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (UnOp.Pure.not + (M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "has_key" + |) + |))) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::panicking::panic_fmt", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "attempted to finish a map with a partial entry" + |) + ] + |)) + ] + |) + ] + |) |) - |) - |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Formatter", - "write_str", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::fmt::builders::DebugMap", - "fmt" - |) - |); - M.read (| Value.String "}" |) - ] + |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Formatter", + "write_str", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::fmt::builders::DebugMap", + "fmt" + |) + |); + M.read (| Value.String "}" |) + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/fmt/mod.v b/CoqOfRust/core/fmt/mod.v index dedb0379e..48547f2cb 100644 --- a/CoqOfRust/core/fmt/mod.v +++ b/CoqOfRust/core/fmt/mod.v @@ -6342,19 +6342,24 @@ Module fmt. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| Ty.path "str", "len", [] |), - [ M.read (| M.read (| x |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "len", + [] + |), + [ M.read (| M.read (| x |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/fmt/rt.v b/CoqOfRust/core/fmt/rt.v index 9767ca0d4..707b53c09 100644 --- a/CoqOfRust/core/fmt/rt.v +++ b/CoqOfRust/core/fmt/rt.v @@ -941,43 +941,44 @@ Module fmt. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ptr := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _v := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ptr := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _v := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::ptr::read_volatile", + [ Ty.path "usize" ] + |), + [ M.read (| ptr |) ] + |) + |) in M.alloc (| - M.call_closure (| - M.get_function (| - "core::ptr::read_volatile", - [ Ty.path "usize" ] - |), - [ M.read (| ptr |) ] - |) - |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.loop (| - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + M.never_to_any (| + M.read (| + M.loop (| + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + |) |) |) |) - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end))) |) |))). diff --git a/CoqOfRust/core/iter/adapters/array_chunks.v b/CoqOfRust/core/iter/adapters/array_chunks.v index 58c53886c..bd1b1963f 100644 --- a/CoqOfRust/core/iter/adapters/array_chunks.v +++ b/CoqOfRust/core/iter/adapters/array_chunks.v @@ -566,23 +566,24 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let n := M.copy (| γ |) in - BinOp.Wrap.div - Integer.Usize - (M.read (| n |)) - (M.read (| - M.get_constant (| - "core::iter::adapters::array_chunks::N" - |) - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let n := M.copy (| γ |) in + BinOp.Wrap.div + Integer.Usize + (M.read (| n |)) + (M.read (| + M.get_constant (| + "core::iter::adapters::array_chunks::N" + |) + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -917,25 +918,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - Value.StructTuple - "core::ops::control_flow::ControlFlow::Break" - [ M.read (| x |) ])) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + Value.StructTuple + "core::ops::control_flow::ControlFlow::Break" + [ M.read (| x |) ])) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1526,43 +1528,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let local := M.copy (| γ |) in - M.read (| - let~ idx := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let local := M.copy (| γ |) in + M.read (| + let~ idx := + M.alloc (| + BinOp.Wrap.add + Integer.Usize + (M.read (| i |)) + (M.read (| local |)) + |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| local |)) - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - I, - [], - "__iterator_get_unchecked", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - self, - "core::iter::adapters::array_chunks::ArrayChunks", - "iter" - |); - M.read (| idx |) - ] + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + I, + [], + "__iterator_get_unchecked", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + self, + "core::iter::adapters::array_chunks::ArrayChunks", + "iter" + |); + M.read (| idx |) + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/chain.v b/CoqOfRust/core/iter/adapters/chain.v index de7af5590..51e3ac941 100644 --- a/CoqOfRust/core/iter/adapters/chain.v +++ b/CoqOfRust/core/iter/adapters/chain.v @@ -219,106 +219,109 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - B, - [], - "next", - [] - |), - [ - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.apply (Ty.path "&mut") [ B ] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "core::option::Option") [ B ], - "as_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::iter::adapters::chain::Chain", - "b" - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.associated ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + B, + [], + "next", + [] + |), + [ + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.apply (Ty.path "&mut") [ B ] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ B ], + "as_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::iter::adapters::chain::Chain", + "b" + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") - [ - Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ Ty.associated ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1252,25 +1255,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - A, - [], - "find", - [ Ty.apply (Ty.path "&mut") [ P ] ] - |), - [ M.read (| a |); predicate ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + A, + [], + "find", + [ Ty.apply (Ty.path "&mut") [ P ] ] + |), + [ M.read (| a |); predicate ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -1279,107 +1283,110 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - B, - [], - "find", - [ P ] - |), - [ - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.apply (Ty.path "&mut") [ B ] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "core::option::Option") [ B ], - "as_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::iter::adapters::chain::Chain", - "b" - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.associated ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + B, + [], + "find", + [ P ] + |), + [ + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.apply (Ty.path "&mut") [ B ] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ B ], + "as_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::iter::adapters::chain::Chain", + "b" + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") - [ - Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ Ty.associated ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) - |); - M.read (| predicate |) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) + |); + M.read (| predicate |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1813,25 +1820,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - B, - [], - "next_back", - [] - |), - [ M.read (| b |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + B, + [], + "next_back", + [] + |), + [ M.read (| b |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -1840,106 +1848,109 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - A, - [], - "next_back", - [] - |), - [ - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.apply (Ty.path "&mut") [ A ] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "core::option::Option") [ A ], - "as_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::iter::adapters::chain::Chain", - "a" - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.associated ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + A, + [], + "next_back", + [] + |), + [ + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.apply (Ty.path "&mut") [ A ] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ A ], + "as_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::iter::adapters::chain::Chain", + "a" + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") - [ - Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ Ty.associated ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2429,25 +2440,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - B, - [], - "rfind", - [ Ty.apply (Ty.path "&mut") [ P ] ] - |), - [ M.read (| b |); predicate ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + B, + [], + "rfind", + [ Ty.apply (Ty.path "&mut") [ P ] ] + |), + [ M.read (| b |); predicate ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -2456,107 +2468,110 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - A, - [], - "rfind", - [ P ] - |), - [ - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.apply (Ty.path "&mut") [ A ] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "core::option::Option") [ A ], - "as_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::iter::adapters::chain::Chain", - "a" - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.associated ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + A, + [], + "rfind", + [ P ] + |), + [ + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.apply (Ty.path "&mut") [ A ] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ A ], + "as_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::iter::adapters::chain::Chain", + "a" + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") - [ - Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ Ty.associated ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) - |); - M.read (| predicate |) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) + |); + M.read (| predicate |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/iter/adapters/cloned.v b/CoqOfRust/core/iter/adapters/cloned.v index 88034af8e..4525eb5c6 100644 --- a/CoqOfRust/core/iter/adapters/cloned.v +++ b/CoqOfRust/core/iter/adapters/cloned.v @@ -135,49 +135,50 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let elt := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__T__arrow_R, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ - f; - Value.Tuple - [ - M.read (| acc |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - T, - [], - "clone", - [] - |), - [ M.read (| elt |) ] - |) - ] - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let elt := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__T__arrow_R, + [ Ty.tuple [ Acc; T ] ], + "call_mut", + [] + |), + [ + f; + Value.Tuple + [ + M.read (| acc |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + T, + [], + "clone", + [] + |), + [ M.read (| elt |) ] + |) + ] + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. diff --git a/CoqOfRust/core/iter/adapters/copied.v b/CoqOfRust/core/iter/adapters/copied.v index 8c409e3ca..3c8ae67d5 100644 --- a/CoqOfRust/core/iter/adapters/copied.v +++ b/CoqOfRust/core/iter/adapters/copied.v @@ -135,34 +135,35 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let elt := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__T__arrow_Acc, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| acc |); M.read (| elt |) ] ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let elt := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__T__arrow_Acc, + [ Ty.tuple [ Acc; T ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| acc |); M.read (| elt |) ] ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. @@ -188,34 +189,35 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let elt := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__T__arrow_R, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| acc |); M.read (| elt |) ] ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let elt := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__T__arrow_R, + [ Ty.tuple [ Acc; T ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| acc |); M.read (| elt |) ] ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. diff --git a/CoqOfRust/core/iter/adapters/cycle.v b/CoqOfRust/core/iter/adapters/cycle.v index bb1315dc6..14947e3c1 100644 --- a/CoqOfRust/core/iter/adapters/cycle.v +++ b/CoqOfRust/core/iter/adapters/cycle.v @@ -491,52 +491,53 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.read (| - let~ _ := - M.write (| - is_empty, - Value.Bool false - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ - Ty.tuple - [ Acc; Ty.associated ] - ], - "call_mut", - [] - |), - [ - f; - Value.Tuple + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.read (| + let~ _ := + M.write (| + is_empty, + Value.Bool false + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, [ - M.read (| acc |); - M.read (| x |) - ] - ] + Ty.tuple + [ Acc; Ty.associated ] + ], + "call_mut", + [] + |), + [ + f; + Value.Tuple + [ + M.read (| acc |); + M.read (| x |) + ] + ] + |) |) - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/filter.v b/CoqOfRust/core/iter/adapters/filter.v index 24309af9e..c2b58ac40 100644 --- a/CoqOfRust/core/iter/adapters/filter.v +++ b/CoqOfRust/core/iter/adapters/filter.v @@ -171,69 +171,72 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut__T__arrow_bool, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] - ], - "call_mut", - [] - |), - [ predicate; Value.Tuple [ item ] ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__T__arrow_Acc, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ - fold; - Value.Tuple - [ M.read (| acc |); M.read (| item |) ] - ] - |) - |))); - fun γ => ltac:(M.monadic acc) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut__T__arrow_bool, + [ + Ty.tuple + [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ predicate; Value.Tuple [ item ] ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__T__arrow_Acc, + [ Ty.tuple [ Acc; T ] ], + "call_mut", + [] + |), + [ + fold; + Value.Tuple + [ M.read (| acc |); M.read (| item |) ] + ] + |) + |))); + fun γ => ltac:(M.monadic acc) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. @@ -265,83 +268,88 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut__T__arrow_bool, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] - ], - "call_mut", - [] - |), - [ M.read (| predicate |); Value.Tuple [ item ] - ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__T__arrow_R__plus__'a, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ - fold; - Value.Tuple - [ M.read (| acc |); M.read (| item |) ] - ] - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - R, - [], - "from_output", - [] - |), - [ M.read (| acc |) ] - |) - |))) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut__T__arrow_bool, + [ + Ty.tuple + [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ + M.read (| predicate |); + Value.Tuple [ item ] + ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__T__arrow_R__plus__'a, + [ Ty.tuple [ Acc; T ] ], + "call_mut", + [] + |), + [ + fold; + Value.Tuple + [ M.read (| acc |); M.read (| item |) ] + ] + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + R, + [], + "from_output", + [] + |), + [ M.read (| acc |) ] + |) + |))) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. @@ -504,138 +512,143 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let element := M.copy (| γ |) in - M.read (| - let~ idx := - M.copy (| - M.SubPointer.get_struct_record_field (| - guard, - "core::iter::adapters::filter::next_chunk::Guard", - "initialized" - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - guard, - "core::iter::adapters::filter::next_chunk::Guard", - "initialized" - |), - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.rust_cast - (M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ - Ty.tuple - [ Ty.apply (Ty.path "&") [ Ty.associated ] - ] - ], - "call_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::iter::adapters::filter::Filter", - "predicate" - |); - Value.Tuple [ element ] - ] - |))) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::mem::maybe_uninit::MaybeUninit") - [ Ty.associated ], - "write", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let element := M.copy (| γ |) in + M.read (| + let~ idx := + M.copy (| + M.SubPointer.get_struct_record_field (| + guard, + "core::iter::adapters::filter::next_chunk::Guard", + "initialized" + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + guard, + "core::iter::adapters::filter::next_chunk::Guard", + "initialized" |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") + BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (M.rust_cast + (M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, [ - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ Ty.associated ] + Ty.tuple + [ + Ty.apply + (Ty.path "&") + [ Ty.associated ] + ] ], - "get_unchecked_mut", - [ Ty.path "usize" ] - |), - [ - M.read (| + "call_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - guard, - "core::iter::adapters::filter::next_chunk::Guard", - "array" - |) - |); - M.read (| idx |) - ] - |); - M.read (| element |) - ] - |) - |) in - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.lt - (M.read (| - M.SubPointer.get_struct_record_field (| - guard, - "core::iter::adapters::filter::next_chunk::Guard", - "initialized" - |) - |)) - (M.read (| - M.get_constant (| - "core::iter::adapters::filter::next_chunk::N" - |) - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - Value.StructTuple - "core::ops::control_flow::ControlFlow::Continue" - [ Value.Tuple [] ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::ops::control_flow::ControlFlow::Break" - [ Value.Tuple [] ] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + M.read (| self |), + "core::iter::adapters::filter::Filter", + "predicate" + |); + Value.Tuple [ element ] + ] + |))) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ Ty.associated ], + "write", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ Ty.associated ] + ], + "get_unchecked_mut", + [ Ty.path "usize" ] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + guard, + "core::iter::adapters::filter::next_chunk::Guard", + "array" + |) + |); + M.read (| idx |) + ] + |); + M.read (| element |) + ] + |) + |) in + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.lt + (M.read (| + M.SubPointer.get_struct_record_field (| + guard, + "core::iter::adapters::filter::next_chunk::Guard", + "initialized" + |) + |)) + (M.read (| + M.get_constant (| + "core::iter::adapters::filter::next_chunk::N" + |) + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple + "core::ops::control_flow::ControlFlow::Continue" + [ Value.Tuple [] ] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::ops::control_flow::ControlFlow::Break" + [ Value.Tuple [] ] + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/filter_map.v b/CoqOfRust/core/iter/adapters/filter_map.v index e76117d04..b0deb3cb4 100644 --- a/CoqOfRust/core/iter/adapters/filter_map.v +++ b/CoqOfRust/core/iter/adapters/filter_map.v @@ -173,73 +173,75 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_T__arrow_Option_B_, - [ Ty.tuple [ T ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| item |) ] ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let x := M.copy (| γ0_0 |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__B__arrow_Acc, - [ Ty.tuple [ Acc; B ] ], - "call_mut", - [] - |), - [ - fold; - Value.Tuple [ M.read (| acc |); M.read (| x |) ] - ] - |) - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - acc)) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_T__arrow_Option_B_, + [ Ty.tuple [ T ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| item |) ] ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let x := M.copy (| γ0_0 |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__B__arrow_Acc, + [ Ty.tuple [ Acc; B ] ], + "call_mut", + [] + |), + [ + fold; + Value.Tuple + [ M.read (| acc |); M.read (| x |) ] + ] + |) + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + acc)) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. @@ -274,84 +276,86 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_T__arrow_Option_B_, - [ Ty.tuple [ T ] ], - "call_mut", - [] - |), - [ M.read (| f |); Value.Tuple [ M.read (| item |) ] ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let x := M.copy (| γ0_0 |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__B__arrow_R__plus__'a, - [ Ty.tuple [ Acc; B ] ], - "call_mut", - [] - |), - [ - fold; - Value.Tuple [ M.read (| acc |); M.read (| x |) ] - ] - |) - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - R, - [], - "from_output", - [] - |), - [ M.read (| acc |) ] - |) - |))) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_T__arrow_Option_B_, + [ Ty.tuple [ T ] ], + "call_mut", + [] + |), + [ M.read (| f |); Value.Tuple [ M.read (| item |) ] ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let x := M.copy (| γ0_0 |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__B__arrow_R__plus__'a, + [ Ty.tuple [ Acc; B ] ], + "call_mut", + [] + |), + [ + fold; + Value.Tuple + [ M.read (| acc |); M.read (| x |) ] + ] + |) + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + R, + [], + "from_output", + [] + |), + [ M.read (| acc |) ] + |) + |))) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. @@ -523,237 +527,238 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let element := M.copy (| γ |) in - M.read (| - let~ idx := - M.copy (| - M.SubPointer.get_struct_record_field (| - guard, - "core::iter::adapters::filter_map::next_chunk::Guard", - "initialized" - |) - |) in - let~ val := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.associated ] ], - "call_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::iter::adapters::filter_map::FilterMap", - "f" - |); - Value.Tuple [ M.read (| element |) ] - ] - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - guard, - "core::iter::adapters::filter_map::next_chunk::Guard", - "initialized" - |), - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.rust_cast - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ B ], - "is_some", - [] - |), - [ val ] - |))) - |) in - let~ _ := - let~ opt_payload_at := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let element := M.copy (| γ |) in + M.read (| + let~ idx := + M.copy (| + M.SubPointer.get_struct_record_field (| + guard, + "core::iter::adapters::filter_map::next_chunk::Guard", + "initialized" + |) + |) in + let~ val := M.alloc (| M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "*const") - [ - Ty.apply - (Ty.path "core::option::Option") - [ B ] - ], - "cast", - [ - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ B ] - ] + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.associated ] ], + "call_mut", + [] |), [ - M.call_closure (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::iter::adapters::filter_map::FilterMap", + "f" + |); + Value.Tuple [ M.read (| element |) ] + ] + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + guard, + "core::iter::adapters::filter_map::next_chunk::Guard", + "initialized" + |), + BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (M.rust_cast + (M.call_closure (| M.get_associated_function (| Ty.apply - (Ty.path "*const") - [ - Ty.apply - (Ty.path "core::option::Option") - [ B ] - ], - "byte_add", + (Ty.path "core::option::Option") + [ B ], + "is_some", [] |), - [ - M.read (| M.use (M.alloc (| val |)) |); - M.call_closure (| - M.get_function (| - "core::hint::must_use", - [ Ty.path "usize" ] - |), - [ - M.read (| - (* `OffsetOf` expression are not handled yet *) - M.alloc (| Value.Tuple [] |) - |) - ] - |) - ] - |) - ] - |) + [ val ] + |))) |) in - let~ dst := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "*mut") + let~ _ := + let~ opt_payload_at := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "*const") + [ + Ty.apply + (Ty.path "core::option::Option") + [ B ] + ], + "cast", [ Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [ B ] - ], - "add", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ B ] - ], - "as_mut_ptr", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - guard, - "core::iter::adapters::filter_map::next_chunk::Guard", - "array" - |) - |) ] - |); - M.read (| idx |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::intrinsics::copy_nonoverlapping", + |), [ - Ty.apply - (Ty.path - "core::mem::maybe_uninit::MaybeUninit") - [ B ] + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "*const") + [ + Ty.apply + (Ty.path "core::option::Option") + [ B ] + ], + "byte_add", + [] + |), + [ + M.read (| M.use (M.alloc (| val |)) |); + M.call_closure (| + M.get_function (| + "core::hint::must_use", + [ Ty.path "usize" ] + |), + [ + M.read (| + (* `OffsetOf` expression are not handled yet *) + M.alloc (| Value.Tuple [] |) + |) + ] + |) + ] + |) ] - |), - [ - M.read (| opt_payload_at |); - M.read (| dst |); - Value.Integer 1 - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::mem::forget", - [ + |) + |) in + let~ dst := + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.apply - (Ty.path "core::option::Option") - [ B ] - ] - |), - [ M.read (| val |) ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.lt - (M.read (| + (Ty.path "*mut") + [ + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ B ] + ], + "add", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ B ] + ], + "as_mut_ptr", + [] + |), + [ + M.read (| M.SubPointer.get_struct_record_field (| guard, "core::iter::adapters::filter_map::next_chunk::Guard", - "initialized" - |) - |)) - (M.read (| - M.get_constant (| - "core::iter::adapters::filter_map::next_chunk::N" + "array" |) - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - Value.StructTuple - "core::ops::control_flow::ControlFlow::Continue" - [ Value.Tuple [] ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::ops::control_flow::ControlFlow::Break" - [ Value.Tuple [] ] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + ] + |); + M.read (| idx |) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::intrinsics::copy_nonoverlapping", + [ + Ty.apply + (Ty.path + "core::mem::maybe_uninit::MaybeUninit") + [ B ] + ] + |), + [ + M.read (| opt_payload_at |); + M.read (| dst |); + Value.Integer 1 + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::mem::forget", + [ + Ty.apply + (Ty.path "core::option::Option") + [ B ] + ] + |), + [ M.read (| val |) ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.lt + (M.read (| + M.SubPointer.get_struct_record_field (| + guard, + "core::iter::adapters::filter_map::next_chunk::Guard", + "initialized" + |) + |)) + (M.read (| + M.get_constant (| + "core::iter::adapters::filter_map::next_chunk::N" + |) + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple + "core::ops::control_flow::ControlFlow::Continue" + [ Value.Tuple [] ] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::ops::control_flow::ControlFlow::Break" + [ Value.Tuple [] ] + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/flatten.v b/CoqOfRust/core/iter/adapters/flatten.v index d80b0f500..6201ec2a0 100644 --- a/CoqOfRust/core/iter/adapters/flatten.v +++ b/CoqOfRust/core/iter/adapters/flatten.v @@ -4309,25 +4309,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - U, - [], - "next_back", - [] - |), - [ M.read (| b |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + U, + [], + "next_back", + [] + |), + [ M.read (| b |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4399,25 +4400,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - U, - [], - "next_back", - [] - |), - [ M.read (| f |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + U, + [], + "next_back", + [] + |), + [ M.read (| f |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/fuse.v b/CoqOfRust/core/iter/adapters/fuse.v index 66e51d454..c7641c82f 100644 --- a/CoqOfRust/core/iter/adapters/fuse.v +++ b/CoqOfRust/core/iter/adapters/fuse.v @@ -1066,25 +1066,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - I, - [], - "nth", - [] - |), - [ M.read (| iter |); M.read (| n |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + I, + [], + "nth", + [] + |), + [ M.read (| iter |); M.read (| n |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1276,25 +1277,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - I, - [], - "find", - [ P ] - |), - [ M.read (| iter |); M.read (| predicate |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + I, + [], + "find", + [ P ] + |), + [ M.read (| iter |); M.read (| predicate |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1337,25 +1339,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - I, - [], - "next_back", - [] - |), - [ M.read (| iter |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + I, + [], + "next_back", + [] + |), + [ M.read (| iter |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1399,25 +1402,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - I, - [], - "nth_back", - [] - |), - [ M.read (| iter |); M.read (| n |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + I, + [], + "nth_back", + [] + |), + [ M.read (| iter |); M.read (| n |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1611,25 +1615,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::double_ended::DoubleEndedIterator", - I, - [], - "rfind", - [ P ] - |), - [ M.read (| iter |); M.read (| predicate |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::double_ended::DoubleEndedIterator", + I, + [], + "rfind", + [ P ] + |), + [ M.read (| iter |); M.read (| predicate |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/iter/adapters/inspect.v b/CoqOfRust/core/iter/adapters/inspect.v index 1fb8eb6b9..503c91218 100644 --- a/CoqOfRust/core/iter/adapters/inspect.v +++ b/CoqOfRust/core/iter/adapters/inspect.v @@ -237,53 +237,54 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut__T_, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ item ] ] + |) + |) in M.alloc (| M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", - impl_FnMut__T_, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + impl_FnMut_Acc__T__arrow_Acc, + [ Ty.tuple [ Acc; T ] ], "call_mut", [] |), - [ f; Value.Tuple [ item ] ] + [ + fold; + Value.Tuple [ M.read (| acc |); M.read (| item |) ] + ] |) - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__T__arrow_Acc, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ - fold; - Value.Tuple [ M.read (| acc |); M.read (| item |) ] - ] |) - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. @@ -317,53 +318,54 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let item := M.copy (| γ |) in - M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let item := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut__T_, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ M.read (| f |); Value.Tuple [ item ] ] + |) + |) in M.alloc (| M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", - impl_FnMut__T_, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + impl_FnMut_Acc__T__arrow_R__plus__'a, + [ Ty.tuple [ Acc; T ] ], "call_mut", [] |), - [ M.read (| f |); Value.Tuple [ item ] ] + [ + fold; + Value.Tuple [ M.read (| acc |); M.read (| item |) ] + ] |) - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__T__arrow_R__plus__'a, - [ Ty.tuple [ Acc; T ] ], - "call_mut", - [] - |), - [ - fold; - Value.Tuple [ M.read (| acc |); M.read (| item |) ] - ] |) - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. diff --git a/CoqOfRust/core/iter/adapters/intersperse.v b/CoqOfRust/core/iter/adapters/intersperse.v index 189cf9440..7da647df4 100644 --- a/CoqOfRust/core/iter/adapters/intersperse.v +++ b/CoqOfRust/core/iter/adapters/intersperse.v @@ -384,24 +384,25 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.associated, - [], - "clone", - [] - |), - [ separator ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.associated, + [], + "clone", + [] + |), + [ separator ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); M.read (| M.SubPointer.get_struct_record_field (| @@ -1019,36 +1020,37 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let hi := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "usize", - "checked_add", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "usize", - "saturating_sub", - [] - |), - [ - M.read (| hi |); - M.rust_cast (M.read (| next_is_elem |)) - ] - |); - M.read (| hi |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let hi := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "usize", + "checked_add", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "usize", + "saturating_sub", + [] + |), + [ + M.read (| hi |); + M.rust_cast (M.read (| next_is_elem |)) + ] + |); + M.read (| hi |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1187,74 +1189,75 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let accum := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.read (| - let~ _ := - M.write (| - accum, - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ B; Ty.associated ] ], - "call_mut", - [] - |), - [ - f; - Value.Tuple - [ - M.read (| accum |); - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - G, - [ Ty.tuple [] ], - "call_mut", - [] - |), - [ separator; Value.Tuple [] ] - |) - ] - ] - |) - |) in - let~ _ := - M.write (| - accum, - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ B; Ty.associated ] ], - "call_mut", - [] - |), - [ - f; - Value.Tuple - [ M.read (| accum |); M.read (| x |) ] - ] - |) - |) in - accum - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let accum := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.read (| + let~ _ := + M.write (| + accum, + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ B; Ty.associated ] ], + "call_mut", + [] + |), + [ + f; + Value.Tuple + [ + M.read (| accum |); + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + G, + [ Ty.tuple [] ], + "call_mut", + [] + |), + [ separator; Value.Tuple [] ] + |) + ] + ] + |) + |) in + let~ _ := + M.write (| + accum, + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ B; Ty.associated ] ], + "call_mut", + [] + |), + [ + f; + Value.Tuple + [ M.read (| accum |); M.read (| x |) ] + ] + |) + |) in + accum + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/map.v b/CoqOfRust/core/iter/adapters/map.v index 3c847884c..451b0c2f9 100644 --- a/CoqOfRust/core/iter/adapters/map.v +++ b/CoqOfRust/core/iter/adapters/map.v @@ -170,49 +170,50 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let elt := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__B__arrow_Acc, - [ Ty.tuple [ Acc; B ] ], - "call_mut", - [] - |), - [ - g; - Value.Tuple - [ - M.read (| acc |); - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_T__arrow_B, - [ Ty.tuple [ T ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| elt |) ] ] - |) - ] - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let elt := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__B__arrow_Acc, + [ Ty.tuple [ Acc; B ] ], + "call_mut", + [] + |), + [ + g; + Value.Tuple + [ + M.read (| acc |); + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_T__arrow_B, + [ Ty.tuple [ T ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| elt |) ] ] + |) + ] + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. @@ -242,49 +243,50 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let elt := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_Acc__B__arrow_R__plus__'a, - [ Ty.tuple [ Acc; B ] ], - "call_mut", - [] - |), - [ - g; - Value.Tuple - [ - M.read (| acc |); - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_T__arrow_B, - [ Ty.tuple [ T ] ], - "call_mut", - [] - |), - [ M.read (| f |); Value.Tuple [ M.read (| elt |) ] ] - |) - ] - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let elt := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_Acc__B__arrow_R__plus__'a, + [ Ty.tuple [ Acc; B ] ], + "call_mut", + [] + |), + [ + g; + Value.Tuple + [ + M.read (| acc |); + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_T__arrow_B, + [ Ty.tuple [ T ] ], + "call_mut", + [] + |), + [ M.read (| f |); Value.Tuple [ M.read (| elt |) ] ] + |) + ] + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. diff --git a/CoqOfRust/core/iter/adapters/map_while.v b/CoqOfRust/core/iter/adapters/map_while.v index 297e3030c..3fb4d6cae 100644 --- a/CoqOfRust/core/iter/adapters/map_while.v +++ b/CoqOfRust/core/iter/adapters/map_while.v @@ -399,108 +399,117 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.associated ] ], - "call_mut", - [] - |), - [ - M.read (| predicate |); - Value.Tuple [ M.read (| x |) ] - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let item := M.copy (| γ0_0 |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::ops::control_flow::ControlFlow") - [ R; Ty.associated ], - "from_try", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - Fold, - [ Ty.tuple [ Acc; B ] - ], - "call_mut", - [] - |), - [ - fold; - Value.Tuple + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.associated ] + ], + "call_mut", + [] + |), + [ + M.read (| predicate |); + Value.Tuple [ M.read (| x |) ] + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let item := + M.copy (| γ0_0 |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::ops::control_flow::ControlFlow") + [ R; Ty.associated ], + "from_try", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + Fold, [ - M.read (| acc |); - M.read (| item |) - ] - ] - |) - ] - |) - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - M.alloc (| - Value.StructTuple - "core::ops::control_flow::ControlFlow::Break" - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - R, - [], - "from_output", - [] - |), - [ M.read (| acc |) ] - |) - ] - |))) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + Ty.tuple + [ Acc; B ] + ], + "call_mut", + [] + |), + [ + fold; + Value.Tuple + [ + M.read (| + acc + |); + M.read (| + item + |) + ] + ] + |) + ] + |) + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.alloc (| + Value.StructTuple + "core::ops::control_flow::ControlFlow::Break" + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + R, + [], + "from_output", + [] + |), + [ M.read (| acc |) ] + |) + ] + |))) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/map_windows.v b/CoqOfRust/core/iter/adapters/map_windows.v index 64a5a2cbf..4cc762f73 100644 --- a/CoqOfRust/core/iter/adapters/map_windows.v +++ b/CoqOfRust/core/iter/adapters/map_windows.v @@ -727,33 +727,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let hi := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "usize", - "saturating_sub", - [] - |), - [ - M.read (| hi |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| - M.get_constant (| - "core::iter::adapters::map_windows::N" - |) - |)) - (Value.Integer 1) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let hi := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "usize", + "saturating_sub", + [] + |), + [ + M.read (| hi |); + BinOp.Wrap.sub + Integer.Usize + (M.read (| + M.get_constant (| + "core::iter::adapters::map_windows::N" + |) + |)) + (Value.Integer 1) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/mod.v b/CoqOfRust/core/iter/adapters/mod.v index dd8be5fba..d509673c0 100644 --- a/CoqOfRust/core/iter/adapters/mod.v +++ b/CoqOfRust/core/iter/adapters/mod.v @@ -307,117 +307,120 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.associated, - [], - "branch", - [] - |), - [ M.read (| x |) ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let x := M.copy (| γ0_0 |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::ops::control_flow::ControlFlow") - [ T; Ty.associated ], - "from_try", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ B; Ty.associated ] ], - "call_mut", - [] - |), - [ - f; - Value.Tuple - [ M.read (| acc |); M.read (| x |) - ] - ] - |) - ] - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let r := M.copy (| γ0_0 |) in - let~ _ := - M.write (| - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::iter::adapters::GenericShunt", - "residual" - |) - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.associated, + [], + "branch", + [] + |), + [ M.read (| x |) ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let x := M.copy (| γ0_0 |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::ops::control_flow::ControlFlow") + [ T; Ty.associated ], + "from_try", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ B; Ty.associated ] ], + "call_mut", + [] + |), + [ + f; + Value.Tuple + [ + M.read (| acc |); + M.read (| x |) + ] + ] + |) + ] + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let r := M.copy (| γ0_0 |) in + let~ _ := + M.write (| + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::iter::adapters::GenericShunt", + "residual" + |) + |), + Value.StructTuple + "core::option::Option::Some" + [ M.read (| r |) ] + |) in + M.alloc (| Value.StructTuple - "core::option::Option::Some" - [ M.read (| r |) ] - |) in - M.alloc (| - Value.StructTuple - "core::ops::control_flow::ControlFlow::Break" - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - T, - [], - "from_output", - [] - |), - [ M.read (| acc |) ] - |) - ] - |))) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + "core::ops::control_flow::ControlFlow::Break" + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + T, + [], + "from_output", + [] + |), + [ M.read (| acc |) ] + |) + ] + |))) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/adapters/peekable.v b/CoqOfRust/core/iter/adapters/peekable.v index e8e018834..8ce7aa5a0 100644 --- a/CoqOfRust/core/iter/adapters/peekable.v +++ b/CoqOfRust/core/iter/adapters/peekable.v @@ -207,24 +207,25 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - I, - [], - "next", - [] - |), - [ M.read (| iter |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + I, + [], + "next", + [] + |), + [ M.read (| iter |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -291,24 +292,25 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - I, - [], - "next", - [] - |), - [ M.read (| iter |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + I, + [], + "next", + [] + |), + [ M.read (| iter |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -492,25 +494,26 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let next := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.apply (Ty.path "&") [ Ty.associated ], - [ Ty.apply (Ty.path "&") [ T ] ], - "eq", - [] - |), - [ next; expected ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let next := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.apply (Ty.path "&") [ Ty.associated ], + [ Ty.apply (Ty.path "&") [ T ] ], + "eq", + [] + |), + [ next; expected ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1517,24 +1520,25 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.associated ], - "take", - [] - |), - [ M.read (| v |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.associated ], + "take", + [] + |), + [ M.read (| v |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/iter/range.v b/CoqOfRust/core/iter/range.v index 0224324be..2d7965b7a 100644 --- a/CoqOfRust/core/iter/range.v +++ b/CoqOfRust/core/iter/range.v @@ -12401,23 +12401,24 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let steps := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "usize", - "checked_add", - [] - |), - [ M.read (| steps |); Value.Integer 1 ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let steps := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "usize", + "checked_add", + [] + |), + [ M.read (| steps |); Value.Integer 1 ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/core/iter/traits/accum.v b/CoqOfRust/core/iter/traits/accum.v index e2f20e7cf..e2c618ddb 100644 --- a/CoqOfRust/core/iter/traits/accum.v +++ b/CoqOfRust/core/iter/traits/accum.v @@ -46,27 +46,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I8 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.I8 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -117,27 +118,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I8 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I8 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -190,33 +192,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "i8", - [ Ty.apply (Ty.path "&") [ Ty.path "i8" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "i8", + [ Ty.apply (Ty.path "&") [ Ty.path "i8" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -269,33 +272,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "i8", - [ Ty.apply (Ty.path "&") [ Ty.path "i8" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "i8", + [ Ty.apply (Ty.path "&") [ Ty.path "i8" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -346,27 +350,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I16 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.I16 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -417,27 +422,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I16 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I16 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -490,33 +496,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "i16", - [ Ty.apply (Ty.path "&") [ Ty.path "i16" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "i16", + [ Ty.apply (Ty.path "&") [ Ty.path "i16" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -569,33 +576,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "i16", - [ Ty.apply (Ty.path "&") [ Ty.path "i16" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "i16", + [ Ty.apply (Ty.path "&") [ Ty.path "i16" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -646,27 +654,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I32 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.I32 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -717,27 +726,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I32 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -790,33 +800,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "i32", - [ Ty.apply (Ty.path "&") [ Ty.path "i32" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "i32", + [ Ty.apply (Ty.path "&") [ Ty.path "i32" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -869,33 +880,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "i32", - [ Ty.apply (Ty.path "&") [ Ty.path "i32" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "i32", + [ Ty.apply (Ty.path "&") [ Ty.path "i32" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -946,27 +958,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I64 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.I64 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1017,27 +1030,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I64 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I64 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1090,33 +1104,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "i64", - [ Ty.apply (Ty.path "&") [ Ty.path "i64" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "i64", + [ Ty.apply (Ty.path "&") [ Ty.path "i64" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1169,33 +1184,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "i64", - [ Ty.apply (Ty.path "&") [ Ty.path "i64" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "i64", + [ Ty.apply (Ty.path "&") [ Ty.path "i64" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1246,27 +1262,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I128 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.I128 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1317,27 +1334,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I128 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I128 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1390,33 +1408,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "i128", - [ Ty.apply (Ty.path "&") [ Ty.path "i128" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "i128", + [ Ty.apply (Ty.path "&") [ Ty.path "i128" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1469,33 +1488,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "i128", - [ Ty.apply (Ty.path "&") [ Ty.path "i128" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "i128", + [ Ty.apply (Ty.path "&") [ Ty.path "i128" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1546,27 +1566,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Isize - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Isize + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1617,27 +1638,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.Isize - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.Isize + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1690,33 +1712,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "isize", - [ Ty.apply (Ty.path "&") [ Ty.path "isize" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "isize", + [ Ty.apply (Ty.path "&") [ Ty.path "isize" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1769,33 +1792,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "isize", - [ Ty.apply (Ty.path "&") [ Ty.path "isize" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "isize", + [ Ty.apply (Ty.path "&") [ Ty.path "isize" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1846,27 +1870,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U8 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.U8 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1917,27 +1942,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U8 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.U8 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1990,33 +2016,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "u8", - [ Ty.apply (Ty.path "&") [ Ty.path "u8" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "u8", + [ Ty.apply (Ty.path "&") [ Ty.path "u8" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2069,33 +2096,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "u8", - [ Ty.apply (Ty.path "&") [ Ty.path "u8" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "u8", + [ Ty.apply (Ty.path "&") [ Ty.path "u8" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2146,27 +2174,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U16 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.U16 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2217,27 +2246,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U16 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.U16 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2290,33 +2320,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "u16", - [ Ty.apply (Ty.path "&") [ Ty.path "u16" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "u16", + [ Ty.apply (Ty.path "&") [ Ty.path "u16" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2369,33 +2400,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "u16", - [ Ty.apply (Ty.path "&") [ Ty.path "u16" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "u16", + [ Ty.apply (Ty.path "&") [ Ty.path "u16" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2446,27 +2478,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U32 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.U32 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2517,27 +2550,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U32 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.U32 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2590,33 +2624,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "u32", - [ Ty.apply (Ty.path "&") [ Ty.path "u32" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "u32", + [ Ty.apply (Ty.path "&") [ Ty.path "u32" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2669,33 +2704,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "u32", - [ Ty.apply (Ty.path "&") [ Ty.path "u32" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "u32", + [ Ty.apply (Ty.path "&") [ Ty.path "u32" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2746,27 +2782,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U64 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.U64 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2817,27 +2854,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U64 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.U64 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2890,33 +2928,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "u64", - [ Ty.apply (Ty.path "&") [ Ty.path "u64" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "u64", + [ Ty.apply (Ty.path "&") [ Ty.path "u64" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2969,33 +3008,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "u64", - [ Ty.apply (Ty.path "&") [ Ty.path "u64" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "u64", + [ Ty.apply (Ty.path "&") [ Ty.path "u64" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3046,27 +3086,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U128 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.U128 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3117,27 +3158,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U128 - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.U128 + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3190,33 +3232,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "u128", - [ Ty.apply (Ty.path "&") [ Ty.path "u128" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "u128", + [ Ty.apply (Ty.path "&") [ Ty.path "u128" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3269,33 +3312,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "u128", - [ Ty.apply (Ty.path "&") [ Ty.path "u128" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "u128", + [ Ty.apply (Ty.path "&") [ Ty.path "u128" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3346,27 +3390,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3417,27 +3462,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.Usize + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3490,33 +3536,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "usize", - [ Ty.apply (Ty.path "&") [ Ty.path "usize" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "usize", + [ Ty.apply (Ty.path "&") [ Ty.path "usize" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3569,33 +3616,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "usize", - [ Ty.apply (Ty.path "&") [ Ty.path "usize" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "usize", + [ Ty.apply (Ty.path "&") [ Ty.path "usize" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3655,39 +3703,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i8" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i8" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i8" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i8" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3747,39 +3796,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i8" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i8" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i8" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i8" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3842,43 +3892,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i8" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i8" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i8" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i8" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3947,43 +3998,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i8" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i8" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i8" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i8" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4049,39 +4101,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i16" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i16" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i16" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4141,39 +4194,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i16" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i16" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i16" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4236,43 +4290,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i16" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i16" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i16" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4341,43 +4396,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i16" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i16" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i16" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4443,39 +4499,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i32" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i32" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i32" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4535,39 +4592,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i32" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i32" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i32" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4630,43 +4688,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i32" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i32" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i32" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4735,43 +4794,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i32" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i32" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i32" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4837,39 +4897,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i64" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i64" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i64" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i64" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4929,39 +4990,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i64" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i64" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i64" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i64" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5024,43 +5086,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i64" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i64" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i64" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i64" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5129,43 +5192,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i64" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i64" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i64" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i64" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5231,39 +5295,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i128" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i128" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i128" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i128" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5323,39 +5388,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i128" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i128" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "i128" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i128" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5421,43 +5487,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i128" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i128" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i128" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i128" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5529,43 +5596,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i128" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "i128" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i128" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "i128" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5631,39 +5699,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "isize" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "isize" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "isize" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "isize" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5723,39 +5792,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "isize" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "isize" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "isize" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "isize" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5821,43 +5891,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "isize" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "isize" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "isize" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "isize" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5929,43 +6000,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "isize" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "isize" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "isize" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "isize" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6031,39 +6103,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u8" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u8" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u8" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u8" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6123,39 +6196,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u8" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u8" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u8" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u8" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6218,43 +6292,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u8" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u8" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u8" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u8" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6323,43 +6398,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u8" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u8" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u8" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u8" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6425,39 +6501,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u16" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u16" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u16" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6517,39 +6594,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u16" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u16" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u16" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6612,43 +6690,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u16" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u16" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u16" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6717,43 +6796,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u16" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u16" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u16" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6819,39 +6899,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u32" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u32" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u32" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6911,39 +6992,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u32" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u32" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u32" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7006,43 +7088,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u32" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u32" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u32" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7111,43 +7194,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u32" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u32" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u32" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7213,39 +7297,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u64" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u64" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u64" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u64" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7305,39 +7390,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u64" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u64" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u64" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u64" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7400,43 +7486,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u64" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u64" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u64" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u64" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7505,43 +7592,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u64" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u64" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u64" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u64" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7607,39 +7695,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u128" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u128" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u128" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u128" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7699,39 +7788,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u128" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u128" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "u128" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u128" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7797,43 +7887,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u128" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u128" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u128" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u128" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7905,43 +7996,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u128" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "u128" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u128" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "u128" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8007,39 +8099,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "usize" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "usize" ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "usize" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "usize" ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8099,39 +8192,40 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "usize" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "usize" ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + [ Ty.path "usize" ], + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "usize" ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8197,43 +8291,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "usize" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "usize" ] - ] - ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "usize" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "usize" ] + ] + ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8305,43 +8400,44 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "usize" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "core::num::wrapping::Wrapping") - [ Ty.path "usize" ] - ] - ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "usize" ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [ Ty.path "usize" ] + ] + ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8398,27 +8494,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8469,27 +8566,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.Usize + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8542,33 +8640,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "f32", - [ Ty.apply (Ty.path "&") [ Ty.path "f32" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "f32", + [ Ty.apply (Ty.path "&") [ Ty.path "f32" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8621,33 +8720,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "f32", - [ Ty.apply (Ty.path "&") [ Ty.path "f32" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "f32", + [ Ty.apply (Ty.path "&") [ Ty.path "f32" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8698,27 +8798,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8769,27 +8870,28 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.Usize + (M.read (| a |)) + (M.read (| b |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8842,33 +8944,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Add", - Ty.path "f64", - [ Ty.apply (Ty.path "&") [ Ty.path "f64" ] ], - "add", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Add", + Ty.path "f64", + [ Ty.apply (Ty.path "&") [ Ty.path "f64" ] ], + "add", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8921,33 +9024,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::arith::Mul", - Ty.path "f64", - [ Ty.apply (Ty.path "&") [ Ty.path "f64" ] ], - "mul", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::arith::Mul", + Ty.path "f64", + [ Ty.apply (Ty.path "&") [ Ty.path "f64" ] ], + "mul", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -9013,32 +9117,33 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::GenericShunt") - [ - I; - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "core::convert::Infallible"; E ] - ], - [], - "sum", - [ T ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::iter::adapters::GenericShunt") + [ + I; + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "core::convert::Infallible"; E ] + ], + [], + "sum", + [ T ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -9106,32 +9211,33 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::GenericShunt") - [ - I; - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "core::convert::Infallible"; E ] - ], - [], - "product", - [ T ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::iter::adapters::GenericShunt") + [ + I; + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "core::convert::Infallible"; E ] + ], + [], + "product", + [ T ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -9199,32 +9305,33 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::GenericShunt") - [ - I; - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" ] - ], - [], - "sum", - [ T ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::iter::adapters::GenericShunt") + [ + I; + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::convert::Infallible" ] + ], + [], + "sum", + [ T ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -9292,32 +9399,33 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::GenericShunt") - [ - I; - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" ] - ], - [], - "product", - [ T ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::iter::adapters::GenericShunt") + [ + I; + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::convert::Infallible" ] + ], + [], + "product", + [ T ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/iter/traits/iterator.v b/CoqOfRust/core/iter/traits/iterator.v index f917b870a..496484425 100644 --- a/CoqOfRust/core/iter/traits/iterator.v +++ b/CoqOfRust/core/iter/traits/iterator.v @@ -68,26 +68,27 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let count := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (BinOp.Wrap.add - Integer.Usize - (M.read (| count |)) - (Value.Integer 1))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let count := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (BinOp.Wrap.add + Integer.Usize + (M.read (| count |)) + (Value.Integer 1))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -915,33 +916,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::GenericShunt") - [ - Ty.apply - (Ty.path - "core::iter::adapters::by_ref_sized::ByRefSized") - [ Self ]; - Ty.associated - ], - [], - "collect", - [ B ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::iter::adapters::GenericShunt") + [ + Ty.apply + (Ty.path + "core::iter::adapters::by_ref_sized::ByRefSized") + [ Self ]; + Ty.associated + ], + [], + "collect", + [ B ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2634,33 +2636,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let y := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::Ord", - Ty.associated, - [], - "cmp", - [] - |), - [ x; y ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let y := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::Ord", + Ty.associated, + [], + "cmp", + [] + |), + [ x; y ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2759,33 +2762,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let y := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialOrd", - Ty.associated, - [ Ty.associated ], - "partial_cmp", - [] - |), - [ x; y ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let y := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialOrd", + Ty.associated, + [ Ty.associated ], + "partial_cmp", + [] + |), + [ x; y ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2891,33 +2895,34 @@ Module iter. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let y := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.associated, - [ Ty.associated ], - "eq", - [] - |), - [ x; y ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let y := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.associated, + [ Ty.associated ], + "eq", + [] + |), + [ x; y ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3105,8 +3110,8 @@ Module iter. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -3203,8 +3208,8 @@ Module iter. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -3573,94 +3578,101 @@ Module iter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - B, - [], - "next", - [] - |), - [ M.read (| b |) ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| - Value.StructTuple - "core::ops::control_flow::ControlFlow::Break" - [ - Value.StructTuple - "core::ops::control_flow::ControlFlow::Continue" - [ - Value.StructTuple - "core::cmp::Ordering::Greater" - [] - ] - ] - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let y := M.copy (| γ0_0 |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::ops::control_flow::ControlFlow") - [ T; Ty.tuple [] ], - "map_break", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + B, + [], + "next", + [] + |), + [ M.read (| b |) ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.alloc (| + Value.StructTuple + "core::ops::control_flow::ControlFlow::Break" [ + Value.StructTuple + "core::ops::control_flow::ControlFlow::Continue" + [ + Value.StructTuple + "core::cmp::Ordering::Greater" + [] + ] + ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let y := M.copy (| γ0_0 |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path "core::ops::control_flow::ControlFlow") - [ T; Ty.path "core::cmp::Ordering" ]; - Ty.function - [ T ] - (Ty.apply + [ T; Ty.tuple [] ], + "map_break", + [ + Ty.apply (Ty.path "core::ops::control_flow::ControlFlow") - [ T; Ty.path "core::cmp::Ordering" ]) - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_X__B_Item__arrow_ControlFlow_T___plus__'a, - [ Ty.tuple [ X; Ty.associated ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| x |); M.read (| y |) ] + [ T; Ty.path "core::cmp::Ordering" ]; + Ty.function + [ T ] + (Ty.apply + (Ty.path + "core::ops::control_flow::ControlFlow") + [ T; Ty.path "core::cmp::Ordering" ]) ] - |); - M.constructor_as_closure - "core::ops::control_flow::ControlFlow::Break" - ] - |) - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_X__B_Item__arrow_ControlFlow_T___plus__'a, + [ Ty.tuple [ X; Ty.associated ] ], + "call_mut", + [] + |), + [ + f; + Value.Tuple [ M.read (| x |); M.read (| y |) ] + ] + |); + M.constructor_as_closure + "core::ops::control_flow::ControlFlow::Break" + ] + |) + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. diff --git a/CoqOfRust/core/links/clone.v b/CoqOfRust/core/links/clone.v index d69452075..4bc3c32e3 100644 --- a/CoqOfRust/core/links/clone.v +++ b/CoqOfRust/core/links/clone.v @@ -23,7 +23,7 @@ Module Clone. }} }. - Record RunImpl (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := { + Record Run (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := { clone : Run_clone Self Self_ty; (* TODO: add [clone_from] *) }. diff --git a/CoqOfRust/core/links/cmp.v b/CoqOfRust/core/links/cmp.v new file mode 100644 index 000000000..7bd091f32 --- /dev/null +++ b/CoqOfRust/core/links/cmp.v @@ -0,0 +1,227 @@ +Require Import CoqOfRust.CoqOfRust. +Require Import links.M. +Require Import core.cmp. +Require core.ops.links.function. + +Import Run. + +(* + pub enum Ordering { + Less = -1, + Equal = 0, + Greater = 1, + } +*) +Module Ordering. + Inductive t : Set := + | Less : t + | Equal : t + | Greater : t. + + Global Instance IsToTy : ToTy t := { + Φ := Ty.path "core::cmp::Ordering"; + }. + + Global Instance IsToValue : ToValue t := { + φ x := + match x with + | Less => Value.StructTuple "core::cmp::Ordering::Less" [] + | Equal => Value.StructTuple "core::cmp::Ordering::Equal" [] + | Greater => Value.StructTuple "core::cmp::Ordering::Greater" [] + end; + }. +End Ordering. + +(* + pub fn max_by Ordering>(v1: T, v2: T, compare: F) -> T { + match compare(&v1, &v2) { + Ordering::Less | Ordering::Equal => v2, + Ordering::Greater => v1, + } + } +*) +Definition run_max_by {T F : Set} {T_ty F_ty : Ty.t} `{ToValue T} `{ToValue F} + (Run_FnOnce_for_F : + function.FnOnce.Run + F + (Ref.t T * Ref.t T) + (Output := Ordering.t) + F_ty + (Ty.tuple [ Ty.apply (Ty.path "&") [ T_ty ]; Ty.apply (Ty.path "&") [ T_ty ] ]) + ) + (v1 v2 : T) (compare : F) : + {{ + cmp.max_by [T_ty; F_ty] [ φ v1; φ v2; φ compare ] ⇓ + fun (v : T) => inl (φ v) + }}. +Proof. + destruct Run_FnOnce_for_F as [[call_once [H_call_once run_call_once]]]. + run_symbolic. + eapply Run.CallPrimitiveGetTraitMethod. { + apply H_call_once. + } + run_symbolic. + eapply Run.CallClosure. { + apply (run_call_once value (ref, ref0)). + } + intros ordering. + eapply Run.CallPrimitiveStateAllocImmediate with (A := Ordering.t). { + reflexivity. + } + destruct ordering eqn:?; + cbn; + repeat (eapply Run.CallPrimitiveStateReadImmediate; [reflexivity|]; cbn). + { eapply Run.CallClosure with (output_to_value' := fun (v : Ref.t T) => inl (φ v)). { + run_symbolic. + } + intros. + run_symbolic. + } + { eapply Run.CallClosure with (output_to_value' := fun (v : Ref.t T) => inl (φ v)). { + run_symbolic. + } + intros. + run_symbolic. + } + { run_symbolic. } +Defined. + +(* + pub trait Ord: Eq + PartialOrd { + // Required method + fn cmp(&self, other: &Self) -> Ordering; + + // Provided methods + fn max(self, other: Self) -> Self + where Self: Sized { ... } + fn min(self, other: Self) -> Self + where Self: Sized { ... } + fn clamp(self, min: Self, max: Self) -> Self + where Self: Sized + PartialOrd { ... } + } +*) +Module Ord. + Definition Run_cmp (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := + {cmp @ + IsTraitMethod.t "core::cmp::Ord" Self_ty [] "cmp" cmp * + forall (self other : Ref.t Self), + {{ + cmp [] [ φ self; φ other ] ⇓ + fun (v : Ordering.t) => inl (φ v) + }} + }. + + Definition Run_max (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := + {max @ + IsTraitMethod.t "core::cmp::Ord" Self_ty [] "max" max * + forall (self other : Self), + {{ + max [] [ φ self; φ other ] ⇓ + fun (v : Self) => inl (φ v) + }} + }. + + Definition Run_min (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := + {min @ + IsTraitMethod.t "core::cmp::Ord" Self_ty [] "min" min * + forall (self other : Self), + {{ + min [] [ φ self; φ other ] ⇓ + fun (v : Self) => inl (φ v) + }} + }. + + Definition Run_clamp (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := + {clamp @ + IsTraitMethod.t "core::cmp::Ord" Self_ty [] "clamp" clamp * + forall (self min max : Self), + {{ + clamp [] [ φ self; φ min; φ max ] ⇓ + fun (v : Self) => inl (φ v) + }} + }. + + Record Run (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := { + cmp : Run_cmp Self Self_ty; + max : Run_max Self Self_ty; + min : Run_min Self Self_ty; + clamp : Run_clamp Self Self_ty; + }. +End Ord. + +Module Impl_Ord_for_u64. + Definition Self : Set := Z. + Definition Self_ty : Ty.t := Ty.path "u64". + + Definition Run_cmp : Ord.Run_cmp Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Explicit. + { apply cmp.impls.Impl_core_cmp_Ord_for_u64.Implements. } + { reflexivity. } + } + { intros. + run_symbolic. + cbn. + eapply Run.CallPrimitiveStateAlloc with (A := bool); [reflexivity|]; intros. + run_symbolic; cbn. + match goal with + | |- context [M.is_constant_or_break_match (Value.Bool ?x)] => destruct x + end; cbn. + { eapply Run.CallPrimitiveStateAlloc with (A := Ordering.t). { + now instantiate (1 := Ordering.Less). + } + intros. + run_symbolic. + } + { run_symbolic. + eapply Run.CallPrimitiveStateAlloc with (A := bool); [reflexivity|]; intros. + run_symbolic; cbn. + match goal with + | |- context [M.is_constant_or_break_match (Value.Bool ?x)] => destruct x + end; cbn. + { eapply Run.CallPrimitiveStateAlloc with (A := Ordering.t). { + now instantiate (1 := Ordering.Equal). + } + intros. + run_symbolic. + } + { eapply Run.CallPrimitiveStateAlloc with (A := Ordering.t). { + now instantiate (1 := Ordering.Greater). + } + intros. + run_symbolic. + } + } + } + Defined. + + Definition Run_max : Ord.Run_max Self Self_ty. + Proof. + eexists; split. + { eapply IsTraitMethod.Implicit. + { apply cmp.impls.Impl_core_cmp_Ord_for_u64.Implements. } + { reflexivity. } + { apply cmp.Ord.ProvidedMethod_max. } + } + { intros. + run_symbolic. + eapply Run.CallPrimitiveGetFunction. { + apply cmp.Function_max_by. + } + run_symbolic. + destruct Run_cmp as [cmp [H_cmp run_cmp]]. + eapply Run.CallPrimitiveGetTraitMethod. { + apply H_cmp. + } + (* eapply Run.CallClosure. { + epose proof (@run_max_by + Z (Function2.t (Ref.t Z) (Ref.t Z) Ordering.t _) + (Ty.path "u64") + ) as run_max_by. + epose proof (run_max_by _ value value0 (cmp [])). + apply run_max_by. + } *) + } + Admitted. +End Impl_Ord_for_u64. diff --git a/CoqOfRust/core/links/default.v b/CoqOfRust/core/links/default.v index 4bd841715..100e9140d 100644 --- a/CoqOfRust/core/links/default.v +++ b/CoqOfRust/core/links/default.v @@ -20,7 +20,7 @@ Module Default. }} }. - Record RunImpl (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := { + Record Run (Self : Set) (Self_ty : Ty.t) `{ToValue Self} : Set := { default : Run_default Self Self_ty; }. End Default. @@ -41,7 +41,7 @@ Module Impl_Default_for_unit. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -64,7 +64,7 @@ Module Impl_Default_for_bool. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -91,7 +91,7 @@ Module Impl_Default_for_usize. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -114,7 +114,7 @@ Module Impl_Default_for_u8. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -137,7 +137,7 @@ Module Impl_Default_for_u16. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -160,7 +160,7 @@ Module Impl_Default_for_u32. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -183,7 +183,7 @@ Module Impl_Default_for_u64. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -206,7 +206,7 @@ Module Impl_Default_for_u128. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -229,7 +229,7 @@ Module Impl_Default_for_isize. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -252,7 +252,7 @@ Module Impl_Default_for_i8. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -275,7 +275,7 @@ Module Impl_Default_for_i16. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -298,7 +298,7 @@ Module Impl_Default_for_i32. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -321,7 +321,7 @@ Module Impl_Default_for_i64. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) @@ -344,7 +344,7 @@ Module Impl_Default_for_i128. { run_symbolic. } Defined. - Definition run_impl : Default.RunImpl Self Self_ty. + Definition run : Default.Run Self Self_ty. Proof. constructor. { (* default *) diff --git a/CoqOfRust/core/mem/mod.v b/CoqOfRust/core/mem/mod.v index ef2497765..fe2241c60 100644 --- a/CoqOfRust/core/mem/mod.v +++ b/CoqOfRust/core/mem/mod.v @@ -60,7 +60,7 @@ Module mem. match τ, α with | [ T ], [] => ltac:(M.monadic - (M.call_closure (| M.get_function (| "core::intrinsics::size_of", [ T ] |), [] |))) + (M.read (| (* thir failed to compile: Any { .. } *) M.alloc (| Value.Tuple [] |) |))) | _, _ => M.impossible end. diff --git a/CoqOfRust/core/net/ip_addr.v b/CoqOfRust/core/net/ip_addr.v index ce6bd5ef6..32ccbaa2c 100644 --- a/CoqOfRust/core/net/ip_addr.v +++ b/CoqOfRust/core/net/ip_addr.v @@ -2644,8 +2644,8 @@ Module net. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -5456,70 +5456,71 @@ Module net. ltac:(M.monadic match γ with | [] => - let ab := M.copy (| γ0_6 |) in - let cd := M.copy (| γ0_7 |) in - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "u16", - "to_be_bytes", - [] - |), - [ M.read (| ab |) ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_slice_index (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in - let a := M.copy (| γ0_0 |) in - let b := M.copy (| γ0_1 |) in - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "u16", - "to_be_bytes", - [] - |), - [ M.read (| cd |) ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_slice_index (| γ, 0 |) in - let γ0_1 := - M.SubPointer.get_slice_index (| γ, 1 |) in - let c := M.copy (| γ0_0 |) in - let d := M.copy (| γ0_1 |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::ip_addr::Ipv4Addr", - "new", - [] - |), - [ - M.read (| a |); - M.read (| b |); - M.read (| c |); - M.read (| d |) - ] - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (let ab := M.copy (| γ0_6 |) in + let cd := M.copy (| γ0_7 |) in + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "u16", + "to_be_bytes", + [] + |), + [ M.read (| ab |) ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_slice_index (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in + let a := M.copy (| γ0_0 |) in + let b := M.copy (| γ0_1 |) in + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "u16", + "to_be_bytes", + [] + |), + [ M.read (| cd |) ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_slice_index (| γ, 0 |) in + let γ0_1 := + M.SubPointer.get_slice_index (| γ, 1 |) in + let c := M.copy (| γ0_0 |) in + let d := M.copy (| γ0_1 |) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::ip_addr::Ipv4Addr", + "new", + [] + |), + [ + M.read (| a |); + M.read (| b |); + M.read (| c |); + M.read (| d |) + ] + |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/core/net/parser.v b/CoqOfRust/core/net/parser.v index 69ac96995..f7f46bc8c 100644 --- a/CoqOfRust/core/net/parser.v +++ b/CoqOfRust/core/net/parser.v @@ -948,26 +948,27 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::convert::From", - Ty.path "char", - [ Ty.path "u8" ], - "from", - [] - |), - [ M.read (| b |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::convert::From", + Ty.path "char", + [ Ty.path "u8" ], + "from", + [] + |), + [ M.read (| b |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1039,42 +1040,43 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let γ0_0 := M.read (| γ0_0 |) in - let b := M.copy (| γ0_0 |) in - let tail := M.copy (| γ0_1 |) in - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::net::parser::Parser", - "state" - |), - M.read (| tail |) - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::convert::From", - Ty.path "char", - [ Ty.path "u8" ], - "from", - [] - |), - [ M.read (| b |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let γ0_0 := M.read (| γ0_0 |) in + let b := M.copy (| γ0_0 |) in + let tail := M.copy (| γ0_1 |) in + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::net::parser::Parser", + "state" + |), + M.read (| tail |) + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::convert::From", + Ty.path "char", + [ Ty.path "u8" ], + "from", + [] + |), + [ M.read (| b |) ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1115,85 +1117,89 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "core::option::Option") [ Ty.path "char" ], - "and_then", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "core::option::Option") [ Ty.path "char" ], + "and_then", + [ + Ty.tuple []; + Ty.function + [ Ty.tuple [ Ty.path "char" ] ] + (Ty.apply + (Ty.path "core::option::Option") + [ Ty.tuple [] ]) + ] + |), [ - Ty.tuple []; - Ty.function - [ Ty.tuple [ Ty.path "char" ] ] - (Ty.apply (Ty.path "core::option::Option") [ Ty.tuple [] ]) - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_char", - [] - |), - [ M.read (| p |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_char", + [] + |), + [ M.read (| p |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.eq + (M.read (| c |)) + (M.read (| target |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.Tuple [] ] + |))); + fun γ => + ltac:(M.monadic (M.alloc (| - BinOp.Pure.eq - (M.read (| c |)) - (M.read (| target |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ Value.Tuple [] ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::option::Option::None" - [] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::option::Option::None" + [] + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1243,133 +1249,135 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.gt - (M.read (| index |)) - (Value.Integer 0) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.tuple [] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_given_char", - [] - |), - [ M.read (| p |); M.read (| sep |) ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ T ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.read (| + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.gt + (M.read (| index |)) + (Value.Integer 0) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.tuple [] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_given_char", + [] + |), + [ M.read (| p |); M.read (| sep |) ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") - [ - Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ T ], + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnOnce", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ Ty.path "core::net::parser::Parser" ] - ] - ], - "call_once", - [] - |), - [ M.read (| inner |); Value.Tuple [ M.read (| p |) ] ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnOnce", + F, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path "core::net::parser::Parser" ] + ] + ], + "call_once", + [] + |), + [ M.read (| inner |); Value.Tuple [ M.read (| p |) ] ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1439,537 +1447,544 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.read (| - let~ result := - M.copy (| - M.get_constant (| - "core::net::parser::ReadNumberHelper::ZERO" - |) - |) in - let~ digit_count := M.alloc (| Value.Integer 0 |) in - let~ has_leading_zero := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "char" ], - [ - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "char" ] - ], - "eq", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "peek_char", - [] - |), - [ M.read (| p |) ] - |) - |); - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ Value.UnicodeChar 48 ] - |) - ] - |) - |) in - let~ _ := - M.loop (| - ltac:(M.monadic - (M.match_operator (| - M.alloc (| Value.Tuple [] |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.read (| + let~ result := + M.copy (| + M.get_constant (| + "core::net::parser::ReadNumberHelper::ZERO" + |) + |) in + let~ digit_count := M.alloc (| Value.Integer 0 |) in + let~ has_leading_zero := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "char" ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "char" ] + ], + "eq", + [] + |), [ - fun γ => - ltac:(M.monadic - (let γ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_atomically", - [ - Ty.path "u32"; - Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "core::net::parser::Parser" - ] - ] - ] - (Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "u32" ]) - ] - |), - [ - M.read (| p |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "peek_char", + [] + |), + [ M.read (| p |) ] + |) + |); + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.UnicodeChar 48 ] + |) + ] + |) + |) in + let~ _ := + M.loop (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_atomically", + [ + Ty.path "u32"; + Ty.function + [ + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "char", - "to_digit", - [] - |), - [ - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.path - "char" - ], - [], - "branch", - [] - |), - [ + Ty.apply + (Ty.path "&mut") + [ + Ty.path + "core::net::parser::Parser" + ] + ] + ] + (Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "u32" ]) + ] + |), + [ + M.read (| p |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := + M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "to_digit", + [] + |), + [ + M.read (| + M.match_operator (| + M.alloc (| M.call_closure (| - M.get_associated_function (| - Ty.path - "core::net::parser::Parser", - "read_char", + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "char" + ], + [], + "branch", [] |), [ - M.read (| - p + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::net::parser::Parser", + "read_char", + [] + |), + [ + M.read (| + p + |) + ] |) ] |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let - residual := - M.copy (| - γ0_0 - |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.path - "u32" - ], - [ - Ty.apply - (Ty.path - "core::option::Option") + |), + [ + fun γ => + ltac:(M.monadic + (let + γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let + residual := + M.copy (| + γ0_0 + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "u32" + ], [ - Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ - M.read (| - residual + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] |) - ] + |) |) |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := - M.copy (| - γ0_0 - |) in - val)) - ] - |) - |); - M.read (| radix |) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - |) in - let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let digit := M.copy (| γ0_0 |) in - let~ _ := - M.write (| - result, - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ T ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::net::parser::ReadNumberHelper", - T, - [], - "checked_mul", - [] - |), - [ result; M.read (| radix |) ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::option::Option") - [ T ], - [ - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) - |) - |) in - let~ _ := - M.write (| - result, - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ T ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::net::parser::ReadNumberHelper", - T, - [], - "checked_add", - [] - |), - [ result; M.read (| digit |) ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::option::Option") - [ T ], - [ - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.path - "core::convert::Infallible" + |))); + fun γ => + ltac:(M.monadic + (let + γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := + M.copy (| + γ0_0 + |) in + val)) + ] + |) + |); + M.read (| radix |) ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) ] |) - |) - |) in - let~ _ := - let β := digit_count in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := max_digits in - let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let max_digits := M.copy (| γ0_0 |) in + |) in + let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let digit := M.copy (| γ0_0 |) in + let~ _ := + M.write (| + result, + M.read (| M.match_operator (| - M.alloc (| Value.Tuple [] |), + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ T ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::net::parser::ReadNumberHelper", + T, + [], + "checked_mul", + [] + |), + [ result; M.read (| radix |) ] + |) + ] + |) + |), [ fun γ => ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.gt - (M.read (| digit_count |)) - (M.read (| max_digits |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 |) in + let residual := M.copy (| γ0_0 |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple - "core::option::Option::None" - [] + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::option::Option") + [ T ], + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) |))); fun γ => ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.never_to_any (| - M.read (| - let~ _ := - M.alloc (| - M.never_to_any (| - M.read (| M.break (||) |) - |) - |) in - M.alloc (| Value.Tuple [] |) - |) - |) - |))) - ] - |))) - |) in - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.eq - (M.read (| digit_count |)) - (Value.Integer 0) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - Value.StructTuple "core::option::Option::None" [] - |))); - fun γ => - ltac:(M.monadic - (M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - LogicalOp.and (| - LogicalOp.and (| - UnOp.Pure.not - (M.read (| allow_zero_prefix |)), - ltac:(M.monadic - (M.read (| has_leading_zero |))) + |) + |) + |) in + let~ _ := + M.write (| + result, + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ T ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::net::parser::ReadNumberHelper", + T, + [], + "checked_add", + [] + |), + [ result; M.read (| digit |) ] + |) + ] + |) |), - ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| digit_count |)) - (Value.Integer 1))) + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path + "core::option::Option") + [ T ], + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true + |) |) in - M.alloc (| - Value.StructTuple - "core::option::Option::None" - [] + let~ _ := + let β := digit_count in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := max_digits in + let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let max_digits := M.copy (| γ0_0 |) in + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.gt + (M.read (| digit_count |)) + (M.read (| max_digits |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + Value.StructTuple + "core::option::Option::None" + [] + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] |))); fun γ => ltac:(M.monadic (M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ M.read (| result |) ] + M.never_to_any (| + M.read (| + let~ _ := + M.alloc (| + M.never_to_any (| + M.read (| M.break (||) |) + |) + |) in + M.alloc (| Value.Tuple [] |) + |) + |) |))) ] |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) in + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.eq + (M.read (| digit_count |)) + (Value.Integer 0) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple "core::option::Option::None" [] + |))); + fun γ => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + LogicalOp.and (| + LogicalOp.and (| + UnOp.Pure.not + (M.read (| allow_zero_prefix |)), + ltac:(M.monadic + (M.read (| has_leading_zero |))) + |), + ltac:(M.monadic + (BinOp.Pure.gt + (M.read (| digit_count |)) + (Value.Integer 1))) + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple + "core::option::Option::None" + [] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ M.read (| result |) ] + |))) + ] + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2021,310 +2036,315 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.read (| - let~ groups := M.alloc (| repeat (Value.Integer 0) 4 |) in - let~ _ := - M.use - (M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", - Ty.apply - (Ty.path - "core::iter::adapters::enumerate::Enumerate") - [ - Ty.apply - (Ty.path "core::slice::iter::IterMut") - [ Ty.path "u8" ] - ], - [], - "into_iter", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::slice::iter::IterMut") - [ Ty.path "u8" ], - [], - "enumerate", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ Ty.path "u8" ], - "iter_mut", - [] - |), - [ (* Unsize *) M.pointer_coercion groups ] - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.loop (| - ltac:(M.monadic - (let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "core::iter::adapters::enumerate::Enumerate") - [ - Ty.apply - (Ty.path - "core::slice::iter::IterMut") - [ Ty.path "u8" ] - ], - [], - "next", - [] - |), - [ iter ] - |) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.read (| + let~ groups := M.alloc (| repeat (Value.Integer 0) 4 |) in + let~ _ := + M.use + (M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + Ty.apply + (Ty.path + "core::iter::adapters::enumerate::Enumerate") + [ + Ty.apply + (Ty.path "core::slice::iter::IterMut") + [ Ty.path "u8" ] + ], + [], + "into_iter", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::slice::iter::IterMut") + [ Ty.path "u8" ], + [], + "enumerate", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + "iter_mut", + [] |), - [ - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - M.alloc (| - M.never_to_any (| - M.read (| M.break (||) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let γ1_0 := - M.SubPointer.get_tuple_field (| - γ0_0, - 0 - |) in - let γ1_1 := - M.SubPointer.get_tuple_field (| - γ0_0, - 1 - |) in - let i := M.copy (| γ1_0 |) in - let slot := M.copy (| γ1_1 |) in - let~ _ := - M.write (| - M.read (| slot |), - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path - "core::option::Option") - [ Ty.path "u8" ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::net::parser::Parser", - "read_separator", - [ - Ty.path "u8"; - Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path - "&mut") - [ - Ty.path - "core::net::parser::Parser" - ] - ] - ] - (Ty.apply - (Ty.path - "core::option::Option") - [ Ty.path "u8" - ]) - ] - |), - [ - M.read (| p |); - Value.UnicodeChar 46; - M.read (| i |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), + [ (* Unsize *) M.pointer_coercion groups ] + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.loop (| + ltac:(M.monadic + (let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path + "core::iter::adapters::enumerate::Enumerate") + [ + Ty.apply + (Ty.path + "core::slice::iter::IterMut") + [ Ty.path "u8" ] + ], + [], + "next", + [] + |), + [ iter ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.alloc (| + M.never_to_any (| + M.read (| M.break (||) |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let γ1_0 := + M.SubPointer.get_tuple_field (| + γ0_0, + 0 + |) in + let γ1_1 := + M.SubPointer.get_tuple_field (| + γ0_0, + 1 + |) in + let i := M.copy (| γ1_0 |) in + let slot := M.copy (| γ1_1 |) in + let~ _ := + M.write (| + M.read (| slot |), + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path + "core::option::Option") + [ Ty.path "u8" ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::net::parser::Parser", + "read_separator", + [ + Ty.path "u8"; + Ty.function + [ + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let - p := - M.copy (| - γ - |) in - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::net::parser::Parser", - "read_number", - [ - Ty.path - "u8" - ] - |), - [ - M.read (| - p - |); - Value.Integer - 10; - Value.StructTuple - "core::option::Option::Some" + Ty.apply + (Ty.path + "&mut") + [ + Ty.path + "core::net::parser::Parser" + ] + ] + ] + (Ty.apply + (Ty.path + "core::option::Option") + [ Ty.path "u8" + ]) + ] + |), + [ + M.read (| p |); + Value.UnicodeChar + 46; + M.read (| i |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (let + p := + M.copy (| + γ + |) in + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::net::parser::Parser", + "read_number", + [ + Ty.path + "u8" + ] + |), [ + M.read (| + p + |); Value.Integer - 3 - ]; - Value.Bool - false - ] - |))) - ] - |) - | _ => - M.impossible (||) - end)) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := - M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.path - "core::net::ip_addr::Ipv4Addr" - ], - [ + 10; + Value.StructTuple + "core::option::Option::Some" + [ + Value.Integer + 3 + ]; + Value.Bool + false + ] + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := + M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") [ Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ - M.read (| - residual - |) - ] + "core::net::ip_addr::Ipv4Addr" + ], + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := - M.copy (| γ0_0 |) in - val)) - ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := + M.copy (| γ0_0 |) in + val)) + ] + |) |) - |) - |) in - M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| Value.Tuple [] |))) - |))) - ] - |)) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.apply (Ty.path "array") [ Ty.path "u8" ], - [ Ty.path "core::net::ip_addr::Ipv4Addr" ], - "into", - [] - |), - [ M.read (| groups |) ] - |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) in + M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| Value.Tuple [] |))) + |))) + ] + |)) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + M.call_closure (| + M.get_trait_method (| + "core::convert::Into", + Ty.apply (Ty.path "array") [ Ty.path "u8" ], + [ Ty.path "core::net::ip_addr::Ipv4Addr" ], + "into", + [] + |), + [ M.read (| groups |) ] + |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2427,206 +2447,306 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.read (| - let~ head := M.alloc (| repeat (Value.Integer 0) 8 |) in - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Self, - "read_groups.read_ipv6_addr", - [] - |), - [ M.read (| p |); (* Unsize *) M.pointer_coercion head ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let head_size := M.copy (| γ0_0 |) in - let head_ipv4 := M.copy (| γ0_1 |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.eq - (M.read (| head_size |)) - (Value.Integer 8) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - Value.StructTuple - "core::option::Option::Some" - [ - M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.apply - (Ty.path "array") - [ Ty.path "u16" ], - [ - Ty.path - "core::net::ip_addr::Ipv6Addr" - ], - "into", - [] - |), - [ M.read (| head |) ] - |) - ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.read (| + let~ head := M.alloc (| repeat (Value.Integer 0) 8 |) in + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Self, + "read_groups.read_ipv6_addr", + [] + |), + [ M.read (| p |); (* Unsize *) M.pointer_coercion head ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let head_size := M.copy (| γ0_0 |) in + let head_ipv4 := M.copy (| γ0_1 |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.eq + (M.read (| head_size |)) + (Value.Integer 8) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + Value.StructTuple + "core::option::Option::Some" + [ + M.call_closure (| + M.get_trait_method (| + "core::convert::Into", + Ty.apply + (Ty.path "array") + [ Ty.path "u16" ], + [ + Ty.path + "core::net::ip_addr::Ipv6Addr" + ], + "into", + [] + |), + [ M.read (| head |) ] + |) + ] + |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.use head_ipv4 in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - Value.StructTuple - "core::option::Option::None" - [] + |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.use head_ipv4 in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + Value.StructTuple + "core::option::Option::None" + [] + |) |) |) + |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.tuple [] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_given_char", + [] + |), + [ M.read (| p |); Value.UnicodeChar 58 ] |) - |))); - fun γ => - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.tuple [] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_given_char", - [] - |), - [ M.read (| p |); Value.UnicodeChar 58 ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::net::ip_addr::Ipv6Addr" + ], [ - Ty.path - "core::net::ip_addr::Ipv6Addr" + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] ], - [ + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.tuple [] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_given_char", + [] + |), + [ M.read (| p |); Value.UnicodeChar 58 ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") [ Ty.path - "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + "core::net::ip_addr::Ipv6Addr" + ], + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ _ := + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ tail := M.alloc (| repeat (Value.Integer 0) 7 |) in + let~ limit := + M.alloc (| + BinOp.Wrap.sub + Integer.Usize + (Value.Integer 8) + (BinOp.Wrap.add + Integer.Usize + (M.read (| head_size |)) + (Value.Integer 1)) + |) in M.match_operator (| M.alloc (| M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.tuple [] ], - [], - "branch", + M.get_associated_function (| + Self, + "read_groups.read_ipv6_addr", [] |), [ + M.read (| p |); M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_given_char", + M.get_trait_method (| + "core::ops::index::IndexMut", + Ty.apply + (Ty.path "array") + [ Ty.path "u16" ], + [ + Ty.apply + (Ty.path "core::ops::range::RangeTo") + [ Ty.path "usize" ] + ], + "index_mut", [] |), - [ M.read (| p |); Value.UnicodeChar 58 ] + [ + tail; + Value.StructRecord + "core::ops::range::RangeTo" + [ ("end_", M.read (| limit |)) ] + ] |) ] |) @@ -2635,197 +2755,105 @@ Module net. fun γ => ltac:(M.monadic (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| γ, 1 |) in + let tail_size := M.copy (| γ0_0 |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ Ty.path "u16" ], + "copy_from_slice", + [] + |), + [ M.call_closure (| M.get_trait_method (| - "core::ops::try_trait::FromResidual", + "core::ops::index::IndexMut", Ty.apply - (Ty.path "core::option::Option") + (Ty.path "array") + [ Ty.path "u16" ], + [ + Ty.apply + (Ty.path + "core::ops::range::Range") + [ Ty.path "usize" ] + ], + "index_mut", + [] + |), + [ + head; + Value.StructRecord + "core::ops::range::Range" [ - Ty.path - "core::net::ip_addr::Ipv6Addr" - ], + ("start", + BinOp.Wrap.sub + Integer.Usize + (Value.Integer 8) + (M.read (| tail_size |))); + ("end_", Value.Integer 8) + ] + ] + |); + M.call_closure (| + M.get_trait_method (| + "core::ops::index::Index", + Ty.apply + (Ty.path "array") + [ Ty.path "u16" ], [ Ty.apply - (Ty.path "core::option::Option") - [ - Ty.path - "core::convert::Infallible" - ] + (Ty.path + "core::ops::range::RangeTo") + [ Ty.path "usize" ] ], - "from_residual", + "index", [] |), - [ M.read (| residual |) ] + [ + tail; + Value.StructRecord + "core::ops::range::RangeTo" + [ ("end_", M.read (| tail_size |)) + ] + ] |) - |) + ] |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ tail := M.alloc (| repeat (Value.Integer 0) 7 |) in - let~ limit := - M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 8) - (BinOp.Wrap.add - Integer.Usize - (M.read (| head_size |)) - (Value.Integer 1)) - |) in - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Self, - "read_groups.read_ipv6_addr", - [] - |), - [ - M.read (| p |); - M.call_closure (| - M.get_trait_method (| - "core::ops::index::IndexMut", - Ty.apply (Ty.path "array") [ Ty.path "u16" ], - [ - Ty.apply - (Ty.path "core::ops::range::RangeTo") - [ Ty.path "usize" ] - ], - "index_mut", - [] - |), - [ - tail; - Value.StructRecord - "core::ops::range::RangeTo" - [ ("end_", M.read (| limit |)) ] - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| γ, 1 |) in - let tail_size := M.copy (| γ0_0 |) in - let~ _ := M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ Ty.path "u16" ], - "copy_from_slice", - [] - |), + Value.StructTuple + "core::option::Option::Some" [ M.call_closure (| M.get_trait_method (| - "core::ops::index::IndexMut", - Ty.apply - (Ty.path "array") - [ Ty.path "u16" ], - [ - Ty.apply - (Ty.path - "core::ops::range::Range") - [ Ty.path "usize" ] - ], - "index_mut", - [] - |), - [ - head; - Value.StructRecord - "core::ops::range::Range" - [ - ("start", - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 8) - (M.read (| tail_size |))); - ("end_", Value.Integer 8) - ] - ] - |); - M.call_closure (| - M.get_trait_method (| - "core::ops::index::Index", + "core::convert::Into", Ty.apply (Ty.path "array") [ Ty.path "u16" ], [ - Ty.apply - (Ty.path - "core::ops::range::RangeTo") - [ Ty.path "usize" ] + Ty.path + "core::net::ip_addr::Ipv6Addr" ], - "index", + "into", [] |), - [ - tail; - Value.StructRecord - "core::ops::range::RangeTo" - [ ("end_", M.read (| tail_size |)) ] - ] + [ M.read (| head |) ] |) ] - |) - |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.apply - (Ty.path "array") - [ Ty.path "u16" ], - [ Ty.path "core::net::ip_addr::Ipv6Addr" - ], - "into", - [] - |), - [ M.read (| head |) ] - |) - ] - |))) - ] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2888,39 +2916,40 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::net::ip_addr::Ipv6Addr" ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::net::ip_addr::Ipv6Addr" ], + "map", + [ + Ty.path "core::net::ip_addr::IpAddr"; + Ty.function + [ Ty.path "core::net::ip_addr::Ipv6Addr" ] + (Ty.path "core::net::ip_addr::IpAddr") + ] + |), [ - Ty.path "core::net::ip_addr::IpAddr"; - Ty.function - [ Ty.path "core::net::ip_addr::Ipv6Addr" ] - (Ty.path "core::net::ip_addr::IpAddr") + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_ipv6_addr", + [] + |), + [ M.read (| self |) ] + |); + M.constructor_as_closure "core::net::ip_addr::IpAddr::V6" ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_ipv6_addr", - [] - |), - [ M.read (| self |) ] - |); - M.constructor_as_closure "core::net::ip_addr::IpAddr::V6" - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2962,103 +2991,105 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.tuple [] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_given_char", - [] - |), - [ M.read (| p |); Value.UnicodeChar 58 ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "u16" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.read (| + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.tuple [] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_given_char", + [] + |), + [ M.read (| p |); Value.UnicodeChar 58 ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ Ty.path "u16" ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_number", - [ Ty.path "u16" ] - |), - [ - M.read (| p |); - Value.Integer 10; - Value.StructTuple "core::option::Option::None" []; - Value.Bool true - ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_number", + [ Ty.path "u16" ] + |), + [ + M.read (| p |); + Value.Integer 10; + Value.StructTuple "core::option::Option::None" []; + Value.Bool true + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3099,103 +3130,105 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.tuple [] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_given_char", - [] - |), - [ M.read (| p |); Value.UnicodeChar 37 ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "u32" ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.read (| + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.tuple [] ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_given_char", + [] + |), + [ M.read (| p |); Value.UnicodeChar 37 ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ Ty.path "u32" ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_number", - [ Ty.path "u32" ] - |), - [ - M.read (| p |); - Value.Integer 10; - Value.StructTuple "core::option::Option::None" []; - Value.Bool true - ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_number", + [ Ty.path "u32" ] + |), + [ + M.read (| p |); + Value.Integer 10; + Value.StructTuple "core::option::Option::None" []; + Value.Bool true + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3240,185 +3273,190 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.read (| - let~ ip := - M.copy (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::net::ip_addr::Ipv4Addr" ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_ipv4_addr", - [] - |), - [ M.read (| p |) ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.read (| + let~ ip := + M.copy (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::net::ip_addr::Ipv4Addr" ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_ipv4_addr", + [] + |), + [ M.read (| p |) ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::net::socket_addr::SocketAddrV4" + ], [ - Ty.path - "core::net::socket_addr::SocketAddrV4" + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] ], - [ - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) + |) in + let~ port := + M.copy (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "u16" ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_port", + [] + |), + [ M.read (| p |) ] |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) - |) in - let~ port := - M.copy (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "u16" ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_port", - [] - |), - [ M.read (| p |) ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.path - "core::net::socket_addr::SocketAddrV4" - ], - [ + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ + Ty.path + "core::net::socket_addr::SocketAddrV4" + ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) - |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::socket_addr::SocketAddrV4", - "new", - [] - |), - [ M.read (| ip |); M.read (| port |) ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::socket_addr::SocketAddrV4", + "new", + [] + |), + [ M.read (| ip |); M.read (| port |) ] + |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3467,89 +3505,15 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.tuple [] ], - [], - "branch", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_given_char", - [] - |), - [ M.read (| p |); Value.UnicodeChar 91 ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.path - "core::net::socket_addr::SocketAddrV6" - ], - [ - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ ip := - M.copy (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.read (| + let~ _ := M.match_operator (| M.alloc (| M.call_closure (| @@ -3557,7 +3521,7 @@ Module net. "core::ops::try_trait::Try", Ty.apply (Ty.path "core::option::Option") - [ Ty.path "core::net::ip_addr::Ipv6Addr" ], + [ Ty.tuple [] ], [], "branch", [] @@ -3566,10 +3530,10 @@ Module net. M.call_closure (| M.get_associated_function (| Ty.path "core::net::parser::Parser", - "read_ipv6_addr", + "read_given_char", [] |), - [ M.read (| p |) ] + [ M.read (| p |); Value.UnicodeChar 91 ] |) ] |) @@ -3600,130 +3564,133 @@ Module net. [ Ty.apply (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" - ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] + [ Ty.path "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) in + let~ ip := + M.copy (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::net::ip_addr::Ipv6Addr" ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_ipv6_addr", + [] + |), + [ M.read (| p |) ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::net::socket_addr::SocketAddrV6" + ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) |) |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) - |) in - let~ scope_id := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "u32" ], - "unwrap_or", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_scope_id", - [] - |), - [ M.read (| p |) ] - |); - Value.Integer 0 - ] - |) - |) in - let~ _ := - M.match_operator (| + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) + ] + |) + |) in + let~ scope_id := M.alloc (| M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", + M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") - [ Ty.tuple [] ], - [], - "branch", + [ Ty.path "u32" ], + "unwrap_or", [] |), [ M.call_closure (| M.get_associated_function (| Ty.path "core::net::parser::Parser", - "read_given_char", + "read_scope_id", [] |), - [ M.read (| p |); Value.UnicodeChar 93 ] - |) + [ M.read (| p |) ] + |); + Value.Integer 0 ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let residual := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.path - "core::net::socket_addr::SocketAddrV6" - ], - [ - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" ] - ], - "from_residual", - [] - |), - [ M.read (| residual |) ] - |) - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let val := M.copy (| γ0_0 |) in - val)) - ] - |) in - let~ port := - M.copy (| + |) in + let~ _ := M.match_operator (| M.alloc (| M.call_closure (| @@ -3731,7 +3698,7 @@ Module net. "core::ops::try_trait::Try", Ty.apply (Ty.path "core::option::Option") - [ Ty.path "u16" ], + [ Ty.tuple [] ], [], "branch", [] @@ -3740,10 +3707,10 @@ Module net. M.call_closure (| M.get_associated_function (| Ty.path "core::net::parser::Parser", - "read_port", + "read_given_char", [] |), - [ M.read (| p |) ] + [ M.read (| p |); Value.UnicodeChar 93 ] |) ] |) @@ -3797,31 +3764,109 @@ Module net. let val := M.copy (| γ0_0 |) in val)) ] - |) - |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::socket_addr::SocketAddrV6", - "new", - [] + |) in + let~ port := + M.copy (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "u16" ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_port", + [] + |), + [ M.read (| p |) ] + |) + ] + |) |), [ - M.read (| ip |); - M.read (| port |); - Value.Integer 0; - M.read (| scope_id |) + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let residual := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::net::socket_addr::SocketAddrV6" + ], + [ + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "core::convert::Infallible" + ] + ], + "from_residual", + [] + |), + [ M.read (| residual |) ] + |) + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let val := M.copy (| γ0_0 |) in + val)) ] |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::socket_addr::SocketAddrV6", + "new", + [] + |), + [ + M.read (| ip |); + M.read (| port |); + Value.Integer 0; + M.read (| scope_id |) + ] + |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3888,40 +3933,41 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::net::socket_addr::SocketAddrV6" ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::net::socket_addr::SocketAddrV6" ], + "map", + [ + Ty.path "core::net::socket_addr::SocketAddr"; + Ty.function + [ Ty.path "core::net::socket_addr::SocketAddrV6" ] + (Ty.path "core::net::socket_addr::SocketAddr") + ] + |), [ - Ty.path "core::net::socket_addr::SocketAddr"; - Ty.function - [ Ty.path "core::net::socket_addr::SocketAddrV6" ] - (Ty.path "core::net::socket_addr::SocketAddr") + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_socket_addr_v6", + [] + |), + [ M.read (| self |) ] + |); + M.constructor_as_closure + "core::net::socket_addr::SocketAddr::V6" ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_socket_addr_v6", - [] - |), - [ M.read (| self |) ] - |); - M.constructor_as_closure - "core::net::socket_addr::SocketAddr::V6" - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3971,23 +4017,24 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_ip_addr", - [] - |), - [ M.read (| p |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_ip_addr", + [] + |), + [ M.read (| p |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); Value.StructTuple "core::net::parser::AddrKind::Ip" [] ] @@ -4126,23 +4173,24 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_ipv4_addr", - [] - |), - [ M.read (| p |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_ipv4_addr", + [] + |), + [ M.read (| p |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); Value.StructTuple "core::net::parser::AddrKind::Ipv4" [] ] @@ -4237,23 +4285,24 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_ipv6_addr", - [] - |), - [ M.read (| p |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_ipv6_addr", + [] + |), + [ M.read (| p |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); Value.StructTuple "core::net::parser::AddrKind::Ipv6" [] ] @@ -4344,23 +4393,24 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_socket_addr_v4", - [] - |), - [ M.read (| p |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_socket_addr_v4", + [] + |), + [ M.read (| p |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); Value.StructTuple "core::net::parser::AddrKind::SocketV4" [] ] @@ -4451,23 +4501,24 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_socket_addr_v6", - [] - |), - [ M.read (| p |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_socket_addr_v6", + [] + |), + [ M.read (| p |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); Value.StructTuple "core::net::parser::AddrKind::SocketV6" [] ] @@ -4558,23 +4609,24 @@ Module net. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::net::parser::Parser", - "read_socket_addr", - [] - |), - [ M.read (| p |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::net::parser::Parser", + "read_socket_addr", + [] + |), + [ M.read (| p |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)); Value.StructTuple "core::net::parser::AddrKind::Socket" [] ] diff --git a/CoqOfRust/core/num/bignum.v b/CoqOfRust/core/num/bignum.v index 53a14e596..acb953afb 100644 --- a/CoqOfRust/core/num/bignum.v +++ b/CoqOfRust/core/num/bignum.v @@ -703,17 +703,18 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let v := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| v |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let v := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| v |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -784,17 +785,18 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1909,19 +1911,20 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let v := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| v |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let v := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| v |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -3645,19 +3648,20 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let d := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| d |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let d := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| d |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -3774,19 +3778,20 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let d := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| d |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let d := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| d |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -4959,17 +4964,18 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let v := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| v |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let v := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| v |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -5040,17 +5046,18 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6180,19 +6187,20 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let v := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| v |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let v := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| v |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -7946,19 +7954,20 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let d := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| d |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let d := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| d |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -8076,19 +8085,20 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let d := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| d |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let d := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| d |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) diff --git a/CoqOfRust/core/num/dec2flt/decimal.v b/CoqOfRust/core/num/dec2flt/decimal.v index 3b8e97d34..c3a761dfa 100644 --- a/CoqOfRust/core/num/dec2flt/decimal.v +++ b/CoqOfRust/core/num/dec2flt/decimal.v @@ -140,7 +140,9 @@ Module num. (* pub const MAX_DIGITS: usize = 768; *) (* Ty.path "usize" *) Definition value_MAX_DIGITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 768 |))). + M.run + ltac:(M.monadic + (* thir failed to compile: Any { .. } *) (M.alloc (| Value.Tuple [] |))). Axiom AssociatedConstant_value_MAX_DIGITS : M.IsAssociatedConstant Self "value_MAX_DIGITS" value_MAX_DIGITS. @@ -2054,23 +2056,24 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let digit := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::dec2flt::decimal::Decimal", - "try_add_digit", - [] - |), - [ d; M.read (| digit |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let digit := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "try_add_digit", + [] + |), + [ d; M.read (| digit |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2398,23 +2401,25 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let digit := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "core::num::dec2flt::decimal::Decimal", - "try_add_digit", - [] - |), - [ d; M.read (| digit |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let digit := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::num::dec2flt::decimal::Decimal", + "try_add_digit", + [] + |), + [ d; M.read (| digit |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2914,52 +2919,53 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let digit := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.lt - (M.read (| exp_num |)) - (Value.Integer 65536) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.write (| - exp_num, - BinOp.Wrap.add - Integer.I32 - (BinOp.Wrap.mul + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let digit := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.lt + (M.read (| exp_num |)) + (Value.Integer 65536) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.write (| + exp_num, + BinOp.Wrap.add Integer.I32 - (Value.Integer 10) - (M.read (| exp_num |))) - (M.rust_cast - (M.read (| digit |))) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + (BinOp.Wrap.mul + Integer.I32 + (Value.Integer 10) + (M.read (| exp_num |))) + (M.rust_cast + (M.read (| digit |))) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/num/dec2flt/parse.v b/CoqOfRust/core/num/dec2flt/parse.v index c07f11e91..93367f944 100644 --- a/CoqOfRust/core/num/dec2flt/parse.v +++ b/CoqOfRust/core/num/dec2flt/parse.v @@ -274,40 +274,41 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let digit := M.copy (| γ |) in - M.read (| - let~ _ := - M.write (| - x, - M.call_closure (| - M.get_associated_function (| - Ty.path "u64", - "wrapping_add", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "u64", - "wrapping_mul", - [] - |), - [ M.read (| x |); Value.Integer 10 ] - |); - M.rust_cast (M.read (| digit |)) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let digit := M.copy (| γ |) in + M.read (| + let~ _ := + M.write (| + x, + M.call_closure (| + M.get_associated_function (| + Ty.path "u64", + "wrapping_add", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "u64", + "wrapping_mul", + [] + |), + [ M.read (| x |); Value.Integer 10 ] + |); + M.rust_cast (M.read (| digit |)) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -632,51 +633,52 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let digit := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.lt - (M.read (| exponent |)) - (Value.Integer 65536) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.write (| - exponent, - BinOp.Wrap.add - Integer.I64 - (BinOp.Wrap.mul + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let digit := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.lt + (M.read (| exponent |)) + (Value.Integer 65536) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.write (| + exponent, + BinOp.Wrap.add Integer.I64 - (Value.Integer 10) - (M.read (| exponent |))) - (M.rust_cast (M.read (| digit |))) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + (BinOp.Wrap.mul + Integer.I64 + (Value.Integer 10) + (M.read (| exponent |))) + (M.rust_cast (M.read (| digit |))) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/num/dec2flt/slow.v b/CoqOfRust/core/num/dec2flt/slow.v index 5026c16bf..41be7666a 100644 --- a/CoqOfRust/core/num/dec2flt/slow.v +++ b/CoqOfRust/core/num/dec2flt/slow.v @@ -105,56 +105,57 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let n := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.lt - (M.read (| n |)) - (M.read (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let n := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.lt + (M.read (| n |)) + (M.read (| + M.get_constant (| + "core::num::dec2flt::slow::parse_long_mantissa::NUM_POWERS" + |) + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.rust_cast + (M.read (| + M.SubPointer.get_array_field (| M.get_constant (| - "core::num::dec2flt::slow::parse_long_mantissa::NUM_POWERS" - |) - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.rust_cast - (M.read (| - M.SubPointer.get_array_field (| - M.get_constant (| - "core::num::dec2flt::slow::parse_long_mantissa::POWERS" - |), - n - |) - |)) - |))); - fun γ => - ltac:(M.monadic - (M.get_constant (| - "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT" - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + "core::num::dec2flt::slow::parse_long_mantissa::POWERS" + |), + n + |) + |)) + |))); + fun γ => + ltac:(M.monadic + (M.get_constant (| + "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT" + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ fp_zero := @@ -496,8 +497,11 @@ Module num. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Integer 2 |) - | _ => M.impossible (||) + | [] => + ltac:(M.monadic + (M.alloc (| Value.Integer 2 |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/core/num/flt2dec/mod.v b/CoqOfRust/core/num/flt2dec/mod.v index 1474ff924..afba329aa 100644 --- a/CoqOfRust/core/num/flt2dec/mod.v +++ b/CoqOfRust/core/num/flt2dec/mod.v @@ -68,19 +68,20 @@ Module num. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let c := M.copy (| γ |) in - BinOp.Pure.ne - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let c := M.copy (| γ |) in + BinOp.Pure.ne + (M.read (| c |)) + (M.read (| UnsupportedLiteral |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/num/mod.v b/CoqOfRust/core/num/mod.v index 81d0c35c8..9fc6d18c5 100644 --- a/CoqOfRust/core/num/mod.v +++ b/CoqOfRust/core/num/mod.v @@ -34457,8 +34457,8 @@ Module num. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -34793,8 +34793,8 @@ Module num. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -34840,8 +34840,8 @@ Module num. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -58108,63 +58108,64 @@ Module num. ltac:(M.monadic match γ with | [] => - let γ := + ltac:(M.monadic + (let γ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + "is_empty", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::index::Index", + Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + [ + Ty.apply + (Ty.path "core::ops::range::RangeFrom") + [ Ty.path "usize" ] + ], + "index", + [] + |), + [ + M.read (| src |); + Value.StructRecord + "core::ops::range::RangeFrom" + [ ("start", Value.Integer 1) ] + ] + |) + ] + |) + |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ Ty.path "u8" ], - "is_empty", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::index::Index", - Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + M.never_to_any (| + M.read (| + M.return_ (| + Value.StructTuple + "core::result::Result::Err" [ - Ty.apply - (Ty.path "core::ops::range::RangeFrom") - [ Ty.path "usize" ] - ], - "index", - [] - |), - [ - M.read (| src |); - Value.StructRecord - "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] - ] + Value.StructRecord + "core::num::error::ParseIntError" + [ + ("kind", + Value.StructTuple + "core::num::error::IntErrorKind::InvalidDigit" + []) + ] + ] |) - ] - |) - |) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - Value.StructTuple - "core::result::Result::Err" - [ - Value.StructRecord - "core::num::error::ParseIntError" - [ - ("kind", - Value.StructTuple - "core::num::error::IntErrorKind::InvalidDigit" - []) - ] - ] |) |) - |) - |) - | _ => M.impossible (||) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -59064,26 +59065,28 @@ Module num. with | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), - [ - fun - γ => - ltac:(M.monadic - (Value.StructRecord - "core::num::error::ParseIntError" - [ - ("kind", - Value.StructTuple - "core::num::error::IntErrorKind::PosOverflow" - []) - ])) - ] - |) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (Value.StructRecord + "core::num::error::ParseIntError" + [ + ("kind", + Value.StructTuple + "core::num::error::IntErrorKind::PosOverflow" + []) + ])) + ] + |))) | _ => - M.impossible (||) + ltac:(M.monadic + (M.impossible (||))) end)) ] |) @@ -59223,26 +59226,28 @@ Module num. with | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), - [ - fun - γ => - ltac:(M.monadic - (Value.StructRecord - "core::num::error::ParseIntError" - [ - ("kind", - Value.StructTuple - "core::num::error::IntErrorKind::PosOverflow" - []) - ])) - ] - |) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (Value.StructRecord + "core::num::error::ParseIntError" + [ + ("kind", + Value.StructTuple + "core::num::error::IntErrorKind::PosOverflow" + []) + ])) + ] + |))) | _ => - M.impossible (||) + ltac:(M.monadic + (M.impossible (||))) end)) ] |) @@ -59584,26 +59589,28 @@ Module num. with | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), - [ - fun - γ => - ltac:(M.monadic - (Value.StructRecord - "core::num::error::ParseIntError" - [ - ("kind", - Value.StructTuple - "core::num::error::IntErrorKind::NegOverflow" - []) - ])) - ] - |) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (Value.StructRecord + "core::num::error::ParseIntError" + [ + ("kind", + Value.StructTuple + "core::num::error::IntErrorKind::NegOverflow" + []) + ])) + ] + |))) | _ => - M.impossible (||) + ltac:(M.monadic + (M.impossible (||))) end)) ] |) @@ -59743,26 +59750,28 @@ Module num. with | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), - [ - fun - γ => - ltac:(M.monadic - (Value.StructRecord - "core::num::error::ParseIntError" - [ - ("kind", - Value.StructTuple - "core::num::error::IntErrorKind::NegOverflow" - []) - ])) - ] - |) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (Value.StructRecord + "core::num::error::ParseIntError" + [ + ("kind", + Value.StructTuple + "core::num::error::IntErrorKind::NegOverflow" + []) + ])) + ] + |))) | _ => - M.impossible (||) + ltac:(M.monadic + (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/ops/links/function.v b/CoqOfRust/core/ops/links/function.v new file mode 100644 index 000000000..a7d871356 --- /dev/null +++ b/CoqOfRust/core/ops/links/function.v @@ -0,0 +1,33 @@ +Require Import CoqOfRust.CoqOfRust. +Require Import links.M. +Require Import core.ops.function. + +Import Run. + +(* + pub trait FnOnce { + type Output; + + // Required method + extern "rust-call" fn call_once(self, args: Args) -> Self::Output; + } +*) +Module FnOnce. + Definition Run_call_once (Self Args : Set) {Output : Set} + (Self_ty Args_ty : Ty.t) + `{ToValue Self} `{ToValue Args} `{ToValue Output} : Set := + {call_once @ + IsTraitMethod.t "core::ops::function::FnOnce" Self_ty [ Args_ty ] "call_once" call_once * + forall (self : Self) (args : Args), + {{ + call_once [] [ φ self; φ args ] ⇓ + fun (v : Output) => inl (φ v) + }} + }. + + Record Run (Self Args : Set) {Output : Set} + (Self_ty Args_ty : Ty.t) + `{ToValue Self} `{ToValue Args} `{ToValue Output} : Set := { + call_once : Run_call_once Self Args (Output := Output) Self_ty Args_ty; + }. +End FnOnce. diff --git a/CoqOfRust/core/ops/try_trait.v b/CoqOfRust/core/ops/try_trait.v index 3ba41ef93..7098c1824 100644 --- a/CoqOfRust/core/ops/try_trait.v +++ b/CoqOfRust/core/ops/try_trait.v @@ -71,29 +71,30 @@ Module ops. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - Value.StructTuple - "core::ops::try_trait::NeverShortCircuit" - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_A__arrow_T, - [ Ty.tuple [ A ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| a |) ] ] - |) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + Value.StructTuple + "core::ops::try_trait::NeverShortCircuit" + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_A__arrow_T, + [ Ty.tuple [ A ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| a |) ] ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. @@ -118,37 +119,38 @@ Module ops. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - Value.StructTuple - "core::ops::try_trait::NeverShortCircuit" - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - impl_FnMut_A__B__arrow_T, - [ Ty.tuple [ A; B ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| a |); M.read (| b |) ] ] - |) - ])) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + Value.StructTuple + "core::ops::try_trait::NeverShortCircuit" + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + impl_FnMut_A__B__arrow_T, + [ Ty.tuple [ A; B ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| a |); M.read (| b |) ] ] + |) + ])) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)))) | _, _ => M.impossible end. diff --git a/CoqOfRust/core/option.v b/CoqOfRust/core/option.v index d86f14e17..501245ae1 100644 --- a/CoqOfRust/core/option.v +++ b/CoqOfRust/core/option.v @@ -4629,18 +4629,19 @@ Module option. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_function (| "core::ptr::null_mut", [ T ] |), - [] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_function (| "core::ptr::null_mut", [ T ] |), + [] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -4678,18 +4679,19 @@ Module option. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_function (| "core::ptr::null_mut", [ T ] |), - [] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_function (| "core::ptr::null_mut", [ T ] |), + [] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)))) @@ -4737,16 +4739,17 @@ Module option. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.rust_cast (M.read (| x |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.rust_cast (M.read (| x |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -4767,16 +4770,17 @@ Module option. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.rust_cast (M.read (| x |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.rust_cast (M.read (| x |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)))) @@ -5839,32 +5843,33 @@ Module option. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::GenericShunt") - [ - Ty.associated; - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::convert::Infallible" ] - ], - [], - "collect", - [ V ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::iter::adapters::GenericShunt") + [ + Ty.associated; + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::convert::Infallible" ] + ], + [], + "collect", + [ V ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/panic/unwind_safe.v b/CoqOfRust/core/panic/unwind_safe.v index df633992e..445a5bfc2 100644 --- a/CoqOfRust/core/panic/unwind_safe.v +++ b/CoqOfRust/core/panic/unwind_safe.v @@ -538,20 +538,21 @@ Module panic. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.SubPointer.get_struct_tuple_field (| - M.read (| x |), - "core::panic::unwind_safe::AssertUnwindSafe", - 0 - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.SubPointer.get_struct_tuple_field (| + M.read (| x |), + "core::panic::unwind_safe::AssertUnwindSafe", + 0 + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -640,20 +641,21 @@ Module panic. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.SubPointer.get_struct_tuple_field (| - M.read (| x |), - "core::panic::unwind_safe::AssertUnwindSafe", - 0 - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.SubPointer.get_struct_tuple_field (| + M.read (| x |), + "core::panic::unwind_safe::AssertUnwindSafe", + 0 + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/core/ptr/alignment.v b/CoqOfRust/core/ptr/alignment.v index c99125d49..9bc6391e1 100644 --- a/CoqOfRust/core/ptr/alignment.v +++ b/CoqOfRust/core/ptr/alignment.v @@ -185,12 +185,7 @@ Module ptr. (* Ty.path "core::ptr::alignment::Alignment" *) Definition value_MIN : Value.t := M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::ptr::alignment::Alignment" - [ Value.StructTuple "core::ptr::alignment::AlignmentEnum64::_Align1Shl0" [] ] - |))). + ltac:(M.monadic (* thir failed to compile: Any { .. } *) (M.alloc (| Value.Tuple [] |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. diff --git a/CoqOfRust/core/result.v b/CoqOfRust/core/result.v index e8c7abe6b..7aacd0352 100644 --- a/CoqOfRust/core/result.v +++ b/CoqOfRust/core/result.v @@ -1320,25 +1320,26 @@ Module result. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let t := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - T, - [], - "deref", - [] - |), - [ M.read (| t |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let t := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + T, + [], + "deref", + [] + |), + [ M.read (| t |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1390,25 +1391,26 @@ Module result. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let t := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - T, - [], - "deref_mut", - [] - |), - [ M.read (| t |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let t := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + T, + [], + "deref_mut", + [] + |), + [ M.read (| t |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2371,17 +2373,18 @@ Module result. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let t := M.copy (| γ |) in - M.read (| t |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let t := M.copy (| γ |) in + M.read (| t |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2419,19 +2422,20 @@ Module result. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let t := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), - [ M.read (| t |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let t := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), + [ M.read (| t |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2474,17 +2478,18 @@ Module result. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let t := M.copy (| γ |) in - M.read (| t |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let t := M.copy (| γ |) in + M.read (| t |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2522,19 +2527,20 @@ Module result. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let t := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), - [ M.read (| t |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let t := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), + [ M.read (| t |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3858,32 +3864,33 @@ Module result. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::GenericShunt") - [ - Ty.associated; - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "core::convert::Infallible"; E ] - ], - [], - "collect", - [ V ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::iter::adapters::GenericShunt") + [ + Ty.associated; + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "core::convert::Infallible"; E ] + ], + [], + "collect", + [ V ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/slice/ascii.v b/CoqOfRust/core/slice/ascii.v index 968e23e66..456f8945d 100644 --- a/CoqOfRust/core/slice/ascii.v +++ b/CoqOfRust/core/slice/ascii.v @@ -182,26 +182,27 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let a := M.copy (| γ0_0 |) in - let b := M.copy (| γ0_1 |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "u8", - "eq_ignore_ascii_case", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let a := M.copy (| γ0_0 |) in + let b := M.copy (| γ0_1 |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "u8", + "eq_ignore_ascii_case", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1038,25 +1039,26 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Write", - Ty.path "core::fmt::Formatter", - [], - "write_char", - [] - |), - [ M.read (| f |); M.rust_cast (M.read (| b |)) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Write", + Ty.path "core::fmt::Formatter", + [], + "write_char", + [] + |), + [ M.read (| f |); M.rust_cast (M.read (| b |)) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1794,10 +1796,13 @@ Module slice. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.Bool true - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.Bool true + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/core/slice/cmp.v b/CoqOfRust/core/slice/cmp.v index d8d7592d4..850a57ff1 100644 --- a/CoqOfRust/core/slice/cmp.v +++ b/CoqOfRust/core/slice/cmp.v @@ -289,28 +289,29 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let x := M.copy (| γ0_0 |) in - let y := M.copy (| γ0_1 |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.apply (Ty.path "&") [ A ], - [ Ty.apply (Ty.path "&") [ B ] ], - "eq", - [] - |), - [ x; y ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let x := M.copy (| γ0_0 |) in + let y := M.copy (| γ0_1 |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.apply (Ty.path "&") [ A ], + [ Ty.apply (Ty.path "&") [ B ] ], + "eq", + [] + |), + [ x; y ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1401,25 +1402,26 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let y := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - T, - [ T ], - "eq", - [] - |), - [ M.read (| y |); M.read (| self |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let y := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + T, + [ T ], + "eq", + [] + |), + [ M.read (| y |); M.read (| self |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/slice/index.v b/CoqOfRust/core/slice/index.v index 2256702ed..d21b62d66 100644 --- a/CoqOfRust/core/slice/index.v +++ b/CoqOfRust/core/slice/index.v @@ -4203,23 +4203,24 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::slice::index::slice_start_index_overflow_fail", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::slice::index::slice_start_index_overflow_fail", + [] + |), [] - |), - [] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4275,23 +4276,24 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::slice::index::slice_end_index_overflow_fail", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::slice::index::slice_end_index_overflow_fail", + [] + |), [] - |), - [] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4853,23 +4855,24 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::slice::index::slice_start_index_overflow_fail", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::slice::index::slice_start_index_overflow_fail", + [] + |), [] - |), - [] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4917,23 +4920,24 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::slice::index::slice_end_index_overflow_fail", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::slice::index::slice_end_index_overflow_fail", + [] + |), [] - |), - [] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/slice/iter.v b/CoqOfRust/core/slice/iter.v index fd812a23c..e6c133192 100644 --- a/CoqOfRust/core/slice/iter.v +++ b/CoqOfRust/core/slice/iter.v @@ -1252,32 +1252,33 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::slice::iter::Split", - "pred" - |); - Value.Tuple [ M.read (| x |) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::slice::iter::Split", + "pred" + |); + Value.Tuple [ M.read (| x |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1566,32 +1567,33 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::slice::iter::Split", - "pred" - |); - Value.Tuple [ M.read (| x |) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::slice::iter::Split", + "pred" + |); + Value.Tuple [ M.read (| x |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2108,32 +2110,34 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::slice::iter::SplitInclusive", - "pred" - |); - Value.Tuple [ M.read (| x |) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::slice::iter::SplitInclusive", + "pred" + |); + Value.Tuple [ M.read (| x |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -2142,19 +2146,20 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (Value.Integer 1))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -2569,32 +2574,34 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::slice::iter::SplitInclusive", - "pred" - |); - Value.Tuple [ M.read (| x |) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::slice::iter::SplitInclusive", + "pred" + |); + Value.Tuple [ M.read (| x |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -2603,19 +2610,20 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (Value.Integer 1))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -3040,32 +3048,33 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::slice::iter::SplitMut", - "pred" - |); - Value.Tuple [ M.read (| x |) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::slice::iter::SplitMut", + "pred" + |); + Value.Tuple [ M.read (| x |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3371,25 +3380,27 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ M.read (| pred |); Value.Tuple [ M.read (| x |) ] ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ M.read (| pred |); Value.Tuple [ M.read (| x |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3774,25 +3785,27 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ M.read (| pred |); Value.Tuple [ M.read (| x |) ] ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ M.read (| pred |); Value.Tuple [ M.read (| x |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3823,19 +3836,20 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (Value.Integer 1))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -4234,29 +4248,32 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] - ], - "call_mut", - [] - |), - [ - M.read (| pred |); - Value.Tuple [ M.read (| x |) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ + Ty.tuple + [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ + M.read (| pred |); + Value.Tuple [ M.read (| x |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4289,19 +4306,20 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (Value.Integer 1))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -5347,31 +5365,32 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let upper := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "core::cmp::min", - [ Ty.path "usize" ] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::slice::iter::GenericSplitN", - "count" - |) - |); - M.read (| upper |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let upper := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "core::cmp::min", + [ Ty.path "usize" ] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::slice::iter::GenericSplitN", + "count" + |) + |); + M.read (| upper |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/slice/iter/macros.v b/CoqOfRust/core/slice/iter/macros.v index 0a8f02710..3d6c41c60 100644 --- a/CoqOfRust/core/slice/iter/macros.v +++ b/CoqOfRust/core/slice/iter/macros.v @@ -2641,43 +2641,44 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ Ty.apply (Ty.path "&") [ T ] ]; - Ty.apply - (Ty.path "&") - [ Ty.apply (Ty.path "&") [ T ] ] - ] - ], - "call_mut", - [] - |), - [ compare; Value.Tuple [ a; b ] ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&") + [ Ty.apply (Ty.path "&") [ T ] ]; + Ty.apply + (Ty.path "&") + [ Ty.apply (Ty.path "&") [ T ] ] + ] + ], + "call_mut", + [] + |), + [ compare; Value.Tuple [ a; b ] ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/slice/memchr.v b/CoqOfRust/core/slice/memchr.v index 9a7e4b1cb..f09962840 100644 --- a/CoqOfRust/core/slice/memchr.v +++ b/CoqOfRust/core/slice/memchr.v @@ -872,18 +872,19 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elt := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| elt |) |)) - (M.read (| x |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elt := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| M.read (| elt |) |)) + (M.read (| x |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1118,18 +1119,19 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let elt := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| elt |) |)) - (M.read (| x |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let elt := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| M.read (| elt |) |)) + (M.read (| x |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/slice/mod.v b/CoqOfRust/core/slice/mod.v index 7ec4546f4..2700c5a22 100644 --- a/CoqOfRust/core/slice/mod.v +++ b/CoqOfRust/core/slice/mod.v @@ -345,13 +345,7 @@ Module slice. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.call_closure (| - M.get_function (| - "core::ptr::metadata::metadata", - [ Ty.apply (Ty.path "slice") [ T ] ] - |), - [ M.read (| self |) ] - |))) + M.read (| (* thir failed to compile: Any { .. } *) M.alloc (| Value.Tuple [] |) |))) | _, _ => M.impossible end. @@ -5711,19 +5705,20 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let p := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::cmp::Ord", T, [], "cmp", [] |), - [ M.read (| p |); M.read (| x |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let p := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::cmp::Ord", T, [], "cmp", [] |), + [ M.read (| p |); M.read (| x |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6090,33 +6085,34 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let k := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| "core::cmp::Ord", B, [], "cmp", [] |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| k |) ] ] - |) - |); - M.read (| b |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let k := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| "core::cmp::Ord", B, [], "cmp", [] |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| k |) ] ] + |) + |); + M.read (| b |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6204,58 +6200,60 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.path "core::cmp::Ordering", - [ Ty.path "core::cmp::Ordering" ], - "eq", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.path "core::cmp::Ordering", + [ Ty.path "core::cmp::Ordering" ], + "eq", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply (Ty.path "&") [ T ]; + Ty.apply (Ty.path "&") [ T ] + ] + ], + "call_mut", + [] + |), [ - Ty.tuple - [ - Ty.apply (Ty.path "&") [ T ]; - Ty.apply (Ty.path "&") [ T ] - ] - ], - "call_mut", - [] - |), - [ - compare; - Value.Tuple [ M.read (| a |); M.read (| b |) ] - ] + compare; + Value.Tuple + [ M.read (| a |); M.read (| b |) ] + ] + |) + |); + M.alloc (| + Value.StructTuple "core::cmp::Ordering::Less" [] |) - |); - M.alloc (| - Value.StructTuple "core::cmp::Ordering::Less" [] - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6305,58 +6303,61 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialOrd", - K, - [ K ], - "lt", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| a |) ] ] - |) - |); - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| b |) ] ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialOrd", + K, + [ K ], + "lt", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| a |) ] ] + |) + |); + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| b |) ] ] + |) |) - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6446,58 +6447,59 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.path "core::cmp::Ordering", - [ Ty.path "core::cmp::Ordering" ], - "eq", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.path "core::cmp::Ordering", + [ Ty.path "core::cmp::Ordering" ], + "eq", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply (Ty.path "&") [ T ]; + Ty.apply (Ty.path "&") [ T ] + ] + ], + "call_mut", + [] + |), [ - Ty.tuple - [ - Ty.apply (Ty.path "&") [ T ]; - Ty.apply (Ty.path "&") [ T ] - ] - ], - "call_mut", - [] - |), - [ - compare; - Value.Tuple [ M.read (| a |); M.read (| b |) ] - ] + compare; + Value.Tuple [ M.read (| a |); M.read (| b |) ] + ] + |) + |); + M.alloc (| + Value.StructTuple "core::cmp::Ordering::Less" [] |) - |); - M.alloc (| - Value.StructTuple "core::cmp::Ordering::Less" [] - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6547,58 +6549,59 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialOrd", - K, - [ K ], - "lt", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| a |) ] ] - |) - |); - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ f; Value.Tuple [ M.read (| b |) ] ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialOrd", + K, + [ K ], + "lt", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| a |) ] ] + |) + |); + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], + "call_mut", + [] + |), + [ f; Value.Tuple [ M.read (| b |) ] ] + |) |) - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6640,33 +6643,34 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.apply (Ty.path "&mut") [ T ], - [ Ty.apply (Ty.path "&mut") [ T ] ], - "eq", - [] - |), - [ a; b ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.apply (Ty.path "&mut") [ T ], + [ Ty.apply (Ty.path "&mut") [ T ] ], + "eq", + [] + |), + [ a; b ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -7062,58 +7066,59 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - K, - [ K ], - "eq", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ T ] ] ], - "call_mut", - [] - |), - [ key; Value.Tuple [ M.read (| a |) ] ] - |) - |); - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ T ] ] ], - "call_mut", - [] - |), - [ key; Value.Tuple [ M.read (| b |) ] ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + K, + [ K ], + "eq", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ T ] ] ], + "call_mut", + [] + |), + [ key; Value.Tuple [ M.read (| a |) ] ] + |) + |); + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ Ty.tuple [ Ty.apply (Ty.path "&mut") [ T ] ] ], + "call_mut", + [] + |), + [ key; Value.Tuple [ M.read (| b |) ] ] + |) |) - |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8795,33 +8800,34 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialOrd", - T, - [ T ], - "partial_cmp", - [] - |), - [ M.read (| a |); M.read (| b |) ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialOrd", + T, + [ T ], + "partial_cmp", + [] + |), + [ M.read (| a |); M.read (| b |) ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -8875,55 +8881,56 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := M.SubPointer.get_slice_index (| γ, 0 |) in - let γ1_1 := M.SubPointer.get_slice_index (| γ, 1 |) in - let a := M.alloc (| γ1_0 |) in - let b := M.alloc (| γ1_1 |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "core::cmp::Ordering" ], - "map_or", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := M.SubPointer.get_slice_index (| γ, 0 |) in + let γ1_1 := M.SubPointer.get_slice_index (| γ, 1 |) in + let a := M.alloc (| γ1_0 |) in + let b := M.alloc (| γ1_1 |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "core::cmp::Ordering" ], + "map_or", + [ + Ty.path "bool"; + Ty.function [ Ty.path "core::cmp::Ordering" ] (Ty.path "bool") + ] + |), [ - Ty.path "bool"; - Ty.function [ Ty.path "core::cmp::Ordering" ] (Ty.path "bool") - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ - Ty.tuple - [ - Ty.apply (Ty.path "&") [ T ]; - Ty.apply (Ty.path "&") [ T ] - ] - ], - "call_mut", + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply (Ty.path "&") [ T ]; + Ty.apply (Ty.path "&") [ T ] + ] + ], + "call_mut", + [] + |), + [ compare; Value.Tuple [ M.read (| a |); M.read (| b |) ] ] + |); + Value.Bool false; + M.get_associated_function (| + Ty.path "core::cmp::Ordering", + "is_le", [] - |), - [ compare; Value.Tuple [ M.read (| a |); M.read (| b |) ] ] - |); - Value.Bool false; - M.get_associated_function (| - Ty.path "core::cmp::Ordering", - "is_le", - [] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -9012,51 +9019,53 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - P, - [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] ], - "call_mut", - [] - |), - [ pred; Value.Tuple [ M.read (| x |) ] ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - Value.StructTuple "core::cmp::Ordering::Less" [] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "core::cmp::Ordering::Greater" [] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + P, + [ Ty.tuple [ Ty.apply (Ty.path "&") [ T ] ] + ], + "call_mut", + [] + |), + [ pred; Value.Tuple [ M.read (| x |) ] ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple "core::cmp::Ordering::Less" [] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "core::cmp::Ordering::Greater" [] + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -9065,16 +9074,17 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.read (| i |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.read (| i |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/slice/select.v b/CoqOfRust/core/slice/select.v index 22e36fe2c..f943cde61 100644 --- a/CoqOfRust/core/slice/select.v +++ b/CoqOfRust/core/slice/select.v @@ -720,76 +720,77 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let t := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let t := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply (Ty.path "&") [ T ]; + Ty.apply (Ty.path "&") [ T ] + ] + ], + "call_mut", + [] + |), [ - Ty.tuple + M.read (| is_less |); + Value.Tuple [ - Ty.apply (Ty.path "&") [ T ]; - Ty.apply (Ty.path "&") [ T ] - ] - ], - "call_mut", - [] - |), - [ - M.read (| is_less |); - Value.Tuple - [ - M.read (| - M.SubPointer.get_tuple_field (| - t, - 1 - |) - |); - M.read (| - M.SubPointer.get_tuple_field (| - acc, - 1 + M.read (| + M.SubPointer.get_tuple_field (| + t, + 1 + |) + |); + M.read (| + M.SubPointer.get_tuple_field (| + acc, + 1 + |) |) - |) - ] - ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - t)); - fun γ => ltac:(M.monadic acc) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + t)); + fun γ => ltac:(M.monadic acc) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -798,18 +799,19 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let i := M.copy (| γ0_0 |) in - M.read (| i |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let i := M.copy (| γ0_0 |) in + M.read (| i |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -892,76 +894,77 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let t := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let t := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply (Ty.path "&") [ T ]; + Ty.apply (Ty.path "&") [ T ] + ] + ], + "call_mut", + [] + |), [ - Ty.tuple + M.read (| is_less |); + Value.Tuple [ - Ty.apply (Ty.path "&") [ T ]; - Ty.apply (Ty.path "&") [ T ] - ] - ], - "call_mut", - [] - |), - [ - M.read (| is_less |); - Value.Tuple - [ - M.read (| - M.SubPointer.get_tuple_field (| - acc, - 1 - |) - |); - M.read (| - M.SubPointer.get_tuple_field (| - t, - 1 + M.read (| + M.SubPointer.get_tuple_field (| + acc, + 1 + |) + |); + M.read (| + M.SubPointer.get_tuple_field (| + t, + 1 + |) |) - |) - ] - ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - t)); - fun γ => ltac:(M.monadic acc) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + t)); + fun γ => ltac:(M.monadic acc) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -970,18 +973,19 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let i := M.copy (| γ0_0 |) in - M.read (| i |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let i := M.copy (| γ0_0 |) in + M.read (| i |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/slice/sort.v b/CoqOfRust/core/slice/sort.v index fe39e8d2f..610c18e8f 100644 --- a/CoqOfRust/core/slice/sort.v +++ b/CoqOfRust/core/slice/sort.v @@ -1810,234 +1810,235 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let node := M.copy (| γ |) in - M.read (| - M.loop (| - ltac:(M.monadic - (let~ child := - M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let node := M.copy (| γ |) in + M.read (| + M.loop (| + ltac:(M.monadic + (let~ child := + M.alloc (| + BinOp.Wrap.add Integer.Usize - (Value.Integer 2) - (M.read (| node |))) - (Value.Integer 1) - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.ge - (M.read (| child |)) - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ T ], - "len", - [] - |), - [ M.read (| v |) ] - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.read (| M.break (||) |) - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.add - Integer.Usize + (BinOp.Wrap.mul + Integer.Usize + (Value.Integer 2) + (M.read (| node |))) + (Value.Integer 1) + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.ge (M.read (| child |)) - (Value.Integer 1)) - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ T ], - "len", - [] - |), - [ M.read (| v |) ] - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - let β := child in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.rust_cast - (M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ T ], + "len", + [] + |), + [ M.read (| v |) ] + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.read (| M.break (||) |) + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.lt + (BinOp.Wrap.add + Integer.Usize + (M.read (| child |)) + (Value.Integer 1)) + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ T ], + "len", + [] + |), + [ M.read (| v |) ] + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + let β := child in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (M.rust_cast + (M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&") + [ T ]; + Ty.apply + (Ty.path "&") + [ T ] + ] + ], + "call_mut", + [] + |), [ - Ty.tuple + is_less; + Value.Tuple [ - Ty.apply - (Ty.path "&") - [ T ]; - Ty.apply - (Ty.path "&") - [ T ] + M.SubPointer.get_array_field (| + M.read (| v |), + child + |); + M.SubPointer.get_array_field (| + M.read (| v |), + M.alloc (| + BinOp.Wrap.add + Integer.Usize + (M.read (| child |)) + (Value.Integer 1) + |) + |) ] - ], - "call_mut", - [] - |), - [ - is_less; - Value.Tuple + ] + |))) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, [ - M.SubPointer.get_array_field (| - M.read (| v |), - child - |); - M.SubPointer.get_array_field (| - M.read (| v |), - M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| child |)) - (Value.Integer 1) - |) - |) - ] - ] - |))) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, + Ty.tuple + [ + Ty.apply + (Ty.path "&") + [ T ]; + Ty.apply + (Ty.path "&") + [ T ] + ] + ], + "call_mut", + [] + |), [ - Ty.tuple + is_less; + Value.Tuple [ - Ty.apply - (Ty.path "&") - [ T ]; - Ty.apply - (Ty.path "&") - [ T ] + M.SubPointer.get_array_field (| + M.read (| v |), + node + |); + M.SubPointer.get_array_field (| + M.read (| v |), + child + |) ] - ], - "call_mut", - [] - |), - [ - is_less; - Value.Tuple - [ - M.SubPointer.get_array_field (| - M.read (| v |), - node - |); - M.SubPointer.get_array_field (| - M.read (| v |), - child - |) - ] - ] - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.read (| M.break (||) |) - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ T ], - "swap", - [] - |), - [ - M.read (| v |); - M.read (| node |); - M.read (| child |) + ] + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.read (| M.break (||) |) + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) ] - |) - |) in - let~ _ := M.write (| node, M.read (| child |) |) in - M.alloc (| Value.Tuple [] |))) - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ T ], + "swap", + [] + |), + [ + M.read (| v |); + M.read (| node |); + M.read (| child |) + ] + |) + |) in + let~ _ := M.write (| node, M.read (| child |) |) in + M.alloc (| Value.Tuple [] |))) + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -5193,115 +5194,120 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.le - (M.read (| - M.get_constant (| "core::num::BITS" |) - |)) - (Value.Integer 32) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ r := - M.alloc (| M.rust_cast (M.read (| seed |)) |) in - let~ _ := - let β := r in - M.write (| - β, - BinOp.Pure.bit_xor - (M.read (| β |)) - (BinOp.Wrap.shl - (M.read (| r |)) - (Value.Integer 13)) - |) in - let~ _ := - let β := r in - M.write (| - β, - BinOp.Pure.bit_xor - (M.read (| β |)) - (BinOp.Wrap.shr - (M.read (| r |)) - (Value.Integer 17)) - |) in - let~ _ := - let β := r in - M.write (| - β, - BinOp.Pure.bit_xor - (M.read (| β |)) - (BinOp.Wrap.shl - (M.read (| r |)) - (Value.Integer 5)) - |) in - let~ _ := - M.write (| - seed, - M.rust_cast (M.read (| r |)) - |) in - seed)); - fun γ => - ltac:(M.monadic - (let~ r := - M.alloc (| M.rust_cast (M.read (| seed |)) |) in - let~ _ := - let β := r in - M.write (| - β, - BinOp.Pure.bit_xor - (M.read (| β |)) - (BinOp.Wrap.shl - (M.read (| r |)) - (Value.Integer 13)) - |) in - let~ _ := - let β := r in - M.write (| - β, - BinOp.Pure.bit_xor - (M.read (| β |)) - (BinOp.Wrap.shr - (M.read (| r |)) - (Value.Integer 7)) - |) in - let~ _ := - let β := r in - M.write (| - β, - BinOp.Pure.bit_xor - (M.read (| β |)) - (BinOp.Wrap.shl - (M.read (| r |)) - (Value.Integer 17)) - |) in - let~ _ := - M.write (| - seed, - M.rust_cast (M.read (| r |)) - |) in - seed)) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.le + (M.read (| + M.get_constant (| "core::num::BITS" |) + |)) + (Value.Integer 32) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ r := + M.alloc (| + M.rust_cast (M.read (| seed |)) + |) in + let~ _ := + let β := r in + M.write (| + β, + BinOp.Pure.bit_xor + (M.read (| β |)) + (BinOp.Wrap.shl + (M.read (| r |)) + (Value.Integer 13)) + |) in + let~ _ := + let β := r in + M.write (| + β, + BinOp.Pure.bit_xor + (M.read (| β |)) + (BinOp.Wrap.shr + (M.read (| r |)) + (Value.Integer 17)) + |) in + let~ _ := + let β := r in + M.write (| + β, + BinOp.Pure.bit_xor + (M.read (| β |)) + (BinOp.Wrap.shl + (M.read (| r |)) + (Value.Integer 5)) + |) in + let~ _ := + M.write (| + seed, + M.rust_cast (M.read (| r |)) + |) in + seed)); + fun γ => + ltac:(M.monadic + (let~ r := + M.alloc (| + M.rust_cast (M.read (| seed |)) + |) in + let~ _ := + let β := r in + M.write (| + β, + BinOp.Pure.bit_xor + (M.read (| β |)) + (BinOp.Wrap.shl + (M.read (| r |)) + (Value.Integer 13)) + |) in + let~ _ := + let β := r in + M.write (| + β, + BinOp.Pure.bit_xor + (M.read (| β |)) + (BinOp.Wrap.shr + (M.read (| r |)) + (Value.Integer 7)) + |) in + let~ _ := + let β := r in + M.write (| + β, + BinOp.Pure.bit_xor + (M.read (| β |)) + (BinOp.Wrap.shl + (M.read (| r |)) + (Value.Integer 17)) + |) in + let~ _ := + M.write (| + seed, + M.rust_cast (M.read (| r |)) + |) in + seed)) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ modulus := @@ -5587,119 +5593,121 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - F, - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ T ]; - Ty.apply - (Ty.path "&") - [ T ] - ] - ], - "call_mut", - [] - |), - [ - M.read (| is_less |); - Value.Tuple + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + F, [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ T ], - "get_unchecked", - [ Ty.path "usize" ] - |), + Ty.tuple [ - M.read (| v |); - M.read (| - M.read (| b |) - |) - ] - |); - M.call_closure (| - M.get_associated_function (| Ty.apply - (Ty.path "slice") - [ T ], - "get_unchecked", - [ Ty.path "usize" ] - |), - [ - M.read (| v |); - M.read (| - M.read (| a |) - |) + (Ty.path "&") + [ T ]; + Ty.apply + (Ty.path "&") + [ T ] ] - |) - ] + ], + "call_mut", + [] + |), + [ + M.read (| is_less |); + Value.Tuple + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ T ], + "get_unchecked", + [ Ty.path "usize" ] + |), + [ + M.read (| v |); + M.read (| + M.read (| b |) + |) + ] + |); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ T ], + "get_unchecked", + [ Ty.path "usize" ] + |), + [ + M.read (| v |); + M.read (| + M.read (| a |) + |) + ] + |) + ] + ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::ptr::swap", + [ Ty.path "usize" ] + |), + [ M.read (| a |); M.read (| b |) ] |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::ptr::swap", - [ Ty.path "usize" ] - |), - [ M.read (| a |); M.read (| b |) ] - |) - |) in - let~ _ := - let β := swaps in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |) in + let~ _ := + let β := swaps in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (Value.Integer 1) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ sort3 := @@ -5709,31 +5717,44 @@ Module slice. ltac:(M.monadic match γ with | [ α0; α1; α2 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α2 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - Ty.function + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α2 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ]; + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ] + ] + ] + (Ty.tuple []), [ Ty.tuple [ @@ -5744,38 +5765,38 @@ Module slice. (Ty.path "&mut") [ Ty.path "usize" ] ] - ] - (Ty.tuple []), + ], + "call_mut", + [] + |), [ - Ty.tuple + sort2; + Value.Tuple [ - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ]; - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ] + M.read (| a |); + M.read (| b |) ] - ], - "call_mut", - [] - |), - [ - sort2; - Value.Tuple - [ - M.read (| a |); - M.read (| b |) - ] - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - Ty.function + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ]; + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ] + ] + ] + (Ty.tuple []), [ Ty.tuple [ @@ -5786,38 +5807,38 @@ Module slice. (Ty.path "&mut") [ Ty.path "usize" ] ] - ] - (Ty.tuple []), + ], + "call_mut", + [] + |), [ - Ty.tuple + sort2; + Value.Tuple [ - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ]; - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ] + M.read (| b |); + M.read (| c |) ] - ], - "call_mut", - [] - |), - [ - sort2; - Value.Tuple - [ - M.read (| b |); - M.read (| c |) - ] - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - Ty.function + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ]; + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ] + ] + ] + (Ty.tuple []), [ Ty.tuple [ @@ -5828,41 +5849,29 @@ Module slice. (Ty.path "&mut") [ Ty.path "usize" ] ] - ] - (Ty.tuple []), + ], + "call_mut", + [] + |), [ - Ty.tuple + sort2; + Value.Tuple [ - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ]; - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ] + M.read (| a |); + M.read (| b |) ] - ], - "call_mut", - [] - |), - [ - sort2; - Value.Tuple - [ - M.read (| a |); - M.read (| b |) - ] - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -5894,20 +5903,36 @@ Module slice. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.read (| - let~ tmp := M.copy (| M.read (| a |) |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - Ty.function + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.read (| + let~ tmp := M.copy (| M.read (| a |) |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ]; + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ]; + Ty.apply + (Ty.path "&mut") + [ Ty.path "usize" ] + ] + ] + (Ty.tuple []), [ Ty.tuple [ @@ -5921,51 +5946,36 @@ Module slice. (Ty.path "&mut") [ Ty.path "usize" ] ] - ] - (Ty.tuple []), + ], + "call_mut", + [] + |), [ - Ty.tuple + sort3; + Value.Tuple [ - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ]; - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ]; - Ty.apply - (Ty.path "&mut") - [ Ty.path "usize" ] + M.alloc (| + BinOp.Wrap.sub + Integer.Usize + (M.read (| tmp |)) + (Value.Integer 1) + |); + M.read (| a |); + M.alloc (| + BinOp.Wrap.add + Integer.Usize + (M.read (| tmp |)) + (Value.Integer 1) + |) ] - ], - "call_mut", - [] - |), - [ - sort3; - Value.Tuple - [ - M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| tmp |)) - (Value.Integer 1) - |); - M.read (| a |); - M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| tmp |)) - (Value.Integer 1) - |) - ] - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := diff --git a/CoqOfRust/core/str/count.v b/CoqOfRust/core/str/count.v index 10b84e14c..a44ce3cf9 100644 --- a/CoqOfRust/core/str/count.v +++ b/CoqOfRust/core/str/count.v @@ -1030,25 +1030,26 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ := M.read (| γ |) in - let byte := M.copy (| γ |) in - UnOp.Pure.not - (M.call_closure (| - M.get_function (| - "core::str::validations::utf8_is_cont_byte", - [] - |), - [ M.read (| byte |) ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ := M.read (| γ |) in + let byte := M.copy (| γ |) in + UnOp.Pure.not + (M.call_closure (| + M.get_function (| + "core::str::validations::utf8_is_cont_byte", + [] + |), + [ M.read (| byte |) ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/str/iter.v b/CoqOfRust/core/str/iter.v index 65f9315ef..03f3d9bc3 100644 --- a/CoqOfRust/core/str/iter.v +++ b/CoqOfRust/core/str/iter.v @@ -94,23 +94,24 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ch := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "char", - "from_u32_unchecked", - [] - |), - [ M.read (| ch |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ch := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "from_u32_unchecked", + [] + |), + [ M.read (| ch |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -462,16 +463,19 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.rust_cast (M.read (| i |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.rust_cast + (M.read (| i |)))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1271,23 +1275,24 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ch := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "char", - "from_u32_unchecked", - [] - |), - [ M.read (| ch |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ch := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "from_u32_unchecked", + [] + |), + [ M.read (| ch |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1747,52 +1752,55 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ch := M.copy (| γ |) in - M.read (| - let~ index := - M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::str::iter::CharIndices", - "front_offset" - |) - |)) - (M.call_closure (| - M.get_trait_method (| - "core::iter::traits::exact_size::ExactSizeIterator", - Ty.apply - (Ty.path "core::slice::iter::Iter") - [ Ty.path "u8" ], - [], - "len", - [] - |), - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ch := M.copy (| γ |) in + M.read (| + let~ index := + M.alloc (| + BinOp.Wrap.add + Integer.Usize + (M.read (| M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::str::iter::CharIndices", + "front_offset" + |) + |)) + (M.call_closure (| + M.get_trait_method (| + "core::iter::traits::exact_size::ExactSizeIterator", + Ty.apply + (Ty.path "core::slice::iter::Iter") + [ Ty.path "u8" ], + [], + "len", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::str::iter::CharIndices", + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::str::iter::CharIndices", + "iter" + |), + "core::str::iter::Chars", "iter" - |), - "core::str::iter::Chars", - "iter" - |) - ] - |)) - |) in - M.alloc (| Value.Tuple [ M.read (| index |); M.read (| ch |) ] |) - |))) - ] - |) - | _ => M.impossible (||) + |) + ] + |)) + |) in + M.alloc (| + Value.Tuple [ M.read (| index |); M.read (| ch |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6098,57 +6106,58 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let start := M.copy (| γ0_0 |) in - let end_ := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| start |); - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "get_unchecked", - [ - Ty.apply - (Ty.path "core::ops::range::Range") - [ Ty.path "usize" ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::str::pattern::Searcher", - Ty.associated, - [], - "haystack", - [] - |), - [ - M.SubPointer.get_struct_tuple_field (| - M.read (| self |), - "core::str::iter::MatchIndicesInternal", - 0 - |) - ] - |); - Value.StructRecord - "core::ops::range::Range" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let start := M.copy (| γ0_0 |) in + let end_ := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| start |); + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "get_unchecked", [ - ("start", M.read (| start |)); - ("end_", M.read (| end_ |)) + Ty.apply + (Ty.path "core::ops::range::Range") + [ Ty.path "usize" ] ] - ] - |) - ])) - ] - |) - | _ => M.impossible (||) + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::str::pattern::Searcher", + Ty.associated, + [], + "haystack", + [] + |), + [ + M.SubPointer.get_struct_tuple_field (| + M.read (| self |), + "core::str::iter::MatchIndicesInternal", + 0 + |) + ] + |); + Value.StructRecord + "core::ops::range::Range" + [ + ("start", M.read (| start |)); + ("end_", M.read (| end_ |)) + ] + ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6211,57 +6220,58 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let start := M.copy (| γ0_0 |) in - let end_ := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| start |); - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "get_unchecked", - [ - Ty.apply - (Ty.path "core::ops::range::Range") - [ Ty.path "usize" ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::str::pattern::Searcher", - Ty.associated, - [], - "haystack", - [] - |), - [ - M.SubPointer.get_struct_tuple_field (| - M.read (| self |), - "core::str::iter::MatchIndicesInternal", - 0 - |) - ] - |); - Value.StructRecord - "core::ops::range::Range" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let start := M.copy (| γ0_0 |) in + let end_ := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| start |); + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "get_unchecked", [ - ("start", M.read (| start |)); - ("end_", M.read (| end_ |)) + Ty.apply + (Ty.path "core::ops::range::Range") + [ Ty.path "usize" ] ] - ] - |) - ])) - ] - |) - | _ => M.impossible (||) + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::str::pattern::Searcher", + Ty.associated, + [], + "haystack", + [] + |), + [ + M.SubPointer.get_struct_tuple_field (| + M.read (| self |), + "core::str::iter::MatchIndicesInternal", + 0 + |) + ] + |); + Value.StructRecord + "core::ops::range::Range" + [ + ("start", M.read (| start |)); + ("end_", M.read (| end_ |)) + ] + ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6877,50 +6887,51 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let a := M.copy (| γ0_0 |) in - let b := M.copy (| γ0_1 |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "get_unchecked", - [ - Ty.apply - (Ty.path "core::ops::range::Range") - [ Ty.path "usize" ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::str::pattern::Searcher", - Ty.associated, - [], - "haystack", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let a := M.copy (| γ0_0 |) in + let b := M.copy (| γ0_1 |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "get_unchecked", [ - M.SubPointer.get_struct_tuple_field (| - M.read (| self |), - "core::str::iter::MatchesInternal", - 0 - |) + Ty.apply + (Ty.path "core::ops::range::Range") + [ Ty.path "usize" ] ] - |); - Value.StructRecord - "core::ops::range::Range" - [ ("start", M.read (| a |)); ("end_", M.read (| b |)) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::str::pattern::Searcher", + Ty.associated, + [], + "haystack", + [] + |), + [ + M.SubPointer.get_struct_tuple_field (| + M.read (| self |), + "core::str::iter::MatchesInternal", + 0 + |) + ] + |); + Value.StructRecord + "core::ops::range::Range" + [ ("start", M.read (| a |)); ("end_", M.read (| b |)) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6984,50 +6995,51 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let a := M.copy (| γ0_0 |) in - let b := M.copy (| γ0_1 |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "get_unchecked", - [ - Ty.apply - (Ty.path "core::ops::range::Range") - [ Ty.path "usize" ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::str::pattern::Searcher", - Ty.associated, - [], - "haystack", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let a := M.copy (| γ0_0 |) in + let b := M.copy (| γ0_1 |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "get_unchecked", [ - M.SubPointer.get_struct_tuple_field (| - M.read (| self |), - "core::str::iter::MatchesInternal", - 0 - |) + Ty.apply + (Ty.path "core::ops::range::Range") + [ Ty.path "usize" ] ] - |); - Value.StructRecord - "core::ops::range::Range" - [ ("start", M.read (| a |)); ("end_", M.read (| b |)) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::str::pattern::Searcher", + Ty.associated, + [], + "haystack", + [] + |), + [ + M.SubPointer.get_struct_tuple_field (| + M.read (| self |), + "core::str::iter::MatchesInternal", + 0 + |) + ] + |); + Value.StructRecord + "core::ops::range::Range" + [ ("start", M.read (| a |)); ("end_", M.read (| b |)) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -9139,81 +9151,82 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ch := M.copy (| γ |) in - M.read (| - let~ n := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ Ty.path "u16" ], - "len", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ch := M.copy (| γ |) in + M.read (| + let~ n := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ Ty.path "u16" ], + "len", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "encode_utf16", + [] + |), + [ + M.read (| ch |); + (* Unsize *) M.pointer_coercion buf + ] + |) + ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), [ - M.call_closure (| - M.get_associated_function (| - Ty.path "char", - "encode_utf16", - [] - |), - [ - M.read (| ch |); - (* Unsize *) M.pointer_coercion buf - ] - |) - ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.eq - (M.read (| n |)) - (Value.Integer 2) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "core::str::iter::EncodeUtf16", - "extra" - |), - M.read (| - M.SubPointer.get_array_field (| - buf, - M.alloc (| Value.Integer 1 |) + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.eq + (M.read (| n |)) + (Value.Integer 2) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "core::str::iter::EncodeUtf16", + "extra" + |), + M.read (| + M.SubPointer.get_array_field (| + buf, + M.alloc (| Value.Integer 1 |) + |) |) - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - M.SubPointer.get_array_field (| - buf, - M.alloc (| Value.Integer 0 |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + M.SubPointer.get_array_field (| + buf, + M.alloc (| Value.Integer 0 |) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -9737,25 +9750,26 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Write", - Ty.path "core::fmt::Formatter", - [], - "write_char", - [] - |), - [ M.read (| f |); M.read (| c |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Write", + Ty.path "core::fmt::Formatter", + [], + "write_char", + [] + |), + [ M.read (| f |); M.read (| c |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -10041,25 +10055,26 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Write", - Ty.path "core::fmt::Formatter", - [], - "write_char", - [] - |), - [ M.read (| f |); M.read (| c |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Write", + Ty.path "core::fmt::Formatter", + [], + "write_char", + [] + |), + [ M.read (| f |); M.read (| c |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -10301,25 +10316,26 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::fmt::Write", - Ty.path "core::fmt::Formatter", - [], - "write_char", - [] - |), - [ M.read (| f |); M.read (| c |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::fmt::Write", + Ty.path "core::fmt::Formatter", + [], + "write_char", + [] + |), + [ M.read (| f |); M.read (| c |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/str/mod.v b/CoqOfRust/core/str/mod.v index ea93b695f..36c4068db 100644 --- a/CoqOfRust/core/str/mod.v +++ b/CoqOfRust/core/str/mod.v @@ -603,15 +603,7 @@ Module str. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.call_closure (| - M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), - [ - M.call_closure (| - M.get_associated_function (| Ty.path "str", "as_bytes", [] |), - [ M.read (| self |) ] - |) - ] - |))) + M.read (| (* thir failed to compile: Any { .. } *) M.alloc (| Value.Tuple [] |) |))) | _, _ => M.impossible end. @@ -868,23 +860,24 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "u8", - "is_utf8_char_boundary", - [] - |), - [ M.read (| M.read (| b |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "u8", + "is_utf8_char_boundary", + [] + |), + [ M.read (| M.read (| b |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1037,23 +1030,24 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "u8", - "is_utf8_char_boundary", - [] - |), - [ M.read (| M.read (| b |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "u8", + "is_utf8_char_boundary", + [] + |), + [ M.read (| M.read (| b |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -1063,19 +1057,20 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let pos := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| pos |)) - (M.read (| index |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let pos := M.copy (| γ |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| pos |)) + (M.read (| index |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1100,16 +1095,7 @@ Module str. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.call_closure (| - M.get_function (| - "core::intrinsics::transmute", - [ - Ty.apply (Ty.path "&") [ Ty.path "str" ]; - Ty.apply (Ty.path "&") [ Ty.apply (Ty.path "slice") [ Ty.path "u8" ] ] - ] - |), - [ M.read (| self |) ] - |))) + M.read (| (* thir failed to compile: Any { .. } *) M.alloc (| Value.Tuple [] |) |))) | _, _ => M.impossible end. @@ -1974,18 +1960,19 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let i := M.copy (| γ0_0 |) in - M.read (| i |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let i := M.copy (| γ0_0 |) in + M.read (| i |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2050,18 +2037,19 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let i := M.copy (| γ0_0 |) in - M.read (| i |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let i := M.copy (| γ0_0 |) in + M.read (| i |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2850,19 +2838,24 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| Ty.path "char", "is_whitespace", [] |), - [ M.read (| c |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "is_whitespace", + [] + |), + [ M.read (| c |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2894,19 +2887,24 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| Ty.path "char", "is_whitespace", [] |), - [ M.read (| c |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "is_whitespace", + [] + |), + [ M.read (| c |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2938,19 +2936,24 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| Ty.path "char", "is_whitespace", [] |), - [ M.read (| c |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "is_whitespace", + [] + |), + [ M.read (| c |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3804,30 +3807,31 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let first := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "char", - "escape_debug_ext", - [] - |), - [ - M.read (| first |); - M.read (| - M.get_constant (| - "core::char::methods::ESCAPE_ALL" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let first := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "escape_debug_ext", + [] + |), + [ + M.read (| first |); + M.read (| + M.get_constant (| + "core::char::methods::ESCAPE_ALL" + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/core/str/pattern.v b/CoqOfRust/core/str/pattern.v index 4862a5213..e7fec7782 100644 --- a/CoqOfRust/core/str/pattern.v +++ b/CoqOfRust/core/str/pattern.v @@ -3378,17 +3378,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let m := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let m := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3446,17 +3447,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let m := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let m := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -3514,17 +3516,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let m := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let m := M.copy (| γ |) in + BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -6520,16 +6523,17 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.read (| s |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.read (| s |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple @@ -6574,17 +6578,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let s := M.copy (| γ |) in - M.read (| s |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let s := M.copy (| γ |) in + M.read (| s |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| self |) ] @@ -6642,17 +6647,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let s := M.copy (| γ |) in - M.read (| s |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let s := M.copy (| γ |) in + M.read (| s |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| self |) ] @@ -6707,17 +6713,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let s := M.copy (| γ |) in - M.read (| s |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let s := M.copy (| γ |) in + M.read (| s |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| self |) ] @@ -6772,17 +6779,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let s := M.copy (| γ |) in - M.read (| s |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let s := M.copy (| γ |) in + M.read (| s |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| self |) ] @@ -6840,17 +6848,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let s := M.copy (| γ |) in - M.read (| s |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let s := M.copy (| γ |) in + M.read (| s |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| self |) ] @@ -6908,17 +6917,18 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let s := M.copy (| γ |) in - M.read (| s |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let s := M.copy (| γ |) in + M.read (| s |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |); Value.Tuple [ M.read (| self |) ] @@ -10341,31 +10351,32 @@ Module str. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let b := M.copy (| γ |) in - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Pure.bit_and - (M.read (| b |)) - (Value.Integer 63))) - (M.read (| a |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let b := M.copy (| γ |) in + BinOp.Pure.bit_or + (BinOp.Wrap.shl + (Value.Integer 1) + (BinOp.Pure.bit_and + (M.read (| b |)) + (Value.Integer 63))) + (M.read (| a |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -13401,24 +13412,25 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let idx := M.copy (| γ |) in - BinOp.Pure.ne - (M.read (| - M.SubPointer.get_array_field (| - M.read (| needle |), - idx - |) - |)) - (M.read (| first_probe |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let idx := M.copy (| γ |) in + BinOp.Pure.ne + (M.read (| + M.SubPointer.get_array_field (| + M.read (| needle |), + idx + |) + |)) + (M.read (| first_probe |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -13521,39 +13533,40 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path "slice") - [ Ty.path "u8" ] - ], - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", Ty.apply (Ty.path "&") [ Ty.apply (Ty.path "slice") [ Ty.path "u8" ] - ] - ], - "eq", - [] - |), - [ c; needle ] - |))) - ] - |) - | _ => M.impossible (||) + ], + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path "slice") + [ Ty.path "u8" ] + ] + ], + "eq", + [] + |), + [ c; needle ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -13619,270 +13632,278 @@ Module str. ltac:(M.monadic match γ with | [ α0; α1; α2 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let mask := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α2 |), - [ - fun γ => - ltac:(M.monadic - (let skip := M.copy (| γ |) in - M.never_to_any (| - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.use skip in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - Value.Bool false - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ mask := M.copy (| mask |) in - let~ _ := - M.loop (| - ltac:(M.monadic - (M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.ne - (M.read (| mask |)) - (Value.Integer 0) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ trailing := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "u16", - "trailing_zeros", - [] - |), - [ M.read (| mask |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let mask := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α2 |), + [ + fun γ => + ltac:(M.monadic + (let skip := M.copy (| γ |) in + M.never_to_any (| + M.read (| + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.use skip in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + Value.Bool false |) - |) in - let~ offset := - M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.rust_cast - (M.read (| - trailing - |)))) - (Value.Integer 1) - |) in - let~ _ := - let~ sub := + |) + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ mask := M.copy (| mask |) in + let~ _ := + M.loop (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.ne + (M.read (| mask |)) + (Value.Integer 0) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ trailing := M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ Ty.path "u8" ], - "get_unchecked", - [ + Ty.path "u16", + "trailing_zeros", + [] + |), + [ M.read (| mask |) ] + |) + |) in + let~ offset := + M.alloc (| + BinOp.Wrap.add + Integer.Usize + (BinOp.Wrap.add + Integer.Usize + (M.read (| idx |)) + (M.rust_cast + (M.read (| + trailing + |)))) + (Value.Integer 1) + |) in + let~ _ := + let~ sub := + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path - "core::ops::range::RangeTo") - [ - Ty.path - "usize" - ] - ] - |), - [ - M.call_closure (| - M.get_associated_function (| + "slice") + [ Ty.path "u8" + ], + "get_unchecked", + [ Ty.apply (Ty.path - "slice") - [ Ty.path "u8" - ], - "get_unchecked", - [ + "core::ops::range::RangeTo") + [ + Ty.path + "usize" + ] + ] + |), + [ + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path - "core::ops::range::RangeFrom") + "slice") [ Ty.path - "usize" - ] - ] - |), - [ - M.read (| - haystack - |); - Value.StructRecord - "core::ops::range::RangeFrom" + "u8" + ], + "get_unchecked", [ - ("start", - M.read (| - offset - |)) + Ty.apply + (Ty.path + "core::ops::range::RangeFrom") + [ + Ty.path + "usize" + ] ] - ] - |); - Value.StructRecord - "core::ops::range::RangeTo" - [ - ("end_", - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "slice") - [ - Ty.path - "u8" - ], - "len", - [] - |), - [ - M.read (| - trimmed_needle - |) - ] - |)) - ] - ] - |) - |) in - M.match_operator (| - M.alloc (| - Value.Tuple [] - |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_function (| - "core::str::pattern::small_slice_eq", - [] - |), + |), + [ + M.read (| + haystack + |); + Value.StructRecord + "core::ops::range::RangeFrom" [ - M.read (| - sub - |); - M.read (| - trimmed_needle - |) + ("start", + M.read (| + offset + |)) ] + ] + |); + Value.StructRecord + "core::ops::range::RangeTo" + [ + ("end_", + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "slice") + [ + Ty.path + "u8" + ], + "len", + [] + |), + [ + M.read (| + trimmed_needle + |) + ] + |)) + ] + ] + |) + |) in + M.match_operator (| + M.alloc (| + Value.Tuple [] + |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_function (| + "core::str::pattern::small_slice_eq", + [] + |), + [ + M.read (| + sub + |); + M.read (| + trimmed_needle + |) + ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| + γ + |), + Value.Bool + true + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + Value.Bool + true + |) |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.Tuple [] + |))) + ] + |) in + let~ _ := + let β := mask in + M.write (| + β, + BinOp.Pure.bit_and + (M.read (| β |)) + (UnOp.Pure.not + (BinOp.Wrap.shl + (Value.Integer 1) + (M.read (| + trailing + |)))) + |) in + M.alloc (| + Value.Tuple [] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.never_to_any (| + M.read (| + let~ _ := M.alloc (| M.never_to_any (| M.read (| - M.return_ (| - Value.Bool - true - |) + M.break (||) |) |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.Tuple [] - |))) - ] - |) in - let~ _ := - let β := mask in - M.write (| - β, - BinOp.Pure.bit_and - (M.read (| β |)) - (UnOp.Pure.not - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| - trailing - |)))) - |) in - M.alloc (| - Value.Tuple [] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.never_to_any (| - M.read (| - let~ _ := + |) in M.alloc (| - M.never_to_any (| - M.read (| - M.break (||) - |) - |) - |) in - M.alloc (| - Value.Tuple [] + Value.Tuple [] + |) |) |) - |) - |))) - ] - |))) - |) in - M.return_ (| Value.Bool false |) - |) - |))) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + |) in + M.return_ (| Value.Bool false |) + |) + |))) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ test_chunk := @@ -13892,201 +13913,202 @@ Module str. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - M.never_to_any (| - M.read (| - let~ a := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "*const") - [ - Ty.apply - (Ty.path "core::core_simd::vector::Simd") - [ Ty.path "u8" ] - ], - "read_unaligned", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*const") [ Ty.path "u8" ], - "cast", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + M.never_to_any (| + M.read (| + let~ a := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "*const") [ Ty.apply (Ty.path "core::core_simd::vector::Simd") [ Ty.path "u8" ] - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "*const") - [ Ty.path "u8" ], - "add", - [] - |), + ], + "read_unaligned", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*const") [ Ty.path "u8" ], + "cast", [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ Ty.path "u8" ], - "as_ptr", - [] - |), - [ M.read (| haystack |) ] - |); - M.read (| idx |) + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Ty.path "u8" ] ] - |) - ] - |) - ] - |) - |) in - let~ b := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "*const") - [ - Ty.apply - (Ty.path "core::core_simd::vector::Simd") - [ Ty.path "u8" ] - ], - "read_unaligned", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*const") [ Ty.path "u8" ], - "cast", + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "*const") + [ Ty.path "u8" ], + "add", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ Ty.path "u8" ], + "as_ptr", + [] + |), + [ M.read (| haystack |) ] + |); + M.read (| idx |) + ] + |) + ] + |) + ] + |) + |) in + let~ b := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "*const") [ Ty.apply (Ty.path "core::core_simd::vector::Simd") [ Ty.path "u8" ] - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "*const") - [ Ty.path "u8" ], - "add", - [] - |), + ], + "read_unaligned", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*const") [ Ty.path "u8" ], + "cast", [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "*const") - [ Ty.path "u8" ], - "add", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ Ty.path "u8" ], - "as_ptr", - [] - |), - [ M.read (| haystack |) ] - |); - M.read (| idx |) - ] - |); - M.read (| second_probe_offset |) + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Ty.path "u8" ] ] - |) - ] - |) - ] - |) - |) in - let~ eq_first := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::core_simd::simd::cmp::eq::SimdPartialEq", - Ty.apply - (Ty.path "core::core_simd::vector::Simd") - [ Ty.path "u8" ], - [], - "simd_eq", - [] - |), - [ M.read (| a |); M.read (| first_probe |) ] - |) - |) in - let~ eq_last := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::core_simd::simd::cmp::eq::SimdPartialEq", - Ty.apply - (Ty.path "core::core_simd::vector::Simd") - [ Ty.path "u8" ], - [], - "simd_eq", - [] - |), - [ M.read (| b |); M.read (| second_probe |) ] - |) - |) in - let~ both := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::bit::BitAnd", - Ty.apply - (Ty.path "core::core_simd::masks::Mask") - [ Ty.path "i8" ], - [ + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "*const") + [ Ty.path "u8" ], + "add", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "*const") + [ Ty.path "u8" ], + "add", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ Ty.path "u8" ], + "as_ptr", + [] + |), + [ M.read (| haystack |) ] + |); + M.read (| idx |) + ] + |); + M.read (| second_probe_offset |) + ] + |) + ] + |) + ] + |) + |) in + let~ eq_first := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::core_simd::simd::cmp::eq::SimdPartialEq", Ty.apply - (Ty.path "core::core_simd::masks::Mask") - [ Ty.path "i8" ] - ], - "bitand", - [] - |), - [ M.read (| eq_first |); M.read (| eq_last |) ] - |) - |) in - let~ mask := - M.alloc (| - M.rust_cast - (M.call_closure (| - M.get_associated_function (| + (Ty.path "core::core_simd::vector::Simd") + [ Ty.path "u8" ], + [], + "simd_eq", + [] + |), + [ M.read (| a |); M.read (| first_probe |) ] + |) + |) in + let~ eq_last := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::core_simd::simd::cmp::eq::SimdPartialEq", + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Ty.path "u8" ], + [], + "simd_eq", + [] + |), + [ M.read (| b |); M.read (| second_probe |) ] + |) + |) in + let~ both := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::bit::BitAnd", Ty.apply (Ty.path "core::core_simd::masks::Mask") [ Ty.path "i8" ], - "to_bitmask", + [ + Ty.apply + (Ty.path "core::core_simd::masks::Mask") + [ Ty.path "i8" ] + ], + "bitand", [] |), - [ M.read (| both |) ] - |)) - |) in - M.return_ (| M.read (| mask |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + [ M.read (| eq_first |); M.read (| eq_last |) ] + |) + |) in + let~ mask := + M.alloc (| + M.rust_cast + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::core_simd::masks::Mask") + [ Ty.path "i8" ], + "to_bitmask", + [] + |), + [ M.read (| both |) ] + |)) + |) in + M.return_ (| M.read (| mask |) |) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ i := M.alloc (| Value.Integer 0 |) in diff --git a/CoqOfRust/core/str/validations.v b/CoqOfRust/core/str/validations.v index a7843cadd..27beb8efc 100644 --- a/CoqOfRust/core/str/validations.v +++ b/CoqOfRust/core/str/validations.v @@ -1271,8 +1271,13 @@ Module str. ltac:(M.monadic match γ with | [] => - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.Tuple [] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) end)) |))); fun γ => @@ -1557,8 +1562,13 @@ Module str. ltac:(M.monadic match γ with | [] => - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.Tuple [] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/core/task/poll.v b/CoqOfRust/core/task/poll.v index 0062d3a27..5fad9ed74 100644 --- a/CoqOfRust/core/task/poll.v +++ b/CoqOfRust/core/task/poll.v @@ -1425,31 +1425,32 @@ Module task. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "core::option::Option") [ T ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "core::option::Option") [ T ], + "map", + [ + Ty.apply (Ty.path "core::result::Result") [ T; E ]; + Ty.function + [ T ] + (Ty.apply (Ty.path "core::result::Result") [ T; E ]) + ] + |), [ - Ty.apply (Ty.path "core::result::Result") [ T; E ]; - Ty.function - [ T ] - (Ty.apply (Ty.path "core::result::Result") [ T; E ]) + M.read (| x |); + M.constructor_as_closure "core::result::Result::Ok" ] - |), - [ - M.read (| x |); - M.constructor_as_closure "core::result::Result::Ok" - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/core/unicode/unicode_data.v b/CoqOfRust/core/unicode/unicode_data.v index a252d4f1c..b33e550c6 100644 --- a/CoqOfRust/core/unicode/unicode_data.v +++ b/CoqOfRust/core/unicode/unicode_data.v @@ -427,25 +427,26 @@ Module unicode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let header := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::bit::Shl", - Ty.apply (Ty.path "&") [ Ty.path "u32" ], - [ Ty.path "i32" ], - "shl", - [] - |), - [ M.read (| header |); Value.Integer 11 ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let header := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::bit::Shl", + Ty.apply (Ty.path "&") [ Ty.path "u32" ], + [ Ty.path "i32" ], + "shl", + [] + |), + [ M.read (| header |); Value.Integer 11 ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -573,29 +574,30 @@ Module unicode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let prev := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "core::unicode::unicode_data::decode_prefix_sum", - [] - |), - [ - M.read (| - M.SubPointer.get_array_field (| - M.read (| short_offset_runs |), - prev + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let prev := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "core::unicode::unicode_data::decode_prefix_sum", + [] + |), + [ + M.read (| + M.SubPointer.get_array_field (| + M.read (| short_offset_runs |), + prev + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -6646,30 +6648,31 @@ Module unicode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ1_1 := - M.SubPointer.get_tuple_field (| γ, 1 |) in - let key := M.copy (| γ1_0 |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::Ord", - Ty.path "char", - [], - "cmp", - [] - |), - [ key; c ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ1_1 := + M.SubPointer.get_tuple_field (| γ, 1 |) in + let key := M.copy (| γ1_0 |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::Ord", + Ty.path "char", + [], + "cmp", + [] + |), + [ key; c ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -6678,158 +6681,173 @@ Module unicode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.read (| - let~ u := - M.copy (| - M.SubPointer.get_tuple_field (| - M.SubPointer.get_array_field (| - M.read (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.read (| + let~ u := + M.copy (| + M.SubPointer.get_tuple_field (| + M.SubPointer.get_array_field (| M.read (| - M.get_constant (| - "core::unicode::unicode_data::conversions::LOWERCASE_TABLE" + M.read (| + M.get_constant (| + "core::unicode::unicode_data::conversions::LOWERCASE_TABLE" + |) |) - |) + |), + i |), - i - |), - 1 - |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "array") - [ Ty.path "char" ] - ], - "unwrap_or_else", - [ - Ty.function - [ Ty.tuple [] ] - (Ty.apply - (Ty.path "array") - [ Ty.path "char" ]) - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "char" ], - "map", + 1 + |) + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ Ty.apply (Ty.path "array") - [ Ty.path "char" ]; - Ty.function - [ Ty.tuple [ Ty.path "char" ] ] - (Ty.apply + [ Ty.path "char" ] + ], + "unwrap_or_else", + [ + Ty.function + [ Ty.tuple [] ] + (Ty.apply + (Ty.path "array") + [ Ty.path "char" ]) + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "char" ], + "map", + [ + Ty.apply (Ty.path "array") - [ Ty.path "char" ]) + [ Ty.path "char" ]; + Ty.function + [ Ty.tuple [ Ty.path "char" ] ] + (Ty.apply + (Ty.path "array") + [ Ty.path "char" ]) + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "from_u32", + [] + |), + [ M.read (| u |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := + M.copy (| γ |) in + Value.Array + [ + M.read (| c |); + Value.UnicodeChar + 0; + Value.UnicodeChar + 0 + ])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "char", - "from_u32", - [] - |), - [ M.read (| u |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| M.alloc (| α0 |), [ fun γ => ltac:(M.monadic - (let c := - M.copy (| γ |) in - Value.Array - [ - M.read (| c |); - Value.UnicodeChar 0; - Value.UnicodeChar 0 - ])) - ] - |) - | _ => M.impossible (||) - end)) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ + (M.read (| + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path - "array") - [ Ty.path "char" - ] - ], - "get_unchecked", - [ Ty.path "usize" ] - |), - [ - M.read (| - M.read (| - M.get_constant (| - "core::unicode::unicode_data::conversions::LOWERCASE_TABLE_MULTI" - |) - |) - |); - M.rust_cast - (BinOp.Pure.bit_and - (M.read (| u |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| + "slice") + [ + Ty.apply + (Ty.path + "array") + [ + Ty.path + "char" + ] + ], + "get_unchecked", + [ Ty.path "usize" + ] + |), + [ + M.read (| + M.read (| M.get_constant (| - "core::unicode::unicode_data::conversions::INDEX_MASK" + "core::unicode::unicode_data::conversions::LOWERCASE_TABLE_MULTI" |) - |)) - (Value.Integer - 1))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] + |) + |); + M.rust_cast + (BinOp.Pure.bit_and + (M.read (| + u + |)) + (BinOp.Wrap.sub + Integer.U32 + (M.read (| + M.get_constant (| + "core::unicode::unicode_data::conversions::INDEX_MASK" + |) + |)) + (Value.Integer + 1))) + ] + |) + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -6958,30 +6976,31 @@ Module unicode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ1_1 := - M.SubPointer.get_tuple_field (| γ, 1 |) in - let key := M.copy (| γ1_0 |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::Ord", - Ty.path "char", - [], - "cmp", - [] - |), - [ key; c ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ1_1 := + M.SubPointer.get_tuple_field (| γ, 1 |) in + let key := M.copy (| γ1_0 |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::Ord", + Ty.path "char", + [], + "cmp", + [] + |), + [ key; c ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -6990,158 +7009,173 @@ Module unicode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.read (| - let~ u := - M.copy (| - M.SubPointer.get_tuple_field (| - M.SubPointer.get_array_field (| - M.read (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.read (| + let~ u := + M.copy (| + M.SubPointer.get_tuple_field (| + M.SubPointer.get_array_field (| M.read (| - M.get_constant (| - "core::unicode::unicode_data::conversions::UPPERCASE_TABLE" + M.read (| + M.get_constant (| + "core::unicode::unicode_data::conversions::UPPERCASE_TABLE" + |) |) - |) + |), + i |), - i - |), - 1 - |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "array") - [ Ty.path "char" ] - ], - "unwrap_or_else", - [ - Ty.function - [ Ty.tuple [] ] - (Ty.apply - (Ty.path "array") - [ Ty.path "char" ]) - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "char" ], - "map", + 1 + |) + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ Ty.apply (Ty.path "array") - [ Ty.path "char" ]; - Ty.function - [ Ty.tuple [ Ty.path "char" ] ] - (Ty.apply + [ Ty.path "char" ] + ], + "unwrap_or_else", + [ + Ty.function + [ Ty.tuple [] ] + (Ty.apply + (Ty.path "array") + [ Ty.path "char" ]) + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "char" ], + "map", + [ + Ty.apply (Ty.path "array") - [ Ty.path "char" ]) + [ Ty.path "char" ]; + Ty.function + [ Ty.tuple [ Ty.path "char" ] ] + (Ty.apply + (Ty.path "array") + [ Ty.path "char" ]) + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "char", + "from_u32", + [] + |), + [ M.read (| u |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := + M.copy (| γ |) in + Value.Array + [ + M.read (| c |); + Value.UnicodeChar + 0; + Value.UnicodeChar + 0 + ])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "char", - "from_u32", - [] - |), - [ M.read (| u |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| M.alloc (| α0 |), [ fun γ => ltac:(M.monadic - (let c := - M.copy (| γ |) in - Value.Array - [ - M.read (| c |); - Value.UnicodeChar 0; - Value.UnicodeChar 0 - ])) - ] - |) - | _ => M.impossible (||) - end)) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ + (M.read (| + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path - "array") - [ Ty.path "char" - ] - ], - "get_unchecked", - [ Ty.path "usize" ] - |), - [ - M.read (| - M.read (| - M.get_constant (| - "core::unicode::unicode_data::conversions::UPPERCASE_TABLE_MULTI" - |) - |) - |); - M.rust_cast - (BinOp.Pure.bit_and - (M.read (| u |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| + "slice") + [ + Ty.apply + (Ty.path + "array") + [ + Ty.path + "char" + ] + ], + "get_unchecked", + [ Ty.path "usize" + ] + |), + [ + M.read (| + M.read (| M.get_constant (| - "core::unicode::unicode_data::conversions::INDEX_MASK" + "core::unicode::unicode_data::conversions::UPPERCASE_TABLE_MULTI" |) - |)) - (Value.Integer - 1))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] + |) + |); + M.rust_cast + (BinOp.Pure.bit_and + (M.read (| + u + |)) + (BinOp.Wrap.sub + Integer.U32 + (M.read (| + M.get_constant (| + "core::unicode::unicode_data::conversions::INDEX_MASK" + |) + |)) + (Value.Integer + 1))) + ] + |) + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/core/unit.v b/CoqOfRust/core/unit.v index aaf61c500..e2b9ddf3b 100644 --- a/CoqOfRust/core/unit.v +++ b/CoqOfRust/core/unit.v @@ -39,11 +39,12 @@ Module unit_. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/examples/default/examples/custom/if_let.v b/CoqOfRust/examples/default/examples/custom/if_let.v index d51d803b5..5e31322b4 100644 --- a/CoqOfRust/examples/default/examples/custom/if_let.v +++ b/CoqOfRust/examples/default/examples/custom/if_let.v @@ -97,7 +97,10 @@ Definition extract_value (τ : list Ty.t) (α : list Value.t) : M := M.closure (fun γ => ltac:(M.monadic - match γ with | [ value ] => value | _ => M.impossible (||) end)) + match γ with + | [ value ] => ltac:(M.monadic value) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) |))); fun γ => ltac:(M.monadic diff --git a/CoqOfRust/examples/default/examples/ink_contracts/erc721.v b/CoqOfRust/examples/default/examples/ink_contracts/erc721.v index 546824008..c4f27529d 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/erc721.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/erc721.v @@ -1876,21 +1876,23 @@ Module Impl_erc721_Erc721. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - BinOp.Wrap.sub - Integer.U32 - (M.read (| c |)) - (M.read (| - M.use (M.alloc (| Value.Integer 1 |)) - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + BinOp.Wrap.sub + Integer.U32 + (M.read (| c |)) + (M.read (| + M.use + (M.alloc (| Value.Integer 1 |)) + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/examples/default/examples/ink_contracts/multisig.v b/CoqOfRust/examples/default/examples/ink_contracts/multisig.v index 9ad576523..7c1919420 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/multisig.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/multisig.v @@ -1970,25 +1970,26 @@ Module Impl_multisig_Multisig. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.path "multisig::AccountId", - [ Ty.path "multisig::AccountId" ], - "eq", - [] - |), - [ M.read (| x |); M.read (| owner |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.path "multisig::AccountId", + [ Ty.path "multisig::AccountId" ], + "eq", + [] + |), + [ M.read (| x |); M.read (| owner |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -3269,25 +3270,26 @@ Module Impl_multisig_Multisig. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let t := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.apply (Ty.path "&") [ Ty.path "u32" ], - [ Ty.apply (Ty.path "&") [ Ty.path "u32" ] ], - "eq", - [] - |), - [ t; M.alloc (| trans_id |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let t := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.apply (Ty.path "&") [ Ty.path "u32" ], + [ Ty.apply (Ty.path "&") [ Ty.path "u32" ] ], + "eq", + [] + |), + [ t; M.alloc (| trans_id |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -4051,15 +4053,18 @@ Module Impl_multisig_Multisig. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple "core::option::Option::None" [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "core::option::Option::None" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) diff --git a/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v b/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v index 7a0a97b62..f530c44f2 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v @@ -751,24 +751,25 @@ Module Impl_payment_channel_PaymentChannel. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let err := M.copy (| γ |) in - M.never_to_any (| - M.call_closure (| - M.get_function (| - "std::panicking::begin_panic", - [ Ty.apply (Ty.path "&") [ Ty.path "str" ] ] - |), - [ M.read (| Value.String "recover failed: {err:?}" |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let err := M.copy (| γ |) in + M.never_to_any (| + M.call_closure (| + M.get_function (| + "std::panicking::begin_panic", + [ Ty.apply (Ty.path "&") [ Ty.path "str" ] ] + |), + [ M.read (| Value.String "recover failed: {err:?}" |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1113,17 +1114,18 @@ Module Impl_payment_channel_PaymentChannel. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "payment_channel::Error::TransferFailed" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "payment_channel::Error::TransferFailed" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1912,17 +1914,18 @@ Module Impl_payment_channel_PaymentChannel. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "payment_channel::Error::TransferFailed" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "payment_channel::Error::TransferFailed" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v index a52b8e115..cefd0e14e 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v @@ -219,29 +219,30 @@ Module Impl_set_code_hash_Incrementer. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let err := M.copy (| γ |) in - M.never_to_any (| - M.call_closure (| - M.get_function (| - "std::panicking::begin_panic", - [ Ty.apply (Ty.path "&") [ Ty.path "str" ] ] - |), - [ - M.read (| - Value.String - "Failed to `set_code_hash` to {code_hash:?} due to {err:?}" - |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let err := M.copy (| γ |) in + M.never_to_any (| + M.call_closure (| + M.get_function (| + "std::panicking::begin_panic", + [ Ty.apply (Ty.path "&") [ Ty.path "str" ] ] + |), + [ + M.read (| + Value.String + "Failed to `set_code_hash` to {code_hash:?} due to {err:?}" + |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash/updated_incrementer.v b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash/updated_incrementer.v index f95f832f5..7263fb5cd 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash/updated_incrementer.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash/updated_incrementer.v @@ -317,29 +317,30 @@ Module Impl_updated_incrementer_Incrementer. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let err := M.copy (| γ |) in - M.never_to_any (| - M.call_closure (| - M.get_function (| - "std::panicking::begin_panic", - [ Ty.apply (Ty.path "&") [ Ty.path "str" ] ] - |), - [ - M.read (| - Value.String - "Failed to `set_code_hash` to {code_hash:?} due to {err:?}" - |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let err := M.copy (| γ |) in + M.never_to_any (| + M.call_closure (| + M.get_function (| + "std::panicking::begin_panic", + [ Ty.apply (Ty.path "&") [ Ty.path "str" ] ] + |), + [ + M.read (| + Value.String + "Failed to `set_code_hash` to {code_hash:?} due to {err:?}" + |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/aliases_for_result.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/aliases_for_result.v index 3be17f6d8..b831d4efc 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/aliases_for_result.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/aliases_for_result.v @@ -46,56 +46,58 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let first_number := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let first_number := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], + "map", + [ + Ty.path "i32"; + Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + ] + |), [ - Ty.path "i32"; - Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| second_number_str |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let second_number := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I32 + (M.read (| first_number |)) + (M.read (| second_number |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| second_number_str |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let second_number := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (M.read (| first_number |)) - (M.read (| second_number |)))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/boxing_errors.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/boxing_errors.v index 6457c32ab..2a7ff3524 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/boxing_errors.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/boxing_errors.v @@ -202,31 +202,32 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.path "boxing_errors::EmptyVec", - [ - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.dyn [ ("core::error::Error::Trait", []) ]; - Ty.path "alloc::alloc::Global" - ] - ], - "into", - [] - |), - [ Value.StructTuple "boxing_errors::EmptyVec" [] ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::convert::Into", + Ty.path "boxing_errors::EmptyVec", + [ + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn [ ("core::error::Error::Trait", []) ]; + Ty.path "alloc::alloc::Global" + ] + ], + "into", + [] + |), + [ Value.StructTuple "boxing_errors::EmptyVec" [] ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -235,123 +236,129 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "i32"; - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.dyn [ ("core::error::Error::Trait", []) ]; - Ty.path "alloc::alloc::Global" - ] - ], - "map", - [ - Ty.path "i32"; - Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], - "map_err", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") [ + Ty.path "i32"; Ty.apply (Ty.path "alloc::boxed::Box") [ Ty.dyn [ ("core::error::Error::Trait", []) ]; Ty.path "alloc::alloc::Global" - ]; - Ty.function - [ Ty.tuple [ Ty.path "core::num::error::ParseIntError" ] ] - (Ty.apply + ] + ], + "map", + [ + Ty.path "i32"; + Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], + "map_err", + [ + Ty.apply (Ty.path "alloc::boxed::Box") [ Ty.dyn [ ("core::error::Error::Trait", []) ]; Ty.path "alloc::alloc::Global" - ]) + ]; + Ty.function + [ Ty.tuple [ Ty.path "core::num::error::ParseIntError" ] ] + (Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn [ ("core::error::Error::Trait", []) ]; + Ty.path "alloc::alloc::Global" + ]) + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| M.read (| s |) |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::convert::Into", + Ty.path "core::num::error::ParseIntError", + [ + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn + [ + ("core::error::Error::Trait", + []) + ]; + Ty.path "alloc::alloc::Global" + ] + ], + "into", + [] + |), + [ M.read (| e |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| M.read (| s |) |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| M.alloc (| α0 |), [ fun γ => ltac:(M.monadic - (let e := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.path "core::num::error::ParseIntError", - [ - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.dyn - [ ("core::error::Error::Trait", []) ]; - Ty.path "alloc::alloc::Global" - ] - ], - "into", - [] - |), - [ M.read (| e |) ] - |))) + (let i := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I32 + (Value.Integer 2) + (M.read (| i |)))) ] - |) - | _ => M.impossible (||) - end)) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.read (| i |)))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_map.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_map.v index d520ec4d2..9815f0c2f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_map.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_map.v @@ -327,22 +327,23 @@ Definition cook (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "combinators_map::Chopped", - 0 - |) in - let food := M.copy (| γ0_0 |) in - Value.StructTuple "combinators_map::Cooked" [ M.read (| food |) ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "combinators_map::Chopped", + 0 + |) in + let food := M.copy (| γ0_0 |) in + Value.StructTuple "combinators_map::Cooked" [ M.read (| food |) ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -405,16 +406,17 @@ Definition process (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let f := M.copy (| γ |) in - Value.StructTuple "combinators_map::Peeled" [ M.read (| f |) ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let f := M.copy (| γ |) in + Value.StructTuple "combinators_map::Peeled" [ M.read (| f |) ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -423,22 +425,23 @@ Definition process (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "combinators_map::Peeled", - 0 - |) in - let f := M.copy (| γ0_0 |) in - Value.StructTuple "combinators_map::Chopped" [ M.read (| f |) ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "combinators_map::Peeled", + 0 + |) in + let f := M.copy (| γ0_0 |) in + Value.StructTuple "combinators_map::Chopped" [ M.read (| f |) ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -447,22 +450,23 @@ Definition process (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "combinators_map::Chopped", - 0 - |) in - let f := M.copy (| γ0_0 |) in - Value.StructTuple "combinators_map::Cooked" [ M.read (| f |) ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "combinators_map::Chopped", + 0 + |) in + let f := M.copy (| γ0_0 |) in + Value.StructTuple "combinators_map::Cooked" [ M.read (| f |) ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/defining_an_error_type.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/defining_an_error_type.v index ec6cdf335..91040f18e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/defining_an_error_type.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/defining_an_error_type.v @@ -178,89 +178,92 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "defining_an_error_type::DoubleError" ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "i32"; Ty.path "defining_an_error_type::DoubleError" ], + "map", + [ + Ty.path "i32"; + Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + ] + |), [ - Ty.path "i32"; - Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], - "map_err", + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], + "map_err", + [ + Ty.path "defining_an_error_type::DoubleError"; + Ty.function + [ Ty.tuple [ Ty.path "core::num::error::ParseIntError" ] ] + (Ty.path "defining_an_error_type::DoubleError") + ] + |), [ - Ty.path "defining_an_error_type::DoubleError"; - Ty.function - [ Ty.tuple [ Ty.path "core::num::error::ParseIntError" ] ] - (Ty.path "defining_an_error_type::DoubleError") + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| M.read (| s |) |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "defining_an_error_type::DoubleError" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| M.read (| s |) |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| M.alloc (| α0 |), [ fun γ => ltac:(M.monadic - (Value.StructTuple - "defining_an_error_type::DoubleError" - [])) + (let i := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I32 + (Value.Integer 2) + (M.read (| i |)))) ] - |) - | _ => M.impossible (||) - end)) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.read (| i |)))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v index cd8d9f039..17897ff49 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v @@ -135,23 +135,24 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| s |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| s |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v index 5715b1593..3a2078b26 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v @@ -137,23 +137,24 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| s |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| s |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v index 4a4624f04..4856d331b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v @@ -187,23 +187,24 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "u8" ] - |), - [ M.read (| s |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "u8" ] + |), + [ M.read (| s |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -212,78 +213,81 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let r := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "u8"; Ty.tuple [] ], - "ok", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let r := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "u8"; Ty.tuple [] ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "u8"; + Ty.path "core::num::error::ParseIntError" + ], + "map_err", [ - Ty.path "u8"; - Ty.path "core::num::error::ParseIntError" - ], - "map_err", + Ty.tuple []; + Ty.function + [ + Ty.tuple + [ Ty.path "core::num::error::ParseIntError" ] + ] + (Ty.tuple []) + ] + |), [ - Ty.tuple []; - Ty.function - [ - Ty.tuple - [ Ty.path "core::num::error::ParseIntError" ] - ] - (Ty.tuple []) + M.read (| r |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.path + "core::num::error::ParseIntError"; + Ty.path + "alloc::alloc::Global" + ], + "push", + [] + |), + [ errors; M.read (| e |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) ] - |), - [ - M.read (| r |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.path - "core::num::error::ParseIntError"; - Ty.path "alloc::alloc::Global" - ], - "push", - [] - |), - [ errors; M.read (| e |) ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v index ca2b46b6e..de05d7722 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v @@ -120,23 +120,24 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| s |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| s |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_failed.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_failed.v index ac549b196..9d6b37ae4 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_failed.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_failed.v @@ -120,23 +120,24 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| s |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| s |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v index 252e9c538..9e3ccd105 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v @@ -112,35 +112,38 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" - ], - "ok", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| s |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "i32"; + Ty.path "core::num::error::ParseIntError" + ], + "ok", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| s |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_combinators.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_combinators.v index 72d47676f..93ec5486e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_combinators.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_combinators.v @@ -41,56 +41,58 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let first_number := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let first_number := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], + "map", + [ + Ty.path "i32"; + Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + ] + |), [ - Ty.path "i32"; - Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| second_number_str |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let second_number := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I32 + (M.read (| first_number |)) + (M.read (| second_number |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| second_number_str |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let second_number := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (M.read (| first_number |)) - (M.read (| second_number |)))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options.v index f3b9c5184..d1ca3da05 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options.v @@ -55,56 +55,58 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let first := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let first := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], + "map", + [ + Ty.path "i32"; + Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + ] + |), [ - Ty.path "i32"; - Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| M.read (| first |) |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let n := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I32 + (Value.Integer 2) + (M.read (| n |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| M.read (| first |) |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let n := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.read (| n |)))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v index 83afea238..7ad49d02b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v @@ -64,56 +64,59 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let first := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let first := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" + ], + "map", + [ + Ty.path "i32"; + Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + ] + |), [ - Ty.path "i32"; - Ty.function [ Ty.tuple [ Ty.path "i32" ] ] (Ty.path "i32") + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "parse", + [ Ty.path "i32" ] + |), + [ M.read (| M.read (| first |) |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let n := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.I32 + (Value.Integer 2) + (M.read (| n |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "parse", - [ Ty.path "i32" ] - |), - [ M.read (| M.read (| first |) |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let n := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.read (| n |)))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -163,33 +166,36 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let r := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let r := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ Ty.path "i32"; Ty.path "core::num::error::ParseIntError" ], + "map", + [ + Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ]; + Ty.function + [ Ty.path "i32" ] + (Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "i32" ]) + ] + |), [ - Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ]; - Ty.function - [ Ty.path "i32" ] - (Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ]) + M.read (| r |); + M.constructor_as_closure "core::option::Option::Some" ] - |), - [ - M.read (| r |); - M.constructor_as_closure "core::option::Option::Some" - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v index cf9418ee8..c88420a0e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v @@ -152,51 +152,52 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String "Providing lemon as fallback + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String "Providing lemon as fallback " - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| - Value.StructTuple - "unpacking_options_and_defaults_via_get_or_insert_with::Fruit::Lemon" - [] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| + Value.StructTuple + "unpacking_options_and_defaults_via_get_or_insert_with::Fruit::Lemon" + [] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ first_available_fruit := diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v index 8b1ef4d1c..f05bc7c23 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v @@ -155,55 +155,56 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String "Providing kiwi as fallback + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String "Providing kiwi as fallback " - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - Value.StructTuple - "unpacking_options_and_defaults_via_or_else::Fruit::Kiwi" - [] - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + Value.StructTuple + "unpacking_options_and_defaults_via_or_else::Fruit::Kiwi" + [] + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ get_lemon_as_fallback := @@ -213,55 +214,56 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String "Providing lemon as fallback + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String "Providing lemon as fallback " - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - Value.StructTuple - "unpacking_options_and_defaults_via_or_else::Fruit::Lemon" - [] - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + Value.StructTuple + "unpacking_options_and_defaults_via_or_else::Fruit::Lemon" + [] + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ first_available_fruit := diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match.v index 9be0143b3..abd8dee84 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match.v @@ -143,32 +143,33 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [] => - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ M.read (| Value.String "This is a prime + ltac:(M.monadic + (let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ M.read (| Value.String "This is a prime " |) ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v index 47245d927..8d54368ba 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v @@ -43,16 +43,17 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - BinOp.Wrap.add Integer.I32 (M.read (| i |)) (M.read (| outer_var |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + BinOp.Wrap.add Integer.I32 (M.read (| i |)) (M.read (| outer_var |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ closure_inferred := @@ -62,16 +63,17 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - BinOp.Wrap.add Integer.I32 (M.read (| i |)) (M.read (| outer_var |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + BinOp.Wrap.add Integer.I32 (M.read (| i |)) (M.read (| outer_var |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -187,11 +189,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ fun γ => ltac:(M.monadic (Value.Integer 1)) ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ fun γ => ltac:(M.monadic (Value.Integer 1)) ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_input_parameters.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_input_parameters.v index 7a2904e6b..7f662e6f2 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_input_parameters.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_input_parameters.v @@ -123,156 +123,158 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "I said " |); - M.read (| Value.String ". + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "I said " |); + M.read (| Value.String ". " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.apply (Ty.path "&") [ Ty.path "str" ] ] - |), - [ greeting ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "alloc::string::String", - "push_str", - [] - |), - [ farewell; M.read (| Value.String "!!!" |) ] - |) - |) in - let~ _ := + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.apply (Ty.path "&") [ Ty.path "str" ] + ] + |), + [ greeting ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in let~ _ := M.alloc (| M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "Then I screamed " |); - M.read (| Value.String ". -" |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.path "alloc::string::String" ] - |), - [ farewell ] - |) - ] - |)) - ] - |) - ] + M.get_associated_function (| + Ty.path "alloc::string::String", + "push_str", + [] + |), + [ farewell; M.read (| Value.String "!!!" |) ] |) |) in - M.alloc (| Value.Tuple [] |) in - let~ _ := + let~ _ := + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "Then I screamed " |); + M.read (| Value.String ". +" |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.path "alloc::string::String" ] + |), + [ farewell ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + let~ _ := + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String "Now I can sleep. zzzzz +" + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in let~ _ := M.alloc (| M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String "Now I can sleep. zzzzz -" - |) - ] - |)) - ] - |) - ] + M.get_function (| + "core::mem::drop", + [ Ty.path "alloc::string::String" ] + |), + [ M.read (| farewell |) ] |) |) in - M.alloc (| Value.Tuple [] |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::mem::drop", - [ Ty.path "alloc::string::String" ] - |), - [ M.read (| farewell |) ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -292,16 +294,17 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Wrap.mul Integer.I32 (Value.Integer 2) (M.read (| x |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Wrap.mul Integer.I32 (Value.Integer 2) (M.read (| x |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_output_parameters.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_output_parameters.v index cfc149435..ee4a15b69 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_output_parameters.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_output_parameters.v @@ -26,59 +26,60 @@ Definition create_fn (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "This is a: " |); - M.read (| Value.String " + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "This is a: " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.path "alloc::string::String" ] - |), - [ text ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.path "alloc::string::String" ] + |), + [ text ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) |))) @@ -117,59 +118,60 @@ Definition create_fnmut (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "This is a: " |); - M.read (| Value.String " + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "This is a: " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.path "alloc::string::String" ] - |), - [ text ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.path "alloc::string::String" ] + |), + [ text ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) |))) @@ -208,59 +210,60 @@ Definition create_fnonce (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "This is a: " |); - M.read (| Value.String " + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "This is a: " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.path "alloc::string::String" ] - |), - [ text ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.path "alloc::string::String" ] + |), + [ text ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) |))) diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_capturing.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_capturing.v index 4c09113c4..28af1b7ef 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_capturing.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_capturing.v @@ -94,59 +94,60 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "`color`: " |); - M.read (| Value.String " + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "`color`: " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.path "alloc::string::String" ] - |), - [ color ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.path "alloc::string::String" ] + |), + [ color ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -185,67 +186,68 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - let β := count in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) - |) in - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "`count`: " |); - M.read (| Value.String " -" |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.path "i32" ] - |), - [ count ] - |) - ] - |)) - ] - |) - ] - |) + let β := count in + M.write (| + β, + BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + let~ _ := + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "`count`: " |); + M.read (| Value.String " +" |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.path "i32" ] + |), + [ count ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -295,82 +297,83 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "`movable`: " |); + M.read (| Value.String " +" |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_debug", + [ + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path "i32"; + Ty.path "alloc::alloc::Global" + ] + ] + |), + [ movable ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in let~ _ := M.alloc (| M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "`movable`: " |); - M.read (| Value.String " -" |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_debug", - [ - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path "i32"; - Ty.path "alloc::alloc::Global" - ] - ] - |), - [ movable ] - |) - ] - |)) - ] - |) - ] + M.get_function (| + "core::mem::drop", + [ + Ty.apply + (Ty.path "alloc::boxed::Box") + [ Ty.path "i32"; Ty.path "alloc::alloc::Global" ] + ] + |), + [ M.read (| movable |) ] |) |) in - M.alloc (| Value.Tuple [] |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::mem::drop", - [ - Ty.apply - (Ty.path "alloc::boxed::Box") - [ Ty.path "i32"; Ty.path "alloc::alloc::Global" ] - ] - |), - [ M.read (| movable |) ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_Iterator_any.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_Iterator_any.v index adfcda738..a0c6add66 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_Iterator_any.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_Iterator_any.v @@ -174,19 +174,20 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| x |)) + (Value.Integer 2))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -265,18 +266,19 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| x |)) + (Value.Integer 2))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -462,19 +464,20 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| x |)) + (Value.Integer 2))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -556,18 +559,19 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| x |) |)) - (Value.Integer 2))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| M.read (| x |) |)) + (Value.Integer 2))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v index 21392a1a5..f2b4ea7c4 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v @@ -204,20 +204,21 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| x |)) + (Value.Integer 2))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -286,19 +287,20 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| x |)) + (Value.Integer 2))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -390,20 +392,21 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| x |)) + (Value.Integer 2))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -495,19 +498,20 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| x |) |)) - (Value.Integer 2))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| M.read (| x |) |)) + (Value.Integer 2))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v index 1fba73681..5fd4ae764 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v @@ -105,19 +105,20 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let x := M.copy (| γ |) in - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.I32 (M.read (| x |)) (Value.Integer 2)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let x := M.copy (| γ |) in + BinOp.Pure.eq + (BinOp.Wrap.rem Integer.I32 (M.read (| x |)) (Value.Integer 2)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -232,16 +233,17 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - BinOp.Pure.lt (M.read (| x |)) (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + BinOp.Pure.lt (M.read (| x |)) (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v index 751934d90..c2fc9f40d 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v @@ -66,37 +66,38 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let needle := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ Ty.path "i32" ], - "contains", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path "alloc::vec::Vec") - [ Ty.path "i32"; Ty.path "alloc::alloc::Global" ], - [], - "deref", - [] - |), - [ haystack ] - |); - M.read (| needle |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let needle := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ Ty.path "i32" ], + "contains", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path "alloc::vec::Vec") + [ Ty.path "i32"; Ty.path "alloc::alloc::Global" ], + [], + "deref", + [] + |), + [ haystack ] + |); + M.read (| needle |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_input_functions.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_input_functions.v index d6edf867e..730591d2b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_input_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_input_functions.v @@ -83,41 +83,42 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ M.read (| Value.String "I'm a closure! + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_const", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ M.read (| Value.String "I'm a closure! " |) ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v index b1013f348..0161f2399 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v @@ -53,59 +53,60 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "" |); - M.read (| Value.String " + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "" |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.path "i32" ] - |), - [ x ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.path "i32" ] + |), + [ x ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/higher_order_functions.v b/CoqOfRust/examples/default/examples/rust_book/functions/higher_order_functions.v index c99f3d50a..2fbd5bc3f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/higher_order_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/higher_order_functions.v @@ -340,19 +340,20 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let n := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U32 - (M.read (| n |)) - (M.read (| n |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let n := M.copy (| γ |) in + BinOp.Wrap.mul + Integer.U32 + (M.read (| n |)) + (M.read (| n |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -361,19 +362,20 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let n_squared := M.copy (| γ |) in - BinOp.Pure.lt - (M.read (| n_squared |)) - (M.read (| upper |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let n_squared := M.copy (| γ |) in + BinOp.Pure.lt + (M.read (| n_squared |)) + (M.read (| upper |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -382,20 +384,21 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let n_squared := M.copy (| γ |) in - M.call_closure (| - M.get_function (| "higher_order_functions::is_odd", [] |), - [ M.read (| n_squared |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let n_squared := M.copy (| γ |) in + M.call_closure (| + M.get_function (| "higher_order_functions::is_odd", [] |), + [ M.read (| n_squared |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/arc.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/arc.v index 4068cecdd..547468431 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/arc.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/arc.v @@ -124,85 +124,88 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "std::io::stdio::_print", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String "" - |); - M.read (| - Value.String " + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "std::io::stdio::_print", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "" + |); + M.read (| + Value.String + " " - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::rt::Argument", - "new_debug", - [ - Ty.apply - (Ty.path - "alloc::sync::Arc") - [ - Ty.apply - (Ty.path - "&") - [ - Ty.path - "str" - ]; - Ty.path - "alloc::alloc::Global" - ] - ] - |), - [ apple ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::rt::Argument", + "new_debug", + [ + Ty.apply + (Ty.path + "alloc::sync::Arc") + [ + Ty.apply + (Ty.path + "&") + [ + Ty.path + "str" + ]; + Ty.path + "alloc::alloc::Global" + ] + ] + |), + [ apple ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v index 0fdbdaa39..00edf88dc 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v @@ -180,112 +180,115 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.tuple []; - Ty.apply - (Ty.path - "std::sync::mpsc::SendError") - [ Ty.path "i32" ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::sync::mpsc::Sender") - [ Ty.path "i32" ], - "send", - [] - |), - [ - thread_tx; - M.read (| id |) - ] - |) - ] - |) - |) in - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| let~ _ := M.alloc (| M.call_closure (| - M.get_function (| - "std::io::stdio::_print", + M.get_associated_function (| + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.tuple []; + Ty.apply + (Ty.path + "std::sync::mpsc::SendError") + [ Ty.path "i32" + ] + ], + "unwrap", [] |), [ M.call_closure (| M.get_associated_function (| - Ty.path - "core::fmt::Arguments", - "new_v1", + Ty.apply + (Ty.path + "std::sync::mpsc::Sender") + [ Ty.path "i32" + ], + "send", [] |), [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "thread " - |); - M.read (| - Value.String - " finished -" - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::rt::Argument", - "new_display", - [ - Ty.path - "i32" - ] - |), - [ id ] - |) - ] - |)) + thread_tx; + M.read (| id |) ] |) ] |) |) in - M.alloc (| - Value.Tuple [] - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + let~ _ := + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "std::io::stdio::_print", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "thread " + |); + M.read (| + Value.String + " finished +" + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::rt::Argument", + "new_display", + [ + Ty.path + "i32" + ] + |), + [ id ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| + Value.Tuple [] + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes.v index d98109e3c..5694641f3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes.v @@ -69,56 +69,57 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.never_to_any (| - M.call_closure (| - M.get_function (| "core::panicking::panic_fmt", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String "failed to execute process: " - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_display", - [ Ty.path "std::io::error::Error" ] - |), - [ e ] - |) - ] - |)) - ] - |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.never_to_any (| + M.call_closure (| + M.get_function (| "core::panicking::panic_fmt", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String "failed to execute process: " + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_display", + [ Ty.path "std::io::error::Error" ] + |), + [ e ] + |) + ] + |)) + ] + |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/filesystem_operations.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/filesystem_operations.v index 0e03dab2b..180e4dac0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/filesystem_operations.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/filesystem_operations.v @@ -540,73 +540,75 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let why := M.copy (| γ |) in - M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let why := M.copy (| γ |) in + M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "! " |); - M.read (| Value.String " + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "! " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_debug", - [ Ty.path "std::io::error::ErrorKind" ] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "std::io::error::Error", - "kind", - [] - |), - [ why ] + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_debug", + [ Ty.path "std::io::error::ErrorKind" + ] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "std::io::error::Error", + "kind", + [] + |), + [ why ] + |) |) - |) - ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -655,73 +657,75 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let why := M.copy (| γ |) in - M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let why := M.copy (| γ |) in + M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "! " |); - M.read (| Value.String " + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "! " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_debug", - [ Ty.path "std::io::error::ErrorKind" ] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "std::io::error::Error", - "kind", - [] - |), - [ why ] + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_debug", + [ Ty.path "std::io::error::ErrorKind" + ] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "std::io::error::Error", + "kind", + [] + |), + [ why ] + |) |) - |) - ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -776,73 +780,75 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let why := M.copy (| γ |) in - M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let why := M.copy (| γ |) in + M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "! " |); - M.read (| Value.String " + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "! " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_debug", - [ Ty.path "std::io::error::ErrorKind" ] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "std::io::error::Error", - "kind", - [] - |), - [ why ] + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_debug", + [ Ty.path "std::io::error::ErrorKind" + ] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "std::io::error::Error", + "kind", + [] + |), + [ why ] + |) |) - |) - ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -909,81 +915,82 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let why := M.copy (| γ |) in - M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let why := M.copy (| γ |) in + M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "std::io::stdio::_print", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "! " |); - M.read (| Value.String " + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "std::io::stdio::_print", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "! " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::rt::Argument", - "new_debug", - [ + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| Ty.path - "std::io::error::ErrorKind" - ] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "std::io::error::Error", - "kind", - [] - |), - [ why ] + "core::fmt::rt::Argument", + "new_debug", + [ + Ty.path + "std::io::error::ErrorKind" + ] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "std::io::error::Error", + "kind", + [] + |), + [ why ] + |) |) - |) - ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1408,73 +1415,75 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let why := M.copy (| γ |) in - M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let why := M.copy (| γ |) in + M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "! " |); - M.read (| Value.String " + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "! " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_debug", - [ Ty.path "std::io::error::ErrorKind" ] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "std::io::error::Error", - "kind", - [] - |), - [ why ] + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_debug", + [ Ty.path "std::io::error::ErrorKind" + ] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "std::io::error::Error", + "kind", + [] + |), + [ why ] + |) |) - |) - ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1521,73 +1530,75 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let why := M.copy (| γ |) in - M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let why := M.copy (| γ |) in + M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| "std::io::stdio::_print", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| Value.String "! " |); - M.read (| Value.String " + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| "std::io::stdio::_print", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| Value.String "! " |); + M.read (| Value.String " " |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_debug", - [ Ty.path "std::io::error::ErrorKind" ] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "std::io::error::Error", - "kind", - [] - |), - [ why ] + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_debug", + [ Ty.path "std::io::error::ErrorKind" + ] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "std::io::error::Error", + "kind", + [] + |), + [ why ] + |) |) - |) - ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v index 3e7ae1f6e..367d37a39 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v @@ -130,75 +130,76 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ _ := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "std::io::stdio::_print", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "this is thread number " - |); - M.read (| - Value.String - " + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "std::io::stdio::_print", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "this is thread number " + |); + M.read (| + Value.String + " " - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::rt::Argument", - "new_display", - [ + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| Ty.path - "u32" - ] - |), - [ i ] - |) - ] - |)) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + "core::fmt::rt::Argument", + "new_display", + [ + Ty.path + "u32" + ] + |), + [ i ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads_test_case_map_reduce.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads_test_case_map_reduce.v index 61c5a625d..0fbb67595 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads_test_case_map_reduce.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads_test_case_map_reduce.v @@ -284,44 +284,24 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ result := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "core::iter::adapters::map::Map") - [ - Ty.path - "core::str::iter::Chars"; - Ty.function - [ - Ty.tuple - [ Ty.path "char" ] - ] - (Ty.path "u32") - ], - [], - "sum", - [ Ty.path "u32" ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.path - "core::str::iter::Chars", - [], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ result := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path + "core::iter::adapters::map::Map") [ - Ty.path "u32"; + Ty.path + "core::str::iter::Chars"; Ty.function [ Ty.tuple @@ -329,161 +309,187 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] ] (Ty.path "u32") - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "str", - "chars", - [] - |), + ], + [], + "sum", + [ Ty.path "u32" ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.path + "core::str::iter::Chars", + [], + "map", [ - M.read (| - data_segment - |) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), + Ty.path "u32"; + Ty.function + [ + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let - c := - M.copy (| - γ - |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.path - "u32" - ], - "expect", - [] - |), - [ + Ty.path + "char" + ] + ] + (Ty.path "u32") + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "str", + "chars", + [] + |), + [ + M.read (| + data_segment + |) + ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun γ => + ltac:(M.monadic + (let + c := + M.copy (| + γ + |) in M.call_closure (| M.get_associated_function (| - Ty.path - "char", - "to_digit", + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "u32" + ], + "expect", [] |), [ - M.read (| - c + M.call_closure (| + M.get_associated_function (| + Ty.path + "char", + "to_digit", + [] + |), + [ + M.read (| + c + |); + Value.Integer + 10 + ] |); - Value.Integer - 10 + M.read (| + Value.String + "should be a digit" + |) ] - |); - M.read (| - Value.String - "should be a digit" - |) - ] - |))) - ] - |) - | _ => - M.impossible (||) - end)) - ] - |) - ] - |) - |) in - let~ _ := - let~ _ := - M.alloc (| - M.call_closure (| - M.get_function (| - "std::io::stdio::_print", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "processed segment " - |); - M.read (| - Value.String - ", result=" - |); - M.read (| - Value.String - " -" - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::rt::Argument", - "new_display", - [ - Ty.path - "usize" - ] - |), - [ i ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::rt::Argument", - "new_display", - [ - Ty.path - "u32" + |))) ] - |), - [ result ] - |) - ] - |)) + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) ] |) ] |) |) in - M.alloc (| Value.Tuple [] |) in - result - |))) - ] - |) - | _ => M.impossible (||) + let~ _ := + let~ _ := + M.alloc (| + M.call_closure (| + M.get_function (| + "std::io::stdio::_print", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "processed segment " + |); + M.read (| + Value.String + ", result=" + |); + M.read (| + Value.String + " +" + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::rt::Argument", + "new_display", + [ + Ty.path + "usize" + ] + |), + [ i ] + |); + M.call_closure (| + M.get_associated_function (| + Ty.path + "core::fmt::rt::Argument", + "new_display", + [ + Ty.path + "u32" + ] + |), + [ result ] + |) + ] + |)) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) in + result + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -563,48 +569,49 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "u32"; - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.dyn - [ - ("core::any::Any::Trait", []); - ("core::marker::Send::AutoTrait", []) - ]; - Ty.path "alloc::alloc::Global" - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "std::thread::JoinHandle") - [ Ty.path "u32" ], - "join", - [] - |), - [ M.read (| c |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "u32"; + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn + [ + ("core::any::Any::Trait", []); + ("core::marker::Send::AutoTrait", []) + ]; + Ty.path "alloc::alloc::Global" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "std::thread::JoinHandle") + [ Ty.path "u32" ], + "join", + [] + |), + [ M.read (| c |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/links/M.v b/CoqOfRust/links/M.v index 1b5ac512d..a5f66043a 100644 --- a/CoqOfRust/links/M.v +++ b/CoqOfRust/links/M.v @@ -311,6 +311,13 @@ Module Run. {{ k (φ ref) ⇓ output_to_value }} ) -> {{ LowM.CallPrimitive (Primitive.StateAlloc value') k ⇓ output_to_value }} + (* It can help to simplify the definition of some links. *) + | CallPrimitiveStateAllocImmediate {A : Set} (IsToValueA : ToValue A) + (value : A) (value' : Value.t) + (k : Value.t -> M) : + value' = φ value -> + {{ k (φ (Ref.Immediate value)) ⇓ output_to_value }} -> + {{ LowM.CallPrimitive (Primitive.StateAlloc value') k ⇓ output_to_value }} | CallPrimitiveStateRead {A : Set} (* We make the [to_value] explicit instead of using the class to avoid inference problems *) (to_value : A -> Value.t) @@ -322,6 +329,15 @@ Module Run. {{ k (to_value value) ⇓ output_to_value }} ) -> {{ LowM.CallPrimitive (Primitive.StateRead pointer) k ⇓ output_to_value }} + | CallPrimitiveStateReadImmediate {A : Set} + (* We make the [to_value] explicit instead of using the class to avoid inference problems *) + (to_value : A -> Value.t) (value : A) + (pointer_core : Pointer.Core.t Value.t A) + (k : Value.t -> M) : + let pointer := Pointer.Make to_value pointer_core in + pointer_core = Ref.to_core (@Ref.Immediate A {| φ := to_value |} value) -> + {{ k (to_value value) ⇓ output_to_value }} -> + {{ LowM.CallPrimitive (Primitive.StateRead pointer) k ⇓ output_to_value }} | CallPrimitiveStateWrite {A : Set} (* Same as with [Read], we use an explicit [to_value] *) (to_value : A -> Value.t) @@ -489,6 +505,9 @@ Proof. | H : forall _, _ |- _ => apply (H ref_core) end. } + { (* AllocImmediate *) + exact (evaluate _ _ _ run). + } { (* Read *) apply (LowM.CallPrimitive (Primitive.StateRead ref)). intros value. @@ -497,6 +516,9 @@ Proof. | H : forall _, _ |- _ => apply (H value) end. } + { (* ReadImmediate *) + exact (evaluate _ _ _ run). + } { (* Write *) apply (LowM.CallPrimitive (Primitive.StateWrite ref value)). intros _. @@ -590,3 +612,25 @@ Ltac run_symbolic := validity statement for the index that we access. *) Ltac run_sub_pointer sub_pointer_is_valid := cbn; eapply (run_sub_pointer sub_pointer_is_valid); [reflexivity|]; intros. + +Module Function. + Record t (Args Output : Set) + (args_to_value : Args -> list Value.t) + (output_to_value : Output -> Value.t + Exception.t) : + Set := { + f : list Value.t -> M; + run_f : forall (args : Args), + {{ f (args_to_value args) ⇓ output_to_value }}; + }. +End Function. + +Module Function2. + Record t (A1 A2 Output : Set) + `{ToValue A1} `{ToValue A2} + (output_to_value : Output -> Value.t + Exception.t) : + Set := { + f : list Value.t -> M; + run_f : forall (a1 : A1) (a2 : A2), + {{ f [ φ a1; φ a2 ] ⇓ output_to_value }}; + }. +End Function2. diff --git a/CoqOfRust/revm/interpreter/function_stack.v b/CoqOfRust/revm/interpreter/function_stack.v index ab6c7a137..c4e90c2fe 100644 --- a/CoqOfRust/revm/interpreter/function_stack.v +++ b/CoqOfRust/revm/interpreter/function_stack.v @@ -627,33 +627,34 @@ Module function_stack. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let frame := M.copy (| γ |) in - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::function_stack::FunctionStack", - "current_code_idx" - |), - M.read (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let frame := M.copy (| γ |) in + M.read (| + let~ _ := + M.write (| M.SubPointer.get_struct_record_field (| - frame, - "revm_interpreter::function_stack::FunctionReturnFrame", - "idx" + M.read (| self |), + "revm_interpreter::function_stack::FunctionStack", + "current_code_idx" + |), + M.read (| + M.SubPointer.get_struct_record_field (| + frame, + "revm_interpreter::function_stack::FunctionReturnFrame", + "idx" + |) |) - |) - |) in - frame - |))) - ] - |) - | _ => M.impossible (||) + |) in + frame + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/revm/interpreter/gas/calc.v b/CoqOfRust/revm/interpreter/gas/calc.v index dd5754e7c..9202357f8 100644 --- a/CoqOfRust/revm/interpreter/gas/calc.v +++ b/CoqOfRust/revm/interpreter/gas/calc.v @@ -2832,18 +2832,19 @@ Module gas. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| M.read (| v |) |) |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| M.read (| M.read (| v |) |) |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3016,20 +3017,24 @@ Module gas. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let v := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| - M.read (| M.read (| v |) |) - |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let v := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| + M.read (| + M.read (| v |) + |) + |)) + (Value.Integer 0))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3235,45 +3240,46 @@ Module gas. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let slot_count := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ1_1 := - M.SubPointer.get_tuple_field (| γ, 1 |) in - let slots := M.alloc (| γ1_1 |) in - BinOp.Wrap.add - Integer.U64 - (M.read (| slot_count |)) - (M.rust_cast - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.path "ruint::Uint"; - Ty.path "alloc::alloc::Global" - ], - "len", - [] - |), - [ M.read (| slots |) ] - |))))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let slot_count := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ1_1 := + M.SubPointer.get_tuple_field (| γ, 1 |) in + let slots := M.alloc (| γ1_1 |) in + BinOp.Wrap.add + Integer.U64 + (M.read (| slot_count |)) + (M.rust_cast + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.path "ruint::Uint"; + Ty.path "alloc::alloc::Global" + ], + "len", + [] + |), + [ M.read (| slots |) ] + |))))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/interpreter/instruction_result.v b/CoqOfRust/revm/interpreter/instruction_result.v index 64a878647..b95f3c590 100644 --- a/CoqOfRust/revm/interpreter/instruction_result.v +++ b/CoqOfRust/revm/interpreter/instruction_result.v @@ -1184,8 +1184,8 @@ Module instruction_result. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1245,8 +1245,8 @@ Module instruction_result. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1482,8 +1482,8 @@ Module instruction_result. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -2461,16 +2461,17 @@ Module instruction_result. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "revm_interpreter::instruction_result::SuccessOrHalt::Halt" - [ - Value.StructTuple - "revm_primitives::result::HaltReason::OpcodeNotFound" - [] - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_interpreter::instruction_result::SuccessOrHalt::Halt" + [ + Value.StructTuple + "revm_primitives::result::HaltReason::OpcodeNotFound" + [] + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2671,16 +2672,17 @@ Module instruction_result. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "revm_interpreter::instruction_result::SuccessOrHalt::Halt" - [ - Value.StructTuple - "revm_primitives::result::HaltReason::CreateContractSizeLimit" - [] - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_interpreter::instruction_result::SuccessOrHalt::Halt" + [ + Value.StructTuple + "revm_primitives::result::HaltReason::CreateContractSizeLimit" + [] + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/interpreter/instructions/bitwise.v b/CoqOfRust/revm/interpreter/instructions/bitwise.v index 0bfd755f0..6f5b051e0 100644 --- a/CoqOfRust/revm/interpreter/instructions/bitwise.v +++ b/CoqOfRust/revm/interpreter/instructions/bitwise.v @@ -2950,8 +2950,10 @@ Module instructions. (fun γ => ltac:(M.monadic match γ with - | [] => M.get_constant (| "ruint::ZERO" |) - | _ => M.impossible (||) + | [] => + ltac:(M.monadic + (M.get_constant (| "ruint::ZERO" |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -3025,20 +3027,21 @@ Module instructions. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "wrapping_shr", - [] - |), - [ - M.read (| M.read (| op2 |) |); - M.read (| shift |) - ] - |) - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "wrapping_shr", + [] + |), + [ + M.read (| M.read (| op2 |) |); + M.read (| shift |) + ] + |) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/interpreter/instructions/contract.v b/CoqOfRust/revm/interpreter/instructions/contract.v index 795545c3a..9ef841ee5 100644 --- a/CoqOfRust/revm/interpreter/instructions/contract.v +++ b/CoqOfRust/revm/interpreter/instructions/contract.v @@ -5296,27 +5296,29 @@ Module instructions. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let limit := - M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "usize", - "saturating_mul", - [] - |), - [ - M.read (| limit |); - Value.Integer 2 - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let limit := + M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "usize", + "saturating_mul", + [] + |), + [ + M.read (| limit |); + Value.Integer 2 + ] + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/revm/interpreter/interpreter.v b/CoqOfRust/revm/interpreter/interpreter.v index 7edfcccb7..7e189d3d3 100644 --- a/CoqOfRust/revm/interpreter/interpreter.v +++ b/CoqOfRust/revm/interpreter/interpreter.v @@ -1196,165 +1196,167 @@ Module interpreter. ltac:(M.monadic match γ with | [] => - let~ address := - M.copy (| - M.SubPointer.get_struct_record_field (| - create_outcome, - "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", - "address" - |) - |) in - let~ _ := - M.match_operator (| + ltac:(M.monadic + (let~ address := + M.copy (| + M.SubPointer.get_struct_record_field (| + create_outcome, + "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", + "address" + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::interpreter::stack::Stack", + "push_b256", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "stack" + |); + M.call_closure (| + M.get_associated_function (| + Ty.path + "alloy_primitives::bits::address::Address", + "into_word", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "alloy_primitives::bits::address::Address" + ], + "unwrap_or_default", + [] + |), + [ M.read (| address |) ] + |) + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Ok", + 0 + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Err", + 0 + |) in + let e := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "instruction_result" + |), + M.read (| e |) + |) in + M.return_ (| Value.Tuple [] |) + |) + |) + |))) + ] + |) in + let~ _ := M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "revm_interpreter::interpreter::stack::Stack", - "push_b256", + Ty.path "revm_interpreter::gas::Gas", + "erase_cost", [] |), [ M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter::Interpreter", - "stack" + "gas" |); M.call_closure (| M.get_associated_function (| - Ty.path "alloy_primitives::bits::address::Address", - "into_word", + Ty.path "revm_interpreter::gas::Gas", + "remaining", [] |), [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.path - "alloy_primitives::bits::address::Address" - ], - "unwrap_or_default", - [] - |), - [ M.read (| address |) ] - |) + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", + "gas", + [] + |), + [ create_outcome ] |) ] |) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Ok", - 0 - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Err", - 0 - |) in - let e := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "instruction_result" - |), - M.read (| e |) - |) in - M.return_ (| Value.Tuple [] |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "record_refund", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "gas" + |); + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "refunded", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", + "gas", + [] + |), + [ create_outcome ] |) - |) - |))) - ] - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "erase_cost", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "gas" - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "remaining", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", - "gas", - [] - |), - [ create_outcome ] - |) - ] - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "record_refund", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "gas" - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "refunded", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", - "gas", - [] - |), - [ create_outcome ] - |) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -1395,99 +1397,100 @@ Module interpreter. ltac:(M.monadic match γ with | [] => - let~ _ := - M.match_operator (| + ltac:(M.monadic + (let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::interpreter::stack::Stack", + "push", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "stack" + |); + M.read (| M.get_constant (| "ruint::ZERO" |) |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Ok", + 0 + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Err", + 0 + |) in + let e := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "instruction_result" + |), + M.read (| e |) + |) in + M.return_ (| Value.Tuple [] |) + |) + |) + |))) + ] + |) in + let~ _ := M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "revm_interpreter::interpreter::stack::Stack", - "push", + Ty.path "revm_interpreter::gas::Gas", + "erase_cost", [] |), [ M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter::Interpreter", - "stack" + "gas" |); - M.read (| M.get_constant (| "ruint::ZERO" |) |) + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "remaining", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", + "gas", + [] + |), + [ create_outcome ] + |) + ] + |) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Ok", - 0 - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Err", - 0 - |) in - let e := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "instruction_result" - |), - M.read (| e |) - |) in - M.return_ (| Value.Tuple [] |) - |) - |) - |))) - ] - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "erase_cost", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "gas" - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "remaining", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", - "gas", - [] - |), - [ create_outcome ] - |) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -1918,99 +1921,100 @@ Module interpreter. ltac:(M.monadic match γ with | [] => - let~ _ := - M.match_operator (| + ltac:(M.monadic + (let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::interpreter::stack::Stack", + "push", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "stack" + |); + M.read (| M.get_constant (| "ruint::ZERO" |) |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Ok", + 0 + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Err", + 0 + |) in + let e := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "instruction_result" + |), + M.read (| e |) + |) in + M.return_ (| Value.Tuple [] |) + |) + |) + |))) + ] + |) in + let~ _ := M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "revm_interpreter::interpreter::stack::Stack", - "push", + Ty.path "revm_interpreter::gas::Gas", + "erase_cost", [] |), [ M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter::Interpreter", - "stack" + "gas" |); - M.read (| M.get_constant (| "ruint::ZERO" |) |) + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "remaining", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter_action::eof_create_outcome::EOFCreateOutcome", + "gas", + [] + |), + [ create_outcome ] + |) + ] + |) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Ok", - 0 - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Err", - 0 - |) in - let e := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "instruction_result" - |), - M.read (| e |) - |) in - M.return_ (| Value.Tuple [] |) - |) - |) - |))) - ] - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "erase_cost", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "gas" - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "remaining", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter_action::eof_create_outcome::EOFCreateOutcome", - "gas", - [] - |), - [ create_outcome ] - |) - ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2325,213 +2329,214 @@ Module interpreter. ltac:(M.monadic match γ with | [] => - let~ remaining := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "remaining", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter_action::call_outcome::CallOutcome", - "gas", - [] - |), - [ call_outcome ] - |) - |) - ] - |) - |) in - let~ refunded := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "refunded", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter_action::call_outcome::CallOutcome", - "gas", - [] - |), - [ call_outcome ] + ltac:(M.monadic + (let~ remaining := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "remaining", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter_action::call_outcome::CallOutcome", + "gas", + [] + |), + [ call_outcome ] + |) |) - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "erase_cost", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "gas" - |); - M.read (| remaining |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "record_refund", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "gas" - |); - M.read (| refunded |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter::shared_memory::SharedMemory", - "set", - [] - |), - [ - M.read (| shared_memory |); - M.read (| out_offset |); - M.call_closure (| - M.get_trait_method (| - "core::ops::index::Index", - Ty.apply (Ty.path "slice") [ Ty.path "u8" ], - [ - Ty.apply - (Ty.path "core::ops::range::RangeTo") - [ Ty.path "usize" ] - ], - "index", - [] - |), - [ + ] + |) + |) in + let~ refunded := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "refunded", + [] + |), + [ + M.alloc (| M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - "deref", + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter_action::call_outcome::CallOutcome", + "gas", [] |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "return_data_buffer" - |) - ] - |) - ] - |); - Value.StructRecord - "core::ops::range::RangeTo" - [ ("end_", M.read (| target_len |)) ] - ] - |) - ] - |) - |) in - let~ _ := - M.match_operator (| + [ call_outcome ] + |) + |) + ] + |) + |) in + let~ _ := M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "revm_interpreter::interpreter::stack::Stack", - "push", + Ty.path "revm_interpreter::gas::Gas", + "erase_cost", [] |), [ M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter::Interpreter", - "stack" + "gas" |); + M.read (| remaining |) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "record_refund", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "gas" + |); + M.read (| refunded |) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter::shared_memory::SharedMemory", + "set", + [] + |), + [ + M.read (| shared_memory |); + M.read (| out_offset |); M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "from", - [ Ty.path "i32" ] + M.get_trait_method (| + "core::ops::index::Index", + Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + [ + Ty.apply + (Ty.path "core::ops::range::RangeTo") + [ Ty.path "usize" ] + ], + "index", + [] |), - [ Value.Integer 1 ] + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "return_data_buffer" + |) + ] + |) + ] + |); + Value.StructRecord + "core::ops::range::RangeTo" + [ ("end_", M.read (| target_len |)) ] + ] |) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Ok", - 0 - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Err", - 0 - |) in - let e := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "instruction_result" - |), - M.read (| e |) - |) in - M.return_ (| Value.Tuple [] |) - |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::interpreter::stack::Stack", + "push", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "stack" + |); + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "from", + [ Ty.path "i32" ] + |), + [ Value.Integer 1 ] |) - |))) - ] - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Ok", + 0 + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Err", + 0 + |) in + let e := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "instruction_result" + |), + M.read (| e |) + |) in + M.return_ (| Value.Tuple [] |) + |) + |) + |))) + ] + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2572,161 +2577,162 @@ Module interpreter. ltac:(M.monadic match γ with | [] => - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "erase_cost", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "gas" - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "remaining", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter_action::call_outcome::CallOutcome", - "gas", - [] - |), - [ call_outcome ] - |) - |) - ] - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_interpreter::interpreter::shared_memory::SharedMemory", - "set", - [] - |), - [ - M.read (| shared_memory |); - M.read (| out_offset |); - M.call_closure (| - M.get_trait_method (| - "core::ops::index::Index", - Ty.apply (Ty.path "slice") [ Ty.path "u8" ], - [ - Ty.apply - (Ty.path "core::ops::range::RangeTo") - [ Ty.path "usize" ] - ], - "index", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - "deref", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "return_data_buffer" - |) - ] - |) - ] - |); - Value.StructRecord - "core::ops::range::RangeTo" - [ ("end_", M.read (| target_len |)) ] - ] - |) - ] - |) - |) in - let~ _ := - M.match_operator (| + ltac:(M.monadic + (let~ _ := M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "revm_interpreter::interpreter::stack::Stack", - "push", + Ty.path "revm_interpreter::gas::Gas", + "erase_cost", [] |), [ M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter::Interpreter", - "stack" + "gas" |); - M.read (| M.get_constant (| "ruint::ZERO" |) |) + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "remaining", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter_action::call_outcome::CallOutcome", + "gas", + [] + |), + [ call_outcome ] + |) + |) + ] + |) ] |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Ok", - 0 - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Err", - 0 - |) in - let e := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_interpreter::interpreter::Interpreter", - "instruction_result" + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_interpreter::interpreter::shared_memory::SharedMemory", + "set", + [] + |), + [ + M.read (| shared_memory |); + M.read (| out_offset |); + M.call_closure (| + M.get_trait_method (| + "core::ops::index::Index", + Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + [ + Ty.apply + (Ty.path "core::ops::range::RangeTo") + [ Ty.path "usize" ] + ], + "index", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] |), - M.read (| e |) - |) in - M.return_ (| Value.Tuple [] |) + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "return_data_buffer" + |) + ] + |) + ] + |); + Value.StructRecord + "core::ops::range::RangeTo" + [ ("end_", M.read (| target_len |)) ] + ] + |) + ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::interpreter::stack::Stack", + "push", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "stack" + |); + M.read (| M.get_constant (| "ruint::ZERO" |) |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Ok", + 0 + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Err", + 0 + |) in + let e := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_interpreter::interpreter::Interpreter", + "instruction_result" + |), + M.read (| e |) + |) in + M.return_ (| Value.Tuple [] |) + |) |) - |) - |))) - ] - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + |))) + ] + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/interpreter/interpreter/analysis.v b/CoqOfRust/revm/interpreter/interpreter/analysis.v index 2f5750e40..3761c5dbf 100644 --- a/CoqOfRust/revm/interpreter/interpreter/analysis.v +++ b/CoqOfRust/revm/interpreter/interpreter/analysis.v @@ -1711,100 +1711,103 @@ Module interpreter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.Pure.not - (M.read (| - M.call_closure (| - M.get_trait_method (| - "core::ops::index::Index", - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.path "bool"; - Ty.path - "alloc::alloc::Global" - ], - [ Ty.path "usize" ], - "index", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.Pure.not + (M.read (| + M.call_closure (| + M.get_trait_method (| + "core::ops::index::Index", + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path "bool"; + Ty.path + "alloc::alloc::Global" + ], + [ Ty.path "usize" ], + "index", + [] + |), + [ + queued_codes; + M.read (| i |) + ] + |) + |)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + M.write (| + M.call_closure (| + M.get_trait_method (| + "core::ops::index::IndexMut", + Ty.apply + (Ty.path + "alloc::vec::Vec") [ - queued_codes; - M.read (| i |) - ] - |) - |)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - M.write (| - M.call_closure (| - M.get_trait_method (| - "core::ops::index::IndexMut", - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.path "bool"; - Ty.path - "alloc::alloc::Global" - ], - [ Ty.path "usize" ], - "index_mut", - [] - |), - [ queued_codes; M.read (| i |) - ] - |), - Value.Bool true - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.path "usize"; - Ty.path - "alloc::alloc::Global" - ], - "push", - [] + Ty.path "bool"; + Ty.path + "alloc::alloc::Global" + ], + [ Ty.path "usize" ], + "index_mut", + [] + |), + [ + queued_codes; + M.read (| i |) + ] |), - [ queue; M.read (| i |) ] - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.Bool true + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path "usize"; + Ty.path + "alloc::alloc::Global" + ], + "push", + [] + |), + [ queue; M.read (| i |) ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1865,16 +1868,17 @@ Module interpreter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - UnOp.Pure.not (M.read (| x |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + UnOp.Pure.not (M.read (| x |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4434,100 +4438,103 @@ Module interpreter. ltac:(M.monadic match γ with | [] => - let~ offset := - M.alloc (| - M.rust_cast - (M.call_closure (| - M.get_function (| - "revm_interpreter::instructions::utility::read_i16", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "*const") - [ Ty.path "u8" ], - "add", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ Ty.path "u8" ], - "as_ptr", - [] - |), - [ M.read (| code |) ] - |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) - ] - |) - ] - |)) - |) in - let~ _ := - M.write (| - absolute_jumpdest, - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [ Ty.path "isize" ], - "into_vec", - [ Ty.path "alloc::alloc::Global" ] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.read (| + ltac:(M.monadic + (let~ offset := + M.alloc (| + M.rust_cast + (M.call_closure (| + M.get_function (| + "revm_interpreter::instructions::utility::read_i16", + [] + |), + [ M.call_closure (| M.get_associated_function (| Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.apply - (Ty.path "array") - [ Ty.path "isize" ]; - Ty.path - "alloc::alloc::Global" - ], - "new", + (Ty.path "*const") + [ Ty.path "u8" ], + "add", [] |), [ - M.alloc (| - Value.Array - [ - BinOp.Wrap.add - Integer.Isize - (BinOp.Wrap.add - Integer.Isize - (M.read (| - offset - |)) - (Value.Integer - 3)) - (M.rust_cast - (M.read (| - i - |))) - ] - |) + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ Ty.path "u8" ], + "as_ptr", + [] + |), + [ M.read (| code |) ] + |); + BinOp.Wrap.add + Integer.Usize + (M.read (| i |)) + (Value.Integer 1) ] |) - |)) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + ] + |)) + |) in + let~ _ := + M.write (| + absolute_jumpdest, + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ Ty.path "isize" ], + "into_vec", + [ Ty.path "alloc::alloc::Global" + ] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.read (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.apply + (Ty.path "array") + [ Ty.path "isize" + ]; + Ty.path + "alloc::alloc::Global" + ], + "new", + [] + |), + [ + M.alloc (| + Value.Array + [ + BinOp.Wrap.add + Integer.Isize + (BinOp.Wrap.add + Integer.Isize + (M.read (| + offset + |)) + (Value.Integer + 3)) + (M.rust_cast + (M.read (| + i + |))) + ] + |) + ] + |) + |)) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/interpreter/interpreter/contract.v b/CoqOfRust/revm/interpreter/interpreter/contract.v index e1a2cb3b7..dc26a94aa 100644 --- a/CoqOfRust/revm/interpreter/interpreter/contract.v +++ b/CoqOfRust/revm/interpreter/interpreter/contract.v @@ -653,24 +653,25 @@ Module interpreter. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_primitives::bytecode::legacy::jump_map::JumpTable", - "is_valid", - [] - |), - [ M.read (| i |); M.read (| pos |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_primitives::bytecode::legacy::jump_map::JumpTable", + "is_valid", + [] + |), + [ M.read (| i |); M.read (| pos |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/revm/interpreter/interpreter_action/call_inputs.v b/CoqOfRust/revm/interpreter/interpreter_action/call_inputs.v index 1ec0b5edb..2212f2e70 100644 --- a/CoqOfRust/revm/interpreter/interpreter_action/call_inputs.v +++ b/CoqOfRust/revm/interpreter/interpreter_action/call_inputs.v @@ -1108,25 +1108,26 @@ Module interpreter_action. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialOrd", - Ty.path "ruint::Uint", - [ Ty.path "ruint::Uint" ], - "gt", - [] - |), - [ x; M.get_constant (| "ruint::ZERO" |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialOrd", + Ty.path "ruint::Uint", + [ Ty.path "ruint::Uint" ], + "gt", + [] + |), + [ x; M.get_constant (| "ruint::ZERO" |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2070,7 +2071,10 @@ Module interpreter_action. M.closure (fun γ => ltac:(M.monadic - match γ with | [ value ] => value | _ => M.impossible (||) end)) + match γ with + | [ value ] => ltac:(M.monadic value) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) |))) ] |) diff --git a/CoqOfRust/revm/interpreter/links/gas.v b/CoqOfRust/revm/interpreter/links/gas.v index cbc2a6b6d..4d6d1dc06 100644 --- a/CoqOfRust/revm/interpreter/links/gas.v +++ b/CoqOfRust/revm/interpreter/links/gas.v @@ -1,6 +1,7 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. Require core.links.clone. +Require core.links.cmp. Require core.links.default. Require Import revm.interpreter.gas. @@ -89,7 +90,7 @@ Module Impl_Clone. } Defined. - Definition run_impl : clone.Clone.RunImpl Gas.t (Φ Gas.t). + Definition run : clone.Clone.Run Gas.t (Φ Gas.t). Proof. constructor. { (* clone *) @@ -137,7 +138,7 @@ Module Impl_Default. } Defined. - Definition run_impl : default.Default.RunImpl Gas.t (Φ Gas.t). + Definition run : default.Default.Run Gas.t (Φ Gas.t). Proof. constructor. { (* default *) @@ -348,4 +349,45 @@ Module Impl_revm_interpreter_gas_Gas. } intros; run_symbolic. Defined. + + (* + pub fn set_final_refund(&mut self, is_london: bool) { + let max_refund_quotient = if is_london { 5 } else { 2 }; + self.refunded = (self.refunded() as u64).min(self.spent() / max_refund_quotient) as i64; + } + *) + Definition run_set_final_refund (self : Ref.t Self) (is_london : bool) : + {{ + gas.Impl_revm_interpreter_gas_Gas.set_final_refund [] [φ self; φ is_london] ⇓ + fun (v : unit) => inl (φ v) + }}. + Proof. + run_symbolic. + eapply Run.Let with (output_to_value' := fun (v : Ref.t Z) => inl (φ v)). { + run_symbolic. + destruct value; cbn. + { eapply Run.CallPrimitiveStateAlloc with (A := Z); [reflexivity |]; intros. + run_symbolic. + } + { eapply Run.CallPrimitiveStateAlloc with (A := Z); [reflexivity |]; intros. + run_symbolic. + } + } + intros. + eapply Run.Let. { + run_symbolic. + run_sub_pointer Gas.SubPointer.get_refunded_is_valid. + + } + intros; run_symbolic. + run_sub_pointer Gas.SubPointer.get_refunded_is_valid. + run_symbolic. + eapply Run.Let. { + run_symbolic. + } + intros; run_symbolic. + eapply Run.Let. { + run_symbolic. + } + intros; run_symbolic. End Impl_revm_interpreter_gas_Gas. diff --git a/CoqOfRust/revm/interpreter/opcode.v b/CoqOfRust/revm/interpreter/opcode.v index 7d5688433..b8c6835bb 100644 --- a/CoqOfRust/revm/interpreter/opcode.v +++ b/CoqOfRust/revm/interpreter/opcode.v @@ -449,57 +449,58 @@ Module opcode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - (* Unsize *) - M.pointer_coercion - (M.read (| - let~ instruction := - M.alloc (| - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.function - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "revm_interpreter::interpreter::Interpreter" - ]; - Ty.apply - (Ty.path "&mut") - [ H ] - ] - (Ty.tuple []); - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ - M.read (| - M.SubPointer.get_array_field (| - M.read (| table |), - i + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + (* Unsize *) + M.pointer_coercion + (M.read (| + let~ instruction := + M.alloc (| + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.function + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.path + "revm_interpreter::interpreter::Interpreter" + ]; + Ty.apply + (Ty.path "&mut") + [ H ] + ] + (Ty.tuple []); + Ty.path "alloc::alloc::Global" + ], + "new", + [] + |), + [ + M.read (| + M.SubPointer.get_array_field (| + M.read (| table |), + i + |) |) - |) - ] - |)) - |) in - instruction - |)))) - ] - |) - | _ => M.impossible (||) + ] + |)) + |) in + instruction + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -723,42 +724,43 @@ Module opcode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::ops::function::FnMut", - FN, + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::ops::function::FnMut", + FN, + [ + Ty.tuple + [ + Ty.function + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path "revm_interpreter::interpreter::Interpreter" + ]; + Ty.apply (Ty.path "&mut") [ H ] + ] + (Ty.tuple []) + ] + ], + "call_mut", + [] + |), [ - Ty.tuple - [ - Ty.function - [ - Ty.apply - (Ty.path "&mut") - [ Ty.path "revm_interpreter::interpreter::Interpreter" - ]; - Ty.apply (Ty.path "&mut") [ H ] - ] - (Ty.tuple []) - ] - ], - "call_mut", - [] - |), - [ - outer; - Value.Tuple - [ M.read (| M.SubPointer.get_array_field (| table, i |) |) ] - ] - |))) - ] - |) - | _ => M.impossible (||) + outer; + Value.Tuple + [ M.read (| M.SubPointer.get_array_field (| table, i |) |) ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/revm/precompile/bn128.v b/CoqOfRust/revm/precompile/bn128.v index db7b7c8d6..d828f60ae 100644 --- a/CoqOfRust/revm/precompile/bn128.v +++ b/CoqOfRust/revm/precompile/bn128.v @@ -34,58 +34,60 @@ Module bn128. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm_precompile::bn128::run_add", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - "deref", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| input |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm_precompile::bn128::run_add", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| input |) ] + |) + ] + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::add::ISTANBUL_ADD_GAS_COST" |) - ] - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::add::ISTANBUL_ADD_GAS_COST" - |) - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end))) ] ] @@ -112,58 +114,60 @@ Module bn128. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm_precompile::bn128::run_add", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - "deref", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| input |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm_precompile::bn128::run_add", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| input |) ] + |) + ] + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::add::BYZANTIUM_ADD_GAS_COST" |) - ] - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::add::BYZANTIUM_ADD_GAS_COST" - |) - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end))) ] ] @@ -202,58 +206,60 @@ Module bn128. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm_precompile::bn128::run_mul", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - "deref", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| input |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm_precompile::bn128::run_mul", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| input |) ] + |) + ] + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::mul::ISTANBUL_MUL_GAS_COST" |) - ] - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::mul::ISTANBUL_MUL_GAS_COST" - |) - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end))) ] ] @@ -280,58 +286,60 @@ Module bn128. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm_precompile::bn128::run_mul", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - "deref", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| input |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm_precompile::bn128::run_mul", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| input |) ] + |) + ] + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::mul::BYZANTIUM_MUL_GAS_COST" |) - ] - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::mul::BYZANTIUM_MUL_GAS_COST" - |) - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end))) ] ] @@ -373,63 +381,65 @@ Module bn128. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm_precompile::bn128::run_pair", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - "deref", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| input |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm_precompile::bn128::run_pair", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| input |) ] + |) + ] + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::pair::ISTANBUL_PAIR_PER_POINT" |) - ] - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::pair::ISTANBUL_PAIR_PER_POINT" - |) - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::pair::ISTANBUL_PAIR_BASE" - |) - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::pair::ISTANBUL_PAIR_BASE" + |) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end))) ] ] @@ -459,63 +469,65 @@ Module bn128. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm_precompile::bn128::run_pair", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - "deref", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| input |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm_precompile::bn128::run_pair", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| input |) ] + |) + ] + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::pair::BYZANTIUM_PAIR_PER_POINT" |) - ] - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::pair::BYZANTIUM_PAIR_PER_POINT" - |) - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::pair::BYZANTIUM_PAIR_BASE" - |) - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::pair::BYZANTIUM_PAIR_BASE" + |) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end))) ] ] @@ -584,17 +596,18 @@ Module bn128. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "revm_primitives::precompile::PrecompileError::Bn128FieldPointNotAMember" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "revm_primitives::precompile::PrecompileError::Bn128FieldPointNotAMember" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -968,17 +981,18 @@ Module bn128. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "revm_primitives::precompile::PrecompileError::Bn128AffineGFailedToCreate" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "revm_primitives::precompile::PrecompileError::Bn128AffineGFailedToCreate" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2148,236 +2162,246 @@ Module bn128. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let n := M.copy (| γ |) in - M.read (| - let~ _ := - M.match_operator (| - M.alloc (| - Value.Tuple [] - |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let n := + M.copy (| γ |) in + M.read (| + let~ _ := + M.match_operator (| + M.alloc (| + Value.Tuple [] + |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + Value.Bool + true + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| + γ + |), Value.Bool true - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| - γ - |), - Value.Bool - true - |) in - let~ _ := - M.match_operator (| - M.alloc (| - Value.Tuple - [] - |), - [ - fun γ => - ltac:(M.monadic - (let - γ := - M.use - (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| - n - |)) - (BinOp.Wrap.div - Integer.Usize + |) in + let~ _ := + M.match_operator (| + M.alloc (| + Value.Tuple + [] + |), + [ + fun γ => + ltac:(M.monadic + (let + γ := + M.use + (M.alloc (| + UnOp.Pure.not + (BinOp.Pure.lt (M.read (| - M.get_constant (| - "revm_precompile::bn128::PAIR_ELEMENT_LEN" - |) + n |)) - (Value.Integer - 32))) - |)) in - let - _ := - M.is_constant_or_break_match (| - M.read (| - γ - |), - Value.Bool - true - |) in - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::panicking::panic", - [] + (BinOp.Wrap.div + Integer.Usize + (M.read (| + M.get_constant (| + "revm_precompile::bn128::PAIR_ELEMENT_LEN" + |) + |)) + (Value.Integer + 32))) + |)) in + let + _ := + M.is_constant_or_break_match (| + M.read (| + γ |), - [ - M.read (| - Value.String - "assertion failed: n < PAIR_ELEMENT_LEN / 32" - |) - ] + Value.Bool + true + |) in + M.alloc (| + M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::panicking::panic", + [] + |), + [ + M.read (| + Value.String + "assertion failed: n < PAIR_ELEMENT_LEN / 32" + |) + ] + |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.Tuple - [] - |))) - ] - |) in - M.alloc (| - Value.Tuple [] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.Tuple [] - |))) - ] - |) in - let~ start := - M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| - M.get_constant (| - "revm_precompile::bn128::PAIR_ELEMENT_LEN" - |) - |))) - (BinOp.Wrap.mul + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.Tuple + [] + |))) + ] + |) in + M.alloc (| + Value.Tuple + [] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.Tuple + [] + |))) + ] + |) in + let~ start := + M.alloc (| + BinOp.Wrap.add Integer.Usize - (M.read (| n |)) - (Value.Integer - 32)) - |) in - let~ slice := + (BinOp.Wrap.mul + Integer.Usize + (M.read (| + idx + |)) + (M.read (| + M.get_constant (| + "revm_precompile::bn128::PAIR_ELEMENT_LEN" + |) + |))) + (BinOp.Wrap.mul + Integer.Usize + (M.read (| n |)) + (Value.Integer + 32)) + |) in + let~ slice := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "slice") + [ Ty.path "u8" + ], + "get_unchecked", + [ + Ty.apply + (Ty.path + "core::ops::range::Range") + [ + Ty.path + "usize" + ] + ] + |), + [ + M.read (| + input + |); + Value.StructRecord + "core::ops::range::Range" + [ + ("start", + M.read (| + start + |)); + ("end_", + BinOp.Wrap.add + Integer.Usize + (M.read (| + start + |)) + (Value.Integer + 32)) + ] + ] + |) + |) in M.alloc (| M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path - "slice") - [ Ty.path "u8" + "core::result::Result") + [ + Ty.path + "substrate_bn::Fq"; + Ty.path + "substrate_bn::FieldError" ], - "get_unchecked", + "map_err", [ - Ty.apply - (Ty.path - "core::ops::range::Range") + Ty.path + "revm_primitives::precompile::PrecompileError"; + Ty.function [ - Ty.path - "usize" + Ty.tuple + [ + Ty.path + "substrate_bn::FieldError" + ] ] + (Ty.path + "revm_primitives::precompile::PrecompileError") ] |), [ - M.read (| - input - |); - Value.StructRecord - "core::ops::range::Range" + M.call_closure (| + M.get_associated_function (| + Ty.path + "substrate_bn::Fq", + "from_slice", + [] + |), [ - ("start", - M.read (| - start - |)); - ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| - start - |)) - (Value.Integer - 32)) + M.read (| + slice + |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (Value.StructTuple + "revm_primitives::precompile::PrecompileError::Bn128FieldPointNotAMember" + [])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) ] |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "substrate_bn::Fq"; - Ty.path - "substrate_bn::FieldError" - ], - "map_err", - [ - Ty.path - "revm_primitives::precompile::PrecompileError"; - Ty.function - [ - Ty.tuple - [ - Ty.path - "substrate_bn::FieldError" - ] - ] - (Ty.path - "revm_primitives::precompile::PrecompileError") - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "substrate_bn::Fq", - "from_slice", - [] - |), - [ - M.read (| - slice - |) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "revm_primitives::precompile::PrecompileError::Bn128FieldPointNotAMember" - [])) - ] - |) - | _ => - M.impossible (||) - end)) - ] |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) |) in let~ ax := @@ -3290,21 +3314,23 @@ Module bn128. with | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), - [ - fun - γ => - ltac:(M.monadic - (Value.StructTuple - "revm_primitives::precompile::PrecompileError::Bn128AffineGFailedToCreate" - [])) - ] - |) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (Value.StructTuple + "revm_primitives::precompile::PrecompileError::Bn128AffineGFailedToCreate" + [])) + ] + |))) | _ => - M.impossible (||) + ltac:(M.monadic + (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/precompile/lib.v b/CoqOfRust/revm/precompile/lib.v index cdb159d4d..2cd273fa8 100644 --- a/CoqOfRust/revm/precompile/lib.v +++ b/CoqOfRust/revm/precompile/lib.v @@ -850,78 +850,81 @@ Module Impl_revm_precompile_Precompiles. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ precompiles := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path "revm_precompile::Precompiles", - [], - "default", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ precompiles := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::default::Default", + Ty.path "revm_precompile::Precompiles", + [], + "default", + [] + |), [] - |), - [] - |) - |) in - let~ _ := + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "extend", + [ + Ty.apply + (Ty.path "array") + [ Ty.path "revm_precompile::PrecompileWithAddress" ] + ] + |), + [ + precompiles; + Value.Array + [ + M.read (| + M.get_constant (| + "revm_precompile::secp256k1::ECRECOVER" + |) + |); + M.read (| + M.get_constant (| "revm_precompile::hash::SHA256" |) + |); + M.read (| + M.get_constant (| + "revm_precompile::hash::RIPEMD160" + |) + |); + M.read (| + M.get_constant (| "revm_precompile::identity::FUN" |) + |) + ] + ] + |) + |) in M.alloc (| M.call_closure (| M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "extend", - [ - Ty.apply - (Ty.path "array") - [ Ty.path "revm_precompile::PrecompileWithAddress" ] - ] - |), - [ - precompiles; - Value.Array + Ty.apply + (Ty.path "alloc::boxed::Box") [ - M.read (| - M.get_constant (| - "revm_precompile::secp256k1::ECRECOVER" - |) - |); - M.read (| - M.get_constant (| "revm_precompile::hash::SHA256" |) - |); - M.read (| - M.get_constant (| "revm_precompile::hash::RIPEMD160" |) - |); - M.read (| - M.get_constant (| "revm_precompile::identity::FUN" |) - |) - ] - ] + Ty.path "revm_precompile::Precompiles"; + Ty.path "alloc::alloc::Global" + ], + "new", + [] + |), + [ M.read (| precompiles |) ] |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path "revm_precompile::Precompiles"; - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ M.read (| precompiles |) ] |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -973,93 +976,94 @@ Module Impl_revm_precompile_Precompiles. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ precompiles := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path "revm_precompile::Precompiles", - [], - "clone", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "homestead", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ precompiles := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path "revm_precompile::Precompiles", + [], + "clone", [] - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "extend", + |), [ - Ty.apply - (Ty.path "array") - [ Ty.path "revm_precompile::PrecompileWithAddress" ] + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "homestead", + [] + |), + [] + |) ] - |), - [ - precompiles; - Value.Array + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "extend", [ - M.read (| - M.get_constant (| - "revm_precompile::bn128::add::BYZANTIUM" - |) - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::mul::BYZANTIUM" - |) - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::pair::BYZANTIUM" - |) - |); - M.read (| - M.get_constant (| - "revm_precompile::modexp::BYZANTIUM" - |) - |) + Ty.apply + (Ty.path "array") + [ Ty.path "revm_precompile::PrecompileWithAddress" ] ] - ] - |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") + |), [ - Ty.path "revm_precompile::Precompiles"; - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ M.read (| precompiles |) ] + precompiles; + Value.Array + [ + M.read (| + M.get_constant (| + "revm_precompile::bn128::add::BYZANTIUM" + |) + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::mul::BYZANTIUM" + |) + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::pair::BYZANTIUM" + |) + |); + M.read (| + M.get_constant (| + "revm_precompile::modexp::BYZANTIUM" + |) + |) + ] + ] + |) + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path "revm_precompile::Precompiles"; + Ty.path "alloc::alloc::Global" + ], + "new", + [] + |), + [ M.read (| precompiles |) ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1110,91 +1114,92 @@ Module Impl_revm_precompile_Precompiles. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ precompiles := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path "revm_precompile::Precompiles", - [], - "clone", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "byzantium", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ precompiles := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path "revm_precompile::Precompiles", + [], + "clone", [] - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "extend", + |), [ - Ty.apply - (Ty.path "array") - [ Ty.path "revm_precompile::PrecompileWithAddress" ] + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "byzantium", + [] + |), + [] + |) ] - |), - [ - precompiles; - Value.Array + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "extend", [ - M.read (| - M.get_constant (| "revm_precompile::blake2::FUN" |) - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::add::ISTANBUL" - |) - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::mul::ISTANBUL" - |) - |); - M.read (| - M.get_constant (| - "revm_precompile::bn128::pair::ISTANBUL" - |) - |) + Ty.apply + (Ty.path "array") + [ Ty.path "revm_precompile::PrecompileWithAddress" ] ] - ] - |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") + |), [ - Ty.path "revm_precompile::Precompiles"; - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ M.read (| precompiles |) ] + precompiles; + Value.Array + [ + M.read (| + M.get_constant (| "revm_precompile::blake2::FUN" |) + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::add::ISTANBUL" + |) + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::mul::ISTANBUL" + |) + |); + M.read (| + M.get_constant (| + "revm_precompile::bn128::pair::ISTANBUL" + |) + |) + ] + ] + |) + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path "revm_precompile::Precompiles"; + Ty.path "alloc::alloc::Global" + ], + "new", + [] + |), + [ M.read (| precompiles |) ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1241,76 +1246,77 @@ Module Impl_revm_precompile_Precompiles. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ precompiles := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path "revm_precompile::Precompiles", - [], - "clone", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "istanbul", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ precompiles := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path "revm_precompile::Precompiles", + [], + "clone", [] - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "extend", + |), [ - Ty.apply - (Ty.path "array") - [ Ty.path "revm_precompile::PrecompileWithAddress" ] + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "istanbul", + [] + |), + [] + |) ] - |), - [ - precompiles; - Value.Array + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "extend", [ - M.read (| - M.get_constant (| "revm_precompile::modexp::BERLIN" |) - |) + Ty.apply + (Ty.path "array") + [ Ty.path "revm_precompile::PrecompileWithAddress" ] ] - ] - |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") + |), [ - Ty.path "revm_precompile::Precompiles"; - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ M.read (| precompiles |) ] + precompiles; + Value.Array + [ + M.read (| + M.get_constant (| "revm_precompile::modexp::BERLIN" |) + |) + ] + ] + |) + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path "revm_precompile::Precompiles"; + Ty.path "alloc::alloc::Global" + ], + "new", + [] + |), + [ M.read (| precompiles |) ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1365,83 +1371,84 @@ Module Impl_revm_precompile_Precompiles. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ precompiles := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ precompiles := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path "revm_precompile::Precompiles", + [], + "clone", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "berlin", + [] + |), + [] + |) + ] + |) + |) in + let~ precompiles := + M.copy (| + let~ precompiles := M.copy (| precompiles |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_precompile::Precompiles", + "extend", + [ + Ty.apply + (Ty.path "array") + [ Ty.path "revm_precompile::PrecompileWithAddress" ] + ] + |), + [ + precompiles; + Value.Array + [ + M.read (| + M.get_constant (| + "revm_precompile::kzg_point_evaluation::POINT_EVALUATION" + |) + |) + ] + ] + |) + |) in + precompiles + |) in M.alloc (| M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path "revm_precompile::Precompiles", - [], - "clone", + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path "revm_precompile::Precompiles"; + Ty.path "alloc::alloc::Global" + ], + "new", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "berlin", - [] - |), - [] - |) - ] + [ M.read (| precompiles |) ] |) - |) in - let~ precompiles := - M.copy (| - let~ precompiles := M.copy (| precompiles |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_precompile::Precompiles", - "extend", - [ - Ty.apply - (Ty.path "array") - [ Ty.path "revm_precompile::PrecompileWithAddress" ] - ] - |), - [ - precompiles; - Value.Array - [ - M.read (| - M.get_constant (| - "revm_precompile::kzg_point_evaluation::POINT_EVALUATION" - |) - |) - ] - ] - |) - |) in - precompiles - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path "revm_precompile::Precompiles"; - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ M.read (| precompiles |) ] |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2493,10 +2500,11 @@ Module Impl_revm_precompile_PrecompileSpecId. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple "revm_precompile::PrecompileSpecId::HOMESTEAD" [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "revm_precompile::PrecompileSpecId::HOMESTEAD" [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2534,10 +2542,11 @@ Module Impl_revm_precompile_PrecompileSpecId. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple "revm_precompile::PrecompileSpecId::BYZANTIUM" [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "revm_precompile::PrecompileSpecId::BYZANTIUM" [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2567,10 +2576,11 @@ Module Impl_revm_precompile_PrecompileSpecId. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple "revm_precompile::PrecompileSpecId::ISTANBUL" [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "revm_precompile::PrecompileSpecId::ISTANBUL" [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2632,10 +2642,11 @@ Module Impl_revm_precompile_PrecompileSpecId. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple "revm_precompile::PrecompileSpecId::BERLIN" [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "revm_precompile::PrecompileSpecId::BERLIN" [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2665,10 +2676,11 @@ Module Impl_revm_precompile_PrecompileSpecId. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple "revm_precompile::PrecompileSpecId::CANCUN" [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "revm_precompile::PrecompileSpecId::CANCUN" [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/precompile/modexp.v b/CoqOfRust/revm/precompile/modexp.v index 751d980bc..a062e005e 100644 --- a/CoqOfRust/revm/precompile/modexp.v +++ b/CoqOfRust/revm/precompile/modexp.v @@ -103,51 +103,52 @@ Module modexp. ltac:(M.monadic match γ with | [ α0; α1; α2; α3 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α2 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α3 |), - [ - fun γ => - ltac:(M.monadic - (let d := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm_precompile::modexp::byzantium_gas_calc", - [] - |), - [ - M.read (| a |); - M.read (| b |); - M.read (| c |); - M.read (| d |) - ] - |))) - ] - |))) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α2 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α3 |), + [ + fun γ => + ltac:(M.monadic + (let d := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm_precompile::modexp::byzantium_gas_calc", + [] + |), + [ + M.read (| a |); + M.read (| b |); + M.read (| c |); + M.read (| d |) + ] + |))) + ] + |))) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -216,51 +217,52 @@ Module modexp. ltac:(M.monadic match γ with | [ α0; α1; α2; α3 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let b := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α2 |), - [ - fun γ => - ltac:(M.monadic - (let c := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α3 |), - [ - fun γ => - ltac:(M.monadic - (let d := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm_precompile::modexp::berlin_gas_calc", - [] - |), - [ - M.read (| a |); - M.read (| b |); - M.read (| c |); - M.read (| d |) - ] - |))) - ] - |))) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let b := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α2 |), + [ + fun γ => + ltac:(M.monadic + (let c := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α3 |), + [ + fun γ => + ltac:(M.monadic + (let d := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm_precompile::modexp::berlin_gas_calc", + [] + |), + [ + M.read (| a |); + M.read (| b |); + M.read (| c |); + M.read (| d |) + ] + |))) + ] + |))) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/revm/precompile/secp256k1.v b/CoqOfRust/revm/precompile/secp256k1.v index b169c3f68..68ea003ad 100644 --- a/CoqOfRust/revm/precompile/secp256k1.v +++ b/CoqOfRust/revm/precompile/secp256k1.v @@ -527,19 +527,20 @@ Module secp256k1. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let b := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| b |)) - (Value.Integer 0))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let b := M.copy (| γ |) in + BinOp.Pure.eq + (M.read (| b |)) + (Value.Integer 0))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |), @@ -588,8 +589,10 @@ Module secp256k1. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => + ltac:(M.monadic + (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -812,50 +815,51 @@ Module secp256k1. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let o := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.apply - (Ty.path "alloc::vec::Vec") - [ Ty.path "u8"; Ty.path "alloc::alloc::Global" ], - [ Ty.path "alloy_primitives::bytes_::Bytes" ], - "into", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ Ty.path "u8" ], - "to_vec", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bits::fixed::FixedBytes", - [], - "deref", - [] - |), - [ o ] - |)) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let o := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::convert::Into", + Ty.apply + (Ty.path "alloc::vec::Vec") + [ Ty.path "u8"; Ty.path "alloc::alloc::Global" ], + [ Ty.path "alloy_primitives::bytes_::Bytes" ], + "into", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + "to_vec", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bits::fixed::FixedBytes", + [], + "deref", + [] + |), + [ o ] + |)) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/primitives/bytecode/eof.v b/CoqOfRust/revm/primitives/bytecode/eof.v index 303e4f095..3cb9e51af 100644 --- a/CoqOfRust/revm/primitives/bytecode/eof.v +++ b/CoqOfRust/revm/primitives/bytecode/eof.v @@ -721,51 +721,52 @@ Module bytecode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let bytes := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ Ty.path "u8" ], - "get", - [ - Ty.apply - (Ty.path "core::ops::range::RangeTo") - [ Ty.path "usize" ] - ] - |), - [ - M.read (| bytes |); - Value.StructRecord - "core::ops::range::RangeTo" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let bytes := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + "get", [ - ("end_", - M.call_closure (| - M.get_function (| - "core::cmp::min", - [ Ty.path "usize" ] - |), - [ - M.read (| len |); - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "slice") [ Ty.path "u8" ], - "len", - [] - |), - [ M.read (| bytes |) ] - |) - ] - |)) + Ty.apply + (Ty.path "core::ops::range::RangeTo") + [ Ty.path "usize" ] ] - ] - |))) - ] - |) - | _ => M.impossible (||) + |), + [ + M.read (| bytes |); + Value.StructRecord + "core::ops::range::RangeTo" + [ + ("end_", + M.call_closure (| + M.get_function (| + "core::cmp::min", + [ Ty.path "usize" ] + |), + [ + M.read (| len |); + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "slice") [ Ty.path "u8" ], + "len", + [] + |), + [ M.read (| bytes |) ] + |) + ] + |)) + ] + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/CoqOfRust/revm/primitives/bytecode/eof/body.v b/CoqOfRust/revm/primitives/bytecode/eof/body.v index 7dfec2e4e..5e7e0beef 100644 --- a/CoqOfRust/revm/primitives/bytecode/eof/body.v +++ b/CoqOfRust/revm/primitives/bytecode/eof/body.v @@ -907,36 +907,37 @@ Module bytecode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_associated_function (| - Ty.path "bytes::bytes::Bytes", - "len", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| x |) ] - |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_associated_function (| + Ty.path "bytes::bytes::Bytes", + "len", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| x |) ] + |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1032,36 +1033,37 @@ Module bytecode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.rust_cast - (M.call_closure (| - M.get_associated_function (| - Ty.path "bytes::bytes::Bytes", - "len", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| x |) ] - |) - ] - |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.rust_cast + (M.call_closure (| + M.get_associated_function (| + Ty.path "bytes::bytes::Bytes", + "len", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| x |) ] + |) + ] + |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1180,34 +1182,36 @@ Module bytecode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "bytes::bytes::Bytes", - "len", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| x |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "bytes::bytes::Bytes", + "len", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| x |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1299,34 +1303,36 @@ Module bytecode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "bytes::bytes::Bytes", - "len", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| x |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "bytes::bytes::Bytes", + "len", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| x |) ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2367,16 +2373,17 @@ Module bytecode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.rust_cast (M.read (| M.read (| x |) |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.rust_cast (M.read (| M.read (| x |) |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2563,16 +2570,17 @@ Module bytecode. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let x := M.copy (| γ |) in - M.rust_cast (M.read (| M.read (| x |) |)))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let x := M.copy (| γ |) in + M.rust_cast (M.read (| M.read (| x |) |)))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/primitives/env.v b/CoqOfRust/revm/primitives/env.v index aaa928ae8..439ec1363 100644 --- a/CoqOfRust/revm/primitives/env.v +++ b/CoqOfRust/revm/primitives/env.v @@ -562,55 +562,56 @@ Module env. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let blob_gas_price := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "saturating_mul", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "from", - [ Ty.path "u128" ] - |), - [ M.read (| blob_gas_price |) ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "from", - [ Ty.path "u64" ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_primitives::env::TxEnv", - "get_total_blob_gas", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_primitives::env::Env", - "tx" - |) - ] - |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let blob_gas_price := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "saturating_mul", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "from", + [ Ty.path "u128" ] + |), + [ M.read (| blob_gas_price |) ] + |); + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "from", + [ Ty.path "u64" ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_primitives::env::TxEnv", + "get_total_blob_gas", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_primitives::env::Env", + "tx" + |) + ] + |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -658,48 +659,49 @@ Module env. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let max_fee_per_blob_gas := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "saturating_mul", - [] - |), - [ - M.read (| max_fee_per_blob_gas |); - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "from", - [ Ty.path "u64" ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_primitives::env::TxEnv", - "get_total_blob_gas", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_primitives::env::Env", - "tx" - |) - ] - |) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let max_fee_per_blob_gas := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "saturating_mul", + [] + |), + [ + M.read (| max_fee_per_blob_gas |); + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "from", + [ Ty.path "u64" ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_primitives::env::TxEnv", + "get_total_blob_gas", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_primitives::env::Env", + "tx" + |) + ] + |) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1377,23 +1379,24 @@ Module env. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let limit := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "usize", - "saturating_mul", - [] - |), - [ M.read (| limit |); Value.Integer 2 ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let limit := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "usize", + "saturating_mul", + [] + |), + [ M.read (| limit |); Value.Integer 2 ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -2587,52 +2590,54 @@ Module env. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let i := M.copy (| γ0_1 |) in - BinOp.Pure.ge - (M.call_closure (| - M.get_associated_function (| - Ty.path - "bytes::bytes::Bytes", - "len", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - "deref", - [] - |), - [ M.read (| i |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let i := M.copy (| γ0_1 |) in + BinOp.Pure.ge + (M.call_closure (| + M.get_associated_function (| + Ty.path + "bytes::bytes::Bytes", + "len", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + "deref", + [] + |), + [ M.read (| i |) ] + |) + ] + |)) + (M.read (| + M.get_constant (| + "revm_primitives::constants::MAX_INITCODE_SIZE" |) - ] - |)) - (M.read (| - M.get_constant (| - "revm_primitives::constants::MAX_INITCODE_SIZE" - |) - |)))) - ] - |) - | _ => M.impossible (||) + |)))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3051,36 +3056,37 @@ Module env. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let gas_cost := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "checked_add", - [] - |), - [ - M.read (| gas_cost |); - M.read (| - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let gas_cost := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "checked_add", + [] + |), + [ + M.read (| gas_cost |); + M.read (| M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm_primitives::env::Env", - "tx" - |), - "revm_primitives::env::TxEnv", - "value" + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm_primitives::env::Env", + "tx" + |), + "revm_primitives::env::TxEnv", + "value" + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -4884,22 +4890,23 @@ Module env. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm_primitives::env::BlobExcessGasAndPrice", - "blob_gasprice" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm_primitives::env::BlobExcessGasAndPrice", + "blob_gasprice" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -4964,22 +4971,23 @@ Module env. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm_primitives::env::BlobExcessGasAndPrice", - "excess_blob_gas" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm_primitives::env::BlobExcessGasAndPrice", + "excess_blob_gas" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/revm/primitives/kzg/env_settings.v b/CoqOfRust/revm/primitives/kzg/env_settings.v index 76dd7e7dd..772a1e55e 100644 --- a/CoqOfRust/revm/primitives/kzg/env_settings.v +++ b/CoqOfRust/revm/primitives/kzg/env_settings.v @@ -492,115 +492,116 @@ Module kzg. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - let~ settings := + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + let~ settings := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "c_kzg::bindings::KZGSettings"; + Ty.path "c_kzg::bindings::Error" + ], + "expect", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "c_kzg::bindings::KZGSettings", + "load_trusted_setup", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_trait_method (| + "core::convert::AsRef", + Ty.path + "revm_primitives::kzg::trusted_setup_points::G1Points", + [ + Ty.apply + (Ty.path "array") + [ + Ty.apply + (Ty.path "array") + [ Ty.path "u8" ] + ] + ], + "as_ref", + [] + |), + [ + M.read (| + M.get_constant (| + "revm_primitives::kzg::trusted_setup_points::G1_POINTS" + |) + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_trait_method (| + "core::convert::AsRef", + Ty.path + "revm_primitives::kzg::trusted_setup_points::G2Points", + [ + Ty.apply + (Ty.path "array") + [ + Ty.apply + (Ty.path "array") + [ Ty.path "u8" ] + ] + ], + "as_ref", + [] + |), + [ + M.read (| + M.get_constant (| + "revm_primitives::kzg::trusted_setup_points::G2_POINTS" + |) + |) + ] + |)) + ] + |); + M.read (| + Value.String + "failed to load default trusted setup" + |) + ] + |) + |) in M.alloc (| M.call_closure (| M.get_associated_function (| Ty.apply - (Ty.path "core::result::Result") + (Ty.path "alloc::boxed::Box") [ Ty.path "c_kzg::bindings::KZGSettings"; - Ty.path "c_kzg::bindings::Error" + Ty.path "alloc::alloc::Global" ], - "expect", + "new", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "c_kzg::bindings::KZGSettings", - "load_trusted_setup", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_trait_method (| - "core::convert::AsRef", - Ty.path - "revm_primitives::kzg::trusted_setup_points::G1Points", - [ - Ty.apply - (Ty.path "array") - [ - Ty.apply - (Ty.path "array") - [ Ty.path "u8" ] - ] - ], - "as_ref", - [] - |), - [ - M.read (| - M.get_constant (| - "revm_primitives::kzg::trusted_setup_points::G1_POINTS" - |) - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_trait_method (| - "core::convert::AsRef", - Ty.path - "revm_primitives::kzg::trusted_setup_points::G2Points", - [ - Ty.apply - (Ty.path "array") - [ - Ty.apply - (Ty.path "array") - [ Ty.path "u8" ] - ] - ], - "as_ref", - [] - |), - [ - M.read (| - M.get_constant (| - "revm_primitives::kzg::trusted_setup_points::G2_POINTS" - |) - |) - ] - |)) - ] - |); - M.read (| - Value.String - "failed to load default trusted setup" - |) - ] + [ M.read (| settings |) ] |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path "c_kzg::bindings::KZGSettings"; - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ M.read (| settings |) ] |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/primitives/kzg/trusted_setup_points.v b/CoqOfRust/revm/primitives/kzg/trusted_setup_points.v index e847ec6a1..8719fcbe7 100644 --- a/CoqOfRust/revm/primitives/kzg/trusted_setup_points.v +++ b/CoqOfRust/revm/primitives/kzg/trusted_setup_points.v @@ -995,17 +995,18 @@ Module kzg. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "revm_primitives::kzg::trusted_setup_points::KzgErrors::ParseError" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "revm_primitives::kzg::trusted_setup_points::KzgErrors::ParseError" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1249,17 +1250,18 @@ Module kzg. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "revm_primitives::kzg::trusted_setup_points::KzgErrors::ParseError" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "revm_primitives::kzg::trusted_setup_points::KzgErrors::ParseError" + [])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1691,17 +1693,19 @@ Module kzg. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "revm_primitives::kzg::trusted_setup_points::KzgErrors::ParseError" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "revm_primitives::kzg::trusted_setup_points::KzgErrors::ParseError" + [])) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2070,17 +2074,19 @@ Module kzg. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (Value.StructTuple - "revm_primitives::kzg::trusted_setup_points::KzgErrors::ParseError" - [])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (Value.StructTuple + "revm_primitives::kzg::trusted_setup_points::KzgErrors::ParseError" + [])) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/primitives/result.v b/CoqOfRust/revm/primitives/result.v index 58aca4789..95c7805c3 100644 --- a/CoqOfRust/revm/primitives/result.v +++ b/CoqOfRust/revm/primitives/result.v @@ -1714,7 +1714,10 @@ Module result. M.closure (fun γ => ltac:(M.monadic - match γ with | [ gas_used ] => gas_used | _ => M.impossible (||) end)) + match γ with + | [ gas_used ] => ltac:(M.monadic gas_used) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) |))) ] |) diff --git a/CoqOfRust/revm/primitives/state.v b/CoqOfRust/revm/primitives/state.v index d6d472ad2..ecd98f42f 100644 --- a/CoqOfRust/revm/primitives/state.v +++ b/CoqOfRust/revm/primitives/state.v @@ -1234,26 +1234,27 @@ Module state. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ1_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let slot := M.alloc (| γ1_1 |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_primitives::state::StorageSlot", - "is_changed", - [] - |), - [ M.read (| M.read (| slot |) |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ1_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let slot := M.alloc (| γ1_1 |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_primitives::state::StorageSlot", + "is_changed", + [] + |), + [ M.read (| M.read (| slot |) |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/revm/revm/context/context_precompiles.v b/CoqOfRust/revm/revm/context/context_precompiles.v index e3c2d9a93..a2fd2327c 100644 --- a/CoqOfRust/revm/revm/context/context_precompiles.v +++ b/CoqOfRust/revm/revm/context/context_precompiles.v @@ -1043,37 +1043,39 @@ Module context. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - let v := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| k |); - M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.path "revm_primitives::precompile::Precompile", - [ - Ty.apply - (Ty.path - "revm::context::context_precompiles::ContextPrecompile") - [ DB ] - ], - "into", - [] - |), - [ M.read (| v |) ] - |) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + let v := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| k |); + M.call_closure (| + M.get_trait_method (| + "core::convert::Into", + Ty.path + "revm_primitives::precompile::Precompile", + [ + Ty.apply + (Ty.path + "revm::context::context_precompiles::ContextPrecompile") + [ DB ] + ], + "into", + [] + |), + [ M.read (| v |) ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1237,50 +1239,52 @@ Module context. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let γ0_0 := M.read (| γ0_0 |) in - let k := M.copy (| γ0_0 |) in - let v := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| k |); - M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.path "revm_primitives::precompile::Precompile", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let γ0_0 := M.read (| γ0_0 |) in + let k := M.copy (| γ0_0 |) in + let v := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| k |); + M.call_closure (| + M.get_trait_method (| + "core::convert::Into", + Ty.path + "revm_primitives::precompile::Precompile", + [ + Ty.apply + (Ty.path + "revm::context::context_precompiles::ContextPrecompile") + [ DB ] + ], + "into", + [] + |), [ - Ty.apply - (Ty.path - "revm::context::context_precompiles::ContextPrecompile") - [ DB ] - ], - "into", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path - "revm_primitives::precompile::Precompile", - [], - "clone", - [] - |), - [ M.read (| v |) ] - |) - ] - |) - ])) - ] - |) - | _ => M.impossible (||) + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path + "revm_primitives::precompile::Precompile", + [], + "clone", + [] + |), + [ M.read (| v |) ] + |) + ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/revm/context/evm_context.v b/CoqOfRust/revm/revm/context/evm_context.v index 3085685d6..f16c44135 100644 --- a/CoqOfRust/revm/revm/context/evm_context.v +++ b/CoqOfRust/revm/revm/context/evm_context.v @@ -943,61 +943,62 @@ Module context. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let instruction_result := M.copy (| γ |) in - Value.StructTuple - "core::result::Result::Ok" - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::frame::FrameOrResult", - "new_call_result", - [] - |), - [ - Value.StructRecord - "revm_interpreter::interpreter::InterpreterResult" - [ - ("result", M.read (| instruction_result |)); - ("gas", M.read (| gas |)); - ("output", - M.call_closure (| - M.get_associated_function (| - Ty.path "alloy_primitives::bytes_::Bytes", - "new", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let instruction_result := M.copy (| γ |) in + Value.StructTuple + "core::result::Result::Ok" + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::frame::FrameOrResult", + "new_call_result", + [] + |), + [ + Value.StructRecord + "revm_interpreter::interpreter::InterpreterResult" + [ + ("result", M.read (| instruction_result |)); + ("gas", M.read (| gas |)); + ("output", + M.call_closure (| + M.get_associated_function (| + Ty.path "alloy_primitives::bytes_::Bytes", + "new", + [] + |), [] - |), - [] - |)) - ]; - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path "core::ops::range::Range") - [ Ty.path "usize" ], - [], - "clone", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| inputs |), - "revm_interpreter::interpreter_action::call_inputs::CallInputs", - "return_memory_offset" - |) - ] - |) - ] - |) - ])) - ] - |) - | _ => M.impossible (||) + |)) + ]; + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path "core::ops::range::Range") + [ Ty.path "usize" ], + [], + "clone", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| inputs |), + "revm_interpreter::interpreter_action::call_inputs::CallInputs", + "return_memory_offset" + |) + ] + |) + ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -1820,8 +1821,11 @@ Module context. ltac:(M.monadic match γ with | [] => - M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| Value.Bool true |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/revm/context/inner_evm_context.v b/CoqOfRust/revm/revm/context/inner_evm_context.v index c901f7e06..6d684b136 100644 --- a/CoqOfRust/revm/revm/context/inner_evm_context.v +++ b/CoqOfRust/revm/revm/context/inner_evm_context.v @@ -1025,33 +1025,34 @@ Module context. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let acc := M.copy (| γ0_0 |) in - let is_cold := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let acc := M.copy (| γ0_0 |) in + let is_cold := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| M.SubPointer.get_struct_record_field (| - M.read (| acc |), - "revm_primitives::state::Account", - "info" - |), - "revm_primitives::state::AccountInfo", - "balance" - |) - |); - M.read (| is_cold |) - ])) - ] - |) - | _ => M.impossible (||) + M.SubPointer.get_struct_record_field (| + M.read (| acc |), + "revm_primitives::state::Account", + "info" + |), + "revm_primitives::state::AccountInfo", + "balance" + |) + |); + M.read (| is_cold |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1133,55 +1134,56 @@ Module context. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let a := M.copy (| γ0_0 |) in - let is_cold := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "revm_primitives::bytecode::Bytecode" ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path "core::option::Option") - [ Ty.path "revm_primitives::bytecode::Bytecode" ], - [], - "clone", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let a := M.copy (| γ0_0 |) in + let is_cold := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "revm_primitives::bytecode::Bytecode" ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path "core::option::Option") + [ Ty.path "revm_primitives::bytecode::Bytecode" ], + [], + "clone", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm_primitives::state::Account", - "info" - |), - "revm_primitives::state::AccountInfo", - "code" - |) - ] - |) - ] - |); - M.read (| is_cold |) - ])) - ] - |) - | _ => M.impossible (||) + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm_primitives::state::Account", + "info" + |), + "revm_primitives::state::AccountInfo", + "code" + |) + ] + |) + ] + |); + M.read (| is_cold |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1714,84 +1716,85 @@ Module context. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - Value.StructTuple - "core::result::Result::Ok" - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::frame::FrameOrResult", - "new_eofcreate_result", - [] - |), - [ - Value.StructRecord - "revm_interpreter::interpreter::InterpreterResult" - [ - ("result", M.read (| e |)); - ("gas", - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "new", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| inputs |), - "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput", - "gas_limit" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + Value.StructTuple + "core::result::Result::Ok" + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::frame::FrameOrResult", + "new_eofcreate_result", + [] + |), + [ + Value.StructRecord + "revm_interpreter::interpreter::InterpreterResult" + [ + ("result", M.read (| e |)); + ("gas", + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "new", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| inputs |), + "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput", + "gas_limit" + |) |) - |) - ] - |)); - ("output", - M.call_closure (| - M.get_associated_function (| - Ty.path "alloy_primitives::bytes_::Bytes", - "new", + ] + |)); + ("output", + M.call_closure (| + M.get_associated_function (| + Ty.path "alloy_primitives::bytes_::Bytes", + "new", + [] + |), [] - |), - [] - |)) - ]; - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| inputs |), - "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput", - "created_address" - |) - |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path "core::ops::range::Range") - [ Ty.path "usize" ], - [], - "clone", - [] - |), - [ + |)) + ]; + M.read (| M.SubPointer.get_struct_record_field (| M.read (| inputs |), "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput", - "return_memory_range" + "created_address" |) - ] - |) - ] - |) - ])) - ] - |) - | _ => M.impossible (||) + |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path "core::ops::range::Range") + [ Ty.path "usize" ], + [], + "clone", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| inputs |), + "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput", + "return_memory_range" + |) + ] + |) + ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -2844,44 +2847,45 @@ Module context. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - Value.StructTuple - "core::result::Result::Ok" - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::frame::FrameOrResult", - "new_create_result", - [] - |), - [ - Value.StructRecord - "revm_interpreter::interpreter::InterpreterResult" - [ - ("result", M.read (| e |)); - ("gas", M.read (| gas |)); - ("output", - M.call_closure (| - M.get_associated_function (| - Ty.path "alloy_primitives::bytes_::Bytes", - "new", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + Value.StructTuple + "core::result::Result::Ok" + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::frame::FrameOrResult", + "new_create_result", + [] + |), + [ + Value.StructRecord + "revm_interpreter::interpreter::InterpreterResult" + [ + ("result", M.read (| e |)); + ("gas", M.read (| gas |)); + ("output", + M.call_closure (| + M.get_associated_function (| + Ty.path "alloy_primitives::bytes_::Bytes", + "new", + [] + |), [] - |), - [] - |)) - ]; - Value.StructTuple "core::option::Option::None" [] - ] - |) - ])) - ] - |) - | _ => M.impossible (||) + |)) + ]; + Value.StructTuple "core::option::Option::None" [] + ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -3751,8 +3755,8 @@ Module context. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -3958,8 +3962,10 @@ Module context. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => + ltac:(M.monadic + (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) diff --git a/CoqOfRust/revm/revm/db/in_memory_db.v b/CoqOfRust/revm/revm/db/in_memory_db.v index c5fd6deb6..0384fe13e 100644 --- a/CoqOfRust/revm/revm/db/in_memory_db.v +++ b/CoqOfRust/revm/revm/db/in_memory_db.v @@ -647,25 +647,26 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path - "revm_primitives::bytecode::Bytecode", - [], - "clone", - [] - |), - [ M.read (| code |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path + "revm_primitives::bytecode::Bytecode", + [], + "clone", + [] + |), + [ M.read (| code |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1048,28 +1049,29 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.struct_record_update - (M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path - "revm::db::in_memory_db::DbAccount", - [], - "default", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.struct_record_update + (M.call_closure (| + M.get_trait_method (| + "core::default::Default", + Ty.path + "revm::db::in_memory_db::DbAccount", + [], + "default", + [] + |), [] - |), - [] - |)) - [ ("info", M.read (| info |)) ])) - ] - |) - | _ => M.impossible (||) + |)) + [ ("info", M.read (| info |)) ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -1986,39 +1988,41 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let key := M.copy (| γ0_0 |) in - let value := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| key |); - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_primitives::state::StorageSlot", - "present_value", - [] - |), - [ value ] - |) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let key := M.copy (| γ0_0 |) in + let value := + M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| key |); + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_primitives::state::StorageSlot", + "present_value", + [] + |), + [ value ] + |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2292,28 +2296,29 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.struct_record_update - (M.call_closure (| - M.get_trait_method (| - "core::default::Default", - Ty.path - "revm::db::in_memory_db::DbAccount", - [], - "default", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.struct_record_update + (M.call_closure (| + M.get_trait_method (| + "core::default::Default", + Ty.path + "revm::db::in_memory_db::DbAccount", + [], + "default", + [] + |), [] - |), - [] - |)) - [ ("info", M.read (| info |)) ])) - ] - |) - | _ => M.impossible (||) + |)) + [ ("info", M.read (| info |)) ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -2775,8 +2780,11 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => + ltac:(M.monadic + (M.alloc (| Value.Bool true |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -3783,8 +3791,11 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => + ltac:(M.monadic + (M.alloc (| Value.Bool true |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/revm/db/states/account_status.v b/CoqOfRust/revm/revm/db/states/account_status.v index 8b8409f4d..7a1e723d5 100644 --- a/CoqOfRust/revm/revm/db/states/account_status.v +++ b/CoqOfRust/revm/revm/db/states/account_status.v @@ -406,8 +406,8 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -476,8 +476,8 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -566,8 +566,8 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -622,8 +622,8 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -705,12 +705,13 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "revm::db::states::account_status::AccountStatus::DestroyedChanged" - [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm::db::states::account_status::AccountStatus::DestroyedChanged" + [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -769,12 +770,13 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "revm::db::states::account_status::AccountStatus::InMemoryChange" - [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm::db::states::account_status::AccountStatus::InMemoryChange" + [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))) ] @@ -865,12 +867,13 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "revm::db::states::account_status::AccountStatus::Destroyed" - [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm::db::states::account_status::AccountStatus::Destroyed" + [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -902,12 +905,13 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "revm::db::states::account_status::AccountStatus::DestroyedAgain" - [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm::db::states::account_status::AccountStatus::DestroyedAgain" + [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -939,58 +943,59 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| "core::panicking::panic_fmt", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "internal error: entered unreachable code: Wrong state transition, touch empty is not possible from " - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_debug", - [ - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm::db::states::account_status::AccountStatus" - ] - ] - |), - [ self ] - |) - ] - |)) - ] - |) - ] + ltac:(M.monadic + (M.alloc (| + M.never_to_any (| + M.call_closure (| + M.get_function (| "core::panicking::panic_fmt", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "internal error: entered unreachable code: Wrong state transition, touch empty is not possible from " + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_debug", + [ + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm::db::states::account_status::AccountStatus" + ] + ] + |), + [ self ] + |) + ] + |)) + ] + |) + ] + |) |) - |) - |) - | _ => M.impossible (||) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))) ] @@ -1106,16 +1111,17 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - Value.StructTuple - "revm::db::states::account_status::AccountStatus::DestroyedChanged" - [] - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + Value.StructTuple + "revm::db::states::account_status::AccountStatus::DestroyedChanged" + [] + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -1147,16 +1153,17 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - Value.StructTuple - "revm::db::states::account_status::AccountStatus::InMemoryChange" - [] - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + Value.StructTuple + "revm::db::states::account_status::AccountStatus::InMemoryChange" + [] + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -1188,58 +1195,59 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| "core::panicking::panic_fmt", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "internal error: entered unreachable code: Wrong state transition, touch crate is not possible from " - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::rt::Argument", - "new_debug", - [ - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm::db::states::account_status::AccountStatus" - ] - ] - |), - [ self ] - |) - ] - |)) - ] - |) - ] + ltac:(M.monadic + (M.alloc (| + M.never_to_any (| + M.call_closure (| + M.get_function (| "core::panicking::panic_fmt", [] |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "internal error: entered unreachable code: Wrong state transition, touch crate is not possible from " + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::rt::Argument", + "new_debug", + [ + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm::db::states::account_status::AccountStatus" + ] + ] + |), + [ self ] + |) + ] + |)) + ] + |) + ] + |) |) - |) - |) - | _ => M.impossible (||) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))) ] @@ -1423,12 +1431,13 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "revm::db::states::account_status::AccountStatus::DestroyedChanged" - [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm::db::states::account_status::AccountStatus::DestroyedChanged" + [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))) ] @@ -1516,12 +1525,13 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "revm::db::states::account_status::AccountStatus::DestroyedAgain" - [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm::db::states::account_status::AccountStatus::DestroyedAgain" + [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/revm/db/states/bundle_account.v b/CoqOfRust/revm/revm/db/states/bundle_account.v index 70b869adc..c2e958f02 100644 --- a/CoqOfRust/revm/revm/db/states/bundle_account.v +++ b/CoqOfRust/revm/revm/db/states/bundle_account.v @@ -555,22 +555,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| s |), - "revm_primitives::state::StorageSlot", - "present_value" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| s |), + "revm_primitives::state::StorageSlot", + "present_value" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -822,22 +823,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm_primitives::state::AccountInfo", - "code_hash" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm_primitives::state::AccountInfo", + "code_hash" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -886,22 +888,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm_primitives::state::AccountInfo", - "code_hash" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm_primitives::state::AccountInfo", + "code_hash" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1142,41 +1145,43 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let v := M.copy (| γ0_1 |) in - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| v |), - "revm_primitives::state::StorageSlot", - "present_value" - |), - M.read (| - M.get_constant (| - "ruint::ZERO" - |) - |) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let v := M.copy (| γ0_1 |) in + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| v |), + "revm_primitives::state::StorageSlot", + "present_value" + |), + M.read (| + M.get_constant (| + "ruint::ZERO" + |) + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1685,171 +1690,179 @@ Module db. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let this_storage := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let storage_update := M.copy (| γ |) in - M.read (| - M.use - (M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path "std::hash::random::RandomState" - ], - [], - "into_iter", - [] - |), - [ M.read (| storage_update |) ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let iter := M.copy (| γ |) in - M.loop (| - ltac:(M.monadic - (let~ _ := - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "std::collections::hash::map::IntoIter") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot" - ], - [], - "next", - [] - |), - [ iter ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - M.alloc (| - M.never_to_any (| - M.read (| M.break (||) |) - |) - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let γ1_0 := - M.SubPointer.get_tuple_field (| - γ0_0, - 0 - |) in - let γ1_1 := - M.SubPointer.get_tuple_field (| - γ0_0, - 1 - |) in - let key := - M.copy (| γ1_0 |) in - let value := - M.copy (| γ1_1 |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::Entry") - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot" - ], - "or_insert", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" - ], - "entry", - [] - |), - [ - M.read (| - this_storage - |); - M.read (| key |) - ] - |); - M.read (| value |) - ] - |), - "revm_primitives::state::StorageSlot", - "present_value" - |), - M.read (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let this_storage := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let storage_update := M.copy (| γ |) in + M.read (| + M.use + (M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ], + [], + "into_iter", + [] + |), + [ M.read (| storage_update |) ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let iter := M.copy (| γ |) in + M.loop (| + ltac:(M.monadic + (let~ _ := + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path + "std::collections::hash::map::IntoIter") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot" + ], + [], + "next", + [] + |), + [ iter ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.break (||) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let γ1_0 := + M.SubPointer.get_tuple_field (| + γ0_0, + 0 + |) in + let γ1_1 := + M.SubPointer.get_tuple_field (| + γ0_0, + 1 + |) in + let key := + M.copy (| γ1_0 |) in + let value := + M.copy (| γ1_1 |) in + let~ _ := + M.write (| M.SubPointer.get_struct_record_field (| - value, + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::Entry") + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot" + ], + "or_insert", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ], + "entry", + [] + |), + [ + M.read (| + this_storage + |); + M.read (| + key + |) + ] + |); + M.read (| value |) + ] + |), "revm_primitives::state::StorageSlot", "present_value" + |), + M.read (| + M.SubPointer.get_struct_record_field (| + value, + "revm_primitives::state::StorageSlot", + "present_value" + |) |) - |) - |) in - M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| Value.Tuple [] |))) - |))) - ] - |)) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |) in + M.alloc (| + Value.Tuple [] + |))) + ] + |) in + M.alloc (| Value.Tuple [] |))) + |))) + ] + |)) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ previous_storage_from_update := @@ -1859,131 +1872,51 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let updated_storage := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::map::Map") - [ - Ty.apply - (Ty.path "core::iter::adapters::filter::Filter") - [ - Ty.apply - (Ty.path "std::collections::hash::map::Iter") - [ - Ty.path "ruint::Uint"; - Ty.path "revm_primitives::state::StorageSlot" - ]; - Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ Ty.path "ruint::Uint" ]; - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm_primitives::state::StorageSlot" - ] - ] - ] - ] - ] - (Ty.path "bool") - ]; - Ty.function - [ - Ty.tuple - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ Ty.path "ruint::Uint" ]; - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm_primitives::state::StorageSlot" - ] - ] - ] - ] - (Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path "revm::db::states::reverts::RevertToSlot" - ]) - ], - [], - "collect", - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let updated_storage := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", Ty.apply - (Ty.path "std::collections::hash::map::HashMap") + (Ty.path "core::iter::adapters::map::Map") [ - Ty.path "ruint::Uint"; - Ty.path "revm::db::states::reverts::RevertToSlot"; - Ty.path "std::hash::random::RandomState" - ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::filter::Filter") - [ - Ty.apply - (Ty.path "std::collections::hash::map::Iter") - [ - Ty.path "ruint::Uint"; - Ty.path "revm_primitives::state::StorageSlot" - ]; - Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ Ty.path "ruint::Uint" ]; - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm_primitives::state::StorageSlot" - ] - ] - ] - ] - ] - (Ty.path "bool") - ], - [], - "map", - [ - Ty.tuple + Ty.apply + (Ty.path "core::iter::adapters::filter::Filter") [ - Ty.path "ruint::Uint"; - Ty.path "revm::db::states::reverts::RevertToSlot" + Ty.apply + (Ty.path "std::collections::hash::map::Iter") + [ + Ty.path "ruint::Uint"; + Ty.path "revm_primitives::state::StorageSlot" + ]; + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&") + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&") + [ Ty.path "ruint::Uint" ]; + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm_primitives::state::StorageSlot" + ] + ] + ] + ] + ] + (Ty.path "bool") ]; Ty.function [ @@ -2009,21 +1942,32 @@ Module db. Ty.path "revm::db::states::reverts::RevertToSlot" ]) - ] - |), + ], + [], + "collect", [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "std::collections::hash::map::Iter") - [ - Ty.path "ruint::Uint"; - Ty.path "revm_primitives::state::StorageSlot" - ], - [], - "filter", + Ty.apply + (Ty.path "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path "revm::db::states::reverts::RevertToSlot"; + Ty.path "std::hash::random::RandomState" + ] + ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "core::iter::adapters::filter::Filter") [ + Ty.apply + (Ty.path "std::collections::hash::map::Iter") + [ + Ty.path "ruint::Uint"; + Ty.path "revm_primitives::state::StorageSlot" + ]; Ty.function [ Ty.tuple @@ -2047,106 +1991,180 @@ Module db. ] ] (Ty.path "bool") - ] - |), + ], + [], + "map", [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot" + ]; + Ty.function + [ + Ty.tuple [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path "std::hash::random::RandomState" - ], - "iter", - [] - |), - [ M.read (| updated_storage |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_primitives::state::StorageSlot", - "is_changed", - [] - |), - [ - M.read (| - M.SubPointer.get_tuple_field (| - M.read (| s |), - 1 - |) - |) - ] - |))) + Ty.apply + (Ty.path "&") + [ Ty.path "ruint::Uint" ]; + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm_primitives::state::StorageSlot" + ] ] - |) - | _ => M.impossible (||) - end)) + ] + ] + (Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot" + ]) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path "std::collections::hash::map::Iter") + [ + Ty.path "ruint::Uint"; + Ty.path "revm_primitives::state::StorageSlot" + ], + [], + "filter", + [ + Ty.function [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let key := M.copy (| γ0_0 |) in - let value := M.copy (| γ0_1 |) in - Value.Tuple + Ty.tuple + [ + Ty.apply + (Ty.path "&") [ - M.read (| M.read (| key |) |); - Value.StructTuple - "revm::db::states::reverts::RevertToSlot::Some" + Ty.tuple [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| value |), - "revm_primitives::state::StorageSlot", - "previous_or_original_value" - |) - |) + Ty.apply + (Ty.path "&") + [ Ty.path "ruint::Uint" ]; + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm_primitives::state::StorageSlot" + ] ] - ])) + ] + ] ] - |) - | _ => M.impossible (||) - end)) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + (Ty.path "bool") + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path "std::hash::random::RandomState" + ], + "iter", + [] + |), + [ M.read (| updated_storage |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_primitives::state::StorageSlot", + "is_changed", + [] + |), + [ + M.read (| + M.SubPointer.get_tuple_field (| + M.read (| s |), + 1 + |) + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let key := M.copy (| γ0_0 |) in + let value := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| M.read (| key |) |); + Value.StructTuple + "revm::db::states::reverts::RevertToSlot::Some" + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| value |), + "revm_primitives::state::StorageSlot", + "previous_or_original_value" + |) + |) + ] + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ info_revert := @@ -2328,12 +2346,43 @@ Module db. ltac:(M.monadic match γ with | [] => - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.function + ltac:(M.monadic + (let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ] + ]; + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ] + ] + ] + (Ty.tuple []), [ Ty.tuple [ @@ -2362,56 +2411,26 @@ Module db. "std::hash::random::RandomState" ] ] - ] - (Ty.tuple []), + ], + "call", + [] + |), [ - Ty.tuple + extend_storage; + Value.Tuple [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" - ] - ]; - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::db::states::bundle_account::BundleAccount", + "storage" + |); + M.read (| updated_storage |) ] - ], - "call", - [] - |), - [ - extend_storage; - Value.Tuple - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::db::states::bundle_account::BundleAccount", - "storage" - |); - M.read (| updated_storage |) - ] - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2613,12 +2632,43 @@ Module db. ltac:(M.monadic match γ with | [] => - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.function + ltac:(M.monadic + (let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ] + ]; + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ] + ] + ] + (Ty.tuple []), [ Ty.tuple [ @@ -2647,56 +2697,26 @@ Module db. "std::hash::random::RandomState" ] ] - ] - (Ty.tuple []), + ], + "call", + [] + |), [ - Ty.tuple + extend_storage; + Value.Tuple [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" - ] - ]; - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::db::states::bundle_account::BundleAccount", + "storage" + |); + M.read (| updated_storage |) ] - ], - "call", - [] - |), - [ - extend_storage; - Value.Tuple - [ - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::db::states::bundle_account::BundleAccount", - "storage" - |); - M.read (| updated_storage |) - ] - ] - |) - |) in - info_revert - | _ => M.impossible (||) + ] + |) + |) in + info_revert)) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2870,10 +2890,11 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple "core::option::Option::None" [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "core::option::Option::None" [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2982,32 +3003,33 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::reverts::AccountRevert", - "new_selfdestructed", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::db::states::bundle_account::BundleAccount", - "status" - |) - |); - M.read (| info_revert |); - M.read (| this_storage |) - ] - |) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::reverts::AccountRevert", + "new_selfdestructed", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::db::states::bundle_account::BundleAccount", + "status" + |) + |); + M.read (| info_revert |); + M.read (| this_storage |) + ] + |) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -3273,22 +3295,54 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ - Value.StructRecord - "revm::db::states::reverts::AccountRevert" - [ - ("account", - Value.StructTuple - "revm::db::states::reverts::AccountInfoRevert::DeleteIt" - []); - ("storage", - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.function + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ + Value.StructRecord + "revm::db::states::reverts::AccountRevert" + [ + ("account", + Value.StructTuple + "revm::db::states::reverts::AccountInfoRevert::DeleteIt" + []); + ("storage", + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&") + [ + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ] + ] + ] + ] + (Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot"; + Ty.path + "std::hash::random::RandomState" + ]), [ Ty.tuple [ @@ -3308,61 +3362,30 @@ Module db. ] ] ] - ] - (Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm::db::states::reverts::RevertToSlot"; - Ty.path - "std::hash::random::RandomState" - ]), + ], + "call", + [] + |), [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" - ] - ] - ] - ], - "call", - [] - |), - [ - previous_storage_from_update; - Value.Tuple - [ updated_storage ] - ] - |)); - ("previous_status", - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::db::states::bundle_account::BundleAccount", - "status" - |) - |)); - ("wipe_storage", - Value.Bool false) - ] - ] - |) - | _ => M.impossible (||) + previous_storage_from_update; + Value.Tuple + [ updated_storage ] + ] + |)); + ("previous_status", + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::db::states::bundle_account::BundleAccount", + "status" + |) + |)); + ("wipe_storage", + Value.Bool false) + ] + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -3538,42 +3561,46 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let t := - M.copy (| - γ - |) in - Value.Tuple - [ - M.read (| - M.SubPointer.get_tuple_field (| - t, - 0 - |) - |); - Value.StructTuple - "revm::db::states::reverts::RevertToSlot::Some" - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_tuple_field (| - t, - 1 - |), - "revm_primitives::state::StorageSlot", - "present_value" - |) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun γ => + ltac:(M.monadic + (let t := + M.copy (| + γ + |) in + Value.Tuple + [ + M.read (| + M.SubPointer.get_tuple_field (| + t, + 0 |) - ] - ])) - ] - |) + |); + Value.StructTuple + "revm::db::states::reverts::RevertToSlot::Some" + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_tuple_field (| + t, + 1 + |), + "revm_primitives::state::StorageSlot", + "present_value" + |) + |) + ] + ])) + ] + |))) | _ => - M.impossible (||) + ltac:(M.monadic + (M.impossible (||))) end)) ] |) @@ -4155,12 +4182,13 @@ Module db. ltac:(M.monadic match γ with | [] => - M.alloc (| - Value.StructTuple - "core::option::Option::None" - [] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::option::Option::None" + [] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -4432,52 +4460,55 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::reverts::AccountRevert", - "is_empty", - [] - |), - [ acc ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - Value.StructTuple "core::option::Option::None" [] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ M.read (| acc |) ] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::reverts::AccountRevert", + "is_empty", + [] + |), + [ acc ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple + "core::option::Option::None" + [] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ M.read (| acc |) ] + |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/revm/db/states/bundle_state.v b/CoqOfRust/revm/revm/db/states/bundle_state.v index 03a4cf610..8fe17731b 100644 --- a/CoqOfRust/revm/revm/db/states/bundle_state.v +++ b/CoqOfRust/revm/revm/db/states/bundle_state.v @@ -1512,55 +1512,20 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let address := M.copy (| γ |) in - M.read (| - let~ storage := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" - ] - ], - "unwrap_or_default", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ]; - Ty.path - "std::hash::random::RandomState" - ] - ], - "map", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let address := M.copy (| γ |) in + M.read (| + let~ storage := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ Ty.apply (Ty.path @@ -1571,27 +1536,34 @@ Module db. "revm_primitives::state::StorageSlot"; Ty.path "std::hash::random::RandomState" - ]; - Ty.function + ] + ], + "unwrap_or_default", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ - Ty.tuple + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") + Ty.path "ruint::Uint"; + Ty.tuple [ Ty.path "ruint::Uint"; - Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ]; - Ty.path - "std::hash::random::RandomState" - ] + Ty.path "ruint::Uint" + ]; + Ty.path + "std::hash::random::RandomState" ] - ] - (Ty.apply + ], + "map", + [ + Ty.apply (Ty.path "std::collections::hash::map::HashMap") [ @@ -1600,399 +1572,438 @@ Module db. "revm_primitives::state::StorageSlot"; Ty.path "std::hash::random::RandomState" - ]) - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") + ]; + Ty.function [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") + Ty.tuple [ - Ty.path "ruint::Uint"; - Ty.tuple + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ]; - Ty.path - "std::hash::random::RandomState" - ]; + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint" + ]; + Ty.path + "std::hash::random::RandomState" + ] + ] + ] + (Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ]) + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint" + ]; + Ty.path + "std::hash::random::RandomState" + ]; + Ty.path + "std::hash::random::RandomState" + ], + "remove", + [ Ty.path - "std::hash::random::RandomState" - ], - "remove", + "alloy_primitives::bits::address::Address" + ] + |), [ - Ty.path - "alloy_primitives::bits::address::Address" + M.SubPointer.get_struct_record_field (| + self, + "revm::db::states::bundle_state::BundleBuilder", + "state_storage" + |); + address ] - |), - [ - M.SubPointer.get_struct_record_field (| - self, - "revm::db::states::bundle_state::BundleBuilder", - "state_storage" - |); - address - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let s := - M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "core::iter::adapters::map::Map") - [ + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := + M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", Ty.apply (Ty.path - "std::collections::hash::map::IntoIter") + "core::iter::adapters::map::Map") [ - Ty.path - "ruint::Uint"; - Ty.tuple + Ty.apply + (Ty.path + "std::collections::hash::map::IntoIter") [ Ty.path "ruint::Uint"; - Ty.path - "ruint::Uint" - ] - ]; - Ty.function - [ - Ty.tuple - [ Ty.tuple [ Ty.path "ruint::Uint"; + Ty.path + "ruint::Uint" + ] + ]; + Ty.function + [ + Ty.tuple + [ Ty.tuple [ Ty.path "ruint::Uint"; - Ty.path - "ruint::Uint" + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ] ] ] ] - ] - (Ty.tuple + (Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot" + ]) + ], + [], + "collect", + [ + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ Ty.path "ruint::Uint"; Ty.path - "revm_primitives::state::StorageSlot" - ]) - ], - [], - "collect", - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ] ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "std::collections::hash::map::IntoIter") - [ - Ty.path - "ruint::Uint"; - Ty.tuple + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path + "std::collections::hash::map::IntoIter") [ Ty.path "ruint::Uint"; - Ty.path - "ruint::Uint" - ] - ], - [], - "map", - [ - Ty.tuple - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot" - ]; - Ty.function + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ] + ], + [], + "map", [ Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot" + ]; + Ty.function [ Ty.tuple [ - Ty.path - "ruint::Uint"; Ty.tuple [ Ty.path "ruint::Uint"; - Ty.path - "ruint::Uint" + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ] ] ] ] - ] - (Ty.tuple - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot" - ]) - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path - "ruint::Uint"; - Ty.tuple + (Ty.tuple [ Ty.path "ruint::Uint"; Ty.path - "ruint::Uint" - ]; - Ty.path - "std::hash::random::RandomState" - ], - [], - "into_iter", - [] + "revm_primitives::state::StorageSlot" + ]) + ] |), - [ M.read (| s |) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ - fun - γ => - ltac:(M.monadic - (let - γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let - γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let - k := - M.copy (| - γ0_0 - |) in - let - γ1_0 := - M.SubPointer.get_tuple_field (| - γ0_1, - 0 - |) in - let - γ1_1 := - M.SubPointer.get_tuple_field (| - γ0_1, - 1 - |) in - let - o_val := - M.copy (| - γ1_0 - |) in - let - p_val := - M.copy (| - γ1_1 - |) in - Value.Tuple - [ - M.read (| - k - |); - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_primitives::state::StorageSlot", - "new_changed", - [] - |), - [ - M.read (| - o_val - |); - M.read (| - p_val - |) - ] - |) - ])) - ] + Ty.path + "ruint::Uint"; + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ]; + Ty.path + "std::hash::random::RandomState" + ], + [], + "into_iter", + [] + |), + [ + M.read (| + s |) - | _ => - M.impossible (||) - end)) + ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ + with + | [ α0 + ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (let + γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let + γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let + k := + M.copy (| + γ0_0 + |) in + let + γ1_0 := + M.SubPointer.get_tuple_field (| + γ0_1, + 0 + |) in + let + γ1_1 := + M.SubPointer.get_tuple_field (| + γ0_1, + 1 + |) in + let + o_val := + M.copy (| + γ1_0 + |) in + let + p_val := + M.copy (| + γ1_1 + |) in + Value.Tuple + [ + M.read (| + k + |); + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_primitives::state::StorageSlot", + "new_changed", + [] + |), + [ + M.read (| + o_val + |); + M.read (| + p_val + |) + ] + |) + ])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |) ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - ] - |) - |) in - let~ bundle_account := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::bundle_account::BundleAccount", - "new", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |) + ] + |) + |) in + let~ bundle_account := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::bundle_account::BundleAccount", + "new", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm_primitives::state::AccountInfo"; + Ty.path + "std::hash::random::RandomState" + ], + "remove", [ Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm_primitives::state::AccountInfo"; - Ty.path - "std::hash::random::RandomState" - ], - "remove", + "alloy_primitives::bits::address::Address" + ] + |), [ - Ty.path - "alloy_primitives::bits::address::Address" + M.SubPointer.get_struct_record_field (| + self, + "revm::db::states::bundle_state::BundleBuilder", + "state_original" + |); + address ] - |), - [ - M.SubPointer.get_struct_record_field (| - self, - "revm::db::states::bundle_state::BundleBuilder", - "state_original" - |); - address - ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") + |); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm_primitives::state::AccountInfo"; + Ty.path + "std::hash::random::RandomState" + ], + "remove", [ Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm_primitives::state::AccountInfo"; - Ty.path - "std::hash::random::RandomState" - ], - "remove", + "alloy_primitives::bits::address::Address" + ] + |), [ - Ty.path - "alloy_primitives::bits::address::Address" + M.SubPointer.get_struct_record_field (| + self, + "revm::db::states::bundle_state::BundleBuilder", + "state_present" + |); + address ] + |); + M.read (| storage |); + Value.StructTuple + "revm::db::states::account_status::AccountStatus::Changed" + [] + ] + |) + |) in + let~ _ := + let β := state_size in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::bundle_account::BundleAccount", + "size_hint", + [] |), - [ - M.SubPointer.get_struct_record_field (| - self, - "revm::db::states::bundle_state::BundleBuilder", - "state_present" - |); - address - ] - |); - M.read (| storage |); - Value.StructTuple - "revm::db::states::account_status::AccountStatus::Changed" - [] + [ bundle_account ] + |)) + |) in + M.alloc (| + Value.Tuple + [ + M.read (| address |); + M.read (| bundle_account |) ] - |) - |) in - let~ _ := - let β := state_size in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::bundle_account::BundleAccount", - "size_hint", - [] - |), - [ bundle_account ] - |)) - |) in - M.alloc (| - Value.Tuple - [ - M.read (| address |); - M.read (| bundle_account |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2211,185 +2222,155 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let block_number := M.copy (| γ0_0 |) in - let address := M.copy (| γ0_1 |) in - M.read (| - let~ account := - M.copy (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.path - "revm_primitives::state::AccountInfo" - ] - ] - ], - "unwrap_or_default", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.tuple - [ - Ty.path "u64"; - Ty.path - "alloy_primitives::bits::address::Address" - ]; - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.path - "revm_primitives::state::AccountInfo" - ] - ]; - Ty.path - "std::hash::random::RandomState" - ], - "remove", + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let block_number := M.copy (| γ0_0 |) in + let address := M.copy (| γ0_1 |) in + M.read (| + let~ account := + M.copy (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ - Ty.tuple + Ty.apply + (Ty.path "core::option::Option") [ - Ty.path "u64"; - Ty.path - "alloy_primitives::bits::address::Address" + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "revm_primitives::state::AccountInfo" + ] ] - ] - |), - [ - M.SubPointer.get_struct_record_field (| - self, - "revm::db::states::bundle_state::BundleBuilder", - "revert_account" - |); - M.alloc (| - Value.Tuple + ], + "unwrap_or_default", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ - M.read (| block_number |); - M.read (| address |) - ] - |) - ] - |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let γ1_0 := - M.SubPointer.get_struct_tuple_field (| - γ0_0, - "core::option::Option::Some", - 0 - |) in - let account := M.copy (| γ1_0 |) in - M.alloc (| - Value.StructTuple - "revm::db::states::reverts::AccountInfoRevert::RevertTo" - [ M.read (| account |) ] - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let _ := - M.is_struct_tuple (| - γ0_0, - "core::option::Option::None" - |) in - M.alloc (| - Value.StructTuple - "revm::db::states::reverts::AccountInfoRevert::DeleteIt" - [] - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - M.alloc (| - Value.StructTuple - "revm::db::states::reverts::AccountInfoRevert::DoNothing" - [] - |))) - ] - |) - |) in - let~ storage := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm::db::states::reverts::RevertToSlot"; - Ty.path "std::hash::random::RandomState" - ] - ], - "unwrap_or_default", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "alloc::vec::Vec") + Ty.tuple + [ + Ty.path "u64"; + Ty.path + "alloy_primitives::bits::address::Address" + ]; + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "revm_primitives::state::AccountInfo" + ] + ]; + Ty.path + "std::hash::random::RandomState" + ], + "remove", [ Ty.tuple [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ]; - Ty.path "alloc::alloc::Global" + Ty.path "u64"; + Ty.path + "alloy_primitives::bits::address::Address" + ] ] - ], - "map", + |), + [ + M.SubPointer.get_struct_record_field (| + self, + "revm::db::states::bundle_state::BundleBuilder", + "revert_account" + |); + M.alloc (| + Value.Tuple + [ + M.read (| block_number |); + M.read (| address |) + ] + |) + ] + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let γ1_0 := + M.SubPointer.get_struct_tuple_field (| + γ0_0, + "core::option::Option::Some", + 0 + |) in + let account := M.copy (| γ1_0 |) in + M.alloc (| + Value.StructTuple + "revm::db::states::reverts::AccountInfoRevert::RevertTo" + [ M.read (| account |) ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let _ := + M.is_struct_tuple (| + γ0_0, + "core::option::Option::None" + |) in + M.alloc (| + Value.StructTuple + "revm::db::states::reverts::AccountInfoRevert::DeleteIt" + [] + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.alloc (| + Value.StructTuple + "revm::db::states::reverts::AccountInfoRevert::DoNothing" + [] + |))) + ] + |) + |) in + let~ storage := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ Ty.apply (Ty.path @@ -2399,24 +2380,31 @@ Module db. Ty.path "revm::db::states::reverts::RevertToSlot"; Ty.path "std::hash::random::RandomState" - ]; - Ty.function + ] + ], + "unwrap_or_default", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ - Ty.tuple + Ty.apply + (Ty.path "alloc::vec::Vec") [ - Ty.apply - (Ty.path "alloc::vec::Vec") + Ty.tuple [ - Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ]; - Ty.path "alloc::alloc::Global" - ] + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint" + ]; + Ty.path "alloc::alloc::Global" ] - ] - (Ty.apply + ], + "map", + [ + Ty.apply (Ty.path "std::collections::hash::map::HashMap") [ @@ -2425,95 +2413,109 @@ Module db. "revm::db::states::reverts::RevertToSlot"; Ty.path "std::hash::random::RandomState" - ]) - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") + ]; + Ty.function [ Ty.tuple [ - Ty.path "u64"; - Ty.path - "alloy_primitives::bits::address::Address" - ]; - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.tuple + Ty.apply + (Ty.path "alloc::vec::Vec") [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ]; - Ty.path "alloc::alloc::Global" - ]; - Ty.path - "std::hash::random::RandomState" - ], - "remove", - [ - Ty.tuple + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint" + ]; + Ty.path "alloc::alloc::Global" + ] + ] + ] + (Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ - Ty.path "u64"; + Ty.path "ruint::Uint"; Ty.path - "alloy_primitives::bits::address::Address" - ] - ] - |), - [ - M.SubPointer.get_struct_record_field (| - self, - "revm::db::states::bundle_state::BundleBuilder", - "revert_storage" - |); - M.alloc (| - Value.Tuple - [ - M.read (| block_number |); - M.read (| address |) - ] - |) + "revm::db::states::reverts::RevertToSlot"; + Ty.path + "std::hash::random::RandomState" + ]) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.tuple + [ + Ty.path "u64"; + Ty.path + "alloy_primitives::bits::address::Address" + ]; + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint" + ]; + Ty.path "alloc::alloc::Global" + ]; + Ty.path + "std::hash::random::RandomState" + ], + "remove", + [ + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let s := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "core::iter::adapters::map::Map") - [ + Ty.path "u64"; + Ty.path + "alloy_primitives::bits::address::Address" + ] + ] + |), + [ + M.SubPointer.get_struct_record_field (| + self, + "revm::db::states::bundle_state::BundleBuilder", + "revert_storage" + |); + M.alloc (| + Value.Tuple + [ + M.read (| block_number |); + M.read (| address |) + ] + |) + ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let s := + M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", Ty.apply (Ty.path - "alloc::vec::into_iter::IntoIter") - [ - Ty.tuple - [ - Ty.path - "ruint::Uint"; - Ty.path - "ruint::Uint" - ]; - Ty.path - "alloc::alloc::Global" - ]; - Ty.function + "core::iter::adapters::map::Map") [ - Ty.tuple + Ty.apply + (Ty.path + "alloc::vec::into_iter::IntoIter") [ Ty.tuple [ @@ -2521,90 +2523,54 @@ Module db. "ruint::Uint"; Ty.path "ruint::Uint" - ] - ] - ] - (Ty.tuple - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm::db::states::reverts::RevertToSlot" - ]) - ], - [], - "collect", - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm::db::states::reverts::RevertToSlot"; - Ty.path - "std::hash::random::RandomState" - ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "alloc::vec::into_iter::IntoIter") - [ - Ty.tuple - [ - Ty.path - "ruint::Uint"; + ]; Ty.path - "ruint::Uint" + "alloc::alloc::Global" ]; - Ty.path - "alloc::alloc::Global" + Ty.function + [ + Ty.tuple + [ + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ] + ] + ] + (Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot" + ]) ], [], - "map", + "collect", [ - Ty.tuple + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ Ty.path "ruint::Uint"; Ty.path - "revm::db::states::reverts::RevertToSlot" - ]; - Ty.function - [ - Ty.tuple - [ - Ty.tuple - [ - Ty.path - "ruint::Uint"; - Ty.path - "ruint::Uint" - ] - ] + "revm::db::states::reverts::RevertToSlot"; + Ty.path + "std::hash::random::RandomState" ] - (Ty.tuple - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm::db::states::reverts::RevertToSlot" - ]) ] |), [ M.call_closure (| M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", + "core::iter::traits::iterator::Iterator", Ty.apply (Ty.path - "alloc::vec::Vec") + "alloc::vec::into_iter::IntoIter") [ Ty.tuple [ @@ -2617,172 +2583,158 @@ Module db. "alloc::alloc::Global" ], [], - "into_iter", - [] + "map", + [ + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot" + ]; + Ty.function + [ + Ty.tuple + [ + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ] + ] + ] + (Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot" + ]) + ] |), - [ M.read (| s |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| - α0 - |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + Ty.apply + (Ty.path + "alloc::vec::Vec") [ - fun γ => - ltac:(M.monadic - (let - γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let - γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let - k := - M.copy (| - γ0_0 - |) in - let - v := - M.copy (| - γ0_1 - |) in - Value.Tuple - [ - M.read (| - k - |); - Value.StructTuple - "revm::db::states::reverts::RevertToSlot::Some" - [ - M.read (| - v - |) - ] - ])) - ] - |) - | _ => - M.impossible (||) - end)) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - ] - |) - |) in - let~ account_revert := - M.alloc (| - Value.StructRecord - "revm::db::states::reverts::AccountRevert" - [ - ("account", M.read (| account |)); - ("storage", M.read (| storage |)); - ("previous_status", - Value.StructTuple - "revm::db::states::account_status::AccountStatus::Changed" - []); - ("wipe_storage", Value.Bool false) - ] - |) in - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::map::BTreeMap") - [ - Ty.path "u64"; - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.tuple - [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm::db::states::reverts::AccountRevert" - ]; - Ty.path "alloc::alloc::Global" - ]; - Ty.path "alloc::alloc::Global" - ], - "contains_key", - [ Ty.path "u64" ] - |), - [ reverts_map; block_number ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ := - let β := reverts_size in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::reverts::AccountRevert", - "size_hint", - [] - |), - [ account_revert ] - |)) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.tuple - [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm::db::states::reverts::AccountRevert" - ]; - Ty.path "alloc::alloc::Global" - ], - "push", - [] - |), - [ + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "into_iter", + [] + |), + [ M.read (| s |) + ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (let + γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let + γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let + k := + M.copy (| + γ0_0 + |) in + let + v := + M.copy (| + γ0_1 + |) in + Value.Tuple + [ + M.read (| + k + |); + Value.StructTuple + "revm::db::states::reverts::RevertToSlot::Some" + [ + M.read (| + v + |) + ] + ])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |) + ] + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + ] + |) + |) in + let~ account_revert := + M.alloc (| + Value.StructRecord + "revm::db::states::reverts::AccountRevert" + [ + ("account", M.read (| account |)); + ("storage", M.read (| storage |)); + ("previous_status", + Value.StructTuple + "revm::db::states::account_status::AccountStatus::Changed" + []); + ("wipe_storage", Value.Bool false) + ] + |) in + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path - "alloc::collections::btree::map::entry::Entry") + "alloc::collections::btree::map::BTreeMap") [ Ty.path "u64"; Ty.apply @@ -2799,78 +2751,151 @@ Module db. ]; Ty.path "alloc::alloc::Global" ], - "or_insert", + "contains_key", + [ Ty.path "u64" ] + |), + [ reverts_map; block_number ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + let~ _ := + let β := reverts_size in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::reverts::AccountRevert", + "size_hint", [] |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::collections::btree::map::BTreeMap") - [ - Ty.path "u64"; - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.tuple - [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm::db::states::reverts::AccountRevert" - ]; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path "alloc::alloc::Global" - ], - "entry", - [] - |), - [ - reverts_map; - M.read (| block_number |) - ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.tuple - [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm::db::states::reverts::AccountRevert" - ]; - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), + [ account_revert ] + |)) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.tuple + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm::db::states::reverts::AccountRevert" + ]; + Ty.path "alloc::alloc::Global" + ], + "push", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::map::entry::Entry") + [ + Ty.path "u64"; + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.tuple + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm::db::states::reverts::AccountRevert" + ]; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path "alloc::alloc::Global" + ], + "or_insert", [] - |) - ] - |); - Value.Tuple - [ - M.read (| address |); - M.read (| account_revert |) - ] - ] - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::collections::btree::map::BTreeMap") + [ + Ty.path "u64"; + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.tuple + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm::db::states::reverts::AccountRevert" + ]; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ], + "entry", + [] + |), + [ + reverts_map; + M.read (| block_number |) + ] + |); + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.tuple + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm::db::states::reverts::AccountRevert" + ]; + Ty.path + "alloc::alloc::Global" + ], + "new", + [] + |), + [] + |) + ] + |); + Value.Tuple + [ + M.read (| address |); + M.read (| account_revert |) + ] + ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3863,119 +3888,60 @@ Module db. impl_IntoIterator_Item____Address__Option_AccountInfo___Option_AccountInfo___HashMap_U256___U256__U256____, [], "into_iter", - [] - |), - [ M.read (| state |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let γ0_3 := M.SubPointer.get_tuple_field (| γ, 3 |) in - let address := M.copy (| γ0_0 |) in - let original := M.copy (| γ0_1 |) in - let present := M.copy (| γ0_2 |) in - let storage := M.copy (| γ0_3 |) in - M.read (| - let~ account := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::bundle_account::BundleAccount", - "new", - [] - |), - [ - M.read (| original |); - M.read (| present |); - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "core::iter::adapters::map::Map") - [ - Ty.apply - (Ty.path - "std::collections::hash::map::IntoIter") - [ - Ty.path "ruint::Uint"; - Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ] - ]; - Ty.function - [ - Ty.tuple - [ - Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ] - ] - ] - ] - (Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot" - ]) - ], - [], - "collect", - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot"; - Ty.path - "std::hash::random::RandomState" - ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "std::collections::hash::map::IntoIter") - [ - Ty.path "ruint::Uint"; - Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ] - ], - [], - "map", + [] + |), + [ M.read (| state |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in + let γ0_3 := M.SubPointer.get_tuple_field (| γ, 3 |) in + let address := M.copy (| γ0_0 |) in + let original := M.copy (| γ0_1 |) in + let present := M.copy (| γ0_2 |) in + let storage := M.copy (| γ0_3 |) in + M.read (| + let~ account := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::bundle_account::BundleAccount", + "new", + [] + |), + [ + M.read (| original |); + M.read (| present |); + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path + "core::iter::adapters::map::Map") [ - Ty.tuple + Ty.apply + (Ty.path + "std::collections::hash::map::IntoIter") [ Ty.path "ruint::Uint"; - Ty.path - "revm_primitives::state::StorageSlot" + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint" + ] ]; Ty.function [ @@ -4000,126 +3966,200 @@ Module db. Ty.path "revm_primitives::state::StorageSlot" ]) - ] - |), + ], + [], + "collect", [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path + "std::hash::random::RandomState" + ] + ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path + "std::collections::hash::map::IntoIter") + [ + Ty.path "ruint::Uint"; + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint" + ] + ], + [], + "map", + [ + Ty.tuple [ Ty.path "ruint::Uint"; - Ty.tuple - [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint" - ]; Ty.path - "std::hash::random::RandomState" - ], - [], - "into_iter", - [] - |), - [ M.read (| storage |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + "revm_primitives::state::StorageSlot" + ]; + Ty.function + [ + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let k := - M.copy (| γ0_0 |) in - let γ1_0 := - M.SubPointer.get_tuple_field (| - γ0_1, - 0 - |) in - let γ1_1 := - M.SubPointer.get_tuple_field (| - γ0_1, - 1 - |) in - let o_val := - M.copy (| γ1_0 |) in - let p_val := - M.copy (| γ1_1 |) in - Value.Tuple + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.tuple [ - M.read (| k |); - M.call_closure (| - M.get_associated_function (| - Ty.path - "revm_primitives::state::StorageSlot", - "new_changed", - [] - |), + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ] + ] + ] + ] + (Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot" + ]) + ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.tuple + [ + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint" + ]; + Ty.path + "std::hash::random::RandomState" + ], + [], + "into_iter", + [] + |), + [ M.read (| storage |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let k := + M.copy (| + γ0_0 + |) in + let γ1_0 := + M.SubPointer.get_tuple_field (| + γ0_1, + 0 + |) in + let γ1_1 := + M.SubPointer.get_tuple_field (| + γ0_1, + 1 + |) in + let o_val := + M.copy (| + γ1_0 + |) in + let p_val := + M.copy (| + γ1_1 + |) in + Value.Tuple [ M.read (| - o_val + k |); - M.read (| - p_val + M.call_closure (| + M.get_associated_function (| + Ty.path + "revm_primitives::state::StorageSlot", + "new_changed", + [] + |), + [ + M.read (| + o_val + |); + M.read (| + p_val + |) + ] |) - ] - |) - ])) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - ] - |); - Value.StructTuple - "revm::db::states::account_status::AccountStatus::Changed" - [] - ] - |) - |) in - let~ _ := - let β := state_size in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::bundle_account::BundleAccount", - "size_hint", - [] - |), - [ account ] - |)) - |) in - M.alloc (| - Value.Tuple - [ M.read (| address |); M.read (| account |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |) + ] + |); + Value.StructTuple + "revm::db::states::account_status::AccountStatus::Changed" + [] + ] + |) + |) in + let~ _ := + let β := state_size in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::bundle_account::BundleAccount", + "size_hint", + [] + |), + [ account ] + |)) + |) in + M.alloc (| + Value.Tuple + [ M.read (| address |); M.read (| account |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -4222,87 +4262,25 @@ Module db. |), [ M.read (| reverts |) ] |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let block_reverts := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "core::iter::adapters::map::Map") - [ - Ty.associated; - Ty.function - [ - Ty.tuple - [ - Ty.tuple - [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.path - "revm_primitives::state::AccountInfo" - ] - ]; - impl_IntoIterator_Item____U256__U256__ - ] - ] - ] - (Ty.tuple - [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm::db::states::reverts::AccountRevert" - ]) - ], - [], - "collect", - [ + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let block_reverts := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.tuple - [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm::db::states::reverts::AccountRevert" - ]; - Ty.path "alloc::alloc::Global" - ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.associated, - [], - "map", + (Ty.path "core::iter::adapters::map::Map") [ - Ty.tuple - [ - Ty.path - "alloy_primitives::bits::address::Address"; - Ty.path - "revm::db::states::reverts::AccountRevert" - ]; + Ty.associated; Ty.function [ Ty.tuple @@ -4333,327 +4311,400 @@ Module db. Ty.path "revm::db::states::reverts::AccountRevert" ]) - ] - |), + ], + [], + "collect", [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", - impl_IntoIterator_Item____Address__Option_Option_AccountInfo____impl_IntoIterator_Item____U256__U256____, - [], - "into_iter", - [] - |), - [ M.read (| block_reverts |) ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.tuple + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm::db::states::reverts::AccountRevert" + ]; + Ty.path "alloc::alloc::Global" + ] + ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.associated, + [], + "map", + [ + Ty.tuple + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm::db::states::reverts::AccountRevert" + ]; + Ty.function + [ + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let γ0_2 := - M.SubPointer.get_tuple_field (| - γ, - 2 - |) in - let address := - M.copy (| γ0_0 |) in - let account := - M.copy (| γ0_1 |) in - let storage := - M.copy (| γ0_2 |) in - M.read (| - let~ account := - M.copy (| - M.match_operator (| - account, - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let γ1_0 := - M.SubPointer.get_struct_tuple_field (| - γ0_0, - "core::option::Option::Some", - 0 - |) in - let account := - M.copy (| - γ1_0 - |) in - M.alloc (| - Value.StructTuple - "revm::db::states::reverts::AccountInfoRevert::RevertTo" - [ - M.read (| - account - |) - ] - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let _ := - M.is_struct_tuple (| - γ0_0, - "core::option::Option::None" - |) in - M.alloc (| - Value.StructTuple - "revm::db::states::reverts::AccountInfoRevert::DeleteIt" - [] - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_struct_tuple (| - γ, - "core::option::Option::None" - |) in - M.alloc (| - Value.StructTuple - "revm::db::states::reverts::AccountInfoRevert::DoNothing" - [] - |))) - ] - |) - |) in - let~ revert := - M.alloc (| - Value.StructRecord - "revm::db::states::reverts::AccountRevert" - [ - ("account", - M.read (| - account - |)); - ("storage", - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path - "core::iter::adapters::map::Map") - [ - Ty.associated; - Ty.function + Ty.tuple + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "revm_primitives::state::AccountInfo" + ] + ]; + impl_IntoIterator_Item____U256__U256__ + ] + ] + ] + (Ty.tuple + [ + Ty.path + "alloy_primitives::bits::address::Address"; + Ty.path + "revm::db::states::reverts::AccountRevert" + ]) + ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + impl_IntoIterator_Item____Address__Option_Option_AccountInfo____impl_IntoIterator_Item____U256__U256____, + [], + "into_iter", + [] + |), + [ M.read (| block_reverts |) ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let γ0_2 := + M.SubPointer.get_tuple_field (| + γ, + 2 + |) in + let address := + M.copy (| γ0_0 |) in + let account := + M.copy (| γ0_1 |) in + let storage := + M.copy (| γ0_2 |) in + M.read (| + let~ account := + M.copy (| + M.match_operator (| + account, + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let γ1_0 := + M.SubPointer.get_struct_tuple_field (| + γ0_0, + "core::option::Option::Some", + 0 + |) in + let account := + M.copy (| + γ1_0 + |) in + M.alloc (| + Value.StructTuple + "revm::db::states::reverts::AccountInfoRevert::RevertTo" [ - Ty.tuple + M.read (| + account + |) + ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let _ := + M.is_struct_tuple (| + γ0_0, + "core::option::Option::None" + |) in + M.alloc (| + Value.StructTuple + "revm::db::states::reverts::AccountInfoRevert::DeleteIt" + [] + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_struct_tuple (| + γ, + "core::option::Option::None" + |) in + M.alloc (| + Value.StructTuple + "revm::db::states::reverts::AccountInfoRevert::DoNothing" + [] + |))) + ] + |) + |) in + let~ revert := + M.alloc (| + Value.StructRecord + "revm::db::states::reverts::AccountRevert" + [ + ("account", + M.read (| + account + |)); + ("storage", + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.apply + (Ty.path + "core::iter::adapters::map::Map") + [ + Ty.associated; + Ty.function [ Ty.tuple [ - Ty.path - "ruint::Uint"; - Ty.path - "ruint::Uint" + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ] ] ] - ] - (Ty.tuple - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm::db::states::reverts::RevertToSlot" - ]) - ], - [], - "collect", - [ - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm::db::states::reverts::RevertToSlot"; - Ty.path - "std::hash::random::RandomState" - ] - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.associated, + (Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot" + ]) + ], [], - "map", + "collect", [ - Ty.tuple + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ Ty.path "ruint::Uint"; Ty.path - "revm::db::states::reverts::RevertToSlot" - ]; - Ty.function + "revm::db::states::reverts::RevertToSlot"; + Ty.path + "std::hash::random::RandomState" + ] + ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", + Ty.associated, + [], + "map", [ Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot" + ]; + Ty.function [ Ty.tuple [ - Ty.path - "ruint::Uint"; - Ty.path - "ruint::Uint" + Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ] ] ] + (Ty.tuple + [ + Ty.path + "ruint::Uint"; + Ty.path + "revm::db::states::reverts::RevertToSlot" + ]) ] - (Ty.tuple - [ - Ty.path - "ruint::Uint"; - Ty.path - "revm::db::states::reverts::RevertToSlot" - ]) - ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::collect::IntoIterator", - impl_IntoIterator_Item____U256__U256__, - [], - "into_iter", - [] |), [ - M.read (| - storage - |) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match - γ - with - | [ α0 - ] => - M.match_operator (| - M.alloc (| - α0 - |), - [ - fun - γ => - ltac:(M.monadic - (let - γ0_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let - γ0_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let - k := - M.copy (| - γ0_0 - |) in - let - v := - M.copy (| - γ0_1 - |) in - Value.Tuple - [ - M.read (| - k - |); - Value.StructTuple - "revm::db::states::reverts::RevertToSlot::Some" - [ - M.read (| - v - |) - ] - ])) - ] + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::collect::IntoIterator", + impl_IntoIterator_Item____U256__U256__, + [], + "into_iter", + [] + |), + [ + M.read (| + storage |) - | _ => - M.impossible (||) - end)) + ] + |); + M.closure + (fun + γ => + ltac:(M.monadic + match + γ + with + | [ + α0 + ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + α0 + |), + [ + fun + γ => + ltac:(M.monadic + (let + γ0_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let + γ0_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let + k := + M.copy (| + γ0_0 + |) in + let + v := + M.copy (| + γ0_1 + |) in + Value.Tuple + [ + M.read (| + k + |); + Value.StructTuple + "revm::db::states::reverts::RevertToSlot::Some" + [ + M.read (| + v + |) + ] + ])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |) ] - |) - ] - |)); - ("previous_status", - Value.StructTuple - "revm::db::states::account_status::AccountStatus::Changed" - []); - ("wipe_storage", - Value.Bool false) - ] - |) in - let~ _ := - let β := reverts_size in - M.write (| - β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::reverts::AccountRevert", - "size_hint", - [] - |), - [ revert ] - |)) - |) in - M.alloc (| - Value.Tuple - [ - M.read (| address |); - M.read (| revert |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + |)); + ("previous_status", + Value.StructTuple + "revm::db::states::account_status::AccountStatus::Changed" + []); + ("wipe_storage", + Value.Bool + false) + ] + |) in + let~ _ := + let β := reverts_size in + M.write (| + β, + BinOp.Wrap.add + Integer.Usize + (M.read (| β |)) + (M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::reverts::AccountRevert", + "size_hint", + [] + |), + [ revert ] + |)) + |) in + M.alloc (| + Value.Tuple + [ + M.read (| + address + |); + M.read (| revert |) + ] + |) + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) + end)) + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5503,17 +5554,20 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.read (| - include_reverts - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.read (| + include_reverts + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) end)) ] |) @@ -6436,36 +6490,38 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ1_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let b := M.alloc (| γ1_0 |) in - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", - Ty.path "alloy_primitives::bits::fixed::FixedBytes", - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ1_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let b := M.alloc (| γ1_0 |) in + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", Ty.path - "alloy_primitives::bits::fixed::FixedBytes" - ], - "ne", - [] - |), - [ - M.read (| b |); - M.get_constant (| - "revm_primitives::utilities::KECCAK_EMPTY" - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + "alloy_primitives::bits::fixed::FixedBytes", + [ + Ty.path + "alloy_primitives::bits::fixed::FixedBytes" + ], + "ne", + [] + |), + [ + M.read (| b |); + M.get_constant (| + "revm_primitives::utilities::KECCAK_EMPTY" + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -8065,46 +8121,47 @@ Module db. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ1_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let revert := M.alloc (| γ1_1 |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| acc |)) - (M.call_closure (| - M.get_associated_function (| - Ty.path - "revm::db::states::reverts::AccountRevert", - "size_hint", - [] - |), - [ M.read (| revert |) ] - |)))) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ1_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let revert := M.alloc (| γ1_1 |) in + BinOp.Wrap.add + Integer.Usize + (M.read (| acc |)) + (M.call_closure (| + M.get_associated_function (| + Ty.path + "revm::db::states::reverts::AccountRevert", + "size_hint", + [] + |), + [ M.read (| revert |) ] + |)))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/revm/db/states/cache.v b/CoqOfRust/revm/revm/db/states/cache.v index fbb88897e..04193056a 100644 --- a/CoqOfRust/revm/revm/db/states/cache.v +++ b/CoqOfRust/revm/revm/db/states/cache.v @@ -559,52 +559,31 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let address := M.copy (| γ0_0 |) in - let account := M.copy (| γ0_1 |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm::db::states::plain_account::PlainAccount" - ] - ], - "map", - [ - Ty.tuple + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let address := M.copy (| γ0_0 |) in + let account := M.copy (| γ0_1 |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ - Ty.path "alloy_primitives::bits::address::Address"; Ty.apply (Ty.path "&") [ Ty.path "revm::db::states::plain_account::PlainAccount" ] - ]; - Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm::db::states::plain_account::PlainAccount" - ] - ] - ] - (Ty.tuple + ], + "map", + [ + Ty.tuple [ Ty.path "alloy_primitives::bits::address::Address"; Ty.apply @@ -613,54 +592,77 @@ Module db. Ty.path "revm::db::states::plain_account::PlainAccount" ] - ]) - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") + ]; + Ty.function [ - Ty.path - "revm::db::states::plain_account::PlainAccount" - ], - "as_ref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| account |), - "revm::db::states::cache_account::CacheAccount", - "account" - |) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let plain_acc := M.copy (| γ |) in - Value.Tuple - [ - M.read (| M.read (| address |) |); - M.read (| plain_acc |) - ])) + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm::db::states::plain_account::PlainAccount" + ] ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + (Ty.tuple + [ + Ty.path "alloy_primitives::bits::address::Address"; + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm::db::states::plain_account::PlainAccount" + ] + ]) + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.path + "revm::db::states::plain_account::PlainAccount" + ], + "as_ref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| account |), + "revm::db::states::cache_account::CacheAccount", + "account" + |) + ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let plain_acc := M.copy (| γ |) in + Value.Tuple + [ + M.read (| M.read (| address |) |); + M.read (| plain_acc |) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) diff --git a/CoqOfRust/revm/revm/db/states/cache_account.v b/CoqOfRust/revm/revm/db/states/cache_account.v index 374362035..e5c2da630 100644 --- a/CoqOfRust/revm/revm/db/states/cache_account.v +++ b/CoqOfRust/revm/revm/db/states/cache_account.v @@ -374,29 +374,31 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - let v := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| M.read (| k |) |); - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| v |), - "revm_primitives::state::StorageSlot", - "present_value" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + let v := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| M.read (| k |) |); + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| v |), + "revm_primitives::state::StorageSlot", + "present_value" + |) |) - |) - ])) - ] - |) - | _ => M.impossible (||) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -432,21 +434,22 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - Value.StructRecord - "revm::db::states::plain_account::PlainAccount" - [ - ("info", M.read (| info |)); - ("storage", M.read (| storage |)) - ])) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + Value.StructRecord + "revm::db::states::plain_account::PlainAccount" + [ + ("info", M.read (| info |)); + ("storage", M.read (| storage |)) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -754,8 +757,8 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -826,47 +829,48 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ Ty.apply (Ty.path "&") [ Ty.path "ruint::Uint" ] ], - "cloned", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path "ruint::Uint"; - Ty.path "std::hash::random::RandomState" - ], - "get", - [ Ty.path "ruint::Uint" ] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm::db::states::plain_account::PlainAccount", - "storage" - |); - slot - ] - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ Ty.apply (Ty.path "&") [ Ty.path "ruint::Uint" ] ], + "cloned", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path "ruint::Uint"; + Ty.path "std::hash::random::RandomState" + ], + "get", + [ Ty.path "ruint::Uint" ] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm::db::states::plain_account::PlainAccount", + "storage" + |); + slot + ] + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -932,31 +936,32 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path "revm_primitives::state::AccountInfo", - [], - "clone", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm::db::states::plain_account::PlainAccount", - "info" - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path "revm_primitives::state::AccountInfo", + [], + "clone", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm::db::states::plain_account::PlainAccount", + "info" + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -1024,23 +1029,24 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::db::states::plain_account::PlainAccount", - "into_components", - [] - |), - [ M.read (| a |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::db::states::plain_account::PlainAccount", + "into_components", + [] + |), + [ M.read (| a |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); @@ -1162,29 +1168,30 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_primitives::state::AccountInfo", - "is_empty", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm::db::states::plain_account::PlainAccount", - "info" - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_primitives::state::AccountInfo", + "is_empty", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm::db::states::plain_account::PlainAccount", + "info" + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1372,31 +1379,32 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := - M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - let v := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| M.read (| k |) |); - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| v |), - "revm_primitives::state::StorageSlot", - "present_value" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := + M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + let v := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| M.read (| k |) |); + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| v |), + "revm_primitives::state::StorageSlot", + "present_value" + |) |) - |) - ])) - ] - |) - | _ => M.impossible (||) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1443,22 +1451,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - a, - "revm::db::states::plain_account::PlainAccount", - "info" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + a, + "revm::db::states::plain_account::PlainAccount", + "info" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1608,22 +1617,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - acc, - "revm::db::states::plain_account::PlainAccount", - "info" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + acc, + "revm::db::states::plain_account::PlainAccount", + "info" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1694,8 +1704,8 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1819,22 +1829,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - a, - "revm::db::states::plain_account::PlainAccount", - "info" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + a, + "revm::db::states::plain_account::PlainAccount", + "info" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2029,22 +2040,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - a, - "revm::db::states::plain_account::PlainAccount", - "info" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + a, + "revm::db::states::plain_account::PlainAccount", + "info" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2136,29 +2148,31 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - let s := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| M.read (| k |) |); - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| s |), - "revm_primitives::state::StorageSlot", - "present_value" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + let s := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| M.read (| k |) |); + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| s |), + "revm_primitives::state::StorageSlot", + "present_value" + |) |) - |) - ])) - ] - |) - | _ => M.impossible (||) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2322,50 +2336,51 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "balance" - |), - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "saturating_add", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "balance" |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "balance" + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "saturating_add", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "balance" + |) + |); + M.call_closure (| + M.get_associated_function (| + Ty.path "ruint::Uint", + "from", + [ Ty.path "u128" ] + |), + [ M.read (| balance |) ] |) - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "ruint::Uint", - "from", - [ Ty.path "u128" ] - |), - [ M.read (| balance |) ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |) - | _ => M.impossible (||) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2681,62 +2696,63 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.read (| - let~ output := - M.copy (| - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "balance" - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "balance" - |), - M.read (| M.get_constant (| "ruint::ZERO" |) |) - |) in - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::result::Result") - [ - Ty.path "u128"; - Ty.apply - (Ty.path "ruint::from::FromUintError") - [ Ty.path "u128" ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::convert::TryInto", - Ty.path "ruint::Uint", - [ Ty.path "u128" ], - "try_into", - [] - |), - [ M.read (| output |) ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.read (| + let~ output := + M.copy (| + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "balance" |) - ] + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "balance" + |), + M.read (| M.get_constant (| "ruint::ZERO" |) |) + |) in + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::result::Result") + [ + Ty.path "u128"; + Ty.apply + (Ty.path "ruint::from::FromUintError") + [ Ty.path "u128" ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::convert::TryInto", + Ty.path "ruint::Uint", + [ Ty.path "u128" ], + "try_into", + [] + |), + [ M.read (| output |) ] + |) + ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2847,31 +2863,32 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path "revm_primitives::state::AccountInfo", - [], - "clone", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm::db::states::plain_account::PlainAccount", - "info" - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path "revm_primitives::state::AccountInfo", + [], + "clone", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm::db::states::plain_account::PlainAccount", + "info" + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2945,22 +2962,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let acc := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - acc, - "revm::db::states::plain_account::PlainAccount", - "storage" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let acc := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + acc, + "revm::db::states::plain_account::PlainAccount", + "storage" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3057,29 +3075,31 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let k := M.copy (| γ0_0 |) in - let s := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| M.read (| k |) |); - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| s |), - "revm_primitives::state::StorageSlot", - "present_value" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let k := M.copy (| γ0_0 |) in + let s := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| M.read (| k |) |); + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| s |), + "revm_primitives::state::StorageSlot", + "present_value" + |) |) - |) - ])) - ] - |) - | _ => M.impossible (||) + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -3226,31 +3246,32 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path "revm_primitives::state::AccountInfo", - [], - "clone", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| a |), - "revm::db::states::plain_account::PlainAccount", - "info" - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path "revm_primitives::state::AccountInfo", + [], + "clone", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| a |), + "revm::db::states::plain_account::PlainAccount", + "info" + |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)); diff --git a/CoqOfRust/revm/revm/db/states/reverts.v b/CoqOfRust/revm/revm/db/states/reverts.v index c29cdecd4..b39cc97e2 100644 --- a/CoqOfRust/revm/revm/db/states/reverts.v +++ b/CoqOfRust/revm/revm/db/states/reverts.v @@ -557,27 +557,31 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_tuple_field (| - γ, - 0 - |) in - let γ1_1 := - M.SubPointer.get_tuple_field (| - γ, - 1 - |) in - let address := M.alloc (| γ1_0 |) in - M.read (| M.read (| address |) |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_tuple_field (| + γ, + 0 + |) in + let γ1_1 := + M.SubPointer.get_tuple_field (| + γ, + 1 + |) in + let address := + M.alloc (| γ1_0 |) in + M.read (| + M.read (| address |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2056,33 +2060,35 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let key := M.copy (| γ0_0 |) in - let value := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| key |); - Value.StructTuple - "revm::db::states::reverts::RevertToSlot::Some" - [ - M.read (| - M.SubPointer.get_struct_record_field (| - value, - "revm_primitives::state::StorageSlot", - "present_value" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let key := M.copy (| γ0_0 |) in + let value := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| key |); + Value.StructTuple + "revm::db::states::reverts::RevertToSlot::Some" + [ + M.read (| + M.SubPointer.get_struct_record_field (| + value, + "revm_primitives::state::StorageSlot", + "present_value" + |) |) - |) - ] - ])) - ] - |) - | _ => M.impossible (||) + ] + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2300,101 +2306,104 @@ Module db. ltac:(M.monadic match γ with | [] => - let~ ret := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::db::states::reverts::AccountRevert", - "new_selfdestructed_again", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| bundle_account |), - "revm::db::states::bundle_account::BundleAccount", - "status" - |) - |); - M.read (| account_info_revert |); - M.call_closure (| - M.get_trait_method (| - "core::iter::traits::iterator::Iterator", - Ty.apply - (Ty.path "std::collections::hash::map::Drain") - [ - Ty.path "ruint::Uint"; - Ty.path "revm_primitives::state::StorageSlot" - ], - [], - "collect", - [ + ltac:(M.monadic + (let~ ret := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::db::states::reverts::AccountRevert", + "new_selfdestructed_again", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| bundle_account |), + "revm::db::states::bundle_account::BundleAccount", + "status" + |) + |); + M.read (| account_info_revert |); + M.call_closure (| + M.get_trait_method (| + "core::iter::traits::iterator::Iterator", Ty.apply - (Ty.path "std::collections::hash::map::HashMap") + (Ty.path "std::collections::hash::map::Drain") [ Ty.path "ruint::Uint"; - Ty.path "revm_primitives::state::StorageSlot"; - Ty.path "std::hash::random::RandomState" - ] - ] - |), - [ - M.call_closure (| - M.get_associated_function (| + Ty.path "revm_primitives::state::StorageSlot" + ], + [], + "collect", + [ Ty.apply (Ty.path "std::collections::hash::map::HashMap") [ Ty.path "ruint::Uint"; Ty.path "revm_primitives::state::StorageSlot"; Ty.path "std::hash::random::RandomState" - ], - "drain", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| bundle_account |), - "revm::db::states::bundle_account::BundleAccount", - "storage" - |) + ] ] - |) - ] - |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path "std::collections::hash::map::HashMap") - [ - Ty.path "ruint::Uint"; - Ty.path "revm_primitives::state::StorageSlot"; - Ty.path "std::hash::random::RandomState" - ], - [], - "clone", - [] - |), - [ M.read (| updated_storage |) ] - |) - ] - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - ret, - "revm::db::states::reverts::AccountRevert", - "wipe_storage" - |), - Value.Bool true - |) in - M.alloc (| - Value.StructTuple - "core::option::Option::Some" - [ M.read (| ret |) ] - |) - | _ => M.impossible (||) + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path + "revm_primitives::state::StorageSlot"; + Ty.path "std::hash::random::RandomState" + ], + "drain", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| bundle_account |), + "revm::db::states::bundle_account::BundleAccount", + "storage" + |) + ] + |) + ] + |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path "std::collections::hash::map::HashMap") + [ + Ty.path "ruint::Uint"; + Ty.path "revm_primitives::state::StorageSlot"; + Ty.path "std::hash::random::RandomState" + ], + [], + "clone", + [] + |), + [ M.read (| updated_storage |) ] + |) + ] + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + ret, + "revm::db::states::reverts::AccountRevert", + "wipe_storage" + |), + Value.Bool true + |) in + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ M.read (| ret |) ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -2542,33 +2551,35 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let key := M.copy (| γ0_0 |) in - let value := M.copy (| γ0_1 |) in - Value.Tuple - [ - M.read (| M.read (| key |) |); - Value.StructTuple - "revm::db::states::reverts::RevertToSlot::Some" - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| value |), - "revm_primitives::state::StorageSlot", - "present_value" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let key := M.copy (| γ0_0 |) in + let value := M.copy (| γ0_1 |) in + Value.Tuple + [ + M.read (| M.read (| key |) |); + Value.StructTuple + "revm::db::states::reverts::RevertToSlot::Some" + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| value |), + "revm_primitives::state::StorageSlot", + "present_value" + |) |) - |) - ] - ])) - ] - |) - | _ => M.impossible (||) + ] + ])) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/revm/db/states/state.v b/CoqOfRust/revm/revm/db/states/state.v index 08555fb05..53f80039d 100644 --- a/CoqOfRust/revm/revm/db/states/state.v +++ b/CoqOfRust/revm/revm/db/states/state.v @@ -1877,23 +1877,24 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let a := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::db::states::cache_account::CacheAccount", - "account_info", - [] - |), - [ M.read (| a |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let a := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::db::states::cache_account::CacheAccount", + "account_info", + [] + |), + [ M.read (| a |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))) @@ -2475,283 +2476,288 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let account := - M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::HashMap") - [ - Ty.path - "ruint::Uint"; - Ty.path - "ruint::Uint"; - Ty.path - "std::hash::random::RandomState" - ], - "entry", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| - account - |), - "revm::db::states::plain_account::PlainAccount", - "storage" - |); - M.read (| index |) - ] - |) - |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "std::collections::hash::map::Entry::Occupied", - 0 - |) in - let entry := - M.copy (| - γ0_0 - |) in - M.alloc (| - Value.StructTuple - "core::result::Result::Ok" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let account := + M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::HashMap") [ - M.read (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::OccupiedEntry") - [ - Ty.path - "ruint::Uint"; - Ty.path - "ruint::Uint" - ], - "get", - [] - |), - [ entry - ] - |) - |) - ] - |))); - fun γ => - ltac:(M.monadic - (let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "std::collections::hash::map::Entry::Vacant", - 0 - |) in - let entry := - M.copy (| - γ0_0 - |) in - let~ value := - M.copy (| - M.match_operator (| - M.alloc (| - Value.Tuple - [] - |), + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint"; + Ty.path + "std::hash::random::RandomState" + ], + "entry", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| + account + |), + "revm::db::states::plain_account::PlainAccount", + "storage" + |); + M.read (| + index + |) + ] + |) + |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "std::collections::hash::map::Entry::Occupied", + 0 + |) in + let entry := + M.copy (| + γ0_0 + |) in + M.alloc (| + Value.StructTuple + "core::result::Result::Ok" [ - fun γ => - ltac:(M.monadic - (let - γ := - M.use - is_storage_known in - let - _ := - M.is_constant_or_break_match (| - M.read (| - γ - |), - Value.Bool - true - |) in - M.get_constant (| - "ruint::ZERO" - |))); - fun γ => - ltac:(M.monadic - (M.match_operator (| - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::Try", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "ruint::Uint"; - Ty.associated - ], - [], - "branch", - [] + M.read (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::OccupiedEntry") + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ], + "get", + [] + |), + [ + entry + ] + |) + |) + ] + |))); + fun γ => + ltac:(M.monadic + (let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "std::collections::hash::map::Entry::Vacant", + 0 + |) in + let entry := + M.copy (| + γ0_0 + |) in + let~ value := + M.copy (| + M.match_operator (| + M.alloc (| + Value.Tuple + [] + |), + [ + fun γ => + ltac:(M.monadic + (let + γ := + M.use + is_storage_known in + let + _ := + M.is_constant_or_break_match (| + M.read (| + γ |), - [ - M.call_closure (| - M.get_trait_method (| - "revm_primitives::db::Database", - DB, - [], - "storage", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + Value.Bool + true + |) in + M.get_constant (| + "ruint::ZERO" + |))); + fun γ => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::Try", + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "ruint::Uint"; + Ty.associated + ], + [], + "branch", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "revm_primitives::db::Database", + DB, + [], + "storage", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| + self + |), + "revm::db::states::state::State", + "database" + |); M.read (| - self - |), - "revm::db::states::state::State", - "database" - |); - M.read (| - address - |); - M.read (| - index - |) - ] - |) - ] - |) - |), - [ - fun - γ => - ltac:(M.monadic - (let - γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Break", - 0 - |) in - let - residual := - M.copy (| - γ0_0 - |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - M.call_closure (| - M.get_trait_method (| - "core::ops::try_trait::FromResidual", - Ty.apply - (Ty.path - "core::result::Result") - [ - Ty.path - "ruint::Uint"; - Ty.associated - ], - [ + address + |); + M.read (| + index + |) + ] + |) + ] + |) + |), + [ + fun + γ => + ltac:(M.monadic + (let + γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Break", + 0 + |) in + let + residual := + M.copy (| + γ0_0 + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + M.call_closure (| + M.get_trait_method (| + "core::ops::try_trait::FromResidual", Ty.apply (Ty.path "core::result::Result") [ Ty.path - "core::convert::Infallible"; + "ruint::Uint"; Ty.associated - ] - ], - "from_residual", - [] - |), - [ - M.read (| - residual - |) - ] + ], + [ + Ty.apply + (Ty.path + "core::result::Result") + [ + Ty.path + "core::convert::Infallible"; + Ty.associated + ] + ], + "from_residual", + [] + |), + [ + M.read (| + residual + |) + ] + |) |) |) |) - |) - |))); - fun - γ => - ltac:(M.monadic - (let - γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::ops::control_flow::ControlFlow::Continue", - 0 - |) in - let - val := - M.copy (| - γ0_0 - |) in - val)) - ] - |))) - ] - |) - |) in - let~ _ := + |))); + fun + γ => + ltac:(M.monadic + (let + γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::ops::control_flow::ControlFlow::Continue", + 0 + |) in + let + val := + M.copy (| + γ0_0 + |) in + val)) + ] + |))) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "std::collections::hash::map::VacantEntry") + [ + Ty.path + "ruint::Uint"; + Ty.path + "ruint::Uint" + ], + "insert", + [] + |), + [ + M.read (| + entry + |); + M.read (| + value + |) + ] + |) + |) in M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "std::collections::hash::map::VacantEntry") - [ - Ty.path - "ruint::Uint"; - Ty.path - "ruint::Uint" - ], - "insert", - [] - |), + Value.StructTuple + "core::result::Result::Ok" [ - M.read (| - entry - |); M.read (| value |) ] - |) - |) in - M.alloc (| - Value.StructTuple - "core::result::Result::Ok" - [ - M.read (| - value - |) - ] - |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |) + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/revm/db/states/state_builder.v b/CoqOfRust/revm/revm/db/states/state_builder.v index 81c3991cc..ad5cebe10 100644 --- a/CoqOfRust/revm/revm/db/states/state_builder.v +++ b/CoqOfRust/revm/revm/db/states/state_builder.v @@ -1150,30 +1150,31 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| - M.get_associated_function (| - Ty.path "revm::db::states::cache::CacheState", - "new", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - self, - "revm::db::states::state_builder::StateBuilder", - "with_state_clear" + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + M.get_associated_function (| + Ty.path "revm::db::states::cache::CacheState", + "new", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + self, + "revm::db::states::state_builder::StateBuilder", + "with_state_clear" + |) |) - |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)); diff --git a/CoqOfRust/revm/revm/db/states/transition_account.v b/CoqOfRust/revm/revm/db/states/transition_account.v index b96a006e8..6f594fcd1 100644 --- a/CoqOfRust/revm/revm/db/states/transition_account.v +++ b/CoqOfRust/revm/revm/db/states/transition_account.v @@ -765,20 +765,21 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "code_hash" - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "code_hash" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -835,20 +836,21 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "code_hash" - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "code_hash" + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -969,50 +971,28 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm_primitives::bytecode::Bytecode" - ] - ], - "map", - [ - Ty.tuple + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [ - Ty.path - "alloy_primitives::bits::fixed::FixedBytes"; Ty.apply (Ty.path "&") [ Ty.path "revm_primitives::bytecode::Bytecode" ] - ]; - Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [ - Ty.path - "revm_primitives::bytecode::Bytecode" - ] - ] - ] - (Ty.tuple + ], + "map", + [ + Ty.tuple [ Ty.path "alloy_primitives::bits::fixed::FixedBytes"; @@ -1022,63 +1002,92 @@ Module db. Ty.path "revm_primitives::bytecode::Bytecode" ] - ]) - ] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") + ]; + Ty.function [ - Ty.path - "revm_primitives::bytecode::Bytecode" - ], - "as_ref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "code" - |) - ] - |); - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), + Ty.tuple [ - fun γ => - ltac:(M.monadic - (let c := - M.copy (| γ |) in - Value.Tuple - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| - info - |), - "revm_primitives::state::AccountInfo", - "code_hash" - |) - |); - M.read (| c |) - ])) + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm_primitives::bytecode::Bytecode" + ] ] - |) - | _ => M.impossible (||) - end)) - ] - |))) - ] - |) - | _ => M.impossible (||) + ] + (Ty.tuple + [ + Ty.path + "alloy_primitives::bits::fixed::FixedBytes"; + Ty.apply + (Ty.path "&") + [ + Ty.path + "revm_primitives::bytecode::Bytecode" + ] + ]) + ] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "revm_primitives::bytecode::Bytecode" + ], + "as_ref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "code" + |) + ] + |); + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let c := + M.copy (| + γ + |) in + Value.Tuple + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| + info + |), + "revm_primitives::state::AccountInfo", + "code_hash" + |) + |); + M.read (| c |) + ])) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1161,22 +1170,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "balance" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "balance" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1251,22 +1261,23 @@ Module db. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let info := M.copy (| γ |) in - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| info |), - "revm_primitives::state::AccountInfo", - "balance" - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let info := M.copy (| γ |) in + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| info |), + "revm_primitives::state::AccountInfo", + "balance" + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1591,8 +1602,8 @@ Module db. (fun γ => ltac:(M.monadic match γ with - | [] => M.alloc (| Value.Bool true |) - | _ => M.impossible (||) + | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) diff --git a/CoqOfRust/revm/revm/evm.v b/CoqOfRust/revm/revm/evm.v index d49d60b04..913c8b0f4 100644 --- a/CoqOfRust/revm/revm/evm.v +++ b/CoqOfRust/revm/revm/evm.v @@ -438,11 +438,12 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -660,31 +661,32 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "revm::evm::Evm") - [ EXT; DB ], - "clear", - [] - |), - [ M.read (| self |) ] - |) - |) in - e - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "revm::evm::Evm") + [ EXT; DB ], + "clear", + [] + |), + [ M.read (| self |) ] + |) + |) in + e + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -1320,31 +1322,32 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "revm::evm::Evm") - [ EXT; DB ], - "clear", - [] - |), - [ M.read (| self |) ] - |) - |) in - e - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "revm::evm::Evm") + [ EXT; DB ], + "clear", + [] + |), + [ M.read (| self |) ] + |) + |) in + e + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5318,48 +5321,49 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "revm::context::evm_context::EvmContext") - [ DB ], - [], - "deref_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "revm::context::evm_context::EvmContext") + [ DB ], + [], + "deref_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "error" |), - "revm::context::inner_evm_context::InnerEvmContext", - "error" - |), - Value.StructTuple - "core::result::Result::Err" - [ M.read (| e |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::result::Result::Err" + [ M.read (| e |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5449,48 +5453,49 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "revm::context::evm_context::EvmContext") - [ DB ], - [], - "deref_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "revm::context::evm_context::EvmContext") + [ DB ], + [], + "deref_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "error" |), - "revm::context::inner_evm_context::InnerEvmContext", - "error" - |), - Value.StructTuple - "core::result::Result::Err" - [ M.read (| e |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::result::Result::Err" + [ M.read (| e |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5580,48 +5585,49 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "revm::context::evm_context::EvmContext") - [ DB ], - [], - "deref_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "revm::context::evm_context::EvmContext") + [ DB ], + [], + "deref_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "error" |), - "revm::context::inner_evm_context::InnerEvmContext", - "error" - |), - Value.StructTuple - "core::result::Result::Err" - [ M.read (| e |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::result::Result::Err" + [ M.read (| e |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5714,48 +5720,49 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "revm::context::evm_context::EvmContext") - [ DB ], - [], - "deref_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "revm::context::evm_context::EvmContext") + [ DB ], + [], + "deref_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "error" |), - "revm::context::inner_evm_context::InnerEvmContext", - "error" - |), - Value.StructTuple - "core::result::Result::Err" - [ M.read (| e |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::result::Result::Err" + [ M.read (| e |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5849,48 +5856,49 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "revm::context::evm_context::EvmContext") - [ DB ], - [], - "deref_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "revm::context::evm_context::EvmContext") + [ DB ], + [], + "deref_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "error" |), - "revm::context::inner_evm_context::InnerEvmContext", - "error" - |), - Value.StructTuple - "core::result::Result::Err" - [ M.read (| e |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::result::Result::Err" + [ M.read (| e |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5982,48 +5990,49 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "revm::context::evm_context::EvmContext") - [ DB ], - [], - "deref_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "revm::context::evm_context::EvmContext") + [ DB ], + [], + "deref_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "error" |), - "revm::context::inner_evm_context::InnerEvmContext", - "error" - |), - Value.StructTuple - "core::result::Result::Err" - [ M.read (| e |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::result::Result::Err" + [ M.read (| e |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6117,48 +6126,49 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "revm::context::evm_context::EvmContext") - [ DB ], - [], - "deref_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "revm::context::evm_context::EvmContext") + [ DB ], + [], + "deref_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "error" |), - "revm::context::inner_evm_context::InnerEvmContext", - "error" - |), - Value.StructTuple - "core::result::Result::Err" - [ M.read (| e |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::result::Result::Err" + [ M.read (| e |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6417,48 +6427,49 @@ Module evm. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let e := M.copy (| γ |) in - M.read (| - M.write (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "revm::context::evm_context::EvmContext") - [ DB ], - [], - "deref_mut", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let e := M.copy (| γ |) in + M.read (| + M.write (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "revm::context::evm_context::EvmContext") + [ DB ], + [], + "deref_mut", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| self |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.SubPointer.get_struct_record_field (| + M.read (| self |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "error" |), - "revm::context::inner_evm_context::InnerEvmContext", - "error" - |), - Value.StructTuple - "core::result::Result::Err" - [ M.read (| e |) ] - |) - |))) - ] - |) - | _ => M.impossible (||) + Value.StructTuple + "core::result::Result::Err" + [ M.read (| e |) ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) diff --git a/CoqOfRust/revm/revm/handler.v b/CoqOfRust/revm/revm/handler.v index 659868dca..6b335148d 100644 --- a/CoqOfRust/revm/revm/handler.v +++ b/CoqOfRust/revm/revm/handler.v @@ -280,19 +280,21 @@ Module handler. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "revm::handler::Handler") - [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB ], - "mainnet", - [ Ty.path "revm_primitives::specification::FrontierSpec" ] - |), - [] - |) - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "revm::handler::Handler") + [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB + ], + "mainnet", + [ Ty.path "revm_primitives::specification::FrontierSpec" ] + |), + [] + |) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -322,19 +324,21 @@ Module handler. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "revm::handler::Handler") - [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB ], - "mainnet", - [ Ty.path "revm_primitives::specification::HomesteadSpec" ] - |), - [] - |) - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "revm::handler::Handler") + [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB + ], + "mainnet", + [ Ty.path "revm_primitives::specification::HomesteadSpec" ] + |), + [] + |) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -421,19 +425,21 @@ Module handler. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "revm::handler::Handler") - [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB ], - "mainnet", - [ Ty.path "revm_primitives::specification::PetersburgSpec" ] - |), - [] - |) - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "revm::handler::Handler") + [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB + ], + "mainnet", + [ Ty.path "revm_primitives::specification::PetersburgSpec" ] + |), + [] + |) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -463,19 +469,21 @@ Module handler. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "revm::handler::Handler") - [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB ], - "mainnet", - [ Ty.path "revm_primitives::specification::IstanbulSpec" ] - |), - [] - |) - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "revm::handler::Handler") + [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB + ], + "mainnet", + [ Ty.path "revm_primitives::specification::IstanbulSpec" ] + |), + [] + |) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -529,19 +537,21 @@ Module handler. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "revm::handler::Handler") - [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB ], - "mainnet", - [ Ty.path "revm_primitives::specification::LondonSpec" ] - |), - [] - |) - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "revm::handler::Handler") + [ Ty.apply (Ty.path "revm::evm::Evm") [ EXT; DB ]; EXT; DB + ], + "mainnet", + [ Ty.path "revm_primitives::specification::LondonSpec" ] + |), + [] + |) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => diff --git a/CoqOfRust/revm/revm/handler/mainnet/execution.v b/CoqOfRust/revm/revm/handler/mainnet/execution.v index 9ebcfb8cf..325a4dae8 100644 --- a/CoqOfRust/revm/revm/handler/mainnet/execution.v +++ b/CoqOfRust/revm/revm/handler/mainnet/execution.v @@ -174,30 +174,31 @@ Module handler. ltac:(M.monadic match γ with | [] => - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "erase_cost", - [] - |), - [ M.read (| gas |); M.read (| remaining |) ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "record_refund", - [] - |), - [ M.read (| gas |); M.read (| refunded |) ] - |) - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + ltac:(M.monadic + (let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "erase_cost", + [] + |), + [ M.read (| gas |); M.read (| remaining |) ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "record_refund", + [] + |), + [ M.read (| gas |); M.read (| refunded |) ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => @@ -235,19 +236,20 @@ Module handler. ltac:(M.monadic match γ with | [] => - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.path "revm_interpreter::gas::Gas", - "erase_cost", - [] - |), - [ M.read (| gas |); M.read (| remaining |) ] - |) - |) in - M.alloc (| Value.Tuple [] |) - | _ => M.impossible (||) + ltac:(M.monadic + (let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.path "revm_interpreter::gas::Gas", + "erase_cost", + [] + |), + [ M.read (| gas |); M.read (| remaining |) ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) diff --git a/CoqOfRust/revm/revm/handler/mainnet/post_execution.v b/CoqOfRust/revm/revm/handler/mainnet/post_execution.v index 7276f9359..b7c5ca18d 100644 --- a/CoqOfRust/revm/revm/handler/mainnet/post_execution.v +++ b/CoqOfRust/revm/revm/handler/mainnet/post_execution.v @@ -1222,74 +1222,75 @@ Module handler. ltac:(M.monadic match γ with | [] => - M.alloc (| - M.never_to_any (| - M.call_closure (| - M.get_function (| - "core::panicking::panic_fmt", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_v1", - [] - |), - [ - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.read (| - Value.String - "Encountered unexpected internal return flag: " - |); - M.read (| - Value.String - " with instruction result: " - |) - ] - |)); - (* Unsize *) - M.pointer_coercion - (M.alloc (| - Value.Array - [ - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::rt::Argument", - "new_debug", - [ + ltac:(M.monadic + (M.alloc (| + M.never_to_any (| + M.call_closure (| + M.get_function (| + "core::panicking::panic_fmt", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.path "core::fmt::Arguments", + "new_v1", + [] + |), + [ + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.read (| + Value.String + "Encountered unexpected internal return flag: " + |); + M.read (| + Value.String + " with instruction result: " + |) + ] + |)); + (* Unsize *) + M.pointer_coercion + (M.alloc (| + Value.Array + [ + M.call_closure (| + M.get_associated_function (| Ty.path - "revm_interpreter::instruction_result::SuccessOrHalt" - ] - |), - [ flag ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.path - "core::fmt::rt::Argument", - "new_debug", - [ + "core::fmt::rt::Argument", + "new_debug", + [ + Ty.path + "revm_interpreter::instruction_result::SuccessOrHalt" + ] + |), + [ flag ] + |); + M.call_closure (| + M.get_associated_function (| Ty.path - "revm_interpreter::interpreter::InterpreterResult" - ] - |), - [ instruction_result ] - |) - ] - |)) - ] - |) - ] + "core::fmt::rt::Argument", + "new_debug", + [ + Ty.path + "revm_interpreter::interpreter::InterpreterResult" + ] + |), + [ instruction_result ] + |) + ] + |)) + ] + |) + ] + |) |) - |) - |) - | _ => M.impossible (||) + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |))) ] diff --git a/CoqOfRust/revm/revm/inspector/handler_register.v b/CoqOfRust/revm/revm/inspector/handler_register.v index 34b04f733..c221aa03b 100644 --- a/CoqOfRust/revm/revm/inspector/handler_register.v +++ b/CoqOfRust/revm/revm/inspector/handler_register.v @@ -448,42 +448,43 @@ Module inspector. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm::inspector::handler_register::inspector_instruction", - [ - EXT; - DB; - Ty.function - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "revm_interpreter::interpreter::Interpreter" - ]; - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path "revm::evm::Evm") - [ EXT; DB ] - ] - ] - (Ty.tuple []) - ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm::inspector::handler_register::inspector_instruction", + [ + EXT; + DB; + Ty.function + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.path + "revm_interpreter::interpreter::Interpreter" + ]; + Ty.apply + (Ty.path "&mut") + [ + Ty.apply + (Ty.path "revm::evm::Evm") + [ EXT; DB ] + ] + ] + (Ty.tuple []) + ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -655,37 +656,38 @@ Module inspector. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_function (| - "revm::inspector::handler_register::inspector_instruction", - [ - EXT; - DB; - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; - Ty.path "alloc::alloc::Global" - ] - ] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_function (| + "revm::inspector::handler_register::inspector_instruction", + [ + EXT; + DB; + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path "alloc::alloc::Global" + ] + ] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -702,24 +704,85 @@ Module inspector. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let index := M.copy (| γ |) in - M.read (| - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "slice") + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let index := M.copy (| γ |) in + M.read (| + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path "alloc::alloc::Global" + ] + ], + "get_mut", + [ Ty.path "usize" ] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path "alloc::alloc::Global" + ]; + Ty.path "alloc::alloc::Global" + ], + [], + "deref_mut", + [] + |), + [ table ] + |); + M.rust_cast (M.read (| index |)) + ] + |) + |) in + let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let i := M.copy (| γ0_0 |) in + let~ old := + M.alloc (| + M.call_closure (| + M.get_function (| + "core::mem::replace", [ Ty.apply (Ty.path "alloc::boxed::Box") @@ -733,414 +796,267 @@ Module inspector. ]; Ty.path "alloc::alloc::Global" ] - ], - "get_mut", - [ Ty.path "usize" ] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "alloc::vec::Vec") - [ + ] + |), + [ + M.read (| i |); + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path "alloc::boxed::Box") [ - Ty.dyn + Ty.function [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.path + "revm_interpreter::interpreter::Interpreter" + ]; + Ty.apply + (Ty.path "&mut") + [ + Ty.apply + (Ty.path + "revm::evm::Evm") + [ EXT; DB ] + ] + ] + ] + (Ty.tuple []); Ty.path "alloc::alloc::Global" - ]; - Ty.path "alloc::alloc::Global" - ], - [], - "deref_mut", - [] - |), - [ table ] - |); - M.rust_cast (M.read (| index |)) - ] - |) - |) in - let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let i := M.copy (| γ0_0 |) in - let~ old := - M.alloc (| - M.call_closure (| - M.get_function (| - "core::mem::replace", - [ + ], + "new", + [] + |), + [ + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (Value.Tuple + [])) + ] + |))) + ] + |))) + | _ => + ltac:(M.monadic + (M.impossible (||))) + end)) + ] + |)) + ] + |) + |) in + M.write (| + M.read (| i |), + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path "alloc::boxed::Box") [ - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; - Ty.path "alloc::alloc::Global" - ] - ] - |), - [ - M.read (| i |); - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") + Ty.function [ - Ty.function + Ty.tuple [ - Ty.tuple + Ty.apply + (Ty.path "&mut") + [ + Ty.path + "revm_interpreter::interpreter::Interpreter" + ]; + Ty.apply + (Ty.path "&mut") [ Ty.apply - (Ty.path "&mut") - [ - Ty.path - "revm_interpreter::interpreter::Interpreter" - ]; - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path "revm::evm::Evm") - [ EXT; DB ] - ] + (Ty.path "revm::evm::Evm") + [ EXT; DB ] ] ] - (Ty.tuple []); - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ - M.closure - (fun γ => + ] + (Ty.tuple []); + Ty.path "alloc::alloc::Global" + ], + "new", + [] + |), + [ + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => ltac:(M.monadic - match γ with - | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (Value.Tuple [])) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |)) - ] - |) - |) in - M.write (| - M.read (| i |), - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") + (M.match_operator (| + M.alloc (| α0 |), [ - Ty.path - "revm_interpreter::interpreter::Interpreter" - ]; - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path "revm::evm::Evm") - [ EXT; DB ] - ] - ] - ] - (Ty.tuple []); - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let interpreter := - M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let host := - M.copy (| γ |) in - M.read (| - let~ old_log_len := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ + fun γ => + ltac:(M.monadic + (let interpreter := + M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let host := + M.copy (| γ |) in + M.read (| + let~ old_log_len := + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path - "alloy_primitives::log::Log") + "alloc::vec::Vec") [ - Ty.path - "alloy_primitives::log::LogData" - ]; - Ty.path - "alloc::alloc::Global" - ], - "len", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", Ty.apply (Ty.path - "revm::context::evm_context::EvmContext") - [ DB - ], - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| - host - |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] - |), - "revm::context::inner_evm_context::InnerEvmContext", - "journaled_state" + "alloy_primitives::log::Log") + [ + Ty.path + "alloy_primitives::log::LogData" + ]; + Ty.path + "alloc::alloc::Global" + ], + "len", + [] |), - "revm::journaled_state::JournaledState", - "logs" - |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; - Ty.path - "alloc::alloc::Global" - ], - [ - Ty.tuple - [ - Ty.apply - (Ty.path - "&mut") - [ - Ty.path - "revm_interpreter::interpreter::Interpreter" - ]; - Ty.apply - (Ty.path - "&mut") - [ - Ty.apply - (Ty.path - "revm::evm::Evm") - [ - EXT; - DB - ] - ] - ] - ], - "call", - [] - |), - [ - old; - Value.Tuple [ - M.read (| - interpreter - |); - M.read (| - host - |) - ] - ] - |) - |) in - M.match_operator (| - M.alloc (| - Value.Tuple [] - |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| - M.get_associated_function (| + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", Ty.apply (Ty.path - "alloc::vec::Vec") + "revm::context::evm_context::EvmContext") [ - Ty.apply - (Ty.path - "alloy_primitives::log::Log") - [ - Ty.path - "alloy_primitives::log::LogData" - ]; - Ty.path - "alloc::alloc::Global" + DB ], - "len", + [], + "deref", [] |), [ M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "revm::context::evm_context::EvmContext") - [ - DB - ], - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| - host - |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] + M.read (| + host |), - "revm::context::inner_evm_context::InnerEvmContext", - "journaled_state" + "revm::evm::Evm", + "context" |), - "revm::journaled_state::JournaledState", - "logs" + "revm::context::Context", + "evm" |) ] - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| - old_log_len - |)) - (Value.Integer - 1)) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| - γ - |), - Value.Bool - true - |) in - let~ last_log := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path - "alloy_primitives::log::Log") - [ - Ty.path - "alloy_primitives::log::LogData" - ], - [], - "clone", - [] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "journaled_state" |), + "revm::journaled_state::JournaledState", + "logs" + |) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.apply + (Ty.path + "alloc::boxed::Box") [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::option::Option") - [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path + "alloc::alloc::Global" + ], + [ + Ty.tuple + [ + Ty.apply + (Ty.path + "&mut") + [ + Ty.path + "revm_interpreter::interpreter::Interpreter" + ]; + Ty.apply + (Ty.path + "&mut") + [ + Ty.apply + (Ty.path + "revm::evm::Evm") + [ + EXT; + DB + ] + ] + ] + ], + "call", + [] + |), + [ + old; + Value.Tuple + [ + M.read (| + interpreter + |); + M.read (| + host + |) + ] + ] + |) + |) in + M.match_operator (| + M.alloc (| + Value.Tuple [] + |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.Pure.eq + (M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path - "&") + "alloc::vec::Vec") [ Ty.apply (Ty.path @@ -1148,10 +1064,82 @@ Module inspector. [ Ty.path "alloy_primitives::log::LogData" + ]; + Ty.path + "alloc::alloc::Global" + ], + "len", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "revm::context::evm_context::EvmContext") + [ + DB + ], + [], + "deref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| + host + |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) ] - ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "journaled_state" + |), + "revm::journaled_state::JournaledState", + "logs" + |) + ] + |)) + (BinOp.Wrap.add + Integer.Usize + (M.read (| + old_log_len + |)) + (Value.Integer + 1)) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| + γ + |), + Value.Bool + true + |) in + let~ + last_log := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path + "alloy_primitives::log::Log") + [ + Ty.path + "alloy_primitives::log::LogData" ], - "unwrap", + [], + "clone", [] |), [ @@ -1159,26 +1147,30 @@ Module inspector. M.get_associated_function (| Ty.apply (Ty.path - "slice") + "core::option::Option") [ Ty.apply (Ty.path - "alloy_primitives::log::Log") + "&") [ - Ty.path - "alloy_primitives::log::LogData" + Ty.apply + (Ty.path + "alloy_primitives::log::Log") + [ + Ty.path + "alloy_primitives::log::LogData" + ] ] ], - "last", + "unwrap", [] |), [ M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", + M.get_associated_function (| Ty.apply (Ty.path - "alloc::vec::Vec") + "slice") [ Ty.apply (Ty.path @@ -1186,49 +1178,70 @@ Module inspector. [ Ty.path "alloy_primitives::log::LogData" - ]; - Ty.path - "alloc::alloc::Global" + ] ], - [], - "deref", + "last", [] |), [ - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ Ty.apply (Ty.path - "revm::context::evm_context::EvmContext") + "alloy_primitives::log::Log") [ - DB - ], - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| - host - |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] - |), - "revm::context::inner_evm_context::InnerEvmContext", - "journaled_state" + Ty.path + "alloy_primitives::log::LogData" + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] |), - "revm::journaled_state::JournaledState", - "logs" + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "revm::context::evm_context::EvmContext") + [ + DB + ], + [], + "deref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| + host + |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "journaled_state" + |), + "revm::journaled_state::JournaledState", + "logs" + |) + ] |) ] |) @@ -1236,30 +1249,43 @@ Module inspector. |) ] |) - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "log", - [] - |), - [ + |) in + let~ _ := + M.alloc (| M.call_closure (| M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, + "revm::inspector::Inspector", + Ty.associated, [ DB ], - "get_inspector", + "log", [] |), [ + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + EXT, + [ + DB + ], + "get_inspector", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| + host + |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "external" + |) + ] + |); M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| @@ -1269,52 +1295,42 @@ Module inspector. "context" |), "revm::context::Context", - "external" - |) + "evm" + |); + last_log ] - |); - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| - host - |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |); - last_log - ] - |) - |) in - M.alloc (| - Value.Tuple [] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - Value.Tuple [] - |))) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |)) - |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + |) + |) in + M.alloc (| + Value.Tuple + [] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + Value.Tuple + [] + |))) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => + ltac:(M.monadic (M.impossible (||))) + end)) + ] + |)) + |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) |) in let~ _ := @@ -1523,18 +1539,20 @@ Module inspector. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.match_operator (| - M.alloc (| α1 |), - [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α1 |), + [ fun γ => ltac:(M.monadic (Value.Tuple [])) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -1575,302 +1593,306 @@ Module inspector. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let interpreter := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let host := M.copy (| γ |) in - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; - Ty.path "alloc::alloc::Global" - ], - [ - Ty.tuple + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let interpreter := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let host := M.copy (| γ |) in + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.apply + (Ty.path "alloc::boxed::Box") [ - Ty.apply - (Ty.path "&mut") + Ty.dyn [ - Ty.path - "revm_interpreter::interpreter::Interpreter" + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) ]; - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "revm::evm::Evm") - [ EXT; DB ] - ] - ] - ], - "call", - [] - |), - [ - old; - Value.Tuple + Ty.path "alloc::alloc::Global" + ], [ - M.read (| interpreter |); - M.read (| host |) - ] - ] - |) - |) in - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| + Ty.tuple + [ Ty.apply - (Ty.path "slice") + (Ty.path "&mut") [ Ty.path - "revm::journaled_state::JournalEntry" - ], - "last", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", + "revm_interpreter::interpreter::Interpreter" + ]; + Ty.apply + (Ty.path "&mut") + [ Ty.apply (Ty.path - "alloc::vec::Vec") - [ - Ty.path - "revm::journaled_state::JournalEntry"; - Ty.path - "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.apply - (Ty.path "&") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.path - "revm::journaled_state::JournalEntry"; - Ty.path - "alloc::alloc::Global" - ] - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "slice") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.path - "revm::journaled_state::JournalEntry"; - Ty.path - "alloc::alloc::Global" - ] - ], - "last", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.path - "revm::journaled_state::JournalEntry"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "revm::context::evm_context::EvmContext") - [ - DB - ], - [], - "deref", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| - host - |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] - |), - "revm::context::inner_evm_context::InnerEvmContext", - "journaled_state" - |), - "revm::journaled_state::JournaledState", - "journal" - |) - ] - |) - ] - |) - ] - |) + "revm::evm::Evm") + [ EXT; DB ] ] - |) ] - |) - |) in - let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let γ0_0 := M.read (| γ0_0 |) in - let γ2_0 := - M.SubPointer.get_struct_record_field (| - γ0_0, - "revm::journaled_state::JournalEntry::AccountDestroyed", - "address" - |) in - let γ2_1 := - M.SubPointer.get_struct_record_field (| - γ0_0, - "revm::journaled_state::JournalEntry::AccountDestroyed", - "target" - |) in - let γ2_2 := - M.SubPointer.get_struct_record_field (| - γ0_0, - "revm::journaled_state::JournalEntry::AccountDestroyed", - "had_balance" - |) in - let address := M.alloc (| γ2_0 |) in - let target := M.alloc (| γ2_1 |) in - let had_balance := - M.alloc (| γ2_2 |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "selfdestruct", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, - [ DB ], - "get_inspector", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ], + "call", + [] + |), + [ + old; + Value.Tuple + [ + M.read (| interpreter |); + M.read (| host |) + ] + ] + |) + |) in + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "slice") + [ + Ty.path + "revm::journaled_state::JournalEntry" + ], + "last", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path + "revm::journaled_state::JournalEntry"; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "&") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path + "revm::journaled_state::JournalEntry"; + Ty.path + "alloc::alloc::Global" + ] + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "slice") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path + "revm::journaled_state::JournalEntry"; + Ty.path + "alloc::alloc::Global" + ] + ], + "last", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path + "revm::journaled_state::JournalEntry"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "revm::context::evm_context::EvmContext") + [ + DB + ], + [], + "deref", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| + host + |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |), + "revm::context::inner_evm_context::InnerEvmContext", + "journaled_state" + |), + "revm::journaled_state::JournaledState", + "journal" + |) + ] + |) + ] + |) + ] + |) + ] + |) + ] + |) + |) in + let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let γ0_0 := M.read (| γ0_0 |) in + let γ2_0 := + M.SubPointer.get_struct_record_field (| + γ0_0, + "revm::journaled_state::JournalEntry::AccountDestroyed", + "address" + |) in + let γ2_1 := + M.SubPointer.get_struct_record_field (| + γ0_0, + "revm::journaled_state::JournalEntry::AccountDestroyed", + "target" + |) in + let γ2_2 := + M.SubPointer.get_struct_record_field (| + γ0_0, + "revm::journaled_state::JournalEntry::AccountDestroyed", + "had_balance" + |) in + let address := + M.alloc (| γ2_0 |) in + let target := + M.alloc (| γ2_1 |) in + let had_balance := + M.alloc (| γ2_2 |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "selfdestruct", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + EXT, + [ DB ], + "get_inspector", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| host |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "external" - |) - ] - |); - M.read (| - M.read (| address |) - |); - M.read (| - M.read (| target |) - |); - M.read (| - M.read (| had_balance |) - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + M.SubPointer.get_struct_record_field (| + M.read (| host |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "external" + |) + ] + |); + M.read (| + M.read (| address |) + |); + M.read (| + M.read (| target |) + |); + M.read (| + M.read (| had_balance |) + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -2012,25 +2034,26 @@ Module inspector. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - M.get_function (| "core::panicking::panic", [] |), - [ - M.read (| - Value.String - "internal error: entered unreachable code" - |) - ] - |) - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.never_to_any (| + M.call_closure (| + M.get_function (| "core::panicking::panic", [] |), + [ + M.read (| + Value.String + "internal error: entered unreachable code" + |) + ] + |) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -2366,81 +2389,299 @@ Module inspector. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ctx := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let inputs := M.copy (| γ |) in - M.read (| - let~ inspector := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, - [ DB ], - "get_inspector", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ctx := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let inputs := M.copy (| γ |) in + M.read (| + let~ inspector := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + EXT, + [ DB ], + "get_inspector", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "external" + |) + ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), [ - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "external" - |) - ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := + fun γ => + ltac:(M.monadic + (let γ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "create", + [] + |), + [ + M.read (| inspector |); + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "evm" + |); + M.read (| inputs |) + ] + |) + |) in + let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let outcome := M.copy (| γ0_0 |) in M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "create", - [] - |), - [ - M.read (| inspector |); - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "evm" - |); - M.read (| inputs |) - ] - |) - |) in - let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let outcome := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path + M.never_to_any (| + M.read (| + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ], + "push", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path + "core::cell::RefMut") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ], + [], + "deref_mut", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ], + "borrow_mut", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::rc::Rc") + [ + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ + create_input_stack_inner + ] + |) + ] + |) + |) + ] + |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ], + [], + "clone", + [] + |), + [ inputs ] + |) + ] + |) + |) in + M.return_ (| + Value.StructTuple + "core::result::Result::Ok" + [ + Value.StructTuple + "revm::frame::FrameOrResult::Result" + [ + Value.StructTuple + "revm::frame::FrameResult::Create" + [ M.read (| outcome |) + ] + ] + ] + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path "alloc::alloc::Global" + ]; + Ty.path "alloc::alloc::Global" + ], + "push", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "core::cell::RefMut") + [ + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path "alloc::alloc::Global" + ] + ], + [], + "deref_mut", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path "alloc::vec::Vec") [ Ty.apply @@ -2454,17 +2695,21 @@ Module inspector. ]; Ty.path "alloc::alloc::Global" - ], - "push", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", + ] + ], + "borrow_mut", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path "alloc::rc::Rc") + [ Ty.apply (Ty.path - "core::cell::RefMut") + "core::cell::RefCell") [ Ty.apply (Ty.path @@ -2482,394 +2727,179 @@ Module inspector. Ty.path "alloc::alloc::Global" ] - ], - [], - "deref_mut", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ], - "borrow_mut", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "alloc::rc::Rc") - [ - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ]; - Ty.path - "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ - create_input_stack_inner - ] - |) - ] - |) - |) - ] - |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ], - [], - "clone", - [] - |), - [ inputs ] - |) - ] + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ create_input_stack_inner ] |) - |) in - M.return_ (| - Value.StructTuple - "core::result::Result::Ok" - [ - Value.StructTuple - "revm::frame::FrameOrResult::Result" - [ - Value.StructTuple - "revm::frame::FrameResult::Create" - [ M.read (| outcome |) ] - ] - ] + ] |) |) - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") + ] + |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path "alloc::alloc::Global" + ], + [], + "clone", + [] + |), + [ inputs ] + |) + ] + |) + |) in + let~ frame_or_result := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ], [ - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path "alloc::alloc::Global" - ]; - Ty.path "alloc::alloc::Global" - ], - "push", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "core::cell::RefMut") + Ty.tuple [ Ty.apply - (Ty.path "alloc::vec::Vec") + (Ty.path "&mut") [ Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; + (Ty.path + "revm::context::Context") + [ EXT; DB ] + ]; + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; Ty.path "alloc::alloc::Global" ] - ], - [], - "deref_mut", - [] - |), - [ + ] + ], + "call", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path "alloc::sync::Arc") + [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ old_handle ] + |); + Value.Tuple + [ M.read (| ctx |); M.read (| inputs |) + ] + ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.alloc (| frame_or_result |) in + let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Ok", + 0 + |) in + let γ2_0 := + M.SubPointer.get_struct_tuple_field (| + γ1_0, + "revm::frame::FrameOrResult::Frame", + 0 + |) in + let frame := M.alloc (| γ2_0 |) in M.alloc (| M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::cell::RefCell") - [ - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ], - "borrow_mut", + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "initialize_interp", [] |), [ M.call_closure (| M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path "alloc::rc::Rc") - [ - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ]; - Ty.path - "alloc::alloc::Global" - ], - [], - "deref", + "revm::inspector::handler_register::GetInspector", + EXT, + [ DB ], + "get_inspector", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "external" + |) + ] + |); + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::frame::Frame", + "interpreter_mut", [] |), - [ create_input_stack_inner ] + [ M.read (| frame |) ] + |); + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "evm" |) ] |) - |) - ] - |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path "alloc::alloc::Global" - ], - [], - "clone", - [] - |), - [ inputs ] - |) - ] - |) - |) in - let~ frame_or_result := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ], - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "revm::context::Context") - [ EXT; DB ] - ]; - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path "alloc::alloc::Global" - ] - ] - ], - "call", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path "alloc::sync::Arc") - [ - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; - Ty.path "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ old_handle ] - |); - Value.Tuple - [ M.read (| ctx |); M.read (| inputs |) ] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.alloc (| frame_or_result |) in - let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Ok", - 0 - |) in - let γ2_0 := - M.SubPointer.get_struct_tuple_field (| - γ1_0, - "revm::frame::FrameOrResult::Frame", - 0 - |) in - let frame := M.alloc (| γ2_0 |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "initialize_interp", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, - [ DB ], - "get_inspector", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "external" - |) - ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::frame::Frame", - "interpreter_mut", - [] - |), - [ M.read (| frame |) ] - |); - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "evm" - |) - ] - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - frame_or_result - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |) in + frame_or_result + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -2992,361 +3022,368 @@ Module inspector. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ctx := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let inputs := M.copy (| γ |) in - M.read (| - let~ outcome := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "call", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ctx := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let inputs := M.copy (| γ |) in + M.read (| + let~ outcome := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "call", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + EXT, + [ DB ], + "get_inspector", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "external" + |) + ] + |); + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "evm" + |); + M.read (| inputs |) + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path "alloc::alloc::Global" + ]; + Ty.path "alloc::alloc::Global" + ], + "push", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path "core::cell::RefMut") + [ + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path "alloc::alloc::Global" + ] + ], + [], + "deref_mut", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ], + "borrow_mut", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path "alloc::rc::Rc") + [ + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ call_input_stack_inner ] + |) + ] + |) + |) + ] + |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path "alloc::alloc::Global" + ], + [], + "clone", + [] + |), + [ inputs ] + |) + ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), [ - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, - [ DB ], - "get_inspector", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "external" - |) - ] - |); - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "evm" - |); - M.read (| inputs |) + fun γ => + ltac:(M.monadic + (let γ := outcome in + let γ0_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::option::Option::Some", + 0 + |) in + let outcome := M.copy (| γ0_0 |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| + Value.StructTuple + "core::result::Result::Ok" + [ + Value.StructTuple + "revm::frame::FrameOrResult::Result" + [ + Value.StructTuple + "revm::frame::FrameResult::Call" + [ M.read (| outcome |) + ] + ] + ] + |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") + |) in + let~ frame_or_result := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ], [ - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path "alloc::alloc::Global" - ]; - Ty.path "alloc::alloc::Global" - ], - "push", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path "core::cell::RefMut") + Ty.tuple [ Ty.apply - (Ty.path "alloc::vec::Vec") + (Ty.path "&mut") [ Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; + (Ty.path + "revm::context::Context") + [ EXT; DB ] + ]; + Ty.apply + (Ty.path "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; Ty.path "alloc::alloc::Global" ] - ], - [], - "deref_mut", - [] - |), - [ + ] + ], + "call", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path "alloc::sync::Arc") + [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ old_handle ] + |); + Value.Tuple + [ M.read (| ctx |); M.read (| inputs |) + ] + ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.alloc (| frame_or_result |) in + let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "core::result::Result::Ok", + 0 + |) in + let γ2_0 := + M.SubPointer.get_struct_tuple_field (| + γ1_0, + "revm::frame::FrameOrResult::Frame", + 0 + |) in + let frame := M.alloc (| γ2_0 |) in M.alloc (| M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::cell::RefCell") - [ - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ], - "borrow_mut", + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "initialize_interp", [] |), [ M.call_closure (| M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path "alloc::rc::Rc") - [ - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ]; - Ty.path - "alloc::alloc::Global" - ], - [], - "deref", + "revm::inspector::handler_register::GetInspector", + EXT, + [ DB ], + "get_inspector", [] |), - [ call_input_stack_inner ] - |) - ] - |) - |) - ] - |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path "alloc::alloc::Global" - ], - [], - "clone", - [] - |), - [ inputs ] - |) - ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := outcome in - let γ0_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::option::Option::Some", - 0 - |) in - let outcome := M.copy (| γ0_0 |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| - Value.StructTuple - "core::result::Result::Ok" [ - Value.StructTuple - "revm::frame::FrameOrResult::Result" - [ - Value.StructTuple - "revm::frame::FrameResult::Call" - [ M.read (| outcome |) ] - ] + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "external" + |) ] - |) - |) - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ frame_or_result := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ], - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "revm::context::Context") - [ EXT; DB ] - ]; - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path "alloc::alloc::Global" + |); + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::frame::Frame", + "interpreter_mut", + [] + |), + [ M.read (| frame |) ] + |); + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "evm" + |) ] - ] - ], - "call", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path "alloc::sync::Arc") - [ - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; - Ty.path "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ old_handle ] - |); - Value.Tuple - [ M.read (| ctx |); M.read (| inputs |) ] + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.alloc (| frame_or_result |) in - let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "core::result::Result::Ok", - 0 - |) in - let γ2_0 := - M.SubPointer.get_struct_tuple_field (| - γ1_0, - "revm::frame::FrameOrResult::Frame", - 0 - |) in - let frame := M.alloc (| γ2_0 |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "initialize_interp", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, - [ DB ], - "get_inspector", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "external" - |) - ] - |); - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::frame::Frame", - "interpreter_mut", - [] - |), - [ M.read (| frame |) ] - |); - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "evm" - |) - ] - |) - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| Value.Tuple [] |))) - ] - |) in - frame_or_result - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |) in + frame_or_result + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -3471,306 +3508,307 @@ Module inspector. ltac:(M.monadic match γ with | [ α0; α1; α2; α3 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ctx := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let frame := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α2 |), - [ - fun γ => - ltac:(M.monadic - (let shared_memory := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α3 |), - [ - fun γ => - ltac:(M.monadic - (let outcome := M.copy (| γ |) in - M.read (| - let~ call_inputs := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ], - "pop", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path - "core::cell::RefMut") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ], - [], - "deref_mut", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ], - "borrow_mut", - [] - |), + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ctx := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let frame := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α2 |), + [ + fun γ => + ltac:(M.monadic + (let shared_memory := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α3 |), + [ + fun γ => + ltac:(M.monadic + (let outcome := M.copy (| γ |) in + M.read (| + let~ call_inputs := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ], + "pop", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path + "core::cell::RefMut") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ Ty.apply (Ty.path - "alloc::rc::Rc") + "alloc::boxed::Box") [ - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ]; + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; Ty.path "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ - call_input_stack_inner + ]; + Ty.path + "alloc::alloc::Global" ] - |) - ] + ], + [], + "deref_mut", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ], + "borrow_mut", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::rc::Rc") + [ + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ + call_input_stack_inner + ] + |) + ] + |) |) - |) - ] - |) - ] - |) - ] - |) - |) in - let~ _ := - M.write (| - outcome, + ] + |) + ] + |) + ] + |) + |) in + let~ _ := + M.write (| + outcome, + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "call_end", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + EXT, + [ DB ], + "get_inspector", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "external" + |) + ] + |); + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "evm" + |); + M.read (| call_inputs |); + M.read (| outcome |) + ] + |) + |) in + M.alloc (| M.call_closure (| M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "call_end", + "core::ops::function::Fn", + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ], + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ + Ty.apply + (Ty.path + "revm::context::Context") + [ EXT; DB ] + ]; + Ty.apply + (Ty.path "&mut") + [ + Ty.path + "revm::frame::Frame" + ]; + Ty.apply + (Ty.path "&mut") + [ + Ty.path + "revm_interpreter::interpreter::shared_memory::SharedMemory" + ]; + Ty.path + "revm_interpreter::interpreter_action::call_outcome::CallOutcome" + ] + ], + "call", [] |), [ M.call_closure (| M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, - [ DB ], - "get_inspector", + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::sync::Arc") + [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", [] |), + [ old_handle ] + |); + Value.Tuple [ - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "external" - |) + M.read (| ctx |); + M.read (| frame |); + M.read (| + shared_memory + |); + M.read (| outcome |) ] - |); - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "evm" - |); - M.read (| call_inputs |); - M.read (| outcome |) ] |) - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ], - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "revm::context::Context") - [ EXT; DB ] - ]; - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "revm::frame::Frame" - ]; - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "revm_interpreter::interpreter::shared_memory::SharedMemory" - ]; - Ty.path - "revm_interpreter::interpreter_action::call_outcome::CallOutcome" - ] - ], - "call", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "alloc::sync::Arc") - [ - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; - Ty.path - "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ old_handle ] - |); - Value.Tuple - [ - M.read (| ctx |); - M.read (| frame |); - M.read (| - shared_memory - |); - M.read (| outcome |) - ] - ] |) - |) - |))) - ] - |))) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -3889,475 +3927,90 @@ Module inspector. ltac:(M.monadic match γ with | [ α0; α1; α2 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ctx := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let frame := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α2 |), - [ - fun γ => - ltac:(M.monadic - (let outcome := M.copy (| γ |) in - M.read (| - let~ create_inputs := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ], - "pop", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path - "core::cell::RefMut") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ], - [], - "deref_mut", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ctx := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let frame := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α2 |), + [ + fun γ => + ltac:(M.monadic + (let outcome := M.copy (| γ |) in + M.read (| + let~ create_inputs := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ], + "pop", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path + "core::cell::RefMut") + [ Ty.apply (Ty.path - "core::cell::RefCell") + "alloc::vec::Vec") [ Ty.apply (Ty.path - "alloc::vec::Vec") + "alloc::boxed::Box") [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; Ty.path - "alloc::alloc::Global" - ] - ], - "borrow_mut", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "alloc::rc::Rc") - [ - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ]; + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; Ty.path "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ - create_input_stack_inner - ] - |) - ] - |) - |) - ] - |) - ] - |) - ] - |) - |) in - let~ _ := - M.write (| - outcome, - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "create_end", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, - [ DB ], - "get_inspector", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "external" - |) - ] - |); - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "evm" - |); - M.read (| create_inputs |); - M.read (| outcome |) - ] - |) - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ], - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path - "revm::context::Context") - [ EXT; DB ] - ]; - Ty.apply - (Ty.path "&mut") - [ Ty.path "revm::frame::Frame" - ]; - Ty.path - "revm_interpreter::interpreter_action::create_outcome::CreateOutcome" - ] - ], - "call", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path "alloc::sync::Arc") - [ - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ]; - Ty.path "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ old_handle ] - |); - Value.Tuple - [ - M.read (| ctx |); - M.read (| frame |); - M.read (| outcome |) - ] - ] - |) - |) - |))) - ] - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) - end)) - ] - |)) - |) in - let~ old_handle := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.apply - (Ty.path "alloc::sync::Arc") - [ - Ty.dyn - [ - ("existential predicate with variables", []); - ("existential predicate with variables", []) - ]; - Ty.path "alloc::alloc::Global" - ], - [], - "clone", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| handler |), - "revm::handler::Handler", - "execution" - |), - "revm::handler::handle_types::execution::ExecutionHandler", - "last_frame_return" - |) - ] - |) - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| handler |), - "revm::handler::Handler", - "execution" - |), - "revm::handler::handle_types::execution::ExecutionHandler", - "last_frame_return" - |), - (* Unsize *) - M.pointer_coercion - (M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::sync::Arc") - [ - Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&mut") - [ Ty.apply (Ty.path "revm::context::Context") [ EXT; DB ] ]; - Ty.apply (Ty.path "&mut") [ Ty.path "revm::frame::FrameResult" ] - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [ - Ty.tuple []; - Ty.apply - (Ty.path "revm_primitives::result::EVMError") - [ Ty.associated ] - ]); - Ty.path "alloc::alloc::Global" - ], - "new", - [] - |), - [ - M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let ctx := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let frame_result := M.copy (| γ |) in - M.read (| - let~ inspector := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - EXT, - [ DB ], - "get_inspector", - [] - |), - [ - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "external" - |) - ] - |) - |) in - let~ _ := - M.match_operator (| - frame_result, - [ - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "revm::frame::FrameResult::Call", - 0 - |) in - let outcome := M.alloc (| γ1_0 |) in - let~ call_inputs := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ] - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ], - "pop", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path - "core::cell::RefMut") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" ] ], [], @@ -4381,7 +4034,7 @@ Module inspector. "alloc::boxed::Box") [ Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; Ty.path "alloc::alloc::Global" ]; @@ -4413,7 +4066,7 @@ Module inspector. "alloc::boxed::Box") [ Ty.path - "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; Ty.path "alloc::alloc::Global" ]; @@ -4428,7 +4081,8 @@ Module inspector. "deref", [] |), - [ call_input_stack + [ + create_input_stack_inner ] |) ] @@ -4443,454 +4097,853 @@ Module inspector. |) in let~ _ := M.write (| - M.read (| outcome |), + outcome, M.call_closure (| M.get_trait_method (| "revm::inspector::Inspector", Ty.associated, [ DB ], - "call_end", + "create_end", [] |), [ - M.read (| inspector |); + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + EXT, + [ DB ], + "get_inspector", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "external" + |) + ] + |); M.SubPointer.get_struct_record_field (| M.read (| ctx |), "revm::context::Context", "evm" |); - M.read (| call_inputs |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path - "revm_interpreter::interpreter_action::call_outcome::CallOutcome", - [], - "clone", - [] - |), - [ M.read (| outcome |) ] - |) + M.read (| create_inputs |); + M.read (| outcome |) ] |) |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "revm::frame::FrameResult::Create", - 0 - |) in - let outcome := M.alloc (| γ1_0 |) in - let~ create_inputs := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ] - ], - "unwrap", - [] - |), + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ], [ - M.call_closure (| - M.get_associated_function (| + Ty.tuple + [ Ty.apply - (Ty.path "alloc::vec::Vec") + (Ty.path "&mut") [ Ty.apply (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; + "revm::context::Context") + [ EXT; DB ] + ]; + Ty.apply + (Ty.path "&mut") + [ Ty.path - "alloc::alloc::Global" - ], - "pop", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path - "core::cell::RefMut") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ + "revm::frame::Frame" + ]; + Ty.path + "revm_interpreter::interpreter_action::create_outcome::CreateOutcome" + ] + ], + "call", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path "alloc::sync::Arc") + [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ old_handle ] + |); + Value.Tuple + [ + M.read (| ctx |); + M.read (| frame |); + M.read (| outcome |) + ] + ] + |) + |) + |))) + ] + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) + end)) + ] + |)) + |) in + let~ old_handle := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.apply + (Ty.path "alloc::sync::Arc") + [ + Ty.dyn + [ + ("existential predicate with variables", []); + ("existential predicate with variables", []) + ]; + Ty.path "alloc::alloc::Global" + ], + [], + "clone", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| handler |), + "revm::handler::Handler", + "execution" + |), + "revm::handler::handle_types::execution::ExecutionHandler", + "last_frame_return" + |) + ] + |) + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| handler |), + "revm::handler::Handler", + "execution" + |), + "revm::handler::handle_types::execution::ExecutionHandler", + "last_frame_return" + |), + (* Unsize *) + M.pointer_coercion + (M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path "alloc::sync::Arc") + [ + Ty.function + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.apply (Ty.path "revm::context::Context") [ EXT; DB ] ]; + Ty.apply (Ty.path "&mut") [ Ty.path "revm::frame::FrameResult" ] + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [ + Ty.tuple []; + Ty.apply + (Ty.path "revm_primitives::result::EVMError") + [ Ty.associated ] + ]); + Ty.path "alloc::alloc::Global" + ], + "new", + [] + |), + [ + M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let ctx := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let frame_result := M.copy (| γ |) in + M.read (| + let~ inspector := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + EXT, + [ DB ], + "get_inspector", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "external" + |) + ] + |) + |) in + let~ _ := + M.match_operator (| + frame_result, + [ + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "revm::frame::FrameResult::Call", + 0 + |) in + let outcome := M.alloc (| γ1_0 |) in + let~ call_inputs := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ], + "pop", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path + "core::cell::RefMut") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ], + [], + "deref_mut", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path - "alloc::boxed::Box") + "core::cell::RefCell") [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ], + "borrow_mut", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::rc::Rc") + [ + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::call_inputs::CallInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ + call_input_stack + ] + |) ] - ], - [], - "deref_mut", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| + |) + |) + ] + |) + ] + |) + ] + |) + |) in + let~ _ := + M.write (| + M.read (| outcome |), + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "call_end", + [] + |), + [ + M.read (| inspector |); + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "evm" + |); + M.read (| call_inputs |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path + "revm_interpreter::interpreter_action::call_outcome::CallOutcome", + [], + "clone", + [] + |), + [ M.read (| outcome |) ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "revm::frame::FrameResult::Create", + 0 + |) in + let outcome := M.alloc (| γ1_0 |) in + let~ create_inputs := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ] + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ], + "pop", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path + "core::cell::RefMut") + [ Ty.apply (Ty.path - "core::cell::RefCell") + "alloc::vec::Vec") [ Ty.apply (Ty.path - "alloc::vec::Vec") + "alloc::boxed::Box") [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; Ty.path - "alloc::alloc::Global" - ] - ], - "borrow_mut", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "alloc::rc::Rc") - [ - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.apply - (Ty.path - "alloc::boxed::Box") - [ - Ty.path - "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; - Ty.path - "alloc::alloc::Global" - ]; - Ty.path - "alloc::alloc::Global" - ] - ]; + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; Ty.path "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ - create_input_stack + ]; + Ty.path + "alloc::alloc::Global" ] - |) - ] - |) - |) - ] - |) - ] - |) - ] - |) - |) in - let~ _ := - M.write (| - M.read (| outcome |), - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "create_end", - [] - |), - [ - M.read (| inspector |); - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "evm" - |); - M.read (| create_inputs |); - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path - "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", - [], - "clone", - [] - |), - [ M.read (| outcome |) ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (let γ := M.read (| γ |) in - let γ1_0 := - M.SubPointer.get_struct_tuple_field (| - γ, - "revm::frame::FrameResult::EOFCreate", - 0 - |) in - let outcome := M.alloc (| γ1_0 |) in - let~ eofcreate_inputs := - M.alloc (| - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [ - Ty.path - "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput" - ], - "unwrap", - [] - |), - [ - M.call_closure (| - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.path - "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput"; - Ty.path - "alloc::alloc::Global" - ], - "pop", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::DerefMut", - Ty.apply - (Ty.path - "core::cell::RefMut") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") + ], + [], + "deref_mut", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ], + "borrow_mut", + [] + |), [ - Ty.path - "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput"; - Ty.path - "alloc::alloc::Global" + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::rc::Rc") + [ + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.apply + (Ty.path + "alloc::boxed::Box") + [ + Ty.path + "revm_interpreter::interpreter_action::create_inputs::CreateInputs"; + Ty.path + "alloc::alloc::Global" + ]; + Ty.path + "alloc::alloc::Global" + ] + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ + create_input_stack + ] + |) ] - ], - [], - "deref_mut", - [] - |), - [ - M.alloc (| - M.call_closure (| - M.get_associated_function (| + |) + |) + ] + |) + ] + |) + ] + |) + |) in + let~ _ := + M.write (| + M.read (| outcome |), + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "create_end", + [] + |), + [ + M.read (| inspector |); + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "evm" + |); + M.read (| create_inputs |); + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path + "revm_interpreter::interpreter_action::create_outcome::CreateOutcome", + [], + "clone", + [] + |), + [ M.read (| outcome |) ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (let γ := M.read (| γ |) in + let γ1_0 := + M.SubPointer.get_struct_tuple_field (| + γ, + "revm::frame::FrameResult::EOFCreate", + 0 + |) in + let outcome := M.alloc (| γ1_0 |) in + let~ eofcreate_inputs := + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::option::Option") + [ + Ty.path + "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput" + ], + "unwrap", + [] + |), + [ + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path + "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput"; + Ty.path + "alloc::alloc::Global" + ], + "pop", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::DerefMut", + Ty.apply + (Ty.path + "core::cell::RefMut") + [ Ty.apply (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.path - "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput"; - Ty.path - "alloc::alloc::Global" - ] - ], - "borrow_mut", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path - "alloc::rc::Rc") - [ - Ty.apply - (Ty.path - "core::cell::RefCell") - [ - Ty.apply - (Ty.path - "alloc::vec::Vec") - [ - Ty.path - "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput"; - Ty.path - "alloc::alloc::Global" - ] - ]; - Ty.path - "alloc::alloc::Global" - ], - [], - "deref", - [] - |), + "alloc::vec::Vec") [ - eofcreate_input_stack + Ty.path + "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput"; + Ty.path + "alloc::alloc::Global" ] - |) - ] + ], + [], + "deref_mut", + [] + |), + [ + M.alloc (| + M.call_closure (| + M.get_associated_function (| + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path + "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput"; + Ty.path + "alloc::alloc::Global" + ] + ], + "borrow_mut", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path + "alloc::rc::Rc") + [ + Ty.apply + (Ty.path + "core::cell::RefCell") + [ + Ty.apply + (Ty.path + "alloc::vec::Vec") + [ + Ty.path + "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput"; + Ty.path + "alloc::alloc::Global" + ] + ]; + Ty.path + "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ + eofcreate_input_stack + ] + |) + ] + |) |) - |) - ] - |) - ] - |) - ] - |) - |) in - let~ _ := - M.write (| - M.read (| outcome |), - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "eofcreate_end", - [] - |), - [ - M.read (| inspector |); - M.SubPointer.get_struct_record_field (| - M.read (| ctx |), - "revm::context::Context", - "evm" - |); - eofcreate_inputs; - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path - "revm_interpreter::interpreter_action::eof_create_outcome::EOFCreateOutcome", - [], - "clone", - [] - |), - [ M.read (| outcome |) ] - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Ty.dyn - [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) - ], - [ - Ty.tuple + ] + |) + ] + |) + ] + |) + |) in + let~ _ := + M.write (| + M.read (| outcome |), + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "eofcreate_end", + [] + |), + [ + M.read (| inspector |); + M.SubPointer.get_struct_record_field (| + M.read (| ctx |), + "revm::context::Context", + "evm" + |); + eofcreate_inputs; + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path + "revm_interpreter::interpreter_action::eof_create_outcome::EOFCreateOutcome", + [], + "clone", + [] + |), + [ M.read (| outcome |) ] + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Ty.dyn [ - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path "revm::context::Context") - [ EXT; DB ] - ]; - Ty.apply - (Ty.path "&mut") - [ Ty.path "revm::frame::FrameResult" ] - ] - ], - "call", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.apply - (Ty.path "alloc::sync::Arc") + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ], + [ + Ty.tuple [ - Ty.dyn + Ty.apply + (Ty.path "&mut") [ - ("existential predicate with variables", - []); - ("existential predicate with variables", - []) + Ty.apply + (Ty.path + "revm::context::Context") + [ EXT; DB ] ]; - Ty.path "alloc::alloc::Global" - ], - [], - "deref", - [] - |), - [ old_handle ] - |); - Value.Tuple - [ - M.read (| ctx |); - M.read (| frame_result |) - ] - ] + Ty.apply + (Ty.path "&mut") + [ Ty.path "revm::frame::FrameResult" + ] + ] + ], + "call", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.apply + (Ty.path "alloc::sync::Arc") + [ + Ty.dyn + [ + ("existential predicate with variables", + []); + ("existential predicate with variables", + []) + ]; + Ty.path "alloc::alloc::Global" + ], + [], + "deref", + [] + |), + [ old_handle ] + |); + Value.Tuple + [ + M.read (| ctx |); + M.read (| frame_result |) + ] + ] + |) |) - |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |)) @@ -4980,250 +5033,254 @@ Module inspector. ltac:(M.monadic match γ with | [ α0; α1 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let interpreter := M.copy (| γ |) in - M.match_operator (| - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let host := M.copy (| γ |) in - M.read (| - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| interpreter |), - "revm_interpreter::interpreter::Interpreter", - "instruction_pointer" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*const") [ Ty.path "u8" ], - "sub", - [] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let interpreter := M.copy (| γ |) in + M.match_operator (| + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let host := M.copy (| γ |) in + M.read (| + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| interpreter |), + "revm_interpreter::interpreter::Interpreter", + "instruction_pointer" |), - [ - M.read (| + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*const") [ Ty.path "u8" ], + "sub", + [] + |), + [ + M.read (| + M.SubPointer.get_struct_record_field (| + M.read (| interpreter |), + "revm_interpreter::interpreter::Interpreter", + "instruction_pointer" + |) + |); + Value.Integer 1 + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "step", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + INSP, + [ DB ], + "get_inspector", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| host |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "external" + |) + ] + |); + M.read (| interpreter |); M.SubPointer.get_struct_record_field (| - M.read (| interpreter |), - "revm_interpreter::interpreter::Interpreter", - "instruction_pointer" + M.SubPointer.get_struct_record_field (| + M.read (| host |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" |) - |); - Value.Integer 1 + ] + |) + |) in + let~ _ := + M.match_operator (| + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::cmp::PartialEq", + Ty.path + "revm_interpreter::instruction_result::InstructionResult", + [ + Ty.path + "revm_interpreter::instruction_result::InstructionResult" + ], + "ne", + [] + |), + [ + M.SubPointer.get_struct_record_field (| + M.read (| interpreter |), + "revm_interpreter::interpreter::Interpreter", + "instruction_result" + |); + M.alloc (| + Value.StructTuple + "revm_interpreter::instruction_result::InstructionResult::Continue" + [] + |) + ] + |) + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in + M.alloc (| + M.never_to_any (| + M.read (| + M.return_ (| Value.Tuple [] |) + |) + |) + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Tuple [] |))) ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "step", - [] + |) in + let~ _ := + M.write (| + M.SubPointer.get_struct_record_field (| + M.read (| interpreter |), + "revm_interpreter::interpreter::Interpreter", + "instruction_pointer" |), - [ - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - INSP, - [ DB ], - "get_inspector", - [] - |), - [ + M.call_closure (| + M.get_associated_function (| + Ty.apply (Ty.path "*const") [ Ty.path "u8" ], + "add", + [] + |), + [ + M.read (| M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| host |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "external" + M.read (| interpreter |), + "revm_interpreter::interpreter::Interpreter", + "instruction_pointer" |) - ] - |); - M.read (| interpreter |); - M.SubPointer.get_struct_record_field (| - M.SubPointer.get_struct_record_field (| - M.read (| host |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] - |) - |) in - let~ _ := - M.match_operator (| - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::cmp::PartialEq", + |); + Value.Integer 1 + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "core::ops::function::Fn", + Instruction, + [ + Ty.tuple + [ + Ty.apply + (Ty.path "&mut") + [ Ty.path - "revm_interpreter::instruction_result::InstructionResult", - [ - Ty.path - "revm_interpreter::instruction_result::InstructionResult" - ], - "ne", - [] - |), + "revm_interpreter::interpreter::Interpreter" + ]; + Ty.apply + (Ty.path "&mut") [ - M.SubPointer.get_struct_record_field (| - M.read (| interpreter |), - "revm_interpreter::interpreter::Interpreter", - "instruction_result" - |); - M.alloc (| - Value.StructTuple - "revm_interpreter::instruction_result::InstructionResult::Continue" - [] - |) + Ty.apply + (Ty.path "revm::evm::Evm") + [ INSP; DB ] ] - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - M.alloc (| - M.never_to_any (| - M.read (| - M.return_ (| Value.Tuple [] |) - |) - |) - |))); - fun γ => - ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ := - M.write (| - M.SubPointer.get_struct_record_field (| - M.read (| interpreter |), - "revm_interpreter::interpreter::Interpreter", - "instruction_pointer" - |), - M.call_closure (| - M.get_associated_function (| - Ty.apply (Ty.path "*const") [ Ty.path "u8" ], - "add", - [] - |), - [ - M.read (| - M.SubPointer.get_struct_record_field (| - M.read (| interpreter |), - "revm_interpreter::interpreter::Interpreter", - "instruction_pointer" - |) - |); - Value.Integer 1 - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "core::ops::function::Fn", - Instruction, + ] + ], + "call", + [] + |), [ - Ty.tuple + instruction; + Value.Tuple [ - Ty.apply - (Ty.path "&mut") - [ - Ty.path - "revm_interpreter::interpreter::Interpreter" - ]; - Ty.apply - (Ty.path "&mut") - [ - Ty.apply - (Ty.path "revm::evm::Evm") - [ INSP; DB ] - ] + M.read (| interpreter |); + M.read (| host |) ] - ], - "call", - [] - |), - [ - instruction; - Value.Tuple - [ M.read (| interpreter |); M.read (| host |) - ] - ] - |) - |) in - let~ _ := - M.alloc (| - M.call_closure (| - M.get_trait_method (| - "revm::inspector::Inspector", - Ty.associated, - [ DB ], - "step_end", - [] - |), - [ - M.call_closure (| - M.get_trait_method (| - "revm::inspector::handler_register::GetInspector", - INSP, - [ DB ], - "get_inspector", - [] - |), - [ - M.SubPointer.get_struct_record_field (| + ] + |) + |) in + let~ _ := + M.alloc (| + M.call_closure (| + M.get_trait_method (| + "revm::inspector::Inspector", + Ty.associated, + [ DB ], + "step_end", + [] + |), + [ + M.call_closure (| + M.get_trait_method (| + "revm::inspector::handler_register::GetInspector", + INSP, + [ DB ], + "get_inspector", + [] + |), + [ M.SubPointer.get_struct_record_field (| - M.read (| host |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "external" - |) - ] - |); - M.read (| interpreter |); - M.SubPointer.get_struct_record_field (| + M.SubPointer.get_struct_record_field (| + M.read (| host |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "external" + |) + ] + |); + M.read (| interpreter |); M.SubPointer.get_struct_record_field (| - M.read (| host |), - "revm::evm::Evm", - "context" - |), - "revm::context::Context", - "evm" - |) - ] - |) - |) in - M.alloc (| Value.Tuple [] |) - |))) - ] - |))) - ] - |) - | _ => M.impossible (||) + M.SubPointer.get_struct_record_field (| + M.read (| host |), + "revm::evm::Evm", + "context" + |), + "revm::context::Context", + "evm" + |) + ] + |) + |) in + M.alloc (| Value.Tuple [] |) + |))) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |))))) diff --git a/CoqOfRust/revm/revm/journaled_state.v b/CoqOfRust/revm/revm/journaled_state.v index f28d2af21..66d2520bf 100644 --- a/CoqOfRust/revm/revm/journaled_state.v +++ b/CoqOfRust/revm/revm/journaled_state.v @@ -3118,32 +3118,33 @@ Module journaled_state. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in - let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let slot := M.copy (| γ0_1 |) in - M.read (| - M.write (| - M.read (| slot |), - M.call_closure (| - M.get_trait_method (| - "core::clone::Clone", - Ty.path "revm_primitives::state::StorageSlot", - [], - "clone", - [] - |), - [ empty ] + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in + let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in + let slot := M.copy (| γ0_1 |) in + M.read (| + M.write (| + M.read (| slot |), + M.call_closure (| + M.get_trait_method (| + "core::clone::Clone", + Ty.path "revm_primitives::state::StorageSlot", + [], + "clone", + [] + |), + [ empty ] + |) |) - |) - |))) - ] - |) - | _ => M.impossible (||) + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -5001,41 +5002,42 @@ Module journaled_state. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let cs := M.copy (| γ |) in - M.call_closure (| - M.get_associated_function (| - Ty.path "revm::journaled_state::JournaledState", - "journal_revert", - [] - |), - [ - M.read (| state |); - M.read (| transient_storage |); - M.call_closure (| - M.get_function (| - "core::mem::take", - [ - Ty.apply - (Ty.path "alloc::vec::Vec") - [ - Ty.path "revm::journaled_state::JournalEntry"; - Ty.path "alloc::alloc::Global" - ] - ] - |), - [ M.read (| cs |) ] - |); - M.read (| is_spurious_dragon_enabled |) - ] - |))) - ] - |) - | _ => M.impossible (||) + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let cs := M.copy (| γ |) in + M.call_closure (| + M.get_associated_function (| + Ty.path "revm::journaled_state::JournaledState", + "journal_revert", + [] + |), + [ + M.read (| state |); + M.read (| transient_storage |); + M.call_closure (| + M.get_function (| + "core::mem::take", + [ + Ty.apply + (Ty.path "alloc::vec::Vec") + [ + Ty.path "revm::journaled_state::JournalEntry"; + Ty.path "alloc::alloc::Global" + ] + ] + |), + [ M.read (| cs |) ] + |); + M.read (| is_spurious_dragon_enabled |) + ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |) @@ -6120,29 +6122,30 @@ Module journaled_state. ltac:(M.monadic match γ with | [ α0 ] => - M.match_operator (| - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let i := M.copy (| γ |) in - M.call_closure (| - M.get_trait_method (| - "core::convert::Into", - Ty.path - "revm_primitives::state::AccountInfo", - [ + ltac:(M.monadic + (M.match_operator (| + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let i := M.copy (| γ |) in + M.call_closure (| + M.get_trait_method (| + "core::convert::Into", Ty.path - "revm_primitives::state::Account" - ], - "into", - [] - |), - [ M.read (| i |) ] - |))) - ] - |) - | _ => M.impossible (||) + "revm_primitives::state::AccountInfo", + [ + Ty.path + "revm_primitives::state::Account" + ], + "into", + [] + |), + [ M.read (| i |) ] + |))) + ] + |))) + | _ => ltac:(M.monadic (M.impossible (||))) end)) ] |); diff --git a/lib/src/expression.rs b/lib/src/expression.rs index 72f0f4b97..da54d724d 100644 --- a/lib/src/expression.rs +++ b/lib/src/expression.rs @@ -500,11 +500,14 @@ impl Expr { .map(|(name, _)| coq::Expression::name_pattern(name)) .collect(), }], - body.to_coq(), + coq::Expression::monadic(&body.to_coq()), ), ( vec![coq::Expression::Wild], - coq::Expression::just_name("M.impossible").monadic_apply_empty(), + coq::Expression::monadic( + &coq::Expression::just_name("M.impossible") + .monadic_apply_empty(), + ), ), ], })), From ceab62a548764574f3b0fb90f74356c1ea04fe11 Mon Sep 17 00:00:00 2001 From: Guillaume Claret Date: Sun, 2 Jun 2024 21:55:28 +0200 Subject: [PATCH 4/4] links: group the to_value and to_ty again --- .github/workflows/rust.yml | 12 +- CoqOfRust/M.v | 231 +- CoqOfRust/alloc/alloc.v | 161 +- CoqOfRust/alloc/borrow.v | 91 +- CoqOfRust/alloc/boxed.v | 341 +- CoqOfRust/alloc/boxed/thin.v | 68 +- CoqOfRust/alloc/collections/binary_heap/mod.v | 633 +- CoqOfRust/alloc/collections/btree/append.v | 53 +- CoqOfRust/alloc/collections/btree/borrow.v | 8 +- .../collections/btree/dedup_sorted_iter.v | 4 +- CoqOfRust/alloc/collections/btree/fix.v | 215 +- CoqOfRust/alloc/collections/btree/map.v | 612 +- CoqOfRust/alloc/collections/btree/map/entry.v | 62 +- CoqOfRust/alloc/collections/btree/mem.v | 8 +- .../alloc/collections/btree/merge_iter.v | 34 +- CoqOfRust/alloc/collections/btree/navigate.v | 178 +- CoqOfRust/alloc/collections/btree/node.v | 1513 +- CoqOfRust/alloc/collections/btree/remove.v | 94 +- CoqOfRust/alloc/collections/btree/search.v | 109 +- CoqOfRust/alloc/collections/btree/set.v | 400 +- CoqOfRust/alloc/collections/btree/set_val.v | 23 +- CoqOfRust/alloc/collections/btree/split.v | 66 +- CoqOfRust/alloc/collections/linked_list.v | 692 +- CoqOfRust/alloc/collections/mod.v | 26 +- CoqOfRust/alloc/collections/vec_deque/drain.v | 104 +- .../alloc/collections/vec_deque/into_iter.v | 174 +- CoqOfRust/alloc/collections/vec_deque/iter.v | 50 +- .../alloc/collections/vec_deque/iter_mut.v | 49 +- .../alloc/collections/vec_deque/macros.v | 78 +- CoqOfRust/alloc/collections/vec_deque/mod.v | 1756 +- .../alloc/collections/vec_deque/spec_extend.v | 74 +- .../collections/vec_deque/spec_from_iter.v | 6 +- CoqOfRust/alloc/ffi/c_str.v | 264 +- CoqOfRust/alloc/fmt.v | 6 +- CoqOfRust/alloc/raw_vec.v | 222 +- CoqOfRust/alloc/rc.v | 586 +- CoqOfRust/alloc/slice.v | 247 +- CoqOfRust/alloc/str.v | 191 +- CoqOfRust/alloc/string.v | 744 +- CoqOfRust/alloc/sync.v | 529 +- CoqOfRust/alloc/task.v | 16 +- CoqOfRust/alloc/vec/cow.v | 8 +- CoqOfRust/alloc/vec/drain.v | 95 +- CoqOfRust/alloc/vec/extract_if.v | 111 +- CoqOfRust/alloc/vec/in_place_collect.v | 230 +- CoqOfRust/alloc/vec/in_place_drop.v | 6 +- CoqOfRust/alloc/vec/into_iter.v | 124 +- CoqOfRust/alloc/vec/is_zero.v | 219 +- CoqOfRust/alloc/vec/mod.v | 589 +- CoqOfRust/alloc/vec/partial_eq.v | 48 +- CoqOfRust/alloc/vec/set_len_on_drop.v | 13 +- CoqOfRust/alloc/vec/spec_extend.v | 10 +- CoqOfRust/alloc/vec/spec_from_elem.v | 14 +- CoqOfRust/alloc/vec/spec_from_iter.v | 34 +- CoqOfRust/alloc/vec/spec_from_iter_nested.v | 11 +- CoqOfRust/alloc/vec/splice.v | 106 +- CoqOfRust/blacklist.txt | 22 +- CoqOfRust/core/alloc/global.v | 21 +- CoqOfRust/core/alloc/layout.v | 136 +- CoqOfRust/core/alloc/mod.v | 76 +- CoqOfRust/core/any.v | 83 +- CoqOfRust/core/array/ascii.v | 4 +- CoqOfRust/core/array/drain.v | 12 +- CoqOfRust/core/array/equality.v | 43 +- CoqOfRust/core/array/iter.v | 87 +- CoqOfRust/core/array/mod.v | 260 +- CoqOfRust/core/ascii.v | 24 +- CoqOfRust/core/ascii/ascii_char.v | 75 +- CoqOfRust/core/asserting.v | 10 +- CoqOfRust/core/async_iter/async_iter.v | 16 +- CoqOfRust/core/async_iter/from_iter.v | 10 +- CoqOfRust/core/bool.v | 4 +- CoqOfRust/core/borrow.v | 10 +- CoqOfRust/core/cell.v | 290 +- CoqOfRust/core/cell/lazy.v | 16 +- CoqOfRust/core/cell/once.v | 30 +- CoqOfRust/core/char/convert.v | 111 +- CoqOfRust/core/char/decode.v | 139 +- CoqOfRust/core/char/methods.v | 377 +- CoqOfRust/core/char/mod.v | 198 +- CoqOfRust/core/clone.v | 42 +- CoqOfRust/core/cmp.v | 866 +- CoqOfRust/core/convert/mod.v | 44 +- CoqOfRust/core/convert/num.v | 1318 +- CoqOfRust/core/default.v | 79 +- CoqOfRust/core/error.v | 96 +- CoqOfRust/core/escape.v | 237 +- CoqOfRust/core/ffi/c_str.v | 164 +- CoqOfRust/core/ffi/mod.v | 20 +- CoqOfRust/core/fmt/builders.v | 218 +- CoqOfRust/core/fmt/float.v | 59 +- CoqOfRust/core/fmt/mod.v | 670 +- CoqOfRust/core/fmt/num.v | 2439 ++- CoqOfRust/core/fmt/rt.v | 64 +- CoqOfRust/core/future/future.v | 4 +- CoqOfRust/core/future/into_future.v | 2 +- CoqOfRust/core/future/join.v | 4 +- CoqOfRust/core/future/mod.v | 6 +- CoqOfRust/core/future/pending.v | 8 +- CoqOfRust/core/future/poll_fn.v | 6 +- CoqOfRust/core/future/ready.v | 10 +- CoqOfRust/core/hash/mod.v | 168 +- CoqOfRust/core/hash/sip.v | 605 +- CoqOfRust/core/hint.v | 8 +- CoqOfRust/core/internal_macros.v | 5500 ++--- CoqOfRust/core/intrinsics.v | 155 +- CoqOfRust/core/intrinsics/mir.v | 56 +- CoqOfRust/core/io/borrowed_buf.v | 121 +- CoqOfRust/core/iter/adapters/array_chunks.v | 147 +- CoqOfRust/core/iter/adapters/by_ref_sized.v | 24 +- CoqOfRust/core/iter/adapters/chain.v | 76 +- CoqOfRust/core/iter/adapters/cloned.v | 34 +- CoqOfRust/core/iter/adapters/copied.v | 77 +- CoqOfRust/core/iter/adapters/cycle.v | 50 +- CoqOfRust/core/iter/adapters/enumerate.v | 125 +- CoqOfRust/core/iter/adapters/filter.v | 67 +- CoqOfRust/core/iter/adapters/filter_map.v | 67 +- CoqOfRust/core/iter/adapters/flatten.v | 128 +- CoqOfRust/core/iter/adapters/fuse.v | 96 +- CoqOfRust/core/iter/adapters/inspect.v | 36 +- CoqOfRust/core/iter/adapters/intersperse.v | 39 +- CoqOfRust/core/iter/adapters/map.v | 38 +- CoqOfRust/core/iter/adapters/map_while.v | 22 +- CoqOfRust/core/iter/adapters/map_windows.v | 238 +- CoqOfRust/core/iter/adapters/mod.v | 25 +- CoqOfRust/core/iter/adapters/peekable.v | 78 +- CoqOfRust/core/iter/adapters/rev.v | 38 +- CoqOfRust/core/iter/adapters/scan.v | 20 +- CoqOfRust/core/iter/adapters/skip.v | 200 +- CoqOfRust/core/iter/adapters/skip_while.v | 34 +- CoqOfRust/core/iter/adapters/step_by.v | 606 +- CoqOfRust/core/iter/adapters/take.v | 291 +- CoqOfRust/core/iter/adapters/take_while.v | 27 +- CoqOfRust/core/iter/adapters/zip.v | 348 +- CoqOfRust/core/iter/range.v | 840 +- CoqOfRust/core/iter/sources/empty.v | 24 +- CoqOfRust/core/iter/sources/from_coroutine.v | 8 +- CoqOfRust/core/iter/sources/from_fn.v | 8 +- CoqOfRust/core/iter/sources/once.v | 14 +- CoqOfRust/core/iter/sources/once_with.v | 14 +- CoqOfRust/core/iter/sources/repeat.v | 24 +- CoqOfRust/core/iter/sources/repeat_n.v | 78 +- CoqOfRust/core/iter/sources/repeat_with.v | 12 +- CoqOfRust/core/iter/sources/successors.v | 21 +- CoqOfRust/core/iter/traits/accum.v | 860 +- CoqOfRust/core/iter/traits/collect.v | 23 +- CoqOfRust/core/iter/traits/double_ended.v | 41 +- CoqOfRust/core/iter/traits/exact_size.v | 24 +- CoqOfRust/core/iter/traits/iterator.v | 249 +- .../core/iter/traits/unchecked_iterator.v | 2 +- CoqOfRust/core/marker.v | 28 +- CoqOfRust/core/mem/manually_drop.v | 28 +- CoqOfRust/core/mem/maybe_uninit.v | 86 +- CoqOfRust/core/mem/mod.v | 108 +- CoqOfRust/core/mem/transmutability.v | 88 +- CoqOfRust/core/net/display_buffer.v | 30 +- CoqOfRust/core/net/ip_addr.v | 1027 +- CoqOfRust/core/net/parser.v | 264 +- CoqOfRust/core/net/socket_addr.v | 152 +- CoqOfRust/core/num/bignum.v | 1260 +- CoqOfRust/core/num/dec2flt/common.v | 86 +- CoqOfRust/core/num/dec2flt/decimal.v | 3667 ++-- CoqOfRust/core/num/dec2flt/float.v | 221 +- CoqOfRust/core/num/dec2flt/fpu.v | 2 +- CoqOfRust/core/num/dec2flt/lemire.v | 435 +- CoqOfRust/core/num/dec2flt/mod.v | 90 +- CoqOfRust/core/num/dec2flt/number.v | 174 +- CoqOfRust/core/num/dec2flt/parse.v | 337 +- CoqOfRust/core/num/dec2flt/slow.v | 341 +- CoqOfRust/core/num/dec2flt/table.v | 4549 ++-- CoqOfRust/core/num/diy_float.v | 307 +- CoqOfRust/core/num/error.v | 40 +- CoqOfRust/core/num/f32.v | 415 +- CoqOfRust/core/num/f64.v | 432 +- CoqOfRust/core/num/flt2dec/decoder.v | 139 +- CoqOfRust/core/num/flt2dec/estimator.v | 30 +- CoqOfRust/core/num/flt2dec/mod.v | 723 +- CoqOfRust/core/num/flt2dec/strategy/dragon.v | 691 +- CoqOfRust/core/num/flt2dec/strategy/grisu.v | 1944 +- CoqOfRust/core/num/fmt.v | 132 +- CoqOfRust/core/num/int_log10.v | 243 +- CoqOfRust/core/num/mod.v | 9548 +++++---- CoqOfRust/core/num/nonzero.v | 1518 +- CoqOfRust/core/num/saturating.v | 1166 +- CoqOfRust/core/num/wrapping.v | 1437 +- CoqOfRust/core/ops/arith.v | 592 +- CoqOfRust/core/ops/bit.v | 2670 +-- CoqOfRust/core/ops/control_flow.v | 34 +- CoqOfRust/core/ops/coroutine.v | 20 +- CoqOfRust/core/ops/deref.v | 6 +- CoqOfRust/core/ops/function.v | 10 +- CoqOfRust/core/ops/index_range.v | 155 +- CoqOfRust/core/ops/range.v | 197 +- CoqOfRust/core/ops/try_trait.v | 18 +- CoqOfRust/core/option.v | 446 +- CoqOfRust/core/panic.v | 56 +- CoqOfRust/core/panic/location.v | 48 +- CoqOfRust/core/panic/panic_info.v | 18 +- CoqOfRust/core/panic/unwind_safe.v | 20 +- CoqOfRust/core/panicking.v | 50 +- CoqOfRust/core/pin.v | 62 +- CoqOfRust/core/ptr/alignment.v | 87 +- CoqOfRust/core/ptr/const_ptr.v | 189 +- CoqOfRust/core/ptr/metadata.v | 26 +- CoqOfRust/core/ptr/mod.v | 323 +- CoqOfRust/core/ptr/mut_ptr.v | 183 +- CoqOfRust/core/ptr/non_null.v | 142 +- CoqOfRust/core/ptr/unique.v | 24 +- CoqOfRust/core/result.v | 189 +- CoqOfRust/core/slice/ascii.v | 227 +- CoqOfRust/core/slice/cmp.v | 109 +- CoqOfRust/core/slice/index.v | 542 +- CoqOfRust/core/slice/iter.v | 2037 +- CoqOfRust/core/slice/iter/macros.v | 316 +- CoqOfRust/core/slice/memchr.v | 230 +- CoqOfRust/core/slice/mod.v | 1219 +- CoqOfRust/core/slice/raw.v | 12 +- CoqOfRust/core/slice/rotate.v | 191 +- CoqOfRust/core/slice/select.v | 458 +- CoqOfRust/core/slice/sort.v | 1693 +- CoqOfRust/core/slice/specialize.v | 4 +- CoqOfRust/core/str/converts.v | 8 +- CoqOfRust/core/str/count.v | 181 +- CoqOfRust/core/str/error.v | 39 +- CoqOfRust/core/str/iter.v | 605 +- CoqOfRust/core/str/lossy.v | 193 +- CoqOfRust/core/str/mod.v | 350 +- CoqOfRust/core/str/pattern.v | 1842 +- CoqOfRust/core/str/traits.v | 273 +- CoqOfRust/core/str/validations.v | 933 +- CoqOfRust/core/sync/atomic.v | 738 +- CoqOfRust/core/sync/exclusive.v | 26 +- CoqOfRust/core/task/poll.v | 53 +- CoqOfRust/core/task/wake.v | 106 +- CoqOfRust/core/time.v | 1613 +- CoqOfRust/core/tuple.v | 2125 +- CoqOfRust/core/unicode/printable.v | 2937 +-- CoqOfRust/core/unicode/unicode_data.v | 17502 +++++++++------- CoqOfRust/core/unit.v | 4 +- .../default/examples/custom/add_one.v | 4 +- .../examples/custom/constructor_as_function.v | 28 +- .../default/examples/custom/hello_world.v | 6 +- .../examples/default/examples/custom/if_let.v | 23 +- .../default/examples/custom/impl_param.v | 2 +- .../examples/custom/module_duplicate.v | 6 +- .../default/examples/custom/mutual_loop.v | 8 +- .../custom/pattern_in_function_parameters.v | 35 +- .../custom/polymorphic_associated_function.v | 18 +- .../default/examples/custom/provided_method.v | 50 +- .../ink_contracts/basic_contract_caller.v | 21 +- .../examples/ink_contracts/call_runtime.v | 22 +- .../ink_contracts/conditional_compilation.v | 47 +- .../ink_contracts/contract_terminate.v | 12 +- .../ink_contracts/contract_transfer.v | 38 +- .../examples/ink_contracts/custom_allocator.v | 21 +- .../ink_contracts/custom_environment.v | 16 +- .../default/examples/ink_contracts/dns.v | 51 +- .../examples/ink_contracts/e2e_call_runtime.v | 12 +- .../default/examples/ink_contracts/erc1155.v | 183 +- .../default/examples/ink_contracts/erc20.v | 42 +- .../default/examples/ink_contracts/erc721.v | 107 +- .../default/examples/ink_contracts/flipper.v | 15 +- .../examples/ink_contracts/incrementer.v | 10 +- .../lang_err_integration_tests/call_builder.v | 16 +- .../call_builder_delegate.v | 10 +- .../constructors_return_value.v | 22 +- .../lang_err_integration_tests/contract_ref.v | 33 +- .../integration_flipper.v | 21 +- .../ink_contracts/mapping_integration_tests.v | 24 +- .../default/examples/ink_contracts/mother.v | 102 +- .../default/examples/ink_contracts/multisig.v | 241 +- .../examples/ink_contracts/payment_channel.v | 133 +- .../examples/ink_contracts/set_code_hash.v | 14 +- .../set_code_hash/updated_incrementer.v | 18 +- .../examples/ink_contracts/trait_erc20.v | 50 +- .../examples/ink_contracts/trait_flipper.v | 13 +- .../ink_contracts/trait_incrementer.v | 16 +- .../ink_contracts/wildcard_selector.v | 6 +- .../monadic_transformation/example01.v | 34 +- .../monadic_transformation/example02.v | 23 +- .../monadic_transformation/example03.v | 17 +- .../monadic_transformation/example04.v | 4 +- .../monadic_transformation/example05.v | 15 +- .../examples/rust_book/attributes/dead_code.v | 17 +- .../rust_book/cargo/concurrent_tests.v | 16 +- .../conversion/converting_to_string.v | 8 +- .../examples/rust_book/conversion/from.v | 6 +- .../examples/rust_book/conversion/into.v | 6 +- .../rust_book/conversion/parsing_a_string.v | 2 +- .../conversion/try_from_and_try_into.v | 74 +- .../rust_book/custom_types/constants.v | 11 +- .../examples/rust_book/custom_types/enums.v | 6 +- .../rust_book/custom_types/enums_c_like.v | 42 +- .../custom_types/enums_testcase_linked_list.v | 28 +- .../custom_types/enums_type_aliases_v1.v | 2 +- .../custom_types/enums_type_aliases_v2.v | 6 +- .../rust_book/custom_types/enums_use.v | 2 +- .../rust_book/custom_types/structures.v | 8 +- .../error_handling/aliases_for_result.v | 18 +- .../rust_book/error_handling/boxing_errors.v | 28 +- .../error_handling/combinators_and_then.v | 16 +- .../error_handling/combinators_map.v | 28 +- .../error_handling/defining_an_error_type.v | 26 +- .../rust_book/error_handling/early_returns.v | 13 +- .../introducing_question_mark.v | 13 +- ...ark_is_an_replacement_for_deprecated_try.v | 13 +- ..._valid_values_and_failures_via_partition.v | 4 +- ...ues_and_failures_via_partition_unwrapped.v | 4 +- ...sults_collect_via_map_err_and_filter_map.v | 8 +- ...esults_fail_entire_operation_via_collect.v | 4 +- .../iterating_over_results_failed.v | 4 +- ...ating_over_results_handle_via_filter_map.v | 4 +- .../map_in_result_via_combinators.v | 18 +- .../error_handling/map_in_result_via_match.v | 14 +- .../error_handling/multiple_error_types.v | 14 +- .../error_handling/option_and_unwrap.v | 6 +- .../other_uses_of_question_mark.v | 12 +- .../examples/rust_book/error_handling/panic.v | 4 +- .../pulling_results_out_of_options.v | 16 +- ...ut_of_options_with_stop_error_processing.v | 18 +- .../error_handling/result_use_in_main.v | 2 +- ...g_options_and_defaults_via_get_or_insert.v | 4 +- ...ions_and_defaults_via_get_or_insert_with.v | 6 +- .../unpacking_options_and_defaults_via_or.v | 4 +- ...packing_options_and_defaults_via_or_else.v | 8 +- .../unpacking_options_via_question_mark.v | 25 +- .../error_handling/wrapping_errors.v | 16 +- .../examples/rust_book/expressions/blocks.v | 20 +- .../expressions/const_underscore_expression.v | 2 +- .../rust_book/expressions/statement.v | 5 +- .../variable_binding_and_expression.v | 9 +- .../for_and_iterators_into_iter.v | 2 +- .../flow_of_control/for_and_iterators_iter.v | 2 +- .../for_and_iterators_iter_mut.v | 2 +- .../for_and_range_completely_inclusive.v | 43 +- .../for_and_range_inclusive_to_exclusive.v | 46 +- .../rust_book/flow_of_control/if_else.v | 26 +- .../rust_book/flow_of_control/if_let.v | 6 +- .../flow_of_control/if_let_challenge.v | 2 +- .../flow_of_control/if_let_dont_use_match.v | 6 +- .../if_let_match_enum_values.v | 12 +- .../rust_book/flow_of_control/infinite_loop.v | 18 +- .../flow_of_control/loop_nesting_and_labels.v | 2 +- .../loop_returning_from_loops.v | 23 +- .../rust_book/flow_of_control/match.v | 41 +- .../rust_book/flow_of_control/match_binding.v | 13 +- .../match_binding_destructure_enum_variants.v | 14 +- .../match_destructuring_arrays_slices.v | 35 +- .../match_destructuring_enums.v | 8 +- .../match_destructuring_pointers_ref.v | 14 +- .../match_destructuring_structs.v | 20 +- .../match_destructuring_tuples.v | 41 +- .../match_destructuring_tuples_fixed.v | 41 +- .../rust_book/flow_of_control/match_guards.v | 12 +- .../match_guards_unreachable.v | 10 +- .../rust_book/flow_of_control/while.v | 50 +- .../rust_book/flow_of_control/while_let.v | 17 +- .../while_let_match_is_weird.v | 17 +- .../associated_functions_and_methods.err | 90 - .../associated_functions_and_methods.v | 60 +- .../rust_book/functions/diverging_functions.v | 7 +- ...erging_functions_example_sum_odd_numbers.v | 28 +- ...verging_functions_no_info_in_return_type.v | 7 +- .../examples/rust_book/functions/functions.v | 30 +- .../rust_book/functions/functions_closures.v | 26 +- .../functions_closures_as_input_parameters.v | 14 +- .../functions_closures_as_output_parameters.v | 14 +- .../functions/functions_closures_capturing.v | 17 +- .../functions_closures_example_Iterator_any.v | 72 +- ...earching_through_iterators_Iterator_find.v | 70 +- ...hing_through_iterators_Iterator_position.v | 50 +- ...ions_closures_forced_capturing_with_move.v | 23 +- .../functions_closures_input_functions.v | 8 +- ...functions_closures_type_anonymity_define.v | 7 +- ...s_closures_type_anonymity_define_and_use.v | 8 +- .../rust_book/functions/functions_order.v | 37 +- .../functions/higher_order_functions.v | 57 +- .../examples/rust_book/generics/generics.v | 7 +- .../generics_associated_types_problem.v | 26 +- .../generics_associated_types_solution.v | 30 +- .../rust_book/generics/generics_bounds.err | 10 - .../rust_book/generics/generics_bounds.v | 22 +- .../generics_bounds_test_case_empty_bounds.v | 6 +- .../rust_book/generics/generics_functions.v | 12 +- .../generics/generics_implementation.v | 10 +- .../generics/generics_multiple_bounds.v | 22 +- .../generics/generics_new_type_idiom.v | 41 +- .../generics_new_type_idiom_as_base_type.v | 6 +- .../generics/generics_phantom_type.v | 6 +- ...ntom_type_test_case_unit_clarification.err | 10 - ...hantom_type_test_case_unit_clarification.v | 28 +- .../rust_book/generics/generics_traits.v | 4 +- .../generics/generics_where_clauses.v | 11 +- .../rust_book/guessing_game/guessing_game.v | 4 +- .../rust_book/hello_world/formatted_print.v | 48 +- .../rust_book/hello_world/hello_world.v | 2 +- .../rust_book/macro_rules/macro_example.v | 2 +- .../macro_rules/macro_rules_designators.v | 36 +- .../rust_book/macro_rules/macro_rules_dsl.v | 23 +- .../macro_rules/macro_rules_overload.v | 28 +- .../macro_rules/macro_rules_repeat.v | 24 +- .../macro_rules_variadic_interfaces.v | 27 +- .../rust_book/modules/struct_visibility.v | 4 +- .../rust_book/modules/super_and_self.v | 12 +- .../modules/the_use_as_declaration.v | 6 +- .../examples/rust_book/modules/visibility.v | 28 +- .../rust_book/primitives/arrays_and_slices.v | 50 +- .../rust_book/primitives/compound_types.v | 14 +- .../rust_book/primitives/literals_operators.v | 67 +- .../examples/rust_book/primitives/tuples.v | 42 +- .../scoping_rules/scoping_rules_borrowing.v | 10 +- .../scoping_rules_borrowing_aliasing.v | 14 +- .../scoping_rules_borrowing_mutablity.v | 12 +- .../scoping_rules_borrowing_the_ref_pattern.v | 29 +- .../scoping_rules/scoping_rules_lifetimes.v | 4 +- .../scoping_rules_lifetimes_bounds.v | 10 +- .../scoping_rules_lifetimes_coercion.v | 10 +- .../scoping_rules_lifetimes_elision.v | 12 +- .../scoping_rules_lifetimes_functions.v | 18 +- .../scoping_rules_lifetimes_methods.v | 12 +- ...ules_lifetimes_reference_lifetime_static.v | 8 +- .../scoping_rules_lifetimes_structs.v | 12 +- .../scoping_rules_lifetimes_traits.v | 8 +- .../scoping_rules_ownership_and_rules.v | 8 +- ...ping_rules_ownership_and_rules_mutablity.v | 6 +- ..._rules_ownership_and_rules_partial_moves.v | 6 +- .../scoping_rules/scoping_rules_raii.v | 15 +- .../scoping_rules_raii_desctructor.v | 4 +- .../rust_book/std_library_types/arc.v | 11 +- .../std_library_types/box_stack_heap.v | 10 +- .../rust_book/std_library_types/hash_map.v | 4 +- .../hash_map_alternate_or_custom_key_types.v | 10 +- .../std_library_types/hash_map_hash_set.v | 36 +- .../rust_book/std_library_types/option.v | 17 +- .../rust_book/std_library_types/panic.v | 17 +- .../examples/rust_book/std_library_types/rc.v | 2 +- .../rust_book/std_library_types/result.err | 10 - .../rust_book/std_library_types/result.v | 20 +- .../result_chaining_with_question_mark.err | 10 - .../result_chaining_with_question_mark.v | 22 +- .../rust_book/std_library_types/strings.v | 2 +- .../strings_byte_strings_as_non_utf8.v | 2 +- .../strings_literals_and_escapes.v | 2 +- .../strings_raw_string_literals.v | 2 +- .../rust_book/std_library_types/vectors.v | 23 +- .../examples/rust_book/std_misc/channels.v | 11 +- .../rust_book/std_misc/child_processes.v | 4 +- .../std_misc/child_processes_pipes.v | 2 +- .../rust_book/std_misc/child_processes_wait.v | 2 +- .../rust_book/std_misc/file_io_create.v | 2 +- .../rust_book/std_misc/file_io_open.v | 2 +- .../rust_book/std_misc/file_io_read_lines.v | 4 +- .../file_io_read_lines_efficient_method.v | 4 +- .../std_misc/filesystem_operations.v | 20 +- .../std_misc/foreign_function_interface.err | 10 - .../std_misc/foreign_function_interface.v | 20 +- .../examples/rust_book/std_misc/path.v | 2 +- .../rust_book/std_misc/program_arguments.v | 16 +- .../std_misc/program_arguments_parsing.v | 50 +- .../examples/rust_book/std_misc/threads.v | 9 +- .../std_misc/threads_test_case_map_reduce.v | 11 +- .../rust_book/testing/documentation_testing.v | 13 +- .../examples/rust_book/testing/unit_testing.v | 40 +- .../default/examples/rust_book/traits/clone.v | 14 +- .../examples/rust_book/traits/derive.err | 10 - .../examples/rust_book/traits/derive.v | 35 +- .../disambiguating_overlapping_traits.v | 27 +- .../default/examples/rust_book/traits/drop.v | 4 +- .../default/examples/rust_book/traits/hash.v | 28 +- .../traits/impl_trait_as_return_type.v | 85 +- .../examples/rust_book/traits/iterators.v | 42 +- .../rust_book/traits/operator_overloading.v | 10 +- .../traits/returning_traits_with_dyn.v | 12 +- .../examples/rust_book/traits/supertraits.v | 7 +- .../examples/rust_book/traits/traits.v | 16 +- .../examples/rust_book/traits/traits_parms.v | 5 +- .../examples/rust_book/types/aliasing.v | 14 +- .../examples/rust_book/types/casting.v | 24 +- .../examples/rust_book/types/inference.v | 4 +- .../examples/rust_book/types/literals.v | 8 +- .../calling_unsafe_functions.v | 16 +- .../unsafe_operations/inline_assembly.v | 2 +- .../inline_assembly_clobbered_registers.v | 4 +- ...line_assembly_explicit_register_operands.v | 4 +- ...line_assembly_inlateout_case_implemented.v | 18 +- .../inline_assembly_inlateout_case_non_used.v | 20 +- .../inline_assembly_inlateout_mul.v | 15 +- .../unsafe_operations/inline_assembly_inout.v | 16 +- .../inline_assembly_inputs_and_outputs.v | 14 +- ...embly_inputs_and_outputs_another_example.v | 16 +- ..._and_outputs_another_example_without_mov.v | 16 +- .../inline_assembly_labels.v | 16 +- .../inline_assembly_memory_address_operands.v | 7 +- .../inline_assembly_options.v | 18 +- ...ine_assembly_register_template_modifiers.v | 16 +- .../inline_assembly_scratch_register.v | 24 +- ...ssembly_symbol_operands_and_abi_clobbers.v | 11 +- .../unsafe_operations/raw_pointers.v | 12 +- .../variable_bindings/declare_first.v | 9 +- .../rust_book/variable_bindings/freezing.v | 6 +- .../rust_book/variable_bindings/mutability.v | 8 +- .../rust_book/variable_bindings/scope.v | 6 +- .../variable_bindings/variable_bindings.v | 8 +- .../variable_bindings/variable_shadowing.v | 6 +- CoqOfRust/examples/default/examples/subtle.v | 694 +- CoqOfRust/lib/lib.v | 319 +- CoqOfRust/links/M.v | 427 +- CoqOfRust/revm/interpreter/function_stack.v | 54 +- CoqOfRust/revm/interpreter/gas.v | 118 +- CoqOfRust/revm/interpreter/gas/calc.v | 492 +- CoqOfRust/revm/interpreter/gas/constants.v | 107 +- CoqOfRust/revm/interpreter/host.v | 107 +- CoqOfRust/revm/interpreter/host/dummy.v | 40 +- .../revm/interpreter/instruction_result.v | 58 +- .../interpreter/instructions/arithmetic.v | 220 +- .../revm/interpreter/instructions/bitwise.v | 438 +- .../revm/interpreter/instructions/contract.v | 811 +- .../instructions/contract/call_helpers.v | 143 +- .../revm/interpreter/instructions/control.v | 485 +- .../revm/interpreter/instructions/data.v | 277 +- .../revm/interpreter/instructions/host.v | 655 +- .../revm/interpreter/instructions/host_env.v | 177 +- .../revm/interpreter/instructions/i256.v | 64 +- .../revm/interpreter/instructions/memory.v | 405 +- .../revm/interpreter/instructions/stack.v | 138 +- .../revm/interpreter/instructions/system.v | 910 +- .../revm/interpreter/instructions/utility.v | 8 +- CoqOfRust/revm/interpreter/interpreter.v | 87 +- .../revm/interpreter/interpreter/analysis.v | 837 +- .../revm/interpreter/interpreter/contract.v | 16 +- .../interpreter/interpreter/shared_memory.v | 210 +- .../revm/interpreter/interpreter/stack.v | 309 +- .../revm/interpreter/interpreter_action.v | 31 +- .../interpreter_action/call_inputs.v | 104 +- .../interpreter_action/call_outcome.v | 20 +- .../interpreter_action/create_inputs.v | 27 +- .../interpreter_action/create_outcome.v | 16 +- .../interpreter_action/eof_create_inputs.v | 23 +- .../interpreter_action/eof_create_outcome.v | 18 +- CoqOfRust/revm/interpreter/opcode.v | 5894 ++++-- .../revm/interpreter/opcode/eof_printer.v | 200 +- CoqOfRust/revm/precompile/blake2.v | 650 +- CoqOfRust/revm/precompile/bn128.v | 287 +- CoqOfRust/revm/precompile/hash.v | 24 +- CoqOfRust/revm/precompile/identity.v | 10 +- .../revm/precompile/kzg_point_evaluation.v | 73 +- CoqOfRust/revm/precompile/lib.v | 226 +- CoqOfRust/revm/precompile/modexp.v | 198 +- CoqOfRust/revm/precompile/secp256k1.v | 76 +- CoqOfRust/revm/precompile/utilities.v | 46 +- CoqOfRust/revm/primitives/bytecode.v | 58 +- CoqOfRust/revm/primitives/bytecode/eof.v | 56 +- CoqOfRust/revm/primitives/bytecode/eof/body.v | 168 +- .../primitives/bytecode/eof/decode_helpers.v | 23 +- .../revm/primitives/bytecode/eof/header.v | 360 +- .../primitives/bytecode/eof/types_section.v | 103 +- CoqOfRust/revm/primitives/bytecode/legacy.v | 40 +- .../primitives/bytecode/legacy/jump_map.v | 27 +- CoqOfRust/revm/primitives/constants.v | 98 +- CoqOfRust/revm/primitives/db.v | 98 +- CoqOfRust/revm/primitives/db/components.v | 22 +- .../primitives/db/components/block_hash.v | 18 +- .../revm/primitives/db/components/state.v | 54 +- CoqOfRust/revm/primitives/env.v | 348 +- CoqOfRust/revm/primitives/env/handler_cfg.v | 54 +- CoqOfRust/revm/primitives/kzg/env_settings.v | 16 +- .../primitives/kzg/trusted_setup_points.v | 104 +- CoqOfRust/revm/primitives/precompile.v | 34 +- CoqOfRust/revm/primitives/result.v | 194 +- CoqOfRust/revm/primitives/specification.v | 377 +- CoqOfRust/revm/primitives/state.v | 146 +- CoqOfRust/revm/primitives/utilities.v | 64 +- CoqOfRust/revm/revm/builder.v | 66 +- CoqOfRust/revm/revm/context.v | 14 +- .../revm/revm/context/context_precompiles.v | 26 +- CoqOfRust/revm/revm/context/evm_context.v | 44 +- .../revm/revm/context/inner_evm_context.v | 141 +- CoqOfRust/revm/revm/db/emptydb.v | 28 +- CoqOfRust/revm/revm/db/in_memory_db.v | 120 +- .../revm/revm/db/states/account_status.v | 62 +- .../revm/revm/db/states/bundle_account.v | 73 +- CoqOfRust/revm/revm/db/states/bundle_state.v | 420 +- CoqOfRust/revm/revm/db/states/cache.v | 62 +- CoqOfRust/revm/revm/db/states/cache_account.v | 91 +- CoqOfRust/revm/revm/db/states/changes.v | 56 +- CoqOfRust/revm/revm/db/states/plain_account.v | 16 +- CoqOfRust/revm/revm/db/states/reverts.v | 114 +- CoqOfRust/revm/revm/db/states/state.v | 59 +- CoqOfRust/revm/revm/db/states/state_builder.v | 69 +- .../revm/revm/db/states/transition_account.v | 55 +- .../revm/revm/db/states/transition_state.v | 16 +- CoqOfRust/revm/revm/evm.v | 116 +- CoqOfRust/revm/revm/frame.v | 56 +- CoqOfRust/revm/revm/handler.v | 44 +- .../revm/handler/handle_types/execution.v | 22 +- .../handler/handle_types/post_execution.v | 12 +- .../revm/handler/handle_types/pre_execution.v | 8 +- .../revm/handler/handle_types/validation.v | 8 +- .../revm/revm/handler/mainnet/execution.v | 26 +- .../revm/handler/mainnet/post_execution.v | 46 +- .../revm/revm/handler/mainnet/pre_execution.v | 10 +- .../revm/revm/handler/mainnet/validation.v | 15 +- CoqOfRust/revm/revm/handler/register.v | 2 +- CoqOfRust/revm/revm/inspector.v | 66 +- CoqOfRust/revm/revm/inspector/customprinter.v | 62 +- CoqOfRust/revm/revm/inspector/gas.v | 24 +- .../revm/revm/inspector/handler_register.v | 60 +- CoqOfRust/revm/revm/inspector/noop.v | 16 +- CoqOfRust/revm/revm/journaled_state.v | 223 +- lib/src/expression.rs | 22 +- lib/src/render.rs | 8 + lib/src/thir_expression.rs | 153 +- lib/src/thir_pattern.rs | 7 +- lib/src/top_level.rs | 6 +- lib/src/ty.rs | 28 - 615 files changed, 72977 insertions(+), 60277 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 82098ef96..8ad75ea86 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -64,7 +64,7 @@ jobs: cargo build touch src/lib.rs cargo coq-of-rust - rsync -av src/ ../../../../CoqOfRust/alloc/ --include='*/' --include='*.v' --exclude='*' + rsync -acv src/ ../../../../CoqOfRust/alloc/ --include='*/' --include='*.v' --exclude='*' cd ../../../.. endGroup startGroup "Translate the core library" @@ -73,7 +73,7 @@ jobs: cargo build touch src/lib.rs cargo coq-of-rust - rsync -av src/ ../../../../CoqOfRust/core/ --include='*/' --include='*.v' --exclude='*' + rsync -acv src/ ../../../../CoqOfRust/core/ --include='*/' --include='*.v' --exclude='*' cd ../../../.. endGroup startGroup "Translate Revm" @@ -86,28 +86,28 @@ jobs: cargo coq-of-rust touch src/lib.rs cargo coq-of-rust - rsync -av src/ ../../../../CoqOfRust/revm/interpreter/ --include='*/' --include='*.v' --exclude='*' + rsync -acv src/ ../../../../CoqOfRust/revm/interpreter/ --include='*/' --include='*.v' --exclude='*' cd .. # precompile cd precompile cargo coq-of-rust touch src/lib.rs cargo coq-of-rust - rsync -av src/ ../../../../CoqOfRust/revm/precompile/ --include='*/' --include='*.v' --exclude='*' + rsync -acv src/ ../../../../CoqOfRust/revm/precompile/ --include='*/' --include='*.v' --exclude='*' cd .. # primitives cd primitives cargo coq-of-rust touch src/lib.rs cargo coq-of-rust - rsync -av src/ ../../../../CoqOfRust/revm/primitives/ --include='*/' --include='*.v' --exclude='*' + rsync -acv src/ ../../../../CoqOfRust/revm/primitives/ --include='*/' --include='*.v' --exclude='*' cd .. # revm cd revm cargo coq-of-rust touch src/lib.rs cargo coq-of-rust - rsync -av src/ ../../../../CoqOfRust/revm/revm/ --include='*/' --include='*.v' --exclude='*' + rsync -acv src/ ../../../../CoqOfRust/revm/revm/ --include='*/' --include='*.v' --exclude='*' cd .. cd ../../.. endGroup diff --git a/CoqOfRust/M.v b/CoqOfRust/M.v index 913949f36..0b62a98be 100644 --- a/CoqOfRust/M.v +++ b/CoqOfRust/M.v @@ -81,7 +81,7 @@ Module List. end. End List. -Module Integer. +Module IntegerKind. Inductive t : Set := | I8 : t | I16 : t @@ -95,7 +95,24 @@ Module Integer. | U64 : t | U128 : t | Usize : t. -End Integer. + + Definition eqb (kind1 kind2 : t) : bool := + match kind1, kind2 with + | I8, I8 => true + | I16, I16 => true + | I32, I32 => true + | I64, I64 => true + | I128, I128 => true + | Isize, Isize => true + | U8, U8 => true + | U16, U16 => true + | U32, U32 => true + | U64, U64 => true + | U128, U128 => true + | Usize, Usize => true + | _, _ => false + end. +End IntegerKind. Module Pointer. Module Index. @@ -135,15 +152,31 @@ Module Pointer. Arguments Mutable {_ _}. End Core. + Module Kind. + Inductive t : Set := + | Ref + | MutRef + | ConstPointer + | MutPointer. + + Definition to_ty_path (kind : t) : string := + match kind with + | Ref => "&" + | MutRef => "&mut" + | ConstPointer => "*const" + | MutPointer => "*mut" + end. + End Kind. + Inductive t (Value : Set) : Set := - | Make {A : Set} (to_value : A -> Value) (core : Core.t Value A). + | Make {A : Set} (kind : Kind.t) (ty : Ty.t) (to_value : A -> Value) (core : Core.t Value A). Arguments Make {_ _}. End Pointer. Module Value. Inductive t : Set := | Bool : bool -> t - | Integer : Z -> t + | Integer (kind : IntegerKind.t) (z : Z) : t (** For now we do not know how to represent floats so we use a string *) | Float : string -> t | UnicodeChar : Z -> t @@ -168,156 +201,75 @@ Module Value. yet. *) | DeclaredButUndefined. - (** Read the part of the value that is at a given pointer path, starting from - the main value. It might return [None] if the path does not have a shape - compatible with the value. *) - Fixpoint read_path (value : Value.t) (path : Pointer.Path.t) : - option Value.t := - match path with - | [] => Some value - | Pointer.Index.Tuple index :: path => + (** Read the part of the value that is at a given pointer index. It might return [None] if the + index does not have a shape compatible with the value. *) + Definition read_index (value : Value.t) (index : Pointer.Index.t) : option Value.t := + match index with + | Pointer.Index.Tuple index => match value with - | Tuple fields => - match List.nth_error fields (Z.to_nat index) with - | Some value => read_path value path - | None => None - end + | Tuple fields => List.nth_error fields (Z.to_nat index) | _ => None end - | Pointer.Index.Array index :: path => + | Pointer.Index.Array index => match value with - | Array fields => - match List.nth_error fields (Z.to_nat index) with - | Some value => read_path value path - | None => None - end + | Array fields => List.nth_error fields (Z.to_nat index) | _ => None end - | Pointer.Index.StructRecord constructor field :: path => + | Pointer.Index.StructRecord constructor field => match value with | StructRecord c fields => if String.eqb c constructor then - match List.assoc fields field with - | Some value => read_path value path - | None => None - end + List.assoc fields field else None | _ => None end - | Pointer.Index.StructTuple constructor index :: path => + | Pointer.Index.StructTuple constructor index => match value with | StructTuple c fields => if String.eqb c constructor then - match List.nth_error fields (Z.to_nat index) with - | Some value => read_path value path - | None => None - end + List.nth_error fields (Z.to_nat index) else None | _ => None end end. - (** Update the part of a value at a certain [path], and return [None] if the - path is of invalid shape. *) - Fixpoint write_value - (value : Value.t) (path : Pointer.Path.t) (update : Value.t) : + (** Update the part of a value at a certain [index], and return [None] if the index is of invalid + shape. *) + Definition write_index + (value : Value.t) (index : Pointer.Index.t) (update : Value.t) : option Value.t := - match path with - | [] => Some update - | Pointer.Index.Tuple index :: path => + match index with + | Pointer.Index.Tuple index => match value with - | Tuple fields => - match List.nth_error fields (Z.to_nat index) with - | Some value => - match write_value value path update with - | Some value => - Some (Tuple (List.replace_at fields (Z.to_nat index) value)) - | None => None - end - | None => None - end + | Tuple fields => Some (Tuple (List.replace_at fields (Z.to_nat index) update)) | _ => None end - | Pointer.Index.Array index :: path => + | Pointer.Index.Array index => match value with - | Array fields => - match List.nth_error fields (Z.to_nat index) with - | Some value => - match write_value value path update with - | Some value => - Some (Array (List.replace_at fields (Z.to_nat index) value)) - | None => None - end - | None => None - end + | Array fields => Some (Array (List.replace_at fields (Z.to_nat index) value)) | _ => None end - | Pointer.Index.StructRecord constructor field :: path => + | Pointer.Index.StructRecord constructor field => match value with | StructRecord c fields => if String.eqb c constructor then - match List.assoc fields field with - | Some value => - match write_value value path update with - | Some value => - Some (StructRecord c (List.assoc_replace fields field value)) - | None => None - end - | None => None - end + Some (StructRecord c (List.assoc_replace fields field value)) else None | _ => None end - | Pointer.Index.StructTuple constructor index :: path => + | Pointer.Index.StructTuple constructor index => match value with | StructTuple c fields => if String.eqb c constructor then - match List.nth_error fields (Z.to_nat index) with - | Some value => - match write_value value path update with - | Some value => - Some (StructTuple c (List.replace_at fields (Z.to_nat index) value)) - | None => None - end - | None => None - end + Some (StructTuple c (List.replace_at fields (Z.to_nat index) value)) else None | _ => None end end. - - (** Equality between values. Defined only for basic types. *) - Definition eqb (v1 v2 : Value.t) : bool := - match v1, v2 with - | Value.Bool b1, Value.Bool b2 => Bool.eqb b1 b2 - | Value.Integer i1, Value.Integer i2 => Z.eqb i1 i2 - | Value.Float f1, Value.Float f2 => String.eqb f1 f2 - | Value.UnicodeChar c1, Value.UnicodeChar c2 => Z.eqb c1 c2 - | Value.String s1, Value.String s2 => String.eqb s1 s2 - | Value.Tuple _, Value.Tuple _ - | Value.Array _, Value.Array _ - | Value.StructRecord _ _, Value.StructRecord _ _ - | Value.StructTuple _ _, Value.StructTuple _ _ - | Value.Pointer _, Value.Pointer _ - | Value.Closure _, Value.Closure _ - | Value.Error _, Value.Error _ - | Value.DeclaredButUndefined, Value.DeclaredButUndefined => - true - | _, _ => false - end. - - Lemma eqb_is_reflexive (v : Value.t) : eqb v v = true. - Proof. - destruct v; simpl; - try reflexivity; - try apply Z.eqb_refl; - try apply String.eqb_refl. - now destruct_all bool. - Qed. End Value. Module Primitive. @@ -326,7 +278,7 @@ Module Primitive. | StateRead (pointer : Pointer.t Value.t) | StateWrite (pointer : Pointer.t Value.t) (value : Value.t) | GetSubPointer (pointer : Pointer.t Value.t) (index : Pointer.Index.t) - | EnvRead + | AreEqual (value1 value2 : Value.t) | GetFunction (path : string) (generic_tys : list Ty.t) | GetAssociatedFunction (ty : Ty.t) (name : string) (generic_tys : list Ty.t) | GetTraitMethod @@ -344,7 +296,7 @@ Module LowM. | CallClosure (closure : Value.t) (args : list Value.t) (k : A -> t A) | Let (e : t A) (k : A -> t A) | Loop (body : t A) (k : A -> t A) - | Impossible. + | Impossible (message : string). Arguments Pure {_}. Arguments CallPrimitive {_}. Arguments CallClosure {_}. @@ -363,21 +315,26 @@ Module LowM. Let e (fun v => let_ (k v) e2) | Loop body k => Loop body (fun v => let_ (k v) e2) - | Impossible => Impossible + | Impossible message => Impossible message end. End LowM. +Module Panic. + Inductive t : Set := + | Make (message : string). +End Panic. + Module Exception. Inductive t : Set := (** exceptions for Rust's `return` *) - | Return : Value.t -> t + | Return (value : Value.t) : t (** exceptions for Rust's `continue` *) | Continue : t (** exceptions for Rust's `break` *) | Break : t (** escape from a match branch once we know that it is not valid *) | BreakMatch : t - | Panic : string -> t. + | Panic (panic : Panic.t) : t. End Exception. Definition M : Set := @@ -605,14 +562,14 @@ Definition break : M := Definition break_match : M := raise Exception.BreakMatch. -Definition panic (message : string) : M := - raise (Exception.Panic message). +Definition panic (panic : Panic.t) : M := + raise (Exception.Panic panic). Definition call_closure (f : Value.t) (args : list Value.t) : M := LowM.CallClosure f args LowM.Pure. -Definition impossible : M := - LowM.Impossible. +Definition impossible (message : string) : M := + LowM.Impossible message. Definition call_primitive (primitive : Primitive.t) : M := LowM.CallPrimitive primitive (fun result => @@ -627,13 +584,13 @@ Arguments alloc /. Definition read (r : Value.t) : M := match r with | Value.Pointer pointer => call_primitive (Primitive.StateRead pointer) - | _ => impossible + | _ => impossible "cannot read" end. Definition write (r : Value.t) (update : Value.t) : M := match r with | Value.Pointer pointer => call_primitive (Primitive.StateWrite pointer update) - | _ => impossible + | _ => impossible "cannot write" end. Definition copy (r : Value.t) : M := @@ -647,11 +604,11 @@ Definition get_sub_pointer (r : Value.t) (index : Pointer.Index.t) : M := match r with | Value.Pointer pointer => call_primitive (Primitive.GetSubPointer pointer index) - | _ => impossible + | _ => impossible "cannot get sub-pointer" end. -Definition read_env : M := - call_primitive Primitive.EnvRead. +Definition are_equal (value1 value2 : Value.t) : M := + call_primitive (Primitive.AreEqual value1 value2). Parameter get_constant : string -> M. @@ -724,7 +681,7 @@ Fixpoint match_operator (arms : list (Value.t -> M)) : M := match arms with - | nil => impossible + | nil => impossible "no match branches left" | arm :: arms => catch (arm scrutinee) @@ -764,11 +721,11 @@ Definition find_or_pattern let* free_vars := find_or_pattern_aux scrutinee arms in match free_vars with | Value.Tuple free_vars => call_closure body free_vars - | _ => impossible + | _ => impossible "expected a tuple of free variables" end. Definition never_to_any (x : Value.t) : M := - M.impossible. + M.impossible "never_to_any got called". Definition use (x : Value.t) : Value.t := x. @@ -779,8 +736,8 @@ Module SubPointer. Definition get_array_field (value : Value.t) (index : Value.t) : M := match index with - | Value.Integer index => get_sub_pointer value (Pointer.Index.Array index) - | _ => impossible + | Value.Integer IntegerKind.Usize index => get_sub_pointer value (Pointer.Index.Array index) + | _ => impossible "expected a usize integer as an array index" end. Definition get_struct_tuple_field (value : Value.t) (constructor : string) (index : Z) : M := @@ -801,10 +758,12 @@ Module SubPointer. End SubPointer. Definition is_constant_or_break_match (value expected_value : Value.t) : M := - if Value.eqb value expected_value then - pure (Value.Tuple []) - else - break_match. + let* are_equal := are_equal value expected_value in + match are_equal with + | Value.Bool true => pure (Value.Tuple []) + | Value.Bool false => break_match + | _ => impossible "expected a boolean" + end. Definition is_struct_tuple (value : Value.t) (constructor : string) : M := let* value := read value in @@ -848,7 +807,7 @@ Module FunctionTraitAutomaticImpl. | [], [self; Value.Tuple args] => let* self := M.read self in M.call_closure self args - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end )) ]. @@ -863,7 +822,7 @@ Module FunctionTraitAutomaticImpl. | [], [self; Value.Tuple args] => let* self := M.read self in M.call_closure self args - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end )) ]. @@ -877,7 +836,7 @@ Module FunctionTraitAutomaticImpl. match τ, α with | [], [self; Value.Tuple args] => M.call_closure self args - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end )) ]. End FunctionTraitAutomaticImpl. diff --git a/CoqOfRust/alloc/alloc.v b/CoqOfRust/alloc/alloc.v index 768357db2..1476776c7 100644 --- a/CoqOfRust/alloc/alloc.v +++ b/CoqOfRust/alloc/alloc.v @@ -49,7 +49,7 @@ Module alloc. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67,7 +67,7 @@ Module alloc. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "alloc::alloc::Global" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92,7 +92,7 @@ Module alloc. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "Global" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -148,7 +148,7 @@ Module alloc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_alloc : M.IsFunction "alloc::alloc::alloc" alloc. @@ -178,7 +178,7 @@ Module alloc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_dealloc : M.IsFunction "alloc::alloc::dealloc" dealloc. @@ -210,7 +210,7 @@ Module alloc. M.read (| new_size |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_realloc : M.IsFunction "alloc::alloc::realloc" realloc. @@ -238,7 +238,7 @@ Module alloc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_alloc_zeroed : M.IsFunction "alloc::alloc::alloc_zeroed" alloc_zeroed. @@ -284,7 +284,10 @@ Module alloc. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" @@ -306,7 +309,7 @@ Module alloc. |), [ layout ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) ] @@ -469,7 +472,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_alloc_impl : M.IsAssociatedFunction Self "alloc_impl" alloc_impl. @@ -550,24 +553,26 @@ Module alloc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ new_layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ old_layout ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -625,7 +630,10 @@ Module alloc. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| M.call_closure (| M.get_associated_function (| @@ -641,23 +649,24 @@ Module alloc. (let old_size := M.copy (| γ |) in let γ := M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "align", [] |), [ old_layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "align", [] |), [ new_layout ] - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -677,16 +686,17 @@ Module alloc. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.ge - (M.read (| new_size |)) - (M.call_closure (| + BinOp.ge (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ old_layout ] - |)) + |) + |) ] |) |) in @@ -844,11 +854,11 @@ Module alloc. |), [ M.read (| raw_ptr |); M.read (| old_size |) ] |); - Value.Integer 0; - BinOp.Wrap.sub - Integer.Usize - (M.read (| new_size |)) - (M.read (| old_size |)) + Value.Integer IntegerKind.U8 0; + BinOp.Wrap.sub (| + M.read (| new_size |), + M.read (| old_size |) + |) ] |) |) in @@ -1020,7 +1030,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_grow_impl : M.IsAssociatedFunction Self "grow_impl" grow_impl. @@ -1044,7 +1054,7 @@ Module alloc. M.get_associated_function (| Ty.path "alloc::alloc::Global", "alloc_impl", [] |), [ M.read (| self |); M.read (| layout |); Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1062,7 +1072,7 @@ Module alloc. M.get_associated_function (| Ty.path "alloc::alloc::Global", "alloc_impl", [] |), [ M.read (| self |); M.read (| layout |); Value.Bool true ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1090,16 +1100,17 @@ Module alloc. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ layout ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1122,7 +1133,7 @@ Module alloc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1154,7 +1165,7 @@ Module alloc. Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1186,7 +1197,7 @@ Module alloc. Value.Bool true ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1261,24 +1272,26 @@ Module alloc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ new_layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ old_layout ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1336,7 +1349,10 @@ Module alloc. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 0 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -1371,7 +1387,7 @@ Module alloc. |), [ new_layout ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) ] @@ -1381,23 +1397,24 @@ Module alloc. (let new_size := M.copy (| γ |) in let γ := M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "align", [] |), [ old_layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "align", [] |), [ new_layout ] - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1406,16 +1423,17 @@ Module alloc. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| new_size |)) - (M.call_closure (| + BinOp.le (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ old_layout ] - |)) + |) + |) ] |) |) in @@ -1706,7 +1724,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1798,7 +1816,7 @@ Module alloc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_exchange_malloc : M.IsFunction "alloc::alloc::exchange_malloc" exchange_malloc. @@ -1851,7 +1869,7 @@ Module alloc. M.get_function (| "alloc::alloc::handle_alloc_error.rt_error", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_handle_alloc_error : @@ -1894,7 +1912,7 @@ Module alloc. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ct_error : M.IsFunction "alloc::alloc::handle_alloc_error::ct_error" ct_error. @@ -1924,7 +1942,7 @@ Module alloc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_rt_error : M.IsFunction "alloc::alloc::handle_alloc_error::rt_error" rt_error. @@ -1964,15 +1982,16 @@ Module alloc. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.read (| M.get_constant (| "alloc::alloc::__alloc_error_handler::__rdl_oom::__rust_alloc_error_handler_should_panic" |) |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U8 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2061,7 +2080,7 @@ Module alloc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function___rdl_oom : @@ -2108,7 +2127,7 @@ Module alloc. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2145,12 +2164,12 @@ Module alloc. "copy_from_nonoverlapping", [] |), - [ M.read (| target |); M.read (| self |); Value.Integer 1 ] + [ M.read (| target |); M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/borrow.v b/CoqOfRust/alloc/borrow.v index bfbd0b326..e73585d75 100644 --- a/CoqOfRust/alloc/borrow.v +++ b/CoqOfRust/alloc/borrow.v @@ -26,7 +26,7 @@ Module borrow. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57,7 +57,7 @@ Module borrow. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_clone_into : @@ -85,7 +85,7 @@ Module borrow. M.get_trait_method (| "core::clone::Clone", T, [], "clone", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -110,7 +110,7 @@ Module borrow. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -220,7 +220,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -302,7 +302,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -356,7 +356,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_borrowed : @@ -374,16 +374,17 @@ Module borrow. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::borrow::Cow") [ B ], "is_borrowed", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_owned : @@ -490,7 +491,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_mut : @@ -539,7 +540,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_owned : @@ -601,7 +602,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -662,7 +663,7 @@ Module borrow. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -714,7 +715,7 @@ Module borrow. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -766,7 +767,7 @@ Module borrow. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -835,7 +836,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -904,7 +905,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -937,7 +938,7 @@ Module borrow. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -980,7 +981,7 @@ Module borrow. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1016,7 +1017,7 @@ Module borrow. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1062,7 +1063,7 @@ Module borrow. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1107,7 +1108,7 @@ Module borrow. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1182,11 +1183,12 @@ Module borrow. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", [] |), [ M.read (| rhs |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1213,24 +1215,24 @@ Module borrow. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| lhs |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| rhs |) ] - |)) + |) + |) ] |) |) in @@ -1284,7 +1286,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1355,8 +1357,8 @@ Module borrow. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", [] |), [ M.call_closure (| @@ -1372,7 +1374,8 @@ Module borrow. [ rhs ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1399,17 +1402,16 @@ Module borrow. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| lhs |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", @@ -1429,7 +1431,8 @@ Module borrow. [ rhs ] |) ] - |)) + |) + |) ] |) |) in @@ -1492,7 +1495,7 @@ Module borrow. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/boxed.v b/CoqOfRust/alloc/boxed.v index 59374e3bc..08a9855b6 100644 --- a/CoqOfRust/alloc/boxed.v +++ b/CoqOfRust/alloc/boxed.v @@ -35,7 +35,7 @@ Module boxed. [ x ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -58,7 +58,7 @@ Module boxed. |), [ Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit : @@ -83,7 +83,7 @@ Module boxed. |), [ Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed : @@ -124,7 +124,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pin : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "pin" (pin T). @@ -148,7 +148,7 @@ Module boxed. |), [ M.read (| x |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new : @@ -173,7 +173,7 @@ Module boxed. |), [ Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_uninit : @@ -198,7 +198,7 @@ Module boxed. |), [ Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_zeroed : @@ -223,7 +223,7 @@ Module boxed. |), [ M.read (| raw |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw : @@ -295,7 +295,7 @@ Module boxed. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -446,7 +446,7 @@ Module boxed. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_in : @@ -518,7 +518,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_in : @@ -733,7 +733,7 @@ Module boxed. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_uninit_in : @@ -805,7 +805,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_in : @@ -1020,7 +1020,7 @@ Module boxed. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_zeroed_in : @@ -1059,7 +1059,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pin_in : @@ -1115,7 +1115,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_boxed_slice : @@ -1134,7 +1134,7 @@ Module boxed. ltac:(M.monadic (let boxed := M.alloc (| boxed |) in M.read (| M.read (| boxed |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -1165,7 +1165,7 @@ Module boxed. |); M.read (| alloc |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_in : @@ -1198,7 +1198,7 @@ Module boxed. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw : @@ -1253,7 +1253,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw_with_allocator : @@ -1311,7 +1311,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_unique : @@ -1330,7 +1330,7 @@ Module boxed. ltac:(M.monadic (let b := M.alloc (| b |) in M.SubPointer.get_struct_tuple_field (| M.read (| b |), "alloc::boxed::Box", 1 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -1391,7 +1391,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leak : @@ -1425,7 +1425,7 @@ Module boxed. |), [ M.read (| boxed |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_pin : @@ -1468,7 +1468,7 @@ Module boxed. M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_slice : @@ -1504,7 +1504,7 @@ Module boxed. M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_slice : @@ -1549,7 +1549,10 @@ Module boxed. M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0))) + (BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -1775,7 +1778,7 @@ Module boxed. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_uninit_slice : @@ -1820,7 +1823,10 @@ Module boxed. M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0))) + (BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -2046,7 +2052,7 @@ Module boxed. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_zeroed_slice : @@ -2088,7 +2094,7 @@ Module boxed. M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_slice_in : @@ -2125,7 +2131,7 @@ Module boxed. M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_slice_in : @@ -2185,7 +2191,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init : @@ -2232,7 +2238,7 @@ Module boxed. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write : @@ -2304,7 +2310,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init : @@ -2372,16 +2378,17 @@ Module boxed. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ layout ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -2428,7 +2435,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2467,7 +2474,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2518,7 +2525,7 @@ Module boxed. [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2595,7 +2602,7 @@ Module boxed. [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2684,7 +2691,7 @@ Module boxed. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2709,7 +2716,7 @@ Module boxed. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2774,7 +2781,7 @@ Module boxed. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2804,7 +2811,7 @@ Module boxed. M.get_trait_method (| "core::cmp::PartialEq", T, [ T ], "eq", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2823,7 +2830,7 @@ Module boxed. M.get_trait_method (| "core::cmp::PartialEq", T, [ T ], "ne", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2855,7 +2862,7 @@ Module boxed. M.get_trait_method (| "core::cmp::PartialOrd", T, [ T ], "partial_cmp", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2874,7 +2881,7 @@ Module boxed. M.get_trait_method (| "core::cmp::PartialOrd", T, [ T ], "lt", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2893,7 +2900,7 @@ Module boxed. M.get_trait_method (| "core::cmp::PartialOrd", T, [ T ], "le", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2912,7 +2919,7 @@ Module boxed. M.get_trait_method (| "core::cmp::PartialOrd", T, [ T ], "ge", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2931,7 +2938,7 @@ Module boxed. M.get_trait_method (| "core::cmp::PartialOrd", T, [ T ], "gt", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2969,7 +2976,7 @@ Module boxed. M.get_trait_method (| "core::cmp::Ord", T, [], "cmp", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3018,7 +3025,7 @@ Module boxed. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3048,7 +3055,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "finish", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3067,7 +3074,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write", [] |), [ M.read (| M.read (| self |) |); M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3086,7 +3093,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_u8", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3105,7 +3112,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_u16", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3124,7 +3131,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_u32", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3143,7 +3150,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_u64", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3162,7 +3169,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_u128", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3181,7 +3188,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_usize", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3200,7 +3207,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_i8", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3219,7 +3226,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_i16", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3238,7 +3245,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_i32", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3257,7 +3264,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_i64", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3276,7 +3283,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_i128", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3295,7 +3302,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_isize", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3314,7 +3321,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_length_prefix", [] |), [ M.read (| M.read (| self |) |); M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3333,7 +3340,7 @@ Module boxed. M.get_trait_method (| "core::hash::Hasher", T, [], "write_str", [] |), [ M.read (| M.read (| self |) |); M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3386,7 +3393,7 @@ Module boxed. |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3421,7 +3428,7 @@ Module boxed. |), [ M.read (| boxed |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3466,7 +3473,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3583,7 +3590,7 @@ Module boxed. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3624,7 +3631,7 @@ Module boxed. |), [ M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3710,7 +3717,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3759,7 +3766,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3836,7 +3843,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3898,7 +3905,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3940,7 +3947,7 @@ Module boxed. |), [ M.read (| array |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4011,10 +4018,12 @@ Module boxed. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4089,7 +4098,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_boxed_slice_as_array_unchecked : @@ -4131,16 +4140,17 @@ Module boxed. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| boxed_slice |) ] - |)) - (M.read (| M.get_constant (| "alloc::boxed::N" |) |)) + |), + M.read (| M.get_constant (| "alloc::boxed::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4164,7 +4174,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4218,8 +4228,8 @@ Module boxed. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -4228,8 +4238,9 @@ Module boxed. [] |), [ vec ] - |)) - (M.read (| M.get_constant (| "alloc::boxed::N" |) |)) + |), + M.read (| M.get_constant (| "alloc::boxed::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ boxed_slice := @@ -4266,7 +4277,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4340,7 +4351,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : @@ -4380,15 +4391,16 @@ Module boxed. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.dyn [ ("core::any::Any::Trait", []) ], "is", [ T ] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4444,7 +4456,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_unchecked : @@ -4525,7 +4537,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : @@ -4565,8 +4577,8 @@ Module boxed. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.dyn [ @@ -4577,7 +4589,8 @@ Module boxed. [ T ] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4637,7 +4650,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_unchecked : @@ -4728,7 +4741,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : @@ -4769,8 +4782,8 @@ Module boxed. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.dyn [ @@ -4782,7 +4795,8 @@ Module boxed. [ T ] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4846,7 +4860,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_unchecked : @@ -4873,7 +4887,7 @@ Module boxed. M.get_trait_method (| "core::fmt::Display", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4904,7 +4918,7 @@ Module boxed. M.get_trait_method (| "core::fmt::Debug", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4949,7 +4963,7 @@ Module boxed. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4979,7 +4993,7 @@ Module boxed. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5007,7 +5021,7 @@ Module boxed. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5052,7 +5066,7 @@ Module boxed. M.get_trait_method (| "core::iter::traits::iterator::Iterator", I, [], "next", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5076,7 +5090,7 @@ Module boxed. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5095,7 +5109,7 @@ Module boxed. M.get_trait_method (| "core::iter::traits::iterator::Iterator", I, [], "nth", [] |), [ M.read (| M.read (| self |) |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5119,7 +5133,7 @@ Module boxed. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5182,7 +5196,7 @@ Module boxed. M.get_associated_function (| Self, "some.last", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5213,7 +5227,7 @@ Module boxed. M.get_trait_method (| "core::iter::traits::iterator::Iterator", I, [], "last", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5249,7 +5263,7 @@ Module boxed. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5274,7 +5288,7 @@ Module boxed. |), [ M.read (| M.read (| self |) |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5314,7 +5328,7 @@ Module boxed. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5338,7 +5352,7 @@ Module boxed. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5386,7 +5400,7 @@ Module boxed. M.get_trait_method (| "core::ops::function::FnOnce", F, [ Args ], "call_once", [] |), [ M.read (| M.read (| self |) |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5421,7 +5435,7 @@ Module boxed. M.get_trait_method (| "core::ops::function::FnMut", F, [ Args ], "call_mut", [] |), [ M.read (| M.read (| self |) |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5452,7 +5466,7 @@ Module boxed. M.get_trait_method (| "core::ops::function::Fn", F, [ Args ], "call", [] |), [ M.read (| M.read (| self |) |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5537,7 +5551,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5604,7 +5618,7 @@ Module boxed. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5632,23 +5646,24 @@ Module boxed. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| M.read (| self |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| M.read (| other |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -5685,7 +5700,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5716,7 +5731,7 @@ Module boxed. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5743,7 +5758,7 @@ Module boxed. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5770,7 +5785,7 @@ Module boxed. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5797,7 +5812,7 @@ Module boxed. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5875,7 +5890,7 @@ Module boxed. M.read (| arg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5951,7 +5966,7 @@ Module boxed. M.read (| arg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6019,7 +6034,7 @@ Module boxed. M.read (| cx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6094,7 +6109,7 @@ Module boxed. M.read (| cx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6118,7 +6133,7 @@ Module boxed. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6218,7 +6233,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : M.IsAssociatedFunction Self "downcast" downcast. @@ -6349,13 +6364,13 @@ Module boxed. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : M.IsAssociatedFunction Self "downcast" downcast. @@ -6496,13 +6511,13 @@ Module boxed. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : M.IsAssociatedFunction Self "downcast" downcast. @@ -6537,7 +6552,7 @@ Module boxed. |), [ M.read (| err |) ] |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6586,7 +6601,7 @@ Module boxed. |), [ M.read (| err |) ] |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6658,7 +6673,7 @@ Module boxed. |), [ Value.StructTuple "alloc::boxed::from::StringError" [ M.read (| err |) ] ] |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6716,7 +6731,7 @@ Module boxed. let~ err2 := M.alloc (| (* Unsize *) M.pointer_coercion (M.read (| err1 |)) |) in M.alloc (| (* Unsize *) M.pointer_coercion (M.read (| err2 |)) |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6784,7 +6799,7 @@ Module boxed. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6836,7 +6851,7 @@ Module boxed. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6904,7 +6919,7 @@ Module boxed. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6957,7 +6972,7 @@ Module boxed. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6988,7 +7003,7 @@ Module boxed. M.get_trait_method (| "core::error::Error", T, [], "description", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7006,7 +7021,7 @@ Module boxed. M.get_trait_method (| "core::error::Error", T, [], "cause", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7024,7 +7039,7 @@ Module boxed. M.get_trait_method (| "core::error::Error", T, [], "source", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7049,7 +7064,7 @@ Module boxed. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/boxed/thin.v b/CoqOfRust/alloc/boxed/thin.v index 1b96ebe0f..0288c6a96 100644 --- a/CoqOfRust/alloc/boxed/thin.v +++ b/CoqOfRust/alloc/boxed/thin.v @@ -82,7 +82,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -120,7 +120,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_meta : @@ -155,7 +155,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_data : @@ -185,7 +185,7 @@ Module boxed. |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_header : @@ -241,7 +241,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unsize : @@ -280,7 +280,7 @@ Module boxed. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -323,7 +323,7 @@ Module boxed. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -387,7 +387,7 @@ Module boxed. |) in M.alloc (| M.read (| pointer |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -449,7 +449,7 @@ Module boxed. |) in M.alloc (| M.read (| pointer |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -517,7 +517,7 @@ Module boxed. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -589,7 +589,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -694,16 +694,17 @@ Module boxed. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ layout ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -731,12 +732,15 @@ Module boxed. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| value_offset |)) - (Value.Integer 0), + BinOp.eq (| + M.read (| value_offset |), + Value.Integer + IntegerKind.Usize + 0 + |), ltac:(M.monadic (M.read (| M.get_constant (| @@ -750,7 +754,8 @@ Module boxed. "core::mem::SizedTypeProperties::IS_ZST" |) |))) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -917,7 +922,7 @@ Module boxed. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1008,7 +1013,7 @@ Module boxed. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drop : @@ -1091,15 +1096,16 @@ Module boxed. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ H ], "is_aligned", [] |), [ M.read (| hp |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1127,7 +1133,7 @@ Module boxed. |) in hp |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_header : @@ -1161,7 +1167,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_value : @@ -1179,7 +1185,7 @@ Module boxed. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::mem::size_of", [ H ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_header_size : @@ -1213,7 +1219,7 @@ Module boxed. M.read (| value_layout |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_alloc_layout : @@ -1250,7 +1256,7 @@ Module boxed. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/binary_heap/mod.v b/CoqOfRust/alloc/collections/binary_heap/mod.v index 3adcc846c..ceaeb0e67 100644 --- a/CoqOfRust/alloc/collections/binary_heap/mod.v +++ b/CoqOfRust/alloc/collections/binary_heap/mod.v @@ -89,14 +89,14 @@ Module collections. "alloc::collections::binary_heap::BinaryHeap", "data" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -201,7 +201,7 @@ Module collections. "heap" |) |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) in @@ -210,7 +210,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -261,9 +261,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -281,7 +281,9 @@ Module collections. |) |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -337,12 +339,12 @@ Module collections. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -412,9 +414,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -432,7 +434,9 @@ Module collections. |) |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -485,7 +489,9 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| len |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.gt (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -528,7 +534,7 @@ Module collections. "alloc::collections::binary_heap::BinaryHeap", "data" |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -566,12 +572,12 @@ Module collections. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -703,7 +709,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop : @@ -747,7 +753,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -789,7 +795,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -831,7 +837,7 @@ Module collections. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -898,7 +904,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -968,7 +974,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1009,7 +1015,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1040,7 +1046,7 @@ Module collections. [ M.read (| capacity |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity : @@ -1076,7 +1082,7 @@ Module collections. [ M.read (| alloc |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -1108,7 +1114,7 @@ Module collections. [ M.read (| capacity |); M.read (| alloc |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity_in : @@ -1165,7 +1171,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_mut : @@ -1233,8 +1239,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1244,7 +1250,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1273,7 +1280,7 @@ Module collections. "alloc::collections::binary_heap::BinaryHeap", "data" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) ] @@ -1290,7 +1297,10 @@ Module collections. "sift_down_to_bottom", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ + M.read (| self |); + Value.Integer IntegerKind.Usize 0 + ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -1301,11 +1311,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop : @@ -1366,12 +1376,12 @@ Module collections. "sift_up", [] |), - [ M.read (| self |); Value.Integer 0; M.read (| old_len |) ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0; M.read (| old_len |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : @@ -1428,7 +1438,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| end_ |)) (Value.Integer 1) + BinOp.gt (| + M.read (| end_ |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1436,7 +1449,10 @@ Module collections. let β := end_ in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let~ ptr := @@ -1484,7 +1500,7 @@ Module collections. "sift_down_range", [] |), - [ self; Value.Integer 0; M.read (| end_ |) ] + [ self; Value.Integer IntegerKind.Usize 0; M.read (| end_ |) ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -1513,7 +1529,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_sorted_vec : @@ -1593,8 +1609,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::Hole") @@ -1603,18 +1619,17 @@ Module collections. [] |), [ hole ] - |)) - (M.read (| start |)) + |), + M.read (| start |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ parent := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::Hole") @@ -1623,9 +1638,11 @@ Module collections. [] |), [ hole ] - |)) - (Value.Integer 1)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 1 + |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ _ := M.match_operator (| @@ -1724,7 +1741,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sift_up : @@ -1811,20 +1828,20 @@ Module collections. |) in let~ child := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::Hole") [ T ], "pos", [] |), [ hole ] - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.loop (| @@ -1837,16 +1854,17 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| child |)) - (M.call_closure (| + BinOp.le (| + M.read (| child |), + M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_sub", [] |), - [ M.read (| end_ |); Value.Integer 2 ] - |)) + [ M.read (| end_ |); Value.Integer IntegerKind.Usize 2 ] + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1857,10 +1875,9 @@ Module collections. let β := child in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.call_closure (| M.get_trait_method (| "core::cmp::PartialOrd", @@ -1895,15 +1912,16 @@ Module collections. |), [ hole; - BinOp.Wrap.add - Integer.Usize - (M.read (| child |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| child |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) ] - |))) + |)) + |) |) in let~ _ := M.match_operator (| @@ -1981,12 +1999,10 @@ Module collections. let~ _ := M.write (| child, - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::Hole") @@ -1995,8 +2011,10 @@ Module collections. [] |), [ hole ] - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2024,12 +2042,13 @@ Module collections. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| child |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (Value.Integer 1)), + BinOp.eq (| + M.read (| child |), + BinOp.Wrap.sub (| + M.read (| end_ |), + Value.Integer IntegerKind.Usize 1 + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -2087,7 +2106,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sift_down_range : @@ -2134,7 +2153,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sift_down : @@ -2229,20 +2248,20 @@ Module collections. |) in let~ child := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::Hole") [ T ], "pos", [] |), [ hole ] - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.loop (| @@ -2255,16 +2274,17 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| child |)) - (M.call_closure (| + BinOp.le (| + M.read (| child |), + M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_sub", [] |), - [ M.read (| end_ |); Value.Integer 2 ] - |)) + [ M.read (| end_ |); Value.Integer IntegerKind.Usize 2 ] + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2272,10 +2292,9 @@ Module collections. let β := child in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.call_closure (| M.get_trait_method (| "core::cmp::PartialOrd", @@ -2308,15 +2327,16 @@ Module collections. |), [ hole; - BinOp.Wrap.add - Integer.Usize - (M.read (| child |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| child |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) ] - |))) + |)) + |) |) in let~ _ := M.alloc (| @@ -2334,12 +2354,10 @@ Module collections. let~ _ := M.write (| child, - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::Hole") @@ -2348,8 +2366,10 @@ Module collections. [] |), [ hole ] - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2375,9 +2395,13 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| child |)) - (BinOp.Wrap.sub Integer.Usize (M.read (| end_ |)) (Value.Integer 1)) + BinOp.eq (| + M.read (| child |), + BinOp.Wrap.sub (| + M.read (| end_ |), + Value.Integer IntegerKind.Usize 1 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2431,7 +2455,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sift_down_to_bottom : @@ -2494,9 +2518,9 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| start |)) - (M.call_closure (| + BinOp.eq (| + M.read (| start |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::BinaryHeap") @@ -2505,7 +2529,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2517,9 +2542,8 @@ Module collections. |) in let~ tail_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::BinaryHeap") @@ -2528,8 +2552,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.read (| start |)) + |), + M.read (| start |) + |) |) in let~ better_to_rebuild := M.copy (| @@ -2541,7 +2566,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| start |)) (M.read (| tail_len |)) + BinOp.lt (| M.read (| start |), M.read (| tail_len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -2559,8 +2584,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2570,8 +2595,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (Value.Integer 2048) + |), + Value.Integer IntegerKind.Usize 2048 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2579,11 +2605,10 @@ Module collections. Value.Bool true |) in M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.call_closure (| + BinOp.lt (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2593,27 +2618,28 @@ Module collections. [] |), [ M.read (| self |) ] - |))) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| tail_len |)) - (M.call_closure (| + |) + |), + BinOp.Wrap.mul (| + M.read (| tail_len |), + M.call_closure (| M.get_associated_function (| Self, "log2_fast.rebuild_tail", [] |), [ M.read (| start |) ] - |))) + |) + |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.call_closure (| + BinOp.lt (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2623,11 +2649,13 @@ Module collections. [] |), [ M.read (| self |) ] - |))) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| tail_len |)) - (Value.Integer 11)) + |) + |), + BinOp.Wrap.mul (| + M.read (| tail_len |), + Value.Integer IntegerKind.Usize 11 + |) + |) |))) ] |))) @@ -2747,7 +2775,7 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| i |) ] |) @@ -2763,7 +2791,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rebuild_tail : @@ -2791,17 +2819,17 @@ Module collections. M.read (| let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::BinaryHeap") [ T; A ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |) in M.loop (| ltac:(M.monadic @@ -2812,14 +2840,16 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.gt (| M.read (| n |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := M.alloc (| @@ -2850,7 +2880,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rebuild : @@ -2887,8 +2917,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::BinaryHeap") @@ -2897,8 +2927,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::BinaryHeap") @@ -2907,7 +2937,8 @@ Module collections. [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2981,7 +3012,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append : @@ -3002,7 +3033,7 @@ Module collections. Value.StructRecord "alloc::collections::binary_heap::DrainSorted" [ ("inner", M.read (| self |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drain_sorted : @@ -3056,7 +3087,7 @@ Module collections. ("heap", M.read (| self |)) ] |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.alloc (| M.call_closure (| @@ -3113,17 +3144,18 @@ Module collections. M.use (M.alloc (| LogicalOp.and (| - UnOp.Pure.not (M.read (| keep |)), + UnOp.not (| M.read (| keep |) |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| i |)) - (M.read (| + (BinOp.lt (| + M.read (| i |), + M.read (| M.SubPointer.get_struct_record_field (| guard, "alloc::collections::binary_heap::RebuildOnDrop", "rebuild_from" |) - |)))) + |) + |))) |) |)) in let _ := @@ -3149,23 +3181,23 @@ Module collections. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in keep |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain : @@ -3208,7 +3240,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -3229,7 +3261,7 @@ Module collections. Value.StructRecord "alloc::collections::binary_heap::IntoIterSorted" [ ("inner", M.read (| self |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_iter_sorted : @@ -3270,10 +3302,10 @@ Module collections. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek : @@ -3305,7 +3337,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_capacity : @@ -3345,7 +3377,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve_exact : @@ -3385,7 +3417,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve : @@ -3419,7 +3451,7 @@ Module collections. M.read (| additional |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve_exact : @@ -3453,7 +3485,7 @@ Module collections. M.read (| additional |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve : @@ -3491,7 +3523,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to_fit : @@ -3525,7 +3557,7 @@ Module collections. M.read (| min_capacity |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to : @@ -3557,7 +3589,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -3585,7 +3617,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_vec : @@ -3617,7 +3649,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -3649,7 +3681,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -3667,17 +3699,18 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::binary_heap::BinaryHeap") [ T; A ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -3715,7 +3748,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drain : @@ -3747,7 +3780,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : @@ -3806,17 +3839,19 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| pos |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| pos |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| data |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3876,7 +3911,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -3901,7 +3936,7 @@ Module collections. "pos" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pos : @@ -3935,7 +3970,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_element : @@ -3975,16 +4010,18 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| index |)) - (M.read (| + UnOp.not (| + BinOp.ne (| + M.read (| index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::binary_heap::Hole", "pos" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4028,10 +4065,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| index |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| index |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -4046,7 +4083,9 @@ Module collections. |) |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4092,7 +4131,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : @@ -4138,16 +4177,18 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| index |)) - (M.read (| + UnOp.not (| + BinOp.ne (| + M.read (| index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::binary_heap::Hole", "pos" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4191,10 +4232,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| index |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| index |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -4209,7 +4250,9 @@ Module collections. |) |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4284,7 +4327,11 @@ Module collections. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::copy_nonoverlapping", [ T ] |), - [ M.read (| index_ptr |); M.read (| hole_ptr |); Value.Integer 1 ] + [ + M.read (| index_ptr |); + M.read (| hole_ptr |); + Value.Integer IntegerKind.Usize 1 + ] |) |) in M.alloc (| Value.Tuple [] |) in @@ -4299,7 +4346,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_to : @@ -4373,13 +4420,13 @@ Module collections. M.read (| pos |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4460,7 +4507,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4508,7 +4555,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4554,7 +4601,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4584,7 +4631,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4616,7 +4663,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4665,7 +4712,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4708,7 +4755,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4772,7 +4819,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4813,7 +4860,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -4883,7 +4930,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4929,7 +4976,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4959,7 +5006,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5007,7 +5054,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5050,7 +5097,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5121,7 +5168,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5153,7 +5200,7 @@ Module collections. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5186,7 +5233,7 @@ Module collections. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) |))). @@ -5203,7 +5250,7 @@ Module collections. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) |))). @@ -5245,7 +5292,7 @@ Module collections. "alloc::collections::binary_heap::IntoIter", "iter" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5301,7 +5348,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5346,7 +5393,7 @@ Module collections. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5387,7 +5434,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -5427,7 +5474,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5468,7 +5515,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5564,7 +5611,7 @@ Module collections. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5605,7 +5652,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -5647,7 +5694,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5677,7 +5724,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5725,7 +5772,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5768,7 +5815,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5839,7 +5886,7 @@ Module collections. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5882,7 +5929,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -5996,7 +6043,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6042,7 +6089,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6085,7 +6132,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6178,7 +6225,7 @@ Module collections. |) in heap |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6219,7 +6266,7 @@ Module collections. |), [ M.read (| arr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6252,7 +6299,7 @@ Module collections. "data" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6316,7 +6363,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6373,7 +6420,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6422,7 +6469,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6504,7 +6551,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6533,7 +6580,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6562,7 +6609,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6635,7 +6682,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6675,7 +6722,7 @@ Module collections. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6704,7 +6751,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/btree/append.v b/CoqOfRust/alloc/collections/btree/append.v index 20b26610b..333b0b762 100644 --- a/CoqOfRust/alloc/collections/btree/append.v +++ b/CoqOfRust/alloc/collections/btree/append.v @@ -85,7 +85,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append_from_sorted_iters : @@ -283,8 +283,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -301,12 +301,13 @@ Module collections. [] |), [ cur_node ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -434,8 +435,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -452,12 +453,13 @@ Module collections. [] |), [ parent ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -565,9 +567,8 @@ Module collections. |) in let~ tree_height := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -584,8 +585,9 @@ Module collections. [] |), [ open_node ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ right_tree := M.alloc (| @@ -638,7 +640,10 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer + IntegerKind.Usize + 0); ("end_", M.read (| tree_height |)) ] @@ -833,10 +838,10 @@ Module collections. let β := M.read (| length |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -865,7 +870,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bulk_push : @@ -968,7 +973,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -993,7 +998,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/btree/borrow.v b/CoqOfRust/alloc/collections/btree/borrow.v index a3603bbf8..b364cd8b6 100644 --- a/CoqOfRust/alloc/collections/btree/borrow.v +++ b/CoqOfRust/alloc/collections/btree/borrow.v @@ -99,7 +99,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -134,7 +134,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_awaken : @@ -169,7 +169,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow : @@ -204,7 +204,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow_shared : diff --git a/CoqOfRust/alloc/collections/btree/dedup_sorted_iter.v b/CoqOfRust/alloc/collections/btree/dedup_sorted_iter.v index 9e3cd6b15..118abc2b4 100644 --- a/CoqOfRust/alloc/collections/btree/dedup_sorted_iter.v +++ b/CoqOfRust/alloc/collections/btree/dedup_sorted_iter.v @@ -44,7 +44,7 @@ Module collections. [ M.read (| iter |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -240,7 +240,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/btree/fix.v b/CoqOfRust/alloc/collections/btree/fix.v index e0b6b589c..594aef00a 100644 --- a/CoqOfRust/alloc/collections/btree/fix.v +++ b/CoqOfRust/alloc/collections/btree/fix.v @@ -88,11 +88,12 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| len |)) - (M.read (| + BinOp.ge (| + M.read (| len |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -201,14 +202,14 @@ Module collections. |), [ left_parent_kv; - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) ] |) |) in @@ -297,14 +298,14 @@ Module collections. |), [ right_parent_kv; - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) ] |) |) in @@ -332,7 +333,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| len |)) (Value.Integer 0) + BinOp.gt (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -358,7 +362,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_node_through_parent : @@ -492,7 +496,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_node_and_affected_ancestors : @@ -541,8 +545,8 @@ Module collections. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -558,11 +562,12 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.call_closure (| + (BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -578,8 +583,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -631,7 +637,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_top : @@ -687,8 +693,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -703,8 +709,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -795,7 +802,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_right_border : @@ -851,8 +858,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -867,8 +874,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -959,7 +967,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_left_border : @@ -1108,9 +1116,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1120,15 +1128,17 @@ Module collections. [] |), [ last_kv ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| + |), + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) - (Value.Integer 2))) + |), + Value.Integer IntegerKind.Usize 2 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1180,13 +1190,14 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| right_child_len |)) - (M.read (| + BinOp.lt (| + M.read (| right_child_len |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1206,14 +1217,14 @@ Module collections. |), [ last_kv; - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) - (M.read (| right_child_len |)) + |), + M.read (| right_child_len |) + |) ] |) |) in @@ -1251,7 +1262,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_right_border_of_plentiful : @@ -1412,9 +1423,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.call_closure (| + UnOp.not (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1485,12 +1496,14 @@ Module collections. |) |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1536,7 +1549,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_left_border_of_left_edge : @@ -1680,9 +1693,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.call_closure (| + UnOp.not (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1753,12 +1766,14 @@ Module collections. |) |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1804,7 +1819,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_right_border_of_right_edge : @@ -1913,9 +1928,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1925,12 +1940,14 @@ Module collections. [] |), [ internal_kv ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1997,12 +2014,12 @@ Module collections. M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_sub", [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) - (Value.Integer 1); + |), + Value.Integer IntegerKind.Usize 1 + |); M.read (| left_len |) ] |) @@ -2016,7 +2033,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| count |)) (Value.Integer 0) + BinOp.gt (| + M.read (| count |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2056,7 +2076,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_left_child : @@ -2145,9 +2165,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2157,12 +2177,14 @@ Module collections. [] |), [ internal_kv ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2229,12 +2251,12 @@ Module collections. M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_sub", [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) - (Value.Integer 1); + |), + Value.Integer IntegerKind.Usize 1 + |); M.read (| right_len |) ] |) @@ -2248,7 +2270,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| count |)) (Value.Integer 0) + BinOp.gt (| + M.read (| count |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2288,7 +2313,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fix_right_child : diff --git a/CoqOfRust/alloc/collections/btree/map.v b/CoqOfRust/alloc/collections/btree/map.v index c1da4e479..6e0851132 100644 --- a/CoqOfRust/alloc/collections/btree/map.v +++ b/CoqOfRust/alloc/collections/btree/map.v @@ -86,7 +86,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -368,7 +368,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -614,7 +614,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -918,7 +918,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1092,7 +1092,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1252,7 +1252,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1341,7 +1341,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1383,9 +1383,9 @@ Module collections. |), [] |)); - ("length", Value.Integer 0) + ("length", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1500,7 +1500,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1542,10 +1542,10 @@ Module collections. |), [] |)); - ("length", Value.Integer 0); + ("length", Value.Integer IntegerKind.Usize 0); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1616,7 +1616,7 @@ Module collections. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -1650,15 +1650,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::map::IntoIter", "length" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1704,7 +1705,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -1748,7 +1749,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dying_next : @@ -1783,15 +1784,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::map::IntoIter", "length" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1837,7 +1839,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -1881,7 +1883,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dying_next_back : @@ -1944,7 +1946,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1986,14 +1988,14 @@ Module collections. |), [] |)); - ("length", Value.Integer 0); + ("length", Value.Integer IntegerKind.Usize 0); ("alloc", M.call_closure (| M.get_trait_method (| "core::default::Default", A, [], "default", [] |), [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2070,7 +2072,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2147,7 +2149,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2274,7 +2276,7 @@ Module collections. M.read (| val |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2282,7 +2284,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2412,7 +2414,7 @@ Module collections. M.read (| key |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2420,7 +2422,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2550,7 +2552,7 @@ Module collections. M.read (| val |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2558,7 +2560,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2640,7 +2642,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2746,7 +2748,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2778,7 +2780,7 @@ Module collections. "alloc::collections::btree::map::BTreeMap" [ ("root", Value.StructTuple "core::option::Option::None" []); - ("length", Value.Integer 0); + ("length", Value.Integer IntegerKind.Usize 0); ("alloc", M.call_closure (| M.get_associated_function (| @@ -2792,7 +2794,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -2873,7 +2875,7 @@ Module collections. "alloc::collections::btree::map::BTreeMap", "length" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |)); ("alloc", @@ -2900,7 +2902,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : @@ -2922,7 +2924,7 @@ Module collections. "alloc::collections::btree::map::BTreeMap" [ ("root", Value.StructTuple "core::option::Option::None" []); - ("length", Value.Integer 0); + ("length", Value.Integer IntegerKind.Usize 0); ("alloc", M.call_closure (| M.get_associated_function (| @@ -2934,7 +2936,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -3166,7 +3168,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : @@ -3396,7 +3398,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_key_value : @@ -3693,7 +3695,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first_key_value : @@ -4134,7 +4136,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first_entry : @@ -4213,11 +4215,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_first : @@ -4514,7 +4516,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_key_value : @@ -4955,7 +4957,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_entry : @@ -5034,11 +5036,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_last : @@ -5080,7 +5082,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains_key : @@ -5304,7 +5306,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -5397,7 +5399,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -5482,7 +5484,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_insert : @@ -5537,11 +5539,11 @@ Module collections. M.read (| v |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : @@ -5838,7 +5840,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_entry : @@ -5921,8 +5923,8 @@ Module collections. fun γ => ltac:(M.monadic (let v := M.copy (| γ |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -5941,12 +5943,13 @@ Module collections. Value.Tuple [ M.read (| k |); M.read (| v |) ] ] - |)))) + |) + |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -5956,7 +5959,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain : @@ -6319,7 +6322,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -6378,7 +6381,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append : @@ -6496,7 +6499,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_range : @@ -6616,7 +6619,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_range_mut : @@ -6915,7 +6918,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entry : @@ -7215,7 +7218,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off : @@ -7270,7 +7273,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extract_if : @@ -7521,7 +7524,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extract_if_inner : @@ -7554,7 +7557,7 @@ Module collections. [ M.read (| self |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_keys : @@ -7587,7 +7590,7 @@ Module collections. [ M.read (| self |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_values : @@ -7641,7 +7644,7 @@ Module collections. ] |) |) in - let~ length := M.alloc (| Value.Integer 0 |) in + let~ length := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.alloc (| M.call_closure (| @@ -7715,7 +7718,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bulk_build_from_sorted_iter : @@ -7835,13 +7838,13 @@ Module collections. |), [] |)); - ("length", Value.Integer 0) + ("length", Value.Integer IntegerKind.Usize 0) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -7960,14 +7963,14 @@ Module collections. |), [] |)); - ("length", Value.Integer 0); + ("length", Value.Integer IntegerKind.Usize 0); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_mut : @@ -7998,7 +8001,7 @@ Module collections. [ M.read (| self |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_keys : @@ -8029,7 +8032,7 @@ Module collections. [ M.read (| self |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_values : @@ -8060,7 +8063,7 @@ Module collections. [ M.read (| self |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_values_mut : @@ -8085,7 +8088,7 @@ Module collections. "length" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -8103,17 +8106,18 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::map::BTreeMap") [ K; V; A ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -8348,7 +8352,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_lower_bound : @@ -8668,7 +8672,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_lower_bound_mut : @@ -8903,7 +8907,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_upper_bound : @@ -9223,7 +9227,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_upper_bound_mut : @@ -9265,7 +9269,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9315,15 +9319,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::map::Iter", "length" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9339,7 +9344,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -9367,7 +9372,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9402,7 +9407,7 @@ Module collections. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9426,7 +9431,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9453,7 +9458,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9480,7 +9485,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9542,15 +9547,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::map::Iter", "length" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9566,7 +9572,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -9594,7 +9600,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9628,7 +9634,7 @@ Module collections. "length" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9686,7 +9692,7 @@ Module collections. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9731,7 +9737,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9781,15 +9787,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::map::IterMut", "length" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9805,7 +9812,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -9836,7 +9843,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9871,7 +9878,7 @@ Module collections. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9895,7 +9902,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9922,7 +9929,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9949,7 +9956,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9998,15 +10005,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::map::IterMut", "length" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10022,7 +10030,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -10053,7 +10061,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10087,7 +10095,7 @@ Module collections. "length" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10156,7 +10164,7 @@ Module collections. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -10394,7 +10402,7 @@ Module collections. |), [] |)); - ("length", Value.Integer 0); + ("length", Value.Integer IntegerKind.Usize 0); ("alloc", M.call_closure (| M.get_associated_function (| @@ -10432,7 +10440,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10571,7 +10579,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10693,11 +10701,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10732,7 +10740,7 @@ Module collections. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10855,11 +10863,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10893,7 +10901,7 @@ Module collections. "length" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10987,11 +10995,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11021,7 +11029,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11045,7 +11053,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11072,7 +11080,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11099,7 +11107,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11185,11 +11193,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11232,7 +11240,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11293,7 +11301,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11334,7 +11342,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11415,11 +11423,11 @@ Module collections. M.read (| v |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11449,7 +11457,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11473,7 +11481,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11557,11 +11565,11 @@ Module collections. M.read (| v |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11604,7 +11612,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11665,7 +11673,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11706,7 +11714,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11842,7 +11850,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11901,7 +11909,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11929,7 +11937,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12235,7 +12243,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek : @@ -12524,10 +12532,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| @@ -12758,8 +12766,8 @@ Module collections. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)); M.call_closure (| M.get_trait_method (| @@ -12873,7 +12881,7 @@ Module collections. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next : @@ -12897,7 +12905,7 @@ Module collections. (let self := M.alloc (| self |) in Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" [ @@ -12912,7 +12920,7 @@ Module collections. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size_hint : @@ -12970,7 +12978,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12994,7 +13002,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13021,7 +13029,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13048,7 +13056,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13098,7 +13106,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13181,11 +13189,11 @@ Module collections. M.read (| v |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13215,7 +13223,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13239,7 +13247,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13325,11 +13333,11 @@ Module collections. M.read (| v |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13372,7 +13380,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13455,11 +13463,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13489,7 +13497,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13513,7 +13521,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13540,7 +13548,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13567,7 +13575,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13642,11 +13650,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13689,7 +13697,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13743,7 +13751,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13813,11 +13821,11 @@ Module collections. M.read (| v |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13847,7 +13855,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13871,7 +13879,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13944,11 +13952,11 @@ Module collections. M.read (| v |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13991,7 +13999,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14045,7 +14053,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14088,7 +14096,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14151,7 +14159,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14198,7 +14206,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14222,7 +14230,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14249,7 +14257,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14276,7 +14284,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14326,7 +14334,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14525,7 +14533,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -14548,7 +14556,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14638,14 +14646,14 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14687,7 +14695,7 @@ Module collections. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14800,7 +14808,7 @@ Module collections. Value.Tuple [ M.read (| key |); M.read (| value |) ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -14809,7 +14817,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14853,7 +14861,7 @@ Module collections. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14999,7 +15007,7 @@ Module collections. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15037,7 +15045,7 @@ Module collections. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15066,23 +15074,24 @@ Module collections. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::map::BTreeMap") [ K; V; A ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::map::BTreeMap") [ K; V; A ], "len", [] |), [ M.read (| other |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -15183,12 +15192,12 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15256,7 +15265,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15311,7 +15320,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15379,7 +15388,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15428,7 +15437,7 @@ Module collections. M.read (| Value.String "no entry found for key" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15479,11 +15488,12 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.get_constant (| "alloc::collections::btree::map::N" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -15572,7 +15582,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -15591,7 +15601,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15693,7 +15703,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15761,7 +15771,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15877,7 +15887,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16195,7 +16205,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -16302,7 +16312,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_next : @@ -16611,7 +16621,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -16718,7 +16728,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_prev : @@ -16865,11 +16875,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key : @@ -17016,11 +17026,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_value : @@ -17158,11 +17168,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key_value : @@ -17333,13 +17343,13 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_next : @@ -17510,13 +17520,13 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_prev : @@ -17879,7 +17889,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -17984,7 +17994,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_next : @@ -18342,7 +18352,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -18447,7 +18457,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_prev : @@ -18620,11 +18630,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key : @@ -18797,11 +18807,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_value : @@ -18964,11 +18974,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key_value : @@ -19115,11 +19125,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_value_mut : @@ -19280,11 +19290,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key_value_mut : @@ -19431,11 +19441,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key_mut_unchecked : @@ -20123,7 +20133,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_next : @@ -20843,7 +20853,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_prev : @@ -21070,12 +21080,12 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_cursor : @@ -21330,10 +21340,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.return_ (| Value.Tuple [] |) |) @@ -21699,7 +21709,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -21799,12 +21809,12 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_after_unchecked : @@ -22063,10 +22073,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.return_ (| Value.Tuple [] |) |) @@ -22432,7 +22442,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -22532,12 +22542,12 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_before_unchecked : @@ -22758,7 +22768,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_after : @@ -22976,7 +22986,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_before : @@ -23161,7 +23171,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.call_closure (| M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), @@ -23262,7 +23272,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -23413,7 +23426,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_current : @@ -23602,7 +23615,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.call_closure (| M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), @@ -23703,7 +23716,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -23854,7 +23870,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_current_and_move_back : diff --git a/CoqOfRust/alloc/collections/btree/map/entry.v b/CoqOfRust/alloc/collections/btree/map/entry.v index 445812369..d033d03b2 100644 --- a/CoqOfRust/alloc/collections/btree/map/entry.v +++ b/CoqOfRust/alloc/collections/btree/map/entry.v @@ -143,7 +143,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -248,7 +248,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -371,7 +371,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -510,7 +510,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -642,7 +642,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -672,7 +672,7 @@ Module collections. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "key already exists" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -752,7 +752,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or_insert : @@ -835,7 +835,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or_insert_with : @@ -938,7 +938,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or_insert_with_key : @@ -1008,7 +1008,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key : @@ -1100,7 +1100,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_and_modify : @@ -1181,7 +1181,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or_default : @@ -1210,7 +1210,7 @@ Module collections. "alloc::collections::btree::map::entry::VacantEntry", "key" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key : @@ -1235,7 +1235,7 @@ Module collections. "key" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_key : @@ -1448,7 +1448,7 @@ Module collections. "alloc::collections::btree::map::BTreeMap", "length" |), - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 |) in val_ptr)); fun γ => @@ -1737,7 +1737,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1802,10 +1802,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in val_ptr |) @@ -1815,7 +1815,7 @@ Module collections. |) in M.alloc (| M.read (| out_ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -1893,7 +1893,7 @@ Module collections. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key : @@ -1921,7 +1921,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_entry : @@ -1994,7 +1994,7 @@ Module collections. 1 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : @@ -2045,7 +2045,7 @@ Module collections. 1 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -2091,7 +2091,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_mut : @@ -2126,7 +2126,7 @@ Module collections. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -2161,7 +2161,7 @@ Module collections. 1 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : @@ -2235,7 +2235,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.call_closure (| M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), @@ -2290,7 +2290,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := M.match_operator (| @@ -2399,7 +2399,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_kv : diff --git a/CoqOfRust/alloc/collections/btree/mem.v b/CoqOfRust/alloc/collections/btree/mem.v index 6a1389c3c..086ab797a 100644 --- a/CoqOfRust/alloc/collections/btree/mem.v +++ b/CoqOfRust/alloc/collections/btree/mem.v @@ -50,11 +50,11 @@ Module collections. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_take_mut : M.IsFunction "alloc::collections::btree::mem::take_mut" take_mut. @@ -138,7 +138,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_replace : M.IsFunction "alloc::collections::btree::mem::replace" replace. @@ -167,7 +167,7 @@ Module collections. M.never_to_any (| M.call_closure (| M.get_function (| "core::intrinsics::abort", [] |), [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/btree/merge_iter.v b/CoqOfRust/alloc/collections/btree/merge_iter.v index fc8de705e..3ab0775bb 100644 --- a/CoqOfRust/alloc/collections/btree/merge_iter.v +++ b/CoqOfRust/alloc/collections/btree/merge_iter.v @@ -109,7 +109,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -188,7 +188,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -261,7 +261,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -356,7 +356,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -391,7 +391,7 @@ Module collections. ("b", M.read (| b |)); ("peeked", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -738,7 +738,7 @@ Module collections. |) in M.alloc (| Value.Tuple [ M.read (| a_next |); M.read (| b_next |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_nexts : @@ -788,10 +788,9 @@ Module collections. M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.call_closure (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", I, @@ -806,7 +805,8 @@ Module collections. "a" |) ] - |)); + |) + |); M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", @@ -858,10 +858,9 @@ Module collections. |) ] |); - BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.call_closure (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", I, @@ -876,7 +875,8 @@ Module collections. "b" |) ] - |)) + |) + |) ] |))); fun γ => @@ -921,7 +921,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_lens : diff --git a/CoqOfRust/alloc/collections/btree/navigate.v b/CoqOfRust/alloc/collections/btree/navigate.v index 8297baeb2..d4fe2be1b 100644 --- a/CoqOfRust/alloc/collections/btree/navigate.v +++ b/CoqOfRust/alloc/collections/btree/navigate.v @@ -136,7 +136,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -168,7 +168,7 @@ Module collections. ("front", Value.StructTuple "core::option::Option::None" []); ("back", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -200,7 +200,7 @@ Module collections. ("front", Value.StructTuple "core::option::Option::None" []); ("back", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_none : @@ -273,7 +273,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -443,7 +443,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)); @@ -593,12 +593,12 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow : @@ -960,7 +960,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -968,7 +968,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_perform_next_checked : @@ -1334,7 +1334,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1342,7 +1342,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_perform_next_back_checked : @@ -1443,11 +1443,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_checked : @@ -1538,11 +1538,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_checked : @@ -1666,11 +1666,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_checked : @@ -1787,11 +1787,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_checked : @@ -1904,7 +1904,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2011,7 +2011,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow : @@ -2064,7 +2064,7 @@ Module collections. ("front", Value.StructTuple "core::option::Option::None" []); ("back", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2143,7 +2143,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2177,7 +2177,7 @@ Module collections. ("front", Value.StructTuple "core::option::Option::None" []); ("back", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_none : @@ -2285,7 +2285,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)); @@ -2373,12 +2373,12 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow : @@ -2548,7 +2548,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_init_front : @@ -2719,7 +2719,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_init_back : @@ -2804,7 +2804,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_unchecked : @@ -2882,7 +2882,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_unchecked : @@ -2967,7 +2967,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_unchecked : @@ -3045,7 +3045,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_unchecked : @@ -3237,7 +3237,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_front : @@ -3284,8 +3284,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -3310,7 +3310,8 @@ Module collections. "front" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3401,7 +3402,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocating_next_unchecked : @@ -3451,8 +3452,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -3477,7 +3478,8 @@ Module collections. "back" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3568,7 +3570,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocating_next_back_unchecked : @@ -3645,7 +3647,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocating_end : @@ -4148,7 +4150,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_find_leaf_edges_spanning_range : @@ -4298,7 +4300,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first_leaf_edge : @@ -4449,7 +4451,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_leaf_edge : @@ -4613,7 +4615,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_lower_bound : @@ -4775,7 +4777,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_upper_bound : @@ -4820,7 +4822,7 @@ Module collections. [ M.read (| root2 |) ] ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_full_range : @@ -4870,7 +4872,7 @@ Module collections. |), [ M.read (| self |); M.read (| range |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_range_search : @@ -4895,7 +4897,7 @@ Module collections. |), [ M.read (| self |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_full_range : @@ -5354,7 +5356,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_visit_nodes_in_order : @@ -5379,7 +5381,7 @@ Module collections. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ result := M.alloc (| Value.Integer 0 |) in + let~ result := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.alloc (| M.call_closure (| @@ -5437,10 +5439,9 @@ Module collections. let β := result in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -5457,7 +5458,8 @@ Module collections. [] |), [ node ] - |)) + |) + |) |))); fun γ => ltac:(M.monadic @@ -5471,10 +5473,9 @@ Module collections. let β := result in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -5491,7 +5492,8 @@ Module collections. [] |), [ node ] - |)) + |) + |) |))); fun γ => ltac:(M.monadic @@ -5507,14 +5509,14 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_calc_length : @@ -5565,7 +5567,7 @@ Module collections. |), [ M.read (| self |); M.read (| range |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_range_search : @@ -5616,7 +5618,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_full_range : @@ -5679,7 +5681,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_full_range : @@ -5925,7 +5927,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_kv : @@ -6159,7 +6161,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_kv : @@ -6358,7 +6360,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_kv : @@ -6680,7 +6682,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocating_next : @@ -6985,7 +6987,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocating_next_back : @@ -7141,7 +7143,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocating_end : @@ -7339,11 +7341,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocating_next_unchecked : @@ -7545,11 +7547,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocating_next_back_unchecked : @@ -7818,11 +7820,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_unchecked : @@ -8071,11 +8073,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_unchecked : @@ -8374,7 +8376,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -8402,7 +8404,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_unchecked : @@ -8684,7 +8686,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -8712,7 +8714,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_unchecked : @@ -8944,7 +8946,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_leaf_edge : @@ -9107,7 +9109,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_leaf_edge : diff --git a/CoqOfRust/alloc/collections/btree/node.v b/CoqOfRust/alloc/collections/btree/node.v index dd3a786e0..47713631f 100644 --- a/CoqOfRust/alloc/collections/btree/node.v +++ b/CoqOfRust/alloc/collections/btree/node.v @@ -4,49 +4,50 @@ Require Import CoqOfRust.CoqOfRust. Module collections. Module btree. Module node. - Definition value_B : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 6 |))). + Definition value_B : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 6 |))). Definition value_CAPACITY : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| M.get_constant (| "alloc::collections::btree::node::B" |) |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| M.get_constant (| "alloc::collections::btree::node::B" |) |) + |), + Value.Integer IntegerKind.Usize 1 + |) |))). Definition value_MIN_LEN_AFTER_SPLIT : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| M.get_constant (| "alloc::collections::btree::node::B" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::node::B" |) |), + Value.Integer IntegerKind.Usize 1 + |) |))). Definition value_KV_IDX_CENTER : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| M.get_constant (| "alloc::collections::btree::node::B" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::node::B" |) |), + Value.Integer IntegerKind.Usize 1 + |) |))). Definition value_EDGE_IDX_LEFT_OF_CENTER : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| M.get_constant (| "alloc::collections::btree::node::B" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::node::B" |) |), + Value.Integer IntegerKind.Usize 1 + |) |))). Definition value_EDGE_IDX_RIGHT_OF_CENTER : Value.t := @@ -149,13 +150,13 @@ Module collections. "alloc::collections::btree::node::LeafNode", "len" |); - Value.Integer 0 + Value.Integer IntegerKind.U16 0 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_init : @@ -242,7 +243,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -364,7 +365,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -440,7 +441,7 @@ Module collections. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -586,7 +587,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_leaf : @@ -607,7 +608,7 @@ Module collections. Value.StructRecord "alloc::collections::btree::node::NodeRef" [ - ("height", Value.Integer 0); + ("height", Value.Integer IntegerKind.Usize 0); ("node", M.call_closure (| M.get_trait_method (| @@ -648,7 +649,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_new_leaf : @@ -718,7 +719,7 @@ Module collections. "alloc::collections::btree::node::InternalNode", "edges" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |); M.read (| M.SubPointer.get_struct_record_field (| @@ -746,21 +747,21 @@ Module collections. |), [ M.read (| new_node |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| child, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_internal : @@ -805,8 +806,12 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt (M.read (| height |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| + M.read (| height |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -935,7 +940,7 @@ Module collections. |) in this |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_new_internal : @@ -981,8 +986,12 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt (M.read (| height |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| + M.read (| height |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1033,7 +1042,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_internal : @@ -1073,7 +1082,7 @@ Module collections. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_internal_ptr : @@ -1114,7 +1123,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_type : @@ -1167,7 +1176,7 @@ Module collections. |) in M.alloc (| M.read (| ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_internal_mut : @@ -1257,7 +1266,7 @@ Module collections. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_edge_area_mut : @@ -1355,10 +1364,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| i |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| i |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1375,7 +1384,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1490,7 +1501,7 @@ Module collections. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_correct_childrens_parent_links : @@ -1561,14 +1572,14 @@ Module collections. "new", [] |), - [ Value.Integer 0; M.read (| len |) ] + [ Value.Integer IntegerKind.Usize 0; M.read (| len |) ] |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_correct_all_childrens_parent_links : @@ -1612,25 +1623,27 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| edge, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + |), + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 1))) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1689,14 +1702,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| idx |)) - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| idx |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1713,7 +1728,10 @@ Module collections. |) in let~ _ := let β := M.read (| len |) in - M.write (| β, BinOp.Wrap.add Integer.U16 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U16 1 |) + |) in let~ _ := M.alloc (| M.call_closure (| @@ -1823,7 +1841,7 @@ Module collections. |), [ M.read (| self |); - BinOp.Wrap.add Integer.Usize (M.read (| idx |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| idx |), Value.Integer IntegerKind.Usize 1 |) ] |); M.read (| @@ -1891,7 +1909,7 @@ Module collections. |), [ M.read (| self |) ] |); - BinOp.Wrap.add Integer.Usize (M.read (| idx |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| idx |), Value.Integer IntegerKind.Usize 1 |) ] |) ] @@ -1899,7 +1917,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : @@ -1951,7 +1969,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -1976,7 +1994,7 @@ Module collections. "height" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_height : @@ -2015,7 +2033,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow : @@ -2061,7 +2079,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_leaf_ptr : @@ -2266,16 +2284,16 @@ Module collections. |), [ M.read (| M.read (| parent |) |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |)); ("idx", @@ -2314,7 +2332,7 @@ Module collections. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -2323,7 +2341,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ascend : @@ -2358,9 +2376,9 @@ Module collections. "new_edge", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first_edge : @@ -2414,7 +2432,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_edge : @@ -2460,7 +2478,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| len |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| M.read (| len |), Value.Integer IntegerKind.Usize 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2489,11 +2509,11 @@ Module collections. "new_kv", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0 ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first_kv : @@ -2539,7 +2559,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| len |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| M.read (| len |), Value.Integer IntegerKind.Usize 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2570,12 +2592,12 @@ Module collections. |), [ M.read (| self |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_kv : @@ -2719,14 +2741,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2782,7 +2806,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eq : @@ -2827,7 +2851,7 @@ Module collections. |) in M.alloc (| M.read (| ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_leaf : @@ -2915,7 +2939,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_keys : @@ -3060,7 +3084,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| height |)) (Value.Integer 0) + BinOp.gt (| + M.read (| height |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3107,7 +3134,7 @@ Module collections. M.alloc (| Value.Tuple [] |) in ret |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deallocate_and_ascend : @@ -3153,7 +3180,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow_mut : @@ -3189,7 +3216,7 @@ Module collections. |) in M.alloc (| M.read (| ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_leaf_mut : @@ -3225,7 +3252,7 @@ Module collections. |) in M.alloc (| M.read (| ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_leaf_mut : @@ -3264,7 +3291,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dormant : @@ -3326,7 +3353,7 @@ Module collections. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key_area_mut : @@ -3389,7 +3416,7 @@ Module collections. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_val_area_mut : @@ -3420,7 +3447,7 @@ Module collections. "alloc::collections::btree::node::LeafNode", "len" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len_mut : @@ -3466,7 +3493,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_awaken : @@ -3509,7 +3536,7 @@ Module collections. |) in M.alloc (| M.read (| ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_leaf_dying : @@ -3637,7 +3664,7 @@ Module collections. |) in M.alloc (| Value.Tuple [ M.read (| key |); M.read (| val |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_key_val_mut_at : @@ -3724,7 +3751,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_parent_link : @@ -3761,16 +3788,18 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3820,7 +3849,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast_to_leaf_unchecked : @@ -3858,16 +3887,18 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3917,7 +3948,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast_to_internal_unchecked : @@ -4333,7 +4364,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_choose_parent_kv : @@ -4413,7 +4444,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear_parent_link : @@ -4461,7 +4492,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -4578,7 +4609,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4607,7 +4638,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_internal_level : @@ -4651,16 +4682,18 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4765,7 +4798,7 @@ Module collections. "alloc::collections::btree::node::InternalNode", "edges" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) ] |) @@ -4779,7 +4812,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := M.alloc (| @@ -4836,7 +4869,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_internal_level : @@ -4883,7 +4916,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrow_mut : @@ -4922,7 +4955,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrow_valmut : @@ -4961,7 +4994,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_dying : @@ -5041,14 +5074,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| idx |)) - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| idx |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5065,7 +5100,10 @@ Module collections. |) in let~ _ := let β := M.read (| len |) in - M.write (| β, BinOp.Wrap.add Integer.U16 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U16 1 |) + |) in M.alloc (| M.read (| let~ _ := @@ -5132,7 +5170,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : @@ -5179,7 +5217,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_type : @@ -5231,15 +5269,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5302,7 +5341,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_force : @@ -5352,7 +5391,7 @@ Module collections. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5386,7 +5425,7 @@ Module collections. "node" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_node : @@ -5411,7 +5450,7 @@ Module collections. "idx" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_idx : @@ -5463,10 +5502,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| idx |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -5476,7 +5515,9 @@ Module collections. [] |), [ node ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5512,7 +5553,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_kv : @@ -5567,7 +5608,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_left_edge : @@ -5613,19 +5654,19 @@ Module collections. "node" |) |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_right_edge : @@ -5712,21 +5753,22 @@ Module collections. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| idx |) |)) - (M.read (| + (BinOp.eq (| + M.read (| M.read (| idx |) |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "alloc::collections::btree::node::Handle", "idx" |) - |)))) + |) + |))) |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5795,7 +5837,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow : @@ -5866,7 +5908,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow_mut : @@ -5922,7 +5964,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dormant : @@ -5992,7 +6034,7 @@ Module collections. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_awaken : @@ -6051,10 +6093,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| idx |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -6064,7 +6106,9 @@ Module collections. [] |), [ node ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6100,7 +6144,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_edge : @@ -6138,15 +6182,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6175,16 +6220,16 @@ Module collections. "node" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -6197,7 +6242,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_left_kv : @@ -6235,15 +6280,15 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -6258,7 +6303,8 @@ Module collections. "node" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6306,7 +6352,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_right_kv : @@ -6373,14 +6419,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| edge_idx |)) - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| edge_idx |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6414,14 +6462,14 @@ Module collections. (M.alloc (| Value.Tuple [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::node::KV_IDX_CENTER" |) - |)) - (Value.Integer 1); + |), + Value.Integer IntegerKind.Usize 1 + |); Value.StructTuple "alloc::collections::btree::node::LeftOrRight::Left" [ M.read (| edge_idx |) ] @@ -6430,7 +6478,10 @@ Module collections. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 5 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 5 + |) in M.alloc (| Value.Tuple [ @@ -6445,7 +6496,10 @@ Module collections. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 6 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 6 + |) in M.alloc (| Value.Tuple [ @@ -6454,7 +6508,7 @@ Module collections. |); Value.StructTuple "alloc::collections::btree::node::LeftOrRight::Right" - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -6462,38 +6516,38 @@ Module collections. (M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.get_constant (| "alloc::collections::btree::node::KV_IDX_CENTER" |) - |)) - (Value.Integer 1); + |), + Value.Integer IntegerKind.Usize 1 + |); Value.StructTuple "alloc::collections::btree::node::LeftOrRight::Right" [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| edge_idx |)) - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| edge_idx |), + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| M.get_constant (| "alloc::collections::btree::node::KV_IDX_CENTER" |) - |)) - (Value.Integer 1)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |), + Value.Integer IntegerKind.Usize 1 + |) + |) ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_splitpoint : @@ -6560,9 +6614,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -6585,12 +6639,14 @@ Module collections. "node" |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6619,9 +6675,8 @@ Module collections. |) in let~ new_len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -6641,8 +6696,9 @@ Module collections. "node" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.alloc (| @@ -6797,7 +6853,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_fit : @@ -6854,8 +6910,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -6875,10 +6931,11 @@ Module collections. "node" |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7219,7 +7276,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -7661,7 +7718,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_recursing : @@ -7792,7 +7849,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_correct_parent_link : @@ -7842,9 +7899,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -7867,12 +7924,14 @@ Module collections. "node" |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7917,18 +7976,17 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| edge, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + |), + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -7938,8 +7996,11 @@ Module collections. "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 1))) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7968,9 +8029,8 @@ Module collections. |) in let~ new_len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -7990,8 +8050,9 @@ Module collections. "node" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.alloc (| @@ -8139,23 +8200,23 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::Handle", "idx" |) - |)) - (Value.Integer 1); + |), + Value.Integer IntegerKind.Usize 1 + |); M.read (| M.SubPointer.get_struct_record_field (| edge, @@ -8216,25 +8277,28 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::Handle", "idx" |) - |)) - (Value.Integer 1)); + |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", - BinOp.Wrap.add Integer.Usize (M.read (| new_len |)) (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_fit : @@ -8291,18 +8355,17 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| edge, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + |), + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| self, @@ -8312,8 +8375,11 @@ Module collections. "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 1))) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8341,8 +8407,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -8362,10 +8428,11 @@ Module collections. "node" |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8651,7 +8718,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -8788,9 +8855,8 @@ Module collections. [ ("node", M.read (| node |)); ("height", - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| self, @@ -8800,13 +8866,14 @@ Module collections. "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 1)); + |), + Value.Integer IntegerKind.Usize 1 + |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_descend : @@ -8880,7 +8947,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_node_type : @@ -8936,16 +9003,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -8967,7 +9034,9 @@ Module collections. "node" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9092,7 +9161,7 @@ Module collections. |) in M.alloc (| Value.Tuple [ M.read (| k |); M.read (| v |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_kv : @@ -9157,7 +9226,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key_mut : @@ -9196,16 +9265,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -9227,7 +9296,9 @@ Module collections. "node" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9313,7 +9384,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_val_mut : @@ -9354,16 +9425,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -9385,7 +9456,9 @@ Module collections. "node" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9510,7 +9583,7 @@ Module collections. |) in M.alloc (| Value.Tuple [ M.read (| k |); M.read (| v |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_kv_valmut : @@ -9554,16 +9627,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::Handle", "idx" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -9585,7 +9658,9 @@ Module collections. "node" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9708,7 +9783,7 @@ Module collections. |) in M.alloc (| Value.Tuple [ M.read (| key |); M.read (| val |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_kv_mut : @@ -9776,7 +9851,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace_kv : @@ -9832,16 +9907,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::Handle", "idx" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -9863,7 +9938,9 @@ Module collections. "node" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9912,19 +9989,19 @@ Module collections. |) in let~ new_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| old_len |)) - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| old_len |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::Handle", "idx" |) - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -10054,16 +10131,16 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::Handle", "idx" |) - |)) - (Value.Integer 1)); + |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| old_len |)) ] ] @@ -10125,16 +10202,16 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::btree::node::Handle", "idx" |) - |)) - (Value.Integer 1)); + |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| old_len |)) ] ] @@ -10193,7 +10270,7 @@ Module collections. |) in M.alloc (| Value.Tuple [ M.read (| k |); M.read (| v |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_leaf_data : @@ -10251,7 +10328,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_kv_valmut : @@ -10307,16 +10384,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -10338,7 +10415,9 @@ Module collections. "node" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10461,7 +10540,7 @@ Module collections. |) in M.alloc (| Value.Tuple [ M.read (| key |); M.read (| val |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_key_val : @@ -10503,16 +10582,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -10534,7 +10613,9 @@ Module collections. "node" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10657,7 +10738,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drop_key_val : @@ -10769,7 +10850,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split : @@ -10932,7 +11013,7 @@ Module collections. ] |), M.rust_cast - (BinOp.Wrap.sub Integer.Usize (M.read (| old_len |)) (Value.Integer 1)) + (BinOp.Wrap.sub (| M.read (| old_len |), Value.Integer IntegerKind.Usize 1 |)) |) in M.alloc (| Value.Tuple @@ -10961,7 +11042,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : @@ -11161,21 +11242,21 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::collections::btree::node::Handle", "idx" |) - |)) - (Value.Integer 1)); + |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| old_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); @@ -11211,10 +11292,10 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -11268,7 +11349,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split : @@ -11432,7 +11513,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_consider_for_balancing : @@ -11519,7 +11600,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_left_child_len : @@ -11558,7 +11639,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_right_child_len : @@ -11583,7 +11664,7 @@ Module collections. "left_child" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_left_child : @@ -11608,7 +11689,7 @@ Module collections. "right_child" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_right_child : @@ -11626,12 +11707,10 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.le (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -11651,9 +11730,10 @@ Module collections. "left_child" |) ] - |)) - (Value.Integer 1)) - (M.call_closure (| + |), + Value.Integer IntegerKind.Usize 1 + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -11673,9 +11753,11 @@ Module collections. "right_child" |) ] - |))) - (M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) |)))) - | _, _ => M.impossible + |) + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_can_merge : @@ -11858,13 +11940,13 @@ Module collections. |) in let~ new_left_len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)) - (M.read (| right_len |)) + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| right_len |) + |) |) in let~ _ := M.match_operator (| @@ -11875,14 +11957,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| new_left_len |)) - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| new_left_len |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12075,10 +12159,10 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| new_left_len |)) ] ] @@ -12235,10 +12319,10 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| new_left_len |)) ] ] @@ -12302,17 +12386,17 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_parent_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| old_parent_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| parent_idx |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| parent_idx |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -12338,10 +12422,10 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| parent_idx |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| parent_idx |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| old_parent_len |)) ] ] @@ -12366,7 +12450,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.U16 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.U16 1 |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12376,15 +12460,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| parent_node, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12508,10 +12593,10 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| right_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| right_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); @@ -12557,15 +12642,15 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_left_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_left_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -12599,15 +12684,15 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_left_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_left_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -12759,7 +12844,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_do_merge : @@ -12852,12 +12937,12 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_merge_tracking_parent : @@ -12950,12 +13035,12 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_merge_tracking_child : @@ -13048,8 +13133,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.match_operator (| track_edge_idx, [ @@ -13063,9 +13148,10 @@ Module collections. |) in let idx := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Pure.le - (M.read (| idx |)) - (M.read (| old_left_len |)) + BinOp.le (| + M.read (| idx |), + M.read (| old_left_len |) + |) |))); fun γ => ltac:(M.monadic @@ -13077,13 +13163,15 @@ Module collections. |) in let idx := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Pure.le - (M.read (| idx |)) - (M.read (| right_len |)) + BinOp.le (| + M.read (| idx |), + M.read (| right_len |) + |) |))) ] |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13144,13 +13232,13 @@ Module collections. |) in let idx := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)) - (M.read (| idx |)) + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| idx |) + |) |))) ] |) @@ -13178,7 +13266,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_merge_tracking_child_edge : @@ -13215,7 +13303,7 @@ Module collections. "bulk_steal_left", [] |), - [ self; Value.Integer 1 ] + [ self; Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| @@ -13245,15 +13333,15 @@ Module collections. "right_child" |) |); - BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.read (| track_right_edge_idx |)) + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.read (| track_right_edge_idx |) + |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_steal_left : @@ -13287,7 +13375,7 @@ Module collections. "bulk_steal_right", [] |), - [ self; Value.Integer 1 ] + [ self; Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| @@ -13322,7 +13410,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_steal_right : @@ -13409,7 +13497,12 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| count |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| + M.read (| count |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13485,17 +13578,19 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| old_right_len |)) - (M.read (| count |))) - (M.read (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + M.read (| old_right_len |), + M.read (| count |) + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13524,8 +13619,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge (M.read (| old_left_len |)) (M.read (| count |))) + UnOp.not (| + BinOp.ge (| M.read (| old_left_len |), M.read (| count |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13546,11 +13642,11 @@ Module collections. |) in let~ new_left_len := M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| old_left_len |)) (M.read (| count |)) + BinOp.Wrap.sub (| M.read (| old_left_len |), M.read (| count |) |) |) in let~ new_right_len := M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| old_right_len |)) (M.read (| count |)) + BinOp.Wrap.add (| M.read (| old_right_len |), M.read (| count |) |) |) in let~ _ := M.write (| @@ -13694,10 +13790,10 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| new_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| old_left_len |)) ] ] @@ -13727,10 +13823,10 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| count |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -13770,10 +13866,10 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| new_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| old_left_len |)) ] ] @@ -13803,10 +13899,10 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| count |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -13941,10 +14037,10 @@ Module collections. |), [ M.read (| right_node |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| count |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| k |) @@ -13981,10 +14077,10 @@ Module collections. |), [ M.read (| right_node |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| count |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| v |) @@ -14138,10 +14234,10 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_right_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_right_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); @@ -14204,15 +14300,15 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| new_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); @@ -14279,12 +14375,12 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_right_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_right_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -14321,7 +14417,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bulk_steal_left : @@ -14409,7 +14505,12 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| count |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| + M.read (| count |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -14485,17 +14586,19 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (M.read (| count |))) - (M.read (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + M.read (| old_left_len |), + M.read (| count |) + |), + M.read (| M.get_constant (| "alloc::collections::btree::node::CAPACITY" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -14524,8 +14627,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge (M.read (| old_right_len |)) (M.read (| count |))) + UnOp.not (| + BinOp.ge (| M.read (| old_right_len |), M.read (| count |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -14546,11 +14650,11 @@ Module collections. |) in let~ new_left_len := M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| old_left_len |)) (M.read (| count |)) + BinOp.Wrap.add (| M.read (| old_left_len |), M.read (| count |) |) |) in let~ new_right_len := M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| old_right_len |)) (M.read (| count |)) + BinOp.Wrap.sub (| M.read (| old_right_len |), M.read (| count |) |) |) in let~ _ := M.write (| @@ -14618,7 +14722,10 @@ Module collections. |), [ M.read (| right_node |); - BinOp.Wrap.sub Integer.Usize (M.read (| count |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -14651,7 +14758,10 @@ Module collections. |), [ M.read (| right_node |); - BinOp.Wrap.sub Integer.Usize (M.read (| count |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -14802,10 +14912,10 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| count |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); @@ -14840,10 +14950,10 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| new_left_len |)) ] ] @@ -14890,10 +15000,10 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| count |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); @@ -14928,10 +15038,10 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| new_left_len |)) ] ] @@ -15214,15 +15324,15 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_left_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_left_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -15284,10 +15394,10 @@ Module collections. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_right_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| old_right_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); @@ -15316,15 +15426,15 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_left_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_left_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -15349,12 +15459,12 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_right_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_right_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -15391,7 +15501,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bulk_steal_right : @@ -15475,7 +15585,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_node_type : @@ -15562,7 +15672,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_node_type : @@ -15701,7 +15811,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_force : @@ -15787,7 +15897,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast_to_leaf_unchecked : @@ -15938,10 +16048,7 @@ Module collections. |) in let~ new_right_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| old_left_len |)) - (M.read (| new_left_len |)) + BinOp.Wrap.sub (| M.read (| old_left_len |), M.read (| new_left_len |) |) |) in let~ right_node := M.alloc (| @@ -15970,9 +16077,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -15987,8 +16094,10 @@ Module collections. [] |), [ right_node ] - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -16016,22 +16125,24 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| left_node, "alloc::collections::btree::node::NodeRef", "height" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| right_node, "alloc::collections::btree::node::NodeRef", "height" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -16059,7 +16170,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| new_right_len |)) (Value.Integer 0) + BinOp.gt (| + M.read (| new_right_len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -16374,15 +16488,15 @@ Module collections. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_left_len |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| new_left_len |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| old_left_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| old_left_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |); @@ -16426,12 +16540,12 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 1); + ("start", Value.Integer IntegerKind.Usize 1); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_right_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_right_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -16463,12 +16577,12 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 1); + ("start", Value.Integer IntegerKind.Usize 1); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| new_right_len |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| new_right_len |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -16511,7 +16625,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_suffix : @@ -16634,7 +16748,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_node_type : @@ -16719,7 +16833,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_node_type : @@ -16956,8 +17070,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt (M.read (| len |)) (M.read (| idx |))) + UnOp.not (| + BinOp.gt (| M.read (| len |), M.read (| idx |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17001,9 +17116,13 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| len |)) - (BinOp.Wrap.add Integer.Usize (M.read (| idx |)) (Value.Integer 1)) + BinOp.gt (| + M.read (| len |), + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -17045,19 +17164,16 @@ Module collections. |), [ M.read (| slice_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |) ] |); - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| idx |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| M.read (| len |), M.read (| idx |) |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -17090,7 +17206,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_insert : @@ -17146,8 +17262,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt (M.read (| idx |)) (M.read (| len |))) + UnOp.not (| + BinOp.lt (| M.read (| idx |), M.read (| len |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17224,7 +17341,7 @@ Module collections. |), [ M.read (| slice_ptr |); - BinOp.Wrap.add Integer.Usize (M.read (| idx |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| idx |), Value.Integer IntegerKind.Usize 1 |) ] |)); M.call_closure (| @@ -17237,16 +17354,16 @@ Module collections. |), [ M.read (| slice_ptr |); M.read (| idx |) ] |); - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| idx |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| M.read (| len |), M.read (| idx |) |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in ret |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_remove : @@ -17301,9 +17418,8 @@ Module collections. [ M.read (| slice_ptr |); M.read (| distance |) ] |)); M.read (| slice_ptr |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -17312,14 +17428,15 @@ Module collections. [] |), [ M.read (| slice |) ] - |)) - (M.read (| distance |)) + |), + M.read (| distance |) + |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_shl : @@ -17372,9 +17489,8 @@ Module collections. |), [ M.read (| slice_ptr |); M.read (| distance |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -17383,14 +17499,15 @@ Module collections. [] |), [ M.read (| slice |) ] - |)) - (M.read (| distance |)) + |), + M.read (| distance |) + |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_shr : @@ -17420,9 +17537,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -17435,8 +17552,8 @@ Module collections. [] |), [ M.read (| src |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -17449,7 +17566,9 @@ Module collections. [] |), [ M.read (| dst |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -17508,7 +17627,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_move_to_slice : diff --git a/CoqOfRust/alloc/collections/btree/remove.v b/CoqOfRust/alloc/collections/btree/remove.v index b89f2f57c..406f68344 100644 --- a/CoqOfRust/alloc/collections/btree/remove.v +++ b/CoqOfRust/alloc/collections/btree/remove.v @@ -138,7 +138,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_kv_tracking : @@ -329,13 +329,14 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| len |)) - (M.read (| + BinOp.lt (| + M.read (| len |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -473,9 +474,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -485,15 +486,19 @@ Module collections. [] |), [ left_parent_kv ] - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + |), + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) - (Value.Integer 1))) + |), + Value.Integer + IntegerKind.Usize + 1 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -607,9 +612,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.call_closure (| + UnOp.not (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -621,12 +626,14 @@ Module collections. [ left_parent_kv ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -717,9 +724,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -729,15 +736,19 @@ Module collections. [] |), [ right_parent_kv ] - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + |), + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |)) - (Value.Integer 1))) + |), + Value.Integer + IntegerKind.Usize + 1 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -851,9 +862,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.call_closure (| + UnOp.not (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -865,12 +876,14 @@ Module collections. [ right_parent_kv ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::map::MIN_LEN" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1083,8 +1096,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1147,7 +1160,8 @@ Module collections. |); M.read (| alloc |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1185,7 +1199,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_leaf_kv : @@ -1563,7 +1577,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_internal_kv : diff --git a/CoqOfRust/alloc/collections/btree/search.v b/CoqOfRust/alloc/collections/btree/search.v index b88f5870e..f68bb0f3e 100644 --- a/CoqOfRust/alloc/collections/btree/search.v +++ b/CoqOfRust/alloc/collections/btree/search.v @@ -96,7 +96,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_range : @@ -349,7 +349,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_search_tree : @@ -775,10 +775,10 @@ Module collections. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible "wrong number of arguments" end)) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -884,13 +884,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| - lower_edge_idx - |)) - (M.read (| - upper_edge_idx - |)) + BinOp.lt (| + M.read (| lower_edge_idx |), + M.read (| upper_edge_idx |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -982,18 +979,20 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1199,7 +1198,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_search_tree_for_bifurcation : @@ -1288,7 +1287,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_find_lower_bound_edge : @@ -1339,7 +1338,7 @@ Module collections. "find_upper_bound_index", [ Q ] |), - [ self; M.read (| bound |); Value.Integer 0 ] + [ self; M.read (| bound |); Value.Integer IntegerKind.Usize 0 ] |) |), [ @@ -1377,7 +1376,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_find_upper_bound_edge : @@ -1426,7 +1425,7 @@ Module collections. "find_key_index", [ Q ] |), - [ self; M.read (| key |); Value.Integer 0 ] + [ self; M.read (| key |); Value.Integer IntegerKind.Usize 0 ] |) |), [ @@ -1493,7 +1492,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_search_node : @@ -1589,17 +1588,19 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| start_index |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| start_index |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ K ], "len", [] |), [ M.read (| keys |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1778,10 +1779,10 @@ Module collections. Value.StructTuple "alloc::collections::btree::search::IndexResult::KV" [ - BinOp.Wrap.add - Integer.Usize - (M.read (| start_index |)) - (M.read (| offset |)) + BinOp.Wrap.add (| + M.read (| start_index |), + M.read (| offset |) + |) ] |) |) @@ -1801,10 +1802,10 @@ Module collections. Value.StructTuple "alloc::collections::btree::search::IndexResult::Edge" [ - BinOp.Wrap.add - Integer.Usize - (M.read (| start_index |)) - (M.read (| offset |)) + BinOp.Wrap.add (| + M.read (| start_index |), + M.read (| offset |) + |) ] |) |) @@ -1834,7 +1835,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_find_key_index : @@ -1901,7 +1902,11 @@ Module collections. "find_key_index", [ Q ] |), - [ M.read (| self |); M.read (| key |); Value.Integer 0 ] + [ + M.read (| self |); + M.read (| key |); + Value.Integer IntegerKind.Usize 0 + ] |) |), [ @@ -1954,7 +1959,11 @@ Module collections. "find_key_index", [ Q ] |), - [ M.read (| self |); M.read (| key |); Value.Integer 0 ] + [ + M.read (| self |); + M.read (| key |); + Value.Integer IntegerKind.Usize 0 + ] |) |), [ @@ -1970,10 +1979,10 @@ Module collections. M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1); + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |); Value.StructTuple "alloc::collections::btree::search::SearchBound::AllIncluded" [] @@ -2001,7 +2010,7 @@ Module collections. M.alloc (| Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "alloc::collections::btree::search::SearchBound::AllIncluded" [] @@ -2035,7 +2044,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_find_lower_bound_index : @@ -2120,10 +2129,10 @@ Module collections. M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1); + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |); Value.StructTuple "alloc::collections::btree::search::SearchBound::AllExcluded" [] @@ -2238,7 +2247,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_find_upper_bound_index : diff --git a/CoqOfRust/alloc/collections/btree/set.v b/CoqOfRust/alloc/collections/btree/set.v index 43d81d2ad..4c21dce2a 100644 --- a/CoqOfRust/alloc/collections/btree/set.v +++ b/CoqOfRust/alloc/collections/btree/set.v @@ -52,7 +52,7 @@ Module collections. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -175,7 +175,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -226,7 +226,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -276,7 +276,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -320,7 +320,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -415,7 +415,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -473,7 +473,7 @@ Module collections. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -531,7 +531,7 @@ Module collections. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -792,7 +792,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -855,7 +855,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -930,7 +930,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1187,7 +1187,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1250,7 +1250,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1325,7 +1325,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1338,7 +1338,7 @@ Module collections. End Impl_core_fmt_Debug_where_core_fmt_Debug_T_for_alloc_collections_btree_set_Union_T. Definition value_ITER_PERFORMANCE_TIPPING_SIZE_DIFF : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 16 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). Module Impl_alloc_collections_btree_set_BTreeSet_T_alloc_alloc_Global. Definition Self (T : Ty.t) : Ty.t := @@ -1375,7 +1375,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1413,7 +1413,7 @@ Module collections. [ M.read (| alloc |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -1459,7 +1459,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_range : @@ -1805,7 +1805,8 @@ Module collections. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |))); fun γ => @@ -1904,8 +1905,8 @@ Module collections. ltac:(M.monadic (let γ := M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1915,10 +1916,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1928,12 +1928,14 @@ Module collections. [] |), [ M.read (| other |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" |) - |))) + |) + |) + |) |) in let _ := M.is_constant_or_break_match (| @@ -2016,7 +2018,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_difference : @@ -2072,7 +2074,7 @@ Module collections. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_symmetric_difference : @@ -2382,7 +2384,8 @@ Module collections. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |))); fun γ => @@ -2429,8 +2432,8 @@ Module collections. ltac:(M.monadic (let γ := M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2440,10 +2443,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2453,12 +2455,14 @@ Module collections. [] |), [ M.read (| other |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" |) - |))) + |) + |) + |) |) in let _ := M.is_constant_or_break_match (| @@ -2488,8 +2492,8 @@ Module collections. ltac:(M.monadic (let γ := M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2499,10 +2503,9 @@ Module collections. [] |), [ M.read (| other |) ] - |)) - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2512,12 +2515,14 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" |) - |))) + |) + |) + |) |) in let _ := M.is_constant_or_break_match (| @@ -2586,7 +2591,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_intersection : @@ -2639,7 +2644,7 @@ Module collections. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_union : @@ -2676,7 +2681,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : @@ -2716,7 +2721,7 @@ Module collections. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -2758,7 +2763,7 @@ Module collections. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : @@ -2814,7 +2819,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_disjoint : @@ -2899,8 +2904,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::set::BTreeSet") @@ -2909,8 +2914,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::set::BTreeSet") @@ -2919,7 +2924,8 @@ Module collections. [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3211,8 +3217,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -3224,10 +3230,9 @@ Module collections. [] |), [ self_iter ] - |)) - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -3237,12 +3242,14 @@ Module collections. [] |), [ M.read (| other |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3322,8 +3329,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -3341,7 +3348,8 @@ Module collections. next |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3526,8 +3534,8 @@ Module collections. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -3609,7 +3617,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_subset : @@ -3639,7 +3647,7 @@ Module collections. |), [ M.read (| other |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_superset : @@ -3726,11 +3734,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first : @@ -3817,11 +3825,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last : @@ -3891,11 +3899,11 @@ Module collections. M.read (| M.SubPointer.get_tuple_field (| kv, 0 |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_first : @@ -3965,11 +3973,11 @@ Module collections. M.read (| M.SubPointer.get_tuple_field (| kv, 0 |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_last : @@ -4031,7 +4039,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -4072,7 +4080,7 @@ Module collections. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace : @@ -4125,7 +4133,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : @@ -4167,7 +4175,7 @@ Module collections. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take : @@ -4234,8 +4242,8 @@ Module collections. fun γ => ltac:(M.monadic (let v := M.copy (| γ |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -4244,10 +4252,11 @@ Module collections. [] |), [ f; Value.Tuple [ M.read (| v |) ] ] - |)))) + |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -4257,7 +4266,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain : @@ -4307,7 +4316,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append : @@ -4352,7 +4361,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off : @@ -4415,7 +4424,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extract_if : @@ -4454,7 +4463,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -4488,7 +4497,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -4506,17 +4515,18 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::set::BTreeSet") [ T; A ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -4584,7 +4594,7 @@ Module collections. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4618,7 +4628,7 @@ Module collections. [ ("map", M.read (| map |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_sorted_iter : @@ -4784,7 +4794,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4834,11 +4844,12 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.get_constant (| "alloc::collections::btree::set::N" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4934,7 +4945,7 @@ Module collections. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4974,7 +4985,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5033,7 +5044,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5082,7 +5093,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5228,7 +5239,7 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5237,7 +5248,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5313,7 +5324,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in M.alloc (| @@ -5394,13 +5405,13 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5430,7 +5441,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5531,14 +5542,14 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5567,7 +5578,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5642,7 +5653,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5682,7 +5693,7 @@ Module collections. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5724,7 +5735,7 @@ Module collections. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5822,7 +5833,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5933,7 +5944,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6041,7 +6052,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6149,7 +6160,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6226,7 +6237,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6276,7 +6287,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6324,7 +6335,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6356,7 +6367,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6380,7 +6391,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6407,7 +6418,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6434,7 +6445,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6487,7 +6498,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6532,7 +6543,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6628,11 +6639,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6664,7 +6675,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6712,7 +6723,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6792,11 +6803,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6841,7 +6852,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6897,7 +6908,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6947,7 +6958,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7045,11 +7056,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7073,7 +7084,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7100,7 +7111,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7127,7 +7138,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7229,11 +7240,11 @@ Module collections. M.read (| k |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7289,7 +7300,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7463,7 +7474,7 @@ Module collections. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7700,7 +7711,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -7989,8 +8000,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -8003,7 +8014,8 @@ Module collections. M.read (| M.read (| other_set |) |); M.read (| self_next |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8054,7 +8066,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8199,7 +8211,7 @@ Module collections. |), [ M.read (| iter |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |))) ] @@ -8230,7 +8242,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8254,7 +8266,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8322,7 +8334,7 @@ Module collections. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8472,7 +8484,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8520,21 +8532,16 @@ Module collections. M.alloc (| Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" - [ - BinOp.Wrap.add - Integer.Usize - (M.read (| a_len |)) - (M.read (| b_len |)) - ] + [ BinOp.Wrap.add (| M.read (| a_len |), M.read (| b_len |) |) ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8558,7 +8565,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8733,7 +8740,7 @@ Module collections. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9375,7 +9382,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9424,7 +9431,7 @@ Module collections. M.alloc (| Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" [ @@ -9473,7 +9480,7 @@ Module collections. M.alloc (| Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" [ @@ -9505,8 +9512,10 @@ Module collections. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -9527,14 +9536,16 @@ Module collections. M.alloc (| Value.Tuple [ - Value.Integer 1; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.Integer IntegerKind.Usize 1; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 1 ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9558,7 +9569,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9626,7 +9637,7 @@ Module collections. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9713,7 +9724,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9765,18 +9776,13 @@ Module collections. |); Value.StructTuple "core::option::Option::Some" - [ - BinOp.Wrap.add - Integer.Usize - (M.read (| a_len |)) - (M.read (| b_len |)) - ] + [ BinOp.Wrap.add (| M.read (| a_len |), M.read (| b_len |) |) ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9800,7 +9806,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/btree/set_val.v b/CoqOfRust/alloc/collections/btree/set_val.v index 28b558b22..14f0a788e 100644 --- a/CoqOfRust/alloc/collections/btree/set_val.v +++ b/CoqOfRust/alloc/collections/btree/set_val.v @@ -25,7 +25,7 @@ Module collections. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "SetValZST" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57,7 +57,7 @@ Module collections. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91,7 +91,7 @@ Module collections. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113,7 +113,7 @@ Module collections. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -137,7 +137,7 @@ Module collections. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -159,7 +159,7 @@ Module collections. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -180,7 +180,7 @@ Module collections. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "alloc::collections::btree::set_val::SetValZST" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -199,7 +199,7 @@ Module collections. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "alloc::collections::btree::set_val::SetValZST" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -225,7 +225,7 @@ Module collections. let Self : Ty.t := Self V in match τ, α with | [], [] => ltac:(M.monadic (Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -246,7 +246,10 @@ Module collections. } *) Definition is_set_val (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Bool true)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Bool true)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance diff --git a/CoqOfRust/alloc/collections/btree/split.v b/CoqOfRust/alloc/collections/btree/split.v index 83cf5439d..eaecddcb9 100644 --- a/CoqOfRust/alloc/collections/btree/split.v +++ b/CoqOfRust/alloc/collections/btree/split.v @@ -61,8 +61,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -78,8 +78,8 @@ Module collections. [] |), [ M.read (| root_a |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::btree::node::NodeRef") @@ -95,7 +95,8 @@ Module collections. [] |), [ M.read (| root_b |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -144,10 +145,10 @@ Module collections. let~ _ := M.write (| length_b, - BinOp.Wrap.sub - Integer.Usize - (M.read (| total_num |)) - (M.read (| length_a |)) + BinOp.Wrap.sub (| + M.read (| total_num |), + M.read (| length_a |) + |) |) in let~ _ := M.match_operator (| @@ -225,14 +226,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -326,10 +329,10 @@ Module collections. let~ _ := M.write (| length_a, - BinOp.Wrap.sub - Integer.Usize - (M.read (| total_num |)) - (M.read (| length_b |)) + BinOp.Wrap.sub (| + M.read (| total_num |), + M.read (| length_b |) + |) |) in let~ _ := M.match_operator (| @@ -407,14 +410,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -470,7 +475,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_calc_split_length : @@ -901,7 +906,7 @@ Module collections. |) in right_root |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off : @@ -963,7 +968,10 @@ Module collections. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| height |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| height |)) + ] ] |) |), @@ -1050,7 +1058,7 @@ Module collections. |)) in root |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_pillar : diff --git a/CoqOfRust/alloc/collections/linked_list.v b/CoqOfRust/alloc/collections/linked_list.v index 0724255da..83e6da1a7 100644 --- a/CoqOfRust/alloc/collections/linked_list.v +++ b/CoqOfRust/alloc/collections/linked_list.v @@ -233,7 +233,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -261,7 +261,7 @@ Module collections. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "alloc::collections::linked_list::Iter" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -442,7 +442,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -494,7 +494,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -557,7 +557,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -591,7 +591,7 @@ Module collections. ("prev", Value.StructTuple "core::option::Option::None" []); ("element", M.read (| element |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -616,7 +616,7 @@ Module collections. "element" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_element : @@ -766,10 +766,13 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_front_node : @@ -975,20 +978,20 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in node |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_front_node : @@ -1133,10 +1136,13 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_back_node : @@ -1342,20 +1348,20 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in node |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_back_node : @@ -1530,10 +1536,13 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |) in - M.write (| β, BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unlink_node : @@ -1740,13 +1749,10 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |) in - M.write (| - β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| splice_length |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| splice_length |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_splice_nodes : @@ -1832,7 +1838,7 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) in @@ -1881,7 +1887,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_detach_all_nodes : @@ -2096,16 +2102,16 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |), - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::LinkedList", "len" |) - |)) - (M.read (| at_ |)) + |), + M.read (| at_ |) + |) |) in first_part)); fun γ => @@ -2149,7 +2155,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off_before_node : @@ -2335,16 +2341,16 @@ Module collections. ("head", M.read (| second_part_head |)); ("tail", M.read (| second_part_tail |)); ("len", - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::LinkedList", "len" |) - |)) - (M.read (| at_ |))); + |), + M.read (| at_ |) + |)); ("alloc", M.call_closure (| M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), @@ -2419,7 +2425,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off_after_node : @@ -2441,11 +2447,11 @@ Module collections. [ ("head", Value.StructTuple "core::option::Option::None" []); ("tail", Value.StructTuple "core::option::Option::None" []); - ("len", Value.Integer 0); + ("len", Value.Integer IntegerKind.Usize 0); ("alloc", M.read (| alloc |)); ("marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -2492,7 +2498,7 @@ Module collections. |)); ("marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -2539,7 +2545,7 @@ Module collections. |)); ("marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_mut : @@ -2560,7 +2566,7 @@ Module collections. Value.StructRecord "alloc::collections::linked_list::Cursor" [ - ("index", Value.Integer 0); + ("index", Value.Integer IntegerKind.Usize 0); ("current", M.read (| M.SubPointer.get_struct_record_field (| @@ -2571,7 +2577,7 @@ Module collections. |)); ("list", M.read (| self |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cursor_front : @@ -2592,7 +2598,7 @@ Module collections. Value.StructRecord "alloc::collections::linked_list::CursorMut" [ - ("index", Value.Integer 0); + ("index", Value.Integer IntegerKind.Usize 0); ("current", M.read (| M.SubPointer.get_struct_record_field (| @@ -2603,7 +2609,7 @@ Module collections. |)); ("list", M.read (| self |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cursor_front_mut : @@ -2642,10 +2648,10 @@ Module collections. "len" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |)); ("current", @@ -2658,7 +2664,7 @@ Module collections. |)); ("list", M.read (| self |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cursor_back : @@ -2697,10 +2703,10 @@ Module collections. "len" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |)); ("current", @@ -2713,7 +2719,7 @@ Module collections. |)); ("list", M.read (| self |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cursor_back_mut : @@ -2751,7 +2757,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -2776,7 +2782,7 @@ Module collections. "len" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -2892,7 +2898,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : @@ -2957,11 +2963,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -3064,11 +3070,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_front : @@ -3171,11 +3177,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_front_mut : @@ -3278,11 +3284,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_back : @@ -3385,11 +3391,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_back_mut : @@ -3490,7 +3496,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_front : @@ -3551,7 +3557,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_front : @@ -3652,7 +3658,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_back : @@ -3713,7 +3719,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_back : @@ -3785,8 +3791,7 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le (M.read (| at_ |)) (M.read (| len |))) + UnOp.not (| BinOp.le (| M.read (| at_ |), M.read (| len |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3831,7 +3836,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| at_ |)) (Value.Integer 0) + BinOp.eq (| M.read (| at_ |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3894,7 +3899,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| at_ |)) (M.read (| len |)) + BinOp.eq (| M.read (| at_ |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -3952,21 +3957,22 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (BinOp.Wrap.sub - Integer.Usize - (M.read (| at_ |)) - (Value.Integer 1)) - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (Value.Integer 1)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| at_ |)) - (Value.Integer 1))) + BinOp.le (| + BinOp.Wrap.sub (| + M.read (| at_ |), + Value.Integer IntegerKind.Usize 1 + |), + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + BinOp.Wrap.sub (| + M.read (| at_ |), + Value.Integer IntegerKind.Usize 1 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4004,12 +4010,12 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| at_ |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| at_ |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -4118,18 +4124,18 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (Value.Integer 1)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| at_ |)) - (Value.Integer 1))) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + BinOp.Wrap.sub (| + M.read (| at_ |), + Value.Integer IntegerKind.Usize 1 + |) + |)) ] ] |) @@ -4220,7 +4226,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off : @@ -4278,7 +4284,7 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.lt (M.read (| at_ |)) (M.read (| len |))) + UnOp.not (| BinOp.lt (| M.read (| at_ |), M.read (| len |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4316,10 +4322,10 @@ Module collections. |) in let~ offset_from_end := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| at_ |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| M.read (| len |), M.read (| at_ |) |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -4329,7 +4335,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| at_ |)) (M.read (| offset_from_end |)) + BinOp.le (| M.read (| at_ |), M.read (| offset_from_end |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ cursor := @@ -4360,7 +4366,10 @@ Module collections. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| at_ |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| at_ |)) + ] ] |) |), @@ -4478,7 +4487,7 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| offset_from_end |)) ] ] @@ -4570,7 +4579,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : @@ -4631,14 +4640,14 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain : @@ -4714,8 +4723,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -4724,7 +4733,8 @@ Module collections. [] |), [ f; Value.Tuple [ M.read (| node |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4788,7 +4798,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain_mut : @@ -4838,12 +4848,12 @@ Module collections. ("list", M.read (| self |)); ("it", M.read (| it |)); ("pred", M.read (| filter |)); - ("idx", Value.Integer 0); + ("idx", Value.Integer IntegerKind.Usize 0); ("old_len", M.read (| old_len |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extract_if : @@ -4877,7 +4887,7 @@ Module collections. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4910,11 +4920,11 @@ Module collections. [ ("head", Value.StructTuple "core::option::Option::None" []); ("tail", Value.StructTuple "core::option::Option::None" []); - ("len", Value.Integer 0); + ("len", Value.Integer IntegerKind.Usize 0); ("alloc", Value.StructTuple "alloc::alloc::Global" []); ("marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -5111,10 +5121,9 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_function (| "core::mem::replace", [ Ty.path "usize" ] @@ -5125,9 +5134,10 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -5136,7 +5146,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append : @@ -5266,7 +5276,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5315,15 +5325,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::Iter", "len" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -5407,10 +5418,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -5437,7 +5448,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5445,7 +5456,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5480,7 +5491,7 @@ Module collections. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5504,7 +5515,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5556,15 +5567,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::Iter", "len" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -5648,10 +5660,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -5678,7 +5690,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5686,7 +5698,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5743,7 +5755,7 @@ Module collections. [ ("head", Value.StructTuple "core::option::Option::None" []); ("tail", Value.StructTuple "core::option::Option::None" []); - ("len", Value.Integer 0); + ("len", Value.Integer IntegerKind.Usize 0); ("marker", M.call_closure (| M.get_trait_method (| @@ -5762,7 +5774,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5811,15 +5823,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::IterMut", "len" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -5903,10 +5916,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -5933,7 +5946,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5941,7 +5954,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5976,7 +5989,7 @@ Module collections. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6000,7 +6013,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6052,15 +6065,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::IterMut", "len" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -6144,10 +6158,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -6174,7 +6188,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -6182,7 +6196,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6239,7 +6253,7 @@ Module collections. [ ("head", Value.StructTuple "core::option::Option::None" []); ("tail", Value.StructTuple "core::option::Option::None" []); - ("len", Value.Integer 0); + ("len", Value.Integer IntegerKind.Usize 0); ("marker", M.call_closure (| M.get_trait_method (| @@ -6258,7 +6272,7 @@ Module collections. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6347,7 +6361,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6431,7 +6445,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6539,7 +6553,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6665,7 +6679,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_index : @@ -6751,7 +6765,7 @@ Module collections. "alloc::collections::linked_list::Cursor", "index" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -6800,13 +6814,13 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_next : @@ -6919,10 +6933,10 @@ Module collections. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) in @@ -6988,7 +7002,7 @@ Module collections. "index" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.closure @@ -7023,7 +7037,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -7032,7 +7046,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_prev : @@ -7114,11 +7128,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_current : @@ -7252,13 +7266,13 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_next : @@ -7392,13 +7406,13 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_prev : @@ -7432,7 +7446,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_front : @@ -7466,7 +7480,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_back : @@ -7588,7 +7602,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_index : @@ -7674,7 +7688,7 @@ Module collections. "alloc::collections::linked_list::CursorMut", "index" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -7723,13 +7737,13 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_next : @@ -7842,10 +7856,10 @@ Module collections. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) in @@ -7911,7 +7925,7 @@ Module collections. "index" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.closure @@ -7946,7 +7960,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -7955,7 +7969,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_prev : @@ -8037,11 +8051,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_current : @@ -8175,13 +8189,13 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_next : @@ -8315,13 +8329,13 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_prev : @@ -8367,7 +8381,7 @@ Module collections. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_cursor : @@ -8540,7 +8554,7 @@ Module collections. M.read (| node_next |); M.read (| spliced_node |); M.read (| spliced_node |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -8604,7 +8618,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_after : @@ -8775,7 +8789,7 @@ Module collections. |); M.read (| spliced_node |); M.read (| spliced_node |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -8786,10 +8800,13 @@ Module collections. "alloc::collections::linked_list::CursorMut", "index" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_before : @@ -8982,7 +8999,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_current : @@ -9201,7 +9218,7 @@ Module collections. Value.StructTuple "core::option::Option::Some" [ M.read (| unlinked_node |) ]); - ("len", Value.Integer 1); + ("len", Value.Integer IntegerKind.Usize 1); ("alloc", M.call_closure (| M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), @@ -9225,7 +9242,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_current_as_list : @@ -9262,15 +9279,15 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::CursorMut", "index" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| M.SubPointer.get_struct_record_field (| @@ -9282,24 +9299,25 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::CursorMut", "index" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |))) ] |) @@ -9313,15 +9331,15 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::CursorMut", "index" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| M.SubPointer.get_struct_record_field (| @@ -9333,7 +9351,8 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9344,7 +9363,7 @@ Module collections. "alloc::collections::linked_list::CursorMut", "index" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -9377,7 +9396,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_after : @@ -9416,7 +9435,7 @@ Module collections. "alloc::collections::linked_list::CursorMut", "index" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| M.call_closure (| @@ -9445,7 +9464,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_before : @@ -9496,10 +9515,13 @@ Module collections. "alloc::collections::linked_list::CursorMut", "index" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_front : @@ -9589,14 +9611,14 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_back : @@ -9753,7 +9775,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -9781,7 +9806,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_front : @@ -9967,9 +9992,8 @@ Module collections. "alloc::collections::linked_list::CursorMut", "index" |), - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| M.SubPointer.get_struct_record_field (| @@ -9981,8 +10005,9 @@ Module collections. "alloc::collections::linked_list::LinkedList", "len" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -10013,7 +10038,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_back : @@ -10047,7 +10072,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_front : @@ -10081,7 +10106,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_front_mut : @@ -10115,7 +10140,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_back : @@ -10149,7 +10174,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_back_mut : @@ -10387,7 +10412,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_splice_after : @@ -10556,17 +10581,14 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| splice_len |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| splice_len |) |) |) in M.alloc (| Value.Tuple [] |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_splice_before : @@ -10691,7 +10713,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10842,7 +10867,7 @@ Module collections. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10858,29 +10883,29 @@ Module collections. (let self := M.alloc (| self |) in Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::ExtractIf", "old_len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::linked_list::ExtractIf", "idx" |) - |)) + |) + |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10950,7 +10975,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10994,7 +11019,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11037,7 +11062,7 @@ Module collections. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11083,7 +11108,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11160,7 +11185,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11222,7 +11247,7 @@ Module collections. |) in list |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11259,7 +11284,7 @@ Module collections. Value.StructRecord "alloc::collections::linked_list::IntoIter" [ ("list", M.read (| self |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11308,7 +11333,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11357,7 +11382,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11406,7 +11431,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11435,7 +11460,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11514,14 +11539,14 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11575,7 +11600,7 @@ Module collections. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11649,7 +11674,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11689,7 +11714,7 @@ Module collections. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11722,23 +11747,24 @@ Module collections. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::linked_list::LinkedList") [ T; A ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::linked_list::LinkedList") [ T; A ], "len", [] |), [ M.read (| other |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -11766,7 +11792,7 @@ Module collections. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11782,23 +11808,24 @@ Module collections. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.or (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::linked_list::LinkedList") [ T; A ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::linked_list::LinkedList") [ T; A ], "len", [] |), [ M.read (| other |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -11826,7 +11853,7 @@ Module collections. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11892,7 +11919,7 @@ Module collections. M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11944,7 +11971,7 @@ Module collections. M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12038,7 +12065,7 @@ Module collections. |) in list |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12083,8 +12110,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::linked_list::LinkedList") @@ -12093,8 +12120,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::linked_list::LinkedList") @@ -12103,7 +12130,8 @@ Module collections. [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -12267,8 +12295,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply (Ty.path "alloc::collections::linked_list::Iter") [ T ], @@ -12277,7 +12305,8 @@ Module collections. [] |), [ iter_other ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -12317,7 +12346,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12384,7 +12413,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12513,7 +12542,7 @@ Module collections. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12554,7 +12583,7 @@ Module collections. |), [ M.read (| arr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12580,7 +12609,10 @@ Module collections. } *) Definition assert_covariance (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_assert_covariance : M.IsFunction "alloc::collections::linked_list::assert_covariance" assert_covariance. @@ -12597,7 +12629,7 @@ Module collections. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_a : M.IsFunction "alloc::collections::linked_list::assert_covariance::a" a. @@ -12613,7 +12645,7 @@ Module collections. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_b : M.IsFunction "alloc::collections::linked_list::assert_covariance::b" b. @@ -12629,7 +12661,7 @@ Module collections. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_c : M.IsFunction "alloc::collections::linked_list::assert_covariance::c" c. diff --git a/CoqOfRust/alloc/collections/mod.v b/CoqOfRust/alloc/collections/mod.v index 36ebeeb52..6f3c740fe 100644 --- a/CoqOfRust/alloc/collections/mod.v +++ b/CoqOfRust/alloc/collections/mod.v @@ -39,7 +39,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92,7 +92,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -129,7 +129,7 @@ Module collections. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -172,7 +172,7 @@ Module collections. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -212,7 +212,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_kind : M.IsAssociatedFunction Self "kind" kind. @@ -315,7 +315,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -370,7 +370,7 @@ Module collections. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -442,7 +442,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -486,7 +486,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -567,7 +567,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -592,7 +592,7 @@ Module collections. ltac:(M.monadic (let kind := M.alloc (| kind |) in Value.StructRecord "alloc::collections::TryReserveError" [ ("kind", M.read (| kind |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -626,7 +626,7 @@ Module collections. [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -782,7 +782,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/vec_deque/drain.v b/CoqOfRust/alloc/collections/vec_deque/drain.v index 2c3cef0bd..b19a21163 100644 --- a/CoqOfRust/alloc/collections/vec_deque/drain.v +++ b/CoqOfRust/alloc/collections/vec_deque/drain.v @@ -70,13 +70,10 @@ Module collections. |) in let~ tail_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| orig_len |)) - (M.read (| drain_start |))) - (M.read (| drain_len |)) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| M.read (| orig_len |), M.read (| drain_start |) |), + M.read (| drain_len |) + |) |) in M.alloc (| Value.StructRecord @@ -115,7 +112,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -181,22 +178,22 @@ Module collections. |) |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::drain::Drain", "idx" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::drain::Drain", "remaining" |) - |))) + |) + |)) ] |) in M.match_operator (| @@ -264,7 +261,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slices : @@ -376,7 +373,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -522,8 +519,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| M.SubPointer.get_struct_tuple_field (| @@ -535,8 +532,9 @@ Module collections. "alloc::collections::vec_deque::drain::Drain", "remaining" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -583,10 +581,9 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -595,7 +592,8 @@ Module collections. [] |), [ M.read (| front |) ] - |)) + |) + |) |) in let~ _ := let β := @@ -612,10 +610,9 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -624,7 +621,8 @@ Module collections. [] |), [ M.read (| front |) ] - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -649,7 +647,7 @@ Module collections. "alloc::collections::vec_deque::drain::Drain", "remaining" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.alloc (| @@ -668,7 +666,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -716,15 +714,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::drain::Drain", "remaining" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -791,7 +790,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := let β := @@ -802,7 +801,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -842,7 +841,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -874,7 +873,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -923,15 +922,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::drain::Drain", "remaining" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -959,7 +959,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ wrapped_idx := M.alloc (| @@ -990,22 +990,22 @@ Module collections. |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::drain::Drain", "idx" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::drain::Drain", "remaining" |) - |)) + |) + |) ] |) |) in @@ -1047,7 +1047,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/vec_deque/into_iter.v b/CoqOfRust/alloc/collections/vec_deque/into_iter.v index f57b26321..bf3e83702 100644 --- a/CoqOfRust/alloc/collections/vec_deque/into_iter.v +++ b/CoqOfRust/alloc/collections/vec_deque/into_iter.v @@ -44,7 +44,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74,7 +74,7 @@ Module collections. Value.StructRecord "alloc::collections::vec_deque::into_iter::IntoIter" [ ("inner", M.read (| inner |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -99,7 +99,7 @@ Module collections. "inner" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_vecdeque : @@ -158,7 +158,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -202,7 +202,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -243,7 +243,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -288,7 +288,7 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| len |)) (M.read (| n |)) |)) in + (M.alloc (| BinOp.lt (| M.read (| len |), M.read (| n |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -310,9 +310,7 @@ Module collections. ] |) |) in - M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| len |)) - |))); + M.alloc (| BinOp.Wrap.sub (| M.read (| n |), M.read (| len |) |) |))); fun γ => ltac:(M.monadic (let~ _ := @@ -341,7 +339,7 @@ Module collections. ] |) |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -378,7 +376,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -403,7 +401,7 @@ Module collections. "len" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -471,7 +469,7 @@ Module collections. "alloc::collections::vec_deque::into_iter::IntoIter", "inner" |)); - ("consumed", Value.Integer 0) + ("consumed", Value.Integer IntegerKind.Usize 0) ] |) in M.match_operator (| @@ -581,10 +579,12 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in M.alloc (| M.call_closure (| @@ -599,7 +599,7 @@ Module collections. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible "wrong number of arguments" end)) ] |) @@ -713,10 +713,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| M.call_closure (| @@ -730,7 +730,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -744,7 +744,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -828,7 +828,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -859,7 +859,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -887,7 +887,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1014,20 +1014,21 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| head |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "alloc::collections::vec_deque::into_iter::next_chunk::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1109,14 +1110,14 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| M.get_constant (| "alloc::collections::vec_deque::into_iter::next_chunk::N" |) - |)) + |) + |) |) in M.return_ (| Value.StructTuple @@ -1187,21 +1188,21 @@ Module collections. |) in let~ remaining := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "alloc::collections::vec_deque::into_iter::next_chunk::N" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| head |) ] - |)) + |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1211,16 +1212,17 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| tail |) ] - |)) - (M.read (| remaining |)) + |), + M.read (| remaining |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1311,14 +1313,14 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| M.get_constant (| "alloc::collections::vec_deque::into_iter::next_chunk::N" |) - |)) + |) + |) |) in M.alloc (| Value.StructTuple @@ -1401,24 +1403,24 @@ Module collections. |) in let~ init := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| head |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| tail |) ] - |)) + |) + |) |) in let~ _ := M.write (| @@ -1431,7 +1433,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| @@ -1444,7 +1446,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "len" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.StructTuple @@ -1463,7 +1465,7 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| init |)) ] ] @@ -1476,7 +1478,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1528,7 +1530,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1573,7 +1575,7 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| len |)) (M.read (| n |)) |)) in + (M.alloc (| BinOp.lt (| M.read (| len |), M.read (| n |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -1595,9 +1597,7 @@ Module collections. ] |) |) in - M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| len |)) - |))); + M.alloc (| BinOp.Wrap.sub (| M.read (| n |), M.read (| len |) |) |))); fun γ => ltac:(M.monadic (let~ _ := @@ -1616,11 +1616,11 @@ Module collections. "alloc::collections::vec_deque::into_iter::IntoIter", "inner" |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| n |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| n |) |) ] |) |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -1657,7 +1657,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1722,7 +1722,7 @@ Module collections. "alloc::collections::vec_deque::into_iter::IntoIter", "inner" |)); - ("consumed", Value.Integer 0) + ("consumed", Value.Integer IntegerKind.Usize 0) ] |) in M.match_operator (| @@ -1832,10 +1832,12 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in M.alloc (| M.call_closure (| @@ -1850,7 +1852,7 @@ Module collections. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible "wrong number of arguments" end)) ] |) @@ -1964,10 +1966,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| M.call_closure (| @@ -1981,7 +1983,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1995,7 +1997,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2079,7 +2081,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2110,7 +2112,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2157,7 +2159,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/vec_deque/iter.v b/CoqOfRust/alloc/collections/vec_deque/iter.v index b2d8988b8..5a323a5e4 100644 --- a/CoqOfRust/alloc/collections/vec_deque/iter.v +++ b/CoqOfRust/alloc/collections/vec_deque/iter.v @@ -34,7 +34,7 @@ Module collections. Value.StructRecord "alloc::collections::vec_deque::iter::Iter" [ ("i1", M.read (| i1 |)); ("i2", M.read (| i2 |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -131,7 +131,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -196,7 +196,7 @@ Module collections. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -315,7 +315,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -440,7 +440,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -477,7 +477,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -544,7 +544,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -665,7 +665,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -689,7 +689,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -740,9 +740,7 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| - BinOp.Pure.lt (M.read (| idx |)) (M.read (| i1_len |)) - |)) in + (M.alloc (| BinOp.lt (| M.read (| idx |), M.read (| i1_len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -781,14 +779,14 @@ Module collections. "alloc::collections::vec_deque::iter::Iter", "i2" |); - BinOp.Wrap.sub Integer.Usize (M.read (| idx |)) (M.read (| i1_len |)) + BinOp.Wrap.sub (| M.read (| idx |), M.read (| i1_len |) |) ] |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -914,7 +912,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1036,7 +1034,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1103,7 +1101,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1224,7 +1222,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1257,9 +1255,8 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply (Ty.path "core::slice::iter::Iter") [ T ], @@ -1274,8 +1271,8 @@ Module collections. "i1" |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply (Ty.path "core::slice::iter::Iter") [ T ], @@ -1290,8 +1287,9 @@ Module collections. "i2" |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1340,7 +1338,7 @@ Module collections. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/vec_deque/iter_mut.v b/CoqOfRust/alloc/collections/vec_deque/iter_mut.v index 662cb5aad..c28a1be6f 100644 --- a/CoqOfRust/alloc/collections/vec_deque/iter_mut.v +++ b/CoqOfRust/alloc/collections/vec_deque/iter_mut.v @@ -34,7 +34,7 @@ Module collections. Value.StructRecord "alloc::collections::vec_deque::iter_mut::IterMut" [ ("i1", M.read (| i1 |)); ("i2", M.read (| i2 |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -131,7 +131,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -250,7 +250,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -372,7 +372,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -409,7 +409,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -476,7 +476,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -597,7 +597,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -621,7 +621,7 @@ Module collections. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -675,7 +675,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| idx |)) (M.read (| i1_len |)) + BinOp.lt (| M.read (| idx |), M.read (| i1_len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -715,10 +715,7 @@ Module collections. "alloc::collections::vec_deque::iter_mut::IterMut", "i2" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| idx |)) - (M.read (| i1_len |)) + BinOp.Wrap.sub (| M.read (| idx |), M.read (| i1_len |) |) ] |) |))) @@ -727,7 +724,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -853,7 +850,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -975,7 +972,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1042,7 +1039,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1163,7 +1160,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1196,9 +1193,8 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply (Ty.path "core::slice::iter::IterMut") [ T ], @@ -1213,8 +1209,8 @@ Module collections. "i1" |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply (Ty.path "core::slice::iter::IterMut") [ T ], @@ -1229,8 +1225,9 @@ Module collections. "i2" |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1279,7 +1276,7 @@ Module collections. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/vec_deque/macros.v b/CoqOfRust/alloc/collections/vec_deque/macros.v index 46f27d2f4..bbeeeb0ab 100644 --- a/CoqOfRust/alloc/collections/vec_deque/macros.v +++ b/CoqOfRust/alloc/collections/vec_deque/macros.v @@ -36,8 +36,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -46,15 +46,16 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ U; A ], "len", [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -165,7 +166,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -210,8 +211,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -220,15 +221,16 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ U ], "len", [] |), [ M.read (| M.read (| other |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -339,7 +341,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -385,8 +387,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -395,15 +397,16 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ U ], "len", [] |), [ M.read (| M.read (| other |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -514,7 +517,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -560,8 +563,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -570,15 +573,16 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ U ], "len", [] |), [ (* Unsize *) M.pointer_coercion (M.read (| other |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -689,7 +693,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -734,8 +738,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -744,8 +748,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ U ], "len", @@ -755,7 +759,8 @@ Module collections. (* Unsize *) M.pointer_coercion (M.read (| M.read (| other |) |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -866,7 +871,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -912,8 +917,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -922,8 +927,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ U ], "len", @@ -933,7 +938,8 @@ Module collections. (* Unsize *) M.pointer_coercion (M.read (| M.read (| other |) |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1044,7 +1050,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/vec_deque/mod.v b/CoqOfRust/alloc/collections/vec_deque/mod.v index 06fe2a9bc..aa9c60810 100644 --- a/CoqOfRust/alloc/collections/vec_deque/mod.v +++ b/CoqOfRust/alloc/collections/vec_deque/mod.v @@ -106,7 +106,7 @@ Module collections. |) in deq |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -174,7 +174,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -262,7 +262,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -300,7 +300,7 @@ Module collections. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -341,7 +341,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ptr : @@ -381,7 +381,7 @@ Module collections. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_buffer_read : @@ -429,7 +429,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_buffer_write : @@ -473,25 +473,25 @@ Module collections. |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| range, "core::ops::range::Range", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| range, "core::ops::range::Range", "start" |) - |)) + |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_buffer_range : @@ -509,23 +509,24 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_full : @@ -562,7 +563,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrap_add : @@ -599,7 +600,7 @@ Module collections. M.read (| idx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_physical_idx : @@ -649,7 +650,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrap_sub : @@ -707,13 +708,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| dst |)) - (M.read (| len |))) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| M.read (| dst |), M.read (| len |) |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -723,7 +721,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -837,13 +837,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| src |)) - (M.read (| len |))) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| M.read (| src |), M.read (| len |) |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -853,7 +850,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -996,7 +995,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy : @@ -1054,13 +1053,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| dst |)) - (M.read (| len |))) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| M.read (| dst |), M.read (| len |) |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1070,7 +1066,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1184,13 +1182,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| src |)) - (M.read (| len |))) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| M.read (| src |), M.read (| len |) |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1200,7 +1195,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1343,7 +1340,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_nonoverlapping : @@ -1512,11 +1509,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "usize" ] @@ -1530,9 +1526,8 @@ Module collections. |), [ M.read (| src |); M.read (| dst |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1542,19 +1537,21 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "usize", "abs_diff", [] |), [ M.read (| src |); M.read (| dst |) ] - |)) + |) + |) ] - |)) - (M.read (| len |))) - (M.call_closure (| + |), + M.read (| len |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1564,7 +1561,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1677,10 +1676,13 @@ Module collections. |) |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| src |)) (M.read (| dst |)))) + (BinOp.eq (| M.read (| src |), M.read (| dst |) |))) |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0))) + (BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -1693,53 +1695,50 @@ Module collections. |) in let~ dst_after_src := M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") [ T; A ], "wrap_sub", [] |), [ M.read (| self |); M.read (| dst |); M.read (| src |) ] - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) |) in let~ src_pre_wrap_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) - (M.read (| src |)) + |), + M.read (| src |) + |) |) in let~ dst_pre_wrap_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) - (M.read (| dst |)) + |), + M.read (| dst |) + |) |) in let~ src_wraps := - M.alloc (| - BinOp.Pure.lt (M.read (| src_pre_wrap_len |)) (M.read (| len |)) - |) in + M.alloc (| BinOp.lt (| M.read (| src_pre_wrap_len |), M.read (| len |) |) |) in let~ dst_wraps := - M.alloc (| - BinOp.Pure.lt (M.read (| dst_pre_wrap_len |)) (M.read (| len |)) - |) in + M.alloc (| BinOp.lt (| M.read (| dst_pre_wrap_len |), M.read (| len |) |) |) in M.match_operator (| M.alloc (| Value.Tuple @@ -1828,15 +1827,15 @@ Module collections. |), [ M.read (| self |); - BinOp.Wrap.add - Integer.Usize - (M.read (| src |)) - (M.read (| dst_pre_wrap_len |)); - Value.Integer 0; - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| dst_pre_wrap_len |)) + BinOp.Wrap.add (| + M.read (| src |), + M.read (| dst_pre_wrap_len |) + |); + Value.Integer IntegerKind.Usize 0; + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| dst_pre_wrap_len |) + |) ] |) |) in @@ -1867,15 +1866,15 @@ Module collections. |), [ M.read (| self |); - BinOp.Wrap.add - Integer.Usize - (M.read (| src |)) - (M.read (| dst_pre_wrap_len |)); - Value.Integer 0; - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| dst_pre_wrap_len |)) + BinOp.Wrap.add (| + M.read (| src |), + M.read (| dst_pre_wrap_len |) + |); + Value.Integer IntegerKind.Usize 0; + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| dst_pre_wrap_len |) + |) ] |) |) in @@ -1945,15 +1944,15 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; - BinOp.Wrap.add - Integer.Usize - (M.read (| dst |)) - (M.read (| src_pre_wrap_len |)); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| src_pre_wrap_len |)) + Value.Integer IntegerKind.Usize 0; + BinOp.Wrap.add (| + M.read (| dst |), + M.read (| src_pre_wrap_len |) + |); + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| src_pre_wrap_len |) + |) ] |) |) in @@ -1984,15 +1983,15 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; - BinOp.Wrap.add - Integer.Usize - (M.read (| dst |)) - (M.read (| src_pre_wrap_len |)); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| src_pre_wrap_len |)) + Value.Integer IntegerKind.Usize 0; + BinOp.Wrap.add (| + M.read (| dst |), + M.read (| src_pre_wrap_len |) + |); + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| src_pre_wrap_len |) + |) ] |) |) in @@ -2050,10 +2049,12 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| dst_pre_wrap_len |)) - (M.read (| src_pre_wrap_len |))) + UnOp.not (| + BinOp.gt (| + M.read (| dst_pre_wrap_len |), + M.read (| src_pre_wrap_len |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2085,10 +2086,10 @@ Module collections. |) in let~ delta := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| dst_pre_wrap_len |)) - (M.read (| src_pre_wrap_len |)) + BinOp.Wrap.sub (| + M.read (| dst_pre_wrap_len |), + M.read (| src_pre_wrap_len |) + |) |) in let~ _ := M.alloc (| @@ -2120,11 +2121,11 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; - BinOp.Wrap.add - Integer.Usize - (M.read (| dst |)) - (M.read (| src_pre_wrap_len |)); + Value.Integer IntegerKind.Usize 0; + BinOp.Wrap.add (| + M.read (| dst |), + M.read (| src_pre_wrap_len |) + |); M.read (| delta |) ] |) @@ -2142,11 +2143,11 @@ Module collections. [ M.read (| self |); M.read (| delta |); - Value.Integer 0; - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| dst_pre_wrap_len |)) + Value.Integer IntegerKind.Usize 0; + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| dst_pre_wrap_len |) + |) ] |) |) in @@ -2183,10 +2184,12 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| src_pre_wrap_len |)) - (M.read (| dst_pre_wrap_len |))) + UnOp.not (| + BinOp.gt (| + M.read (| src_pre_wrap_len |), + M.read (| dst_pre_wrap_len |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2218,10 +2221,10 @@ Module collections. |) in let~ delta := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| src_pre_wrap_len |)) - (M.read (| dst_pre_wrap_len |)) + BinOp.Wrap.sub (| + M.read (| src_pre_wrap_len |), + M.read (| dst_pre_wrap_len |) + |) |) in let~ _ := M.alloc (| @@ -2235,12 +2238,12 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| delta |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| src_pre_wrap_len |)) + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| src_pre_wrap_len |) + |) ] |) |) in @@ -2256,9 +2259,8 @@ Module collections. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -2267,9 +2269,10 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.read (| delta |)); - Value.Integer 0; + |), + M.read (| delta |) + |); + Value.Integer IntegerKind.Usize 0; M.read (| delta |) ] |) @@ -2297,7 +2300,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrap_copy : @@ -2348,17 +2351,17 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| src |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -2368,7 +2371,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2397,17 +2402,17 @@ Module collections. |) in let~ head_room := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) - (M.read (| dst |)) + |), + M.read (| dst |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -2417,16 +2422,17 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| src |) ] - |)) - (M.read (| head_room |)) + |), + M.read (| head_room |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -2584,7 +2590,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_slice : @@ -2666,10 +2672,10 @@ Module collections. |), [ M.read (| self |); - BinOp.Wrap.add - Integer.Usize - (M.read (| dst |)) - (M.read (| i |)); + BinOp.Wrap.add (| + M.read (| dst |), + M.read (| i |) + |); M.read (| element |) ] |) @@ -2678,23 +2684,23 @@ Module collections. let β := M.read (| written |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_iter : @@ -2751,23 +2757,23 @@ Module collections. M.read (| let~ head_room := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) - (M.read (| dst |)) + |), + M.read (| dst |) + |) |) in let~ guard := M.alloc (| Value.StructRecord "alloc::collections::vec_deque::write_iter_wrapping::Guard" - [ ("deque", M.read (| self |)); ("written", Value.Integer 0) ] + [ ("deque", M.read (| self |)); ("written", Value.Integer IntegerKind.Usize 0) ] |) in let~ _ := M.match_operator (| @@ -2778,7 +2784,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| head_room |)) (M.read (| len |)) + BinOp.ge (| M.read (| head_room |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2883,7 +2889,7 @@ Module collections. "deque" |) |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| iter |); M.SubPointer.get_struct_record_field (| guard, @@ -2902,7 +2908,7 @@ Module collections. "written" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_iter_wrapping : @@ -2995,10 +3001,12 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.read (| new_capacity |)) - (M.read (| old_capacity |))) + UnOp.not (| + BinOp.ge (| + M.read (| new_capacity |), + M.read (| old_capacity |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3034,24 +3042,25 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| old_capacity |)) - (M.read (| + |), + BinOp.Wrap.sub (| + M.read (| old_capacity |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3060,29 +3069,29 @@ Module collections. ltac:(M.monadic (let~ head_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| old_capacity |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| old_capacity |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) + |) + |) |) in let~ tail_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.read (| head_len |)) + |), + M.read (| head_len |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3093,16 +3102,15 @@ Module collections. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt - (M.read (| head_len |)) - (M.read (| tail_len |)), + BinOp.gt (| M.read (| head_len |), M.read (| tail_len |) |), ltac:(M.monadic - (BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.Usize - (M.read (| new_capacity |)) - (M.read (| old_capacity |))) - (M.read (| tail_len |)))) + (BinOp.ge (| + BinOp.Wrap.sub (| + M.read (| new_capacity |), + M.read (| old_capacity |) + |), + M.read (| tail_len |) + |))) |) |)) in let _ := @@ -3122,7 +3130,7 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| old_capacity |); M.read (| tail_len |) ] @@ -3133,10 +3141,10 @@ Module collections. ltac:(M.monadic (let~ new_head := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| new_capacity |)) - (M.read (| head_len |)) + BinOp.Wrap.sub (| + M.read (| new_capacity |), + M.read (| head_len |) + |) |) in let~ _ := let~ _ := @@ -3196,17 +3204,17 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.lt - (M.read (| + UnOp.not (| + LogicalOp.or (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -3216,10 +3224,11 @@ Module collections. [] |), [ M.read (| self |) ] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.call_closure (| + (BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -3229,9 +3238,11 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - |)) + |), + Value.Integer IntegerKind.Usize 0 + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3260,7 +3271,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_handle_capacity_increase : @@ -3280,8 +3291,8 @@ Module collections. Value.StructRecord "alloc::collections::vec_deque::VecDeque" [ - ("head", Value.Integer 0); - ("len", Value.Integer 0); + ("head", Value.Integer IntegerKind.Usize 0); + ("len", Value.Integer IntegerKind.Usize 0); ("buf", M.call_closure (| M.get_associated_function (| @@ -3292,7 +3303,7 @@ Module collections. [ M.read (| alloc |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -3314,8 +3325,8 @@ Module collections. Value.StructRecord "alloc::collections::vec_deque::VecDeque" [ - ("head", Value.Integer 0); - ("len", Value.Integer 0); + ("head", Value.Integer IntegerKind.Usize 0); + ("len", Value.Integer IntegerKind.Usize 0); ("buf", M.call_closure (| M.get_associated_function (| @@ -3326,7 +3337,7 @@ Module collections. [ M.read (| capacity |); M.read (| alloc |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity_in : @@ -3382,22 +3393,24 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| initialized, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| initialized, "core::ops::range::Range", "end" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3442,16 +3455,18 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| initialized, "core::ops::range::Range", "end" |) - |)) - (M.read (| capacity |))) + |), + M.read (| capacity |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3522,7 +3537,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_contiguous_raw_parts_in : @@ -3558,15 +3573,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| index |)) - (M.read (| + BinOp.lt (| + M.read (| index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ idx := @@ -3612,7 +3628,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : @@ -3645,15 +3661,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| index |)) - (M.read (| + BinOp.lt (| + M.read (| index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ idx := @@ -3699,7 +3716,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -3733,10 +3750,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| i |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| i |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -3745,7 +3762,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3769,10 +3788,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| j |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| j |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -3781,7 +3800,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3854,7 +3875,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : @@ -3903,7 +3924,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_capacity : @@ -3976,7 +3997,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| new_cap |)) (M.read (| old_cap |)) + BinOp.gt (| M.read (| new_cap |), M.read (| old_cap |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -4020,7 +4041,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve_exact : @@ -4095,7 +4116,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| new_cap |)) (M.read (| old_cap |)) + BinOp.gt (| M.read (| new_cap |), M.read (| old_cap |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -4139,7 +4160,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve : @@ -4292,7 +4313,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| new_cap |)) (M.read (| old_cap |)) + BinOp.gt (| M.read (| new_cap |), M.read (| old_cap |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4409,7 +4430,7 @@ Module collections. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve_exact : @@ -4562,7 +4583,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| new_cap |)) (M.read (| old_cap |)) + BinOp.gt (| M.read (| new_cap |), M.read (| old_cap |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4679,7 +4700,7 @@ Module collections. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve : @@ -4706,12 +4727,12 @@ Module collections. "shrink_to", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to_fit : @@ -4835,8 +4856,8 @@ Module collections. M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) |), ltac:(M.monadic - (BinOp.Pure.le - (M.call_closure (| + (BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -4845,8 +4866,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.read (| target_cap |)))) + |), + M.read (| target_cap |) + |))) |) |)) in let _ := @@ -4876,10 +4898,10 @@ Module collections. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| target_cap |)) - (Value.Integer 1); + BinOp.Wrap.add (| + M.read (| target_cap |), + Value.Integer IntegerKind.Usize 1 + |); M.call_closure (| M.get_associated_function (| Ty.apply @@ -4894,22 +4916,22 @@ Module collections. |) |); M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) + |) + |) |) ] |) @@ -4923,15 +4945,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4942,7 +4965,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4956,15 +4979,16 @@ Module collections. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (M.read (| target_cap |)), + |), + M.read (| target_cap |) + |), ltac:(M.monadic (M.read (| tail_outside |))) |) |)) in @@ -4993,7 +5017,7 @@ Module collections. "head" |) |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -5012,7 +5036,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -5026,15 +5050,16 @@ Module collections. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (M.read (| target_cap |)), + |), + M.read (| target_cap |) + |), ltac:(M.monadic (M.read (| tail_outside |))) |) |)) in @@ -5045,25 +5070,25 @@ Module collections. |) in let~ len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |))) - (M.read (| target_cap |)) + |) + |), + M.read (| target_cap |) + |) |) in let~ _ := M.alloc (| @@ -5079,7 +5104,7 @@ Module collections. [ M.read (| self |); M.read (| target_cap |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| len |) ] |) @@ -5095,8 +5120,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -5106,7 +5131,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5115,9 +5141,8 @@ Module collections. |) in let~ head_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -5127,21 +5152,22 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) + |) + |) |) in let~ new_head := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| target_cap |)) - (M.read (| head_len |)) + BinOp.Wrap.sub (| + M.read (| target_cap |), + M.read (| head_len |) + |) |) in let~ _ := let~ _ := @@ -5226,17 +5252,17 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.lt - (M.read (| + UnOp.not (| + LogicalOp.or (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -5246,10 +5272,11 @@ Module collections. [] |), [ M.read (| self |) ] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.call_closure (| + (BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -5259,9 +5286,11 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - |)) + |), + Value.Integer IntegerKind.Usize 0 + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5306,16 +5335,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -5325,7 +5354,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5355,7 +5386,7 @@ Module collections. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to : @@ -5426,15 +5457,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| len |)) - (M.read (| + BinOp.ge (| + M.read (| len |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5470,16 +5502,17 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| len |)) - (M.call_closure (| + BinOp.gt (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| front |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5488,17 +5521,17 @@ Module collections. |) in let~ begin := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| front |) ] - |)) + |) + |) |) in let~ drop_back := M.copy (| @@ -5602,7 +5635,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_truncate : @@ -5634,7 +5667,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -5702,7 +5735,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -5772,7 +5805,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_mut : @@ -5850,7 +5883,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slices : @@ -5928,7 +5961,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_slices : @@ -5953,7 +5986,7 @@ Module collections. "len" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -5971,16 +6004,17 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -6056,9 +6090,7 @@ Module collections. let start := M.copy (| γ0_0 |) in let end_ := M.copy (| γ0_1 |) in let~ len := - M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| end_ |)) (M.read (| start |)) - |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -6067,7 +6099,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6079,10 +6114,16 @@ Module collections. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 0) ]; + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 0) + ]; Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 0) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 0) + ] ] |))); fun γ => @@ -6102,9 +6143,8 @@ Module collections. |) in let~ head_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -6113,8 +6153,9 @@ Module collections. [] |), [ M.read (| self |) ] - |)) - (M.read (| wrapped_start |)) + |), + M.read (| wrapped_start |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6124,7 +6165,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| head_len |)) (M.read (| len |)) + BinOp.ge (| M.read (| head_len |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -6139,16 +6180,16 @@ Module collections. [ ("start", M.read (| wrapped_start |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| wrapped_start |)) - (M.read (| len |))) + BinOp.Wrap.add (| + M.read (| wrapped_start |), + M.read (| len |) + |)) ]; Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); - ("end_", Value.Integer 0) + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 0) ] ] |))); @@ -6156,10 +6197,10 @@ Module collections. ltac:(M.monadic (let~ tail_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| head_len |)) + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| head_len |) + |) |) in M.alloc (| Value.Tuple @@ -6184,7 +6225,7 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| tail_len |)) ] ] @@ -6196,7 +6237,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_ranges : @@ -6306,7 +6347,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_range : @@ -6418,7 +6459,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_range_mut : @@ -6514,9 +6555,7 @@ Module collections. let end_ := M.copy (| γ0_1 |) in let~ drain_start := M.copy (| start |) in let~ drain_len := - M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| end_ |)) (M.read (| start |)) - |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) |) in M.alloc (| M.call_closure (| M.get_associated_function (| @@ -6532,7 +6571,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drain : @@ -6561,7 +6600,7 @@ Module collections. "truncate", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0 ] |) |) in let~ _ := @@ -6571,11 +6610,11 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : @@ -6641,7 +6680,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -6665,9 +6704,9 @@ Module collections. "get", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_front : @@ -6691,9 +6730,9 @@ Module collections. "get_mut", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_front_mut : @@ -6729,12 +6768,12 @@ Module collections. "len" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_back : @@ -6770,12 +6809,12 @@ Module collections. "len" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_back_mut : @@ -6845,7 +6884,7 @@ Module collections. "to_physical_idx", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -6857,7 +6896,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -6878,7 +6917,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_front : @@ -6934,7 +6973,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -6976,7 +7015,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_back : @@ -7066,7 +7105,7 @@ Module collections. "head" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -7077,7 +7116,10 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "len" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in let~ _ := M.alloc (| M.call_closure (| @@ -7101,7 +7143,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_front : @@ -7203,10 +7245,13 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "len" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_back : @@ -7225,32 +7270,33 @@ Module collections. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |))))) - | _, _ => M.impossible + |) + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_contiguous : @@ -7296,9 +7342,12 @@ Module collections. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| index |)) (M.read (| length |)), + BinOp.lt (| M.read (| index |), M.read (| length |) |), ltac:(M.monadic - (BinOp.Pure.ne (M.read (| index |)) (Value.Integer 0))) + (BinOp.ne (| + M.read (| index |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -7313,7 +7362,11 @@ Module collections. "swap", [] |), - [ M.read (| self |); M.read (| index |); Value.Integer 0 ] + [ + M.read (| self |); + M.read (| index |); + Value.Integer IntegerKind.Usize 0 + ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -7327,7 +7380,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| index |)) (M.read (| length |)) + BinOp.ge (| M.read (| index |), M.read (| length |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -7360,7 +7413,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_remove_front : @@ -7406,14 +7459,18 @@ Module collections. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| length |)) (Value.Integer 0), + BinOp.gt (| + M.read (| length |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| index |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| length |)) - (Value.Integer 1)))) + (BinOp.lt (| + M.read (| index |), + BinOp.Wrap.sub (| + M.read (| length |), + Value.Integer IntegerKind.Usize 1 + |) + |))) |) |)) in let _ := @@ -7431,10 +7488,10 @@ Module collections. [ M.read (| self |); M.read (| index |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| length |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| length |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -7449,7 +7506,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| index |)) (M.read (| length |)) + BinOp.ge (| M.read (| index |), M.read (| length |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -7482,7 +7539,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_remove_back : @@ -7536,10 +7593,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| index |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| index |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -7548,7 +7605,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7620,16 +7679,16 @@ Module collections. |) in let~ k := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.read (| index |)) + |), + M.read (| index |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7637,7 +7696,7 @@ Module collections. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| k |)) (M.read (| index |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| k |), M.read (| index |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -7669,10 +7728,10 @@ Module collections. |), [ M.read (| self |); - BinOp.Wrap.add - Integer.Usize - (M.read (| index |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| index |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| k |) @@ -7712,7 +7771,7 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -7747,7 +7806,7 @@ Module collections. "head" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -7806,13 +7865,13 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -7865,15 +7924,16 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.read (| index |)) + |), + M.read (| index |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7915,19 +7975,19 @@ Module collections. |) in let~ k := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.read (| index |))) - (Value.Integer 1) + |), + M.read (| index |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -7937,9 +7997,7 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| - BinOp.Pure.lt (M.read (| k |)) (M.read (| index |)) - |)) in + (M.alloc (| BinOp.lt (| M.read (| k |), M.read (| index |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -7962,7 +8020,10 @@ Module collections. "wrap_add", [] |), - [ M.read (| self |); M.read (| wrapped_idx |); Value.Integer 1 + [ + M.read (| self |); + M.read (| wrapped_idx |); + Value.Integer IntegerKind.Usize 1 ] |); M.read (| wrapped_idx |); @@ -7979,7 +8040,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -8007,7 +8071,7 @@ Module collections. "to_physical_idx", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -8043,7 +8107,10 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -8051,7 +8118,7 @@ Module collections. elem |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : @@ -8131,7 +8198,7 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.le (M.read (| at_ |)) (M.read (| len |))) + UnOp.not (| BinOp.le (| M.read (| at_ |), M.read (| len |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8163,7 +8230,7 @@ Module collections. ] |) in let~ other_len := - M.alloc (| BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| at_ |)) |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| len |), M.read (| at_ |) |) |) in let~ other := M.alloc (| M.call_closure (| @@ -8239,7 +8306,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| at_ |)) (M.read (| first_len |)) + BinOp.lt (| M.read (| at_ |), M.read (| first_len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -8248,10 +8315,7 @@ Module collections. |) in let~ amount_in_first := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| first_len |)) - (M.read (| at_ |)) + BinOp.Wrap.sub (| M.read (| first_len |), M.read (| at_ |) |) |) in let~ _ := M.alloc (| @@ -8339,17 +8403,14 @@ Module collections. ltac:(M.monadic (let~ offset := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| at_ |)) - (M.read (| first_len |)) + BinOp.Wrap.sub (| M.read (| at_ |), M.read (| first_len |) |) |) in let~ amount_in_second := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| second_len |)) - (M.read (| offset |)) + BinOp.Wrap.sub (| + M.read (| second_len |), + M.read (| offset |) + |) |) in let~ _ := M.alloc (| @@ -8416,7 +8477,7 @@ Module collections. |) in other |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off : @@ -8521,7 +8582,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "len" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| @@ -8530,7 +8591,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.return_ (| Value.Tuple [] |) |) @@ -8635,23 +8696,23 @@ Module collections. |), [ M.read (| self |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| left |) ] - |)) + |) + |) ] |); M.read (| right |) @@ -8670,16 +8731,16 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) + |) + |) |) in let~ _ := M.write (| @@ -8688,7 +8749,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "len" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| @@ -8697,12 +8758,12 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append : @@ -8763,14 +8824,14 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain : @@ -8828,8 +8889,8 @@ Module collections. "len" |) |) in - let~ idx := M.alloc (| Value.Integer 0 |) in - let~ cur := M.alloc (| Value.Integer 0 |) in + let~ idx := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ cur := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -8840,9 +8901,7 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| - BinOp.Pure.lt (M.read (| cur |)) (M.read (| len |)) - |)) in + (M.alloc (| BinOp.lt (| M.read (| cur |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -8854,8 +8913,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -8882,7 +8941,8 @@ Module collections. |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8896,10 +8956,10 @@ Module collections. let β := cur in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.break (||) |) @@ -8912,13 +8972,19 @@ Module collections. let β := cur in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let β := idx in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -8945,9 +9011,7 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| - BinOp.Pure.lt (M.read (| cur |)) (M.read (| len |)) - |)) in + (M.alloc (| BinOp.lt (| M.read (| cur |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -8959,8 +9023,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -8987,7 +9051,8 @@ Module collections. |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9001,10 +9066,10 @@ Module collections. let β := cur in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.continue (||) |) @@ -9030,13 +9095,19 @@ Module collections. let β := cur in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let β := idx in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -9059,7 +9130,7 @@ Module collections. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| cur |)) (M.read (| idx |)) |)) in + M.use (M.alloc (| BinOp.ne (| M.read (| cur |), M.read (| idx |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -9077,7 +9148,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain_mut : @@ -9122,8 +9193,8 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -9132,7 +9203,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9218,9 +9290,9 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -9230,7 +9302,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9258,7 +9332,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_grow : @@ -9300,7 +9374,7 @@ Module collections. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| new_len |)) (M.read (| len |)) |)) in + (M.alloc (| BinOp.gt (| M.read (| new_len |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -9339,10 +9413,7 @@ Module collections. |), [ M.read (| generator |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| new_len |)) - (M.read (| len |)) + BinOp.Wrap.sub (| M.read (| new_len |), M.read (| len |) |) ] |) ] @@ -9365,7 +9436,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_resize_with : @@ -9526,7 +9597,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -9654,19 +9725,14 @@ Module collections. |) |) in let~ free := - M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| cap |)) (M.read (| len |)) - |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| cap |), M.read (| len |) |) |) in let~ head_len := M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| cap |)) (M.read (| head |)) + BinOp.Wrap.sub (| M.read (| cap |), M.read (| head |) |) |) in let~ tail := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| head_len |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| head_len |) |) |) in let~ tail_len := M.copy (| tail |) in let~ _ := @@ -9678,7 +9744,7 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| free |)) (M.read (| head_len |)) + BinOp.ge (| M.read (| free |), M.read (| head_len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -9698,7 +9764,7 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| head_len |); M.read (| tail_len |) ] @@ -9717,7 +9783,7 @@ Module collections. [ M.read (| self |); M.read (| head |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| head_len |) ] |) @@ -9730,7 +9796,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -9743,9 +9809,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| free |)) - (M.read (| tail_len |)) + BinOp.ge (| + M.read (| free |), + M.read (| tail_len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9785,11 +9852,11 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; - BinOp.Wrap.add - Integer.Usize - (M.read (| tail |)) - (M.read (| head_len |)); + Value.Integer IntegerKind.Usize 0; + BinOp.Wrap.add (| + M.read (| tail |), + M.read (| head_len |) + |); M.read (| tail_len |) ] |) @@ -9815,9 +9882,10 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| head_len |)) - (M.read (| tail_len |)) + BinOp.gt (| + M.read (| head_len |), + M.read (| tail_len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9833,9 +9901,12 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| free |)) - (Value.Integer 0) + BinOp.ne (| + M.read (| free |), + Value.Integer + IntegerKind.Usize + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9855,7 +9926,9 @@ Module collections. |), [ M.read (| self |); - Value.Integer 0; + Value.Integer + IntegerKind.Usize + 0; M.read (| free |); M.read (| tail_len |) ] @@ -9935,9 +10008,12 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| free |)) - (Value.Integer 0) + BinOp.ne (| + M.read (| free |), + Value.Integer + IntegerKind.Usize + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9991,7 +10067,10 @@ Module collections. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer + IntegerKind.Usize + 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -10025,7 +10104,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))) ] @@ -10069,7 +10148,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_contiguous : @@ -10104,10 +10183,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| n |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| n |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -10116,7 +10195,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10133,16 +10214,16 @@ Module collections. |) in let~ k := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10150,7 +10231,7 @@ Module collections. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| n |)) (M.read (| k |)) |)) in + M.use (M.alloc (| BinOp.le (| M.read (| n |), M.read (| k |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -10177,7 +10258,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : @@ -10212,10 +10293,10 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| n |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| n |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -10224,7 +10305,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10241,16 +10324,16 @@ Module collections. |) in let~ k := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10258,7 +10341,7 @@ Module collections. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| n |)) (M.read (| k |)) |)) in + M.use (M.alloc (| BinOp.le (| M.read (| n |), M.read (| k |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -10285,7 +10368,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -10327,13 +10410,13 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.mul - Integer.Usize - (M.read (| mid |)) - (Value.Integer 2)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.mul (| + M.read (| mid |), + Value.Integer IntegerKind.Usize 2 + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -10343,7 +10426,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10427,7 +10512,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left_inner : @@ -10469,13 +10554,13 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.mul - Integer.Usize - (M.read (| k |)) - (Value.Integer 2)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.mul (| + M.read (| k |), + Value.Integer IntegerKind.Usize 2 + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -10485,7 +10570,9 @@ Module collections. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10577,7 +10664,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right_inner : @@ -10629,11 +10716,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_binary_search : @@ -10731,7 +10818,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -10828,10 +10915,9 @@ Module collections. fun γ => ltac:(M.monadic (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -10840,10 +10926,12 @@ Module collections. [] |), [ M.read (| front |) ] - |)))) + |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |); @@ -10859,10 +10947,9 @@ Module collections. fun γ => ltac:(M.monadic (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -10871,10 +10958,11 @@ Module collections. [] |), [ M.read (| front |) ] - |)))) + |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -10898,7 +10986,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_binary_search_by : @@ -10966,11 +11054,11 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_binary_search_by_key : @@ -11073,7 +11161,7 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -11090,24 +11178,24 @@ Module collections. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "partition_point", [ P ] |), [ M.read (| back |); M.read (| pred |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| front |) ] - |)) + |) + |) |))); fun γ => ltac:(M.monadic @@ -11126,7 +11214,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_partition_point : @@ -11159,9 +11247,9 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_len |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -11170,15 +11258,15 @@ Module collections. [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ extra := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| new_len |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| new_len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -11187,7 +11275,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) + |) + |) |) in M.alloc (| M.call_closure (| @@ -11224,7 +11313,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_resize : @@ -11252,11 +11341,11 @@ Module collections. (Value.StructRecord "alloc::collections::vec_deque::VecDeque" [ - ("head", Value.Integer 0); - ("len", Value.Integer 0); + ("head", Value.Integer IntegerKind.Usize 0); + ("len", Value.Integer IntegerKind.Usize 0); ("buf", M.read (| M.get_constant (| "alloc::raw_vec::NEW" |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -11284,7 +11373,7 @@ Module collections. |), [ M.read (| capacity |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity : @@ -11328,31 +11417,36 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| + UnOp.not (| + LogicalOp.or (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| logical_index |)) - (Value.Integer 0), + BinOp.eq (| + M.read (| logical_index |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| capacity |)) - (Value.Integer 0))) + (BinOp.eq (| + M.read (| capacity |), + Value.Integer IntegerKind.Usize 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| logical_index |)) - (M.read (| capacity |)))) + (BinOp.lt (| + M.read (| logical_index |), + M.read (| capacity |) + |))) |), ltac:(M.monadic - (BinOp.Pure.lt - (BinOp.Wrap.sub - Integer.Usize - (M.read (| logical_index |)) - (M.read (| capacity |))) - (M.read (| capacity |)))) - |)) + (BinOp.lt (| + BinOp.Wrap.sub (| + M.read (| logical_index |), + M.read (| capacity |) + |), + M.read (| capacity |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11388,20 +11482,17 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| logical_index |)) (M.read (| capacity |)) + BinOp.ge (| M.read (| logical_index |), M.read (| capacity |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| logical_index |)) - (M.read (| capacity |)) + BinOp.Wrap.sub (| M.read (| logical_index |), M.read (| capacity |) |) |))); fun γ => ltac:(M.monadic logical_index) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_wrap_index : M.IsFunction "alloc::collections::vec_deque::wrap_index" wrap_index. @@ -11466,15 +11557,15 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::collections::vec_deque::VecDeque") @@ -11483,7 +11574,8 @@ Module collections. [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -11539,23 +11631,24 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| sa |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| oa |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11609,23 +11702,24 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| sa |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| oa |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11645,17 +11739,17 @@ Module collections. |) in let~ mid := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| oa |) ] - |)) - (M.read (| front |)) + |), + M.read (| front |) + |) |) in M.match_operator (| M.alloc (| @@ -11803,18 +11897,20 @@ Module collections. γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := @@ -11977,18 +12073,20 @@ Module collections. γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := @@ -12151,18 +12249,20 @@ Module collections. γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := @@ -12336,17 +12436,17 @@ Module collections. |) in let~ mid := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| sa |) ] - |)) - (M.read (| front |)) + |), + M.read (| front |) + |) |) in M.match_operator (| M.alloc (| @@ -12494,18 +12594,20 @@ Module collections. γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := @@ -12668,18 +12770,20 @@ Module collections. γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := @@ -12842,18 +12946,20 @@ Module collections. γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := @@ -13022,7 +13128,7 @@ Module collections. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13090,7 +13196,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13145,7 +13251,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13240,14 +13346,14 @@ Module collections. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13296,7 +13402,7 @@ Module collections. M.read (| Value.String "Out of bounds access" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13344,7 +13450,7 @@ Module collections. M.read (| Value.String "Out of bounds access" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13396,7 +13502,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13438,7 +13544,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13487,7 +13593,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13536,7 +13642,7 @@ Module collections. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13597,7 +13703,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13626,7 +13732,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13655,7 +13761,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13716,7 +13822,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13754,7 +13860,7 @@ Module collections. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13783,7 +13889,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13855,7 +13961,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13910,7 +14016,7 @@ Module collections. Value.StructRecord "alloc::collections::vec_deque::VecDeque" [ - ("head", Value.Integer 0); + ("head", Value.Integer IntegerKind.Usize 0); ("len", M.read (| len |)); ("buf", M.call_closure (| @@ -13926,7 +14032,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14114,8 +14220,8 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.call_closure (| M.get_trait_method (| @@ -14136,8 +14242,9 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -14201,7 +14308,7 @@ Module collections. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14277,10 +14384,11 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -14337,7 +14445,7 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "head" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| @@ -14350,7 +14458,7 @@ Module collections. |) in deq |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/vec_deque/spec_extend.v b/CoqOfRust/alloc/collections/vec_deque/spec_extend.v index 557969317..81df5723d 100644 --- a/CoqOfRust/alloc/collections/vec_deque/spec_extend.v +++ b/CoqOfRust/alloc/collections/vec_deque/spec_extend.v @@ -118,7 +118,10 @@ Module collections. "saturating_add", [] |), - [ M.read (| lower |); Value.Integer 1 ] + [ + M.read (| lower |); + Value.Integer IntegerKind.Usize 1 + ] |) ] |) @@ -144,15 +147,15 @@ Module collections. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::collections::vec_deque::VecDeque", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -162,7 +165,8 @@ Module collections. [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -244,7 +248,7 @@ Module collections. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -364,14 +368,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -564,14 +570,16 @@ Module collections. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -674,7 +682,7 @@ Module collections. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -785,17 +793,17 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) in let~ _ := @@ -813,7 +821,7 @@ Module collections. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -870,7 +878,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -977,17 +985,17 @@ Module collections. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/collections/vec_deque/spec_from_iter.v b/CoqOfRust/alloc/collections/vec_deque/spec_from_iter.v index c1ebf76f9..1e0dbf7f5 100644 --- a/CoqOfRust/alloc/collections/vec_deque/spec_from_iter.v +++ b/CoqOfRust/alloc/collections/vec_deque/spec_from_iter.v @@ -53,7 +53,7 @@ Module collections. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92,7 +92,7 @@ Module collections. |), [ M.read (| iterator |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -138,7 +138,7 @@ Module collections. |), [ M.read (| iterator |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/ffi/c_str.v b/CoqOfRust/alloc/ffi/c_str.v index 227e845b5..6768cac63 100644 --- a/CoqOfRust/alloc/ffi/c_str.v +++ b/CoqOfRust/alloc/ffi/c_str.v @@ -64,7 +64,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112,7 +112,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -149,7 +149,7 @@ Module ffi. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -194,7 +194,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -234,7 +234,7 @@ Module ffi. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -280,7 +280,7 @@ Module ffi. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -343,7 +343,7 @@ Module ffi. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -376,21 +376,22 @@ Module ffi. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "alloc::ffi::c_str::NulError", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "alloc::ffi::c_str::NulError", 0 |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -420,7 +421,7 @@ Module ffi. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -464,7 +465,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -513,7 +514,7 @@ Module ffi. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -599,7 +600,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -654,7 +655,7 @@ Module ffi. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -681,9 +682,10 @@ Module ffi. |) in let __arg1_0 := M.alloc (| γ2_0 |) in M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)) + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool true |))) ] @@ -692,7 +694,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -729,7 +731,7 @@ Module ffi. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -800,7 +802,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -872,7 +874,7 @@ Module ffi. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -955,7 +957,7 @@ Module ffi. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -999,7 +1001,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1050,7 +1052,7 @@ Module ffi. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1093,7 +1095,7 @@ Module ffi. Value.StructTuple "core::ops::range::RangeFull" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes : M.IsAssociatedFunction Self "as_bytes" as_bytes. @@ -1115,7 +1117,7 @@ Module ffi. "bytes" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_bytes : M.IsAssociatedFunction Self "into_bytes" into_bytes. @@ -1179,7 +1181,7 @@ Module ffi. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1256,7 +1258,7 @@ Module ffi. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1300,7 +1302,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1351,7 +1353,7 @@ Module ffi. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1439,7 +1441,7 @@ Module ffi. |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1474,8 +1476,8 @@ Module ffi. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -1491,7 +1493,7 @@ Module ffi. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.U8 0; M.call_closure (| M.get_trait_method (| "core::ops::deref::Deref", @@ -1511,7 +1513,8 @@ Module ffi. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1549,7 +1552,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_vec_unchecked : @@ -1578,7 +1581,7 @@ Module ffi. "reserve_exact", [] |), - [ v; Value.Integer 1 ] + [ v; Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -1591,7 +1594,7 @@ Module ffi. "push", [] |), - [ v; Value.Integer 0 ] + [ v; Value.Integer IntegerKind.U8 0 ] |) |) in M.alloc (| @@ -1612,7 +1615,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction__from_vec_unchecked : @@ -1644,13 +1647,13 @@ Module ffi. M.read (| let~ len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_function (| "alloc::ffi::c_str::from_raw::strlen", [] |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| ptr |)) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ slice := M.alloc (| @@ -1680,7 +1683,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw : M.IsAssociatedFunction Self "from_raw" from_raw. @@ -1715,7 +1718,7 @@ Module ffi. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw : M.IsAssociatedFunction Self "into_raw" into_raw. @@ -1805,11 +1808,11 @@ Module ffi. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_string : M.IsAssociatedFunction Self "into_string" into_string. @@ -1878,7 +1881,7 @@ Module ffi. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.U8 0 ] |) ] |), @@ -1897,8 +1900,8 @@ Module ffi. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -1914,7 +1917,8 @@ Module ffi. |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1967,7 +1971,7 @@ Module ffi. |) in vec |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_bytes : M.IsAssociatedFunction Self "into_bytes" into_bytes. @@ -1998,7 +2002,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_bytes_with_nul : @@ -2033,9 +2037,8 @@ Module ffi. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", @@ -2050,12 +2053,13 @@ Module ffi. |) |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes : M.IsAssociatedFunction Self "as_bytes" as_bytes. @@ -2077,7 +2081,7 @@ Module ffi. "inner" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes_with_nul : @@ -2103,7 +2107,7 @@ Module ffi. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_c_str : M.IsAssociatedFunction Self "as_c_str" as_c_str. @@ -2152,7 +2156,7 @@ Module ffi. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_boxed_c_str : @@ -2221,7 +2225,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -2256,11 +2260,10 @@ Module ffi. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -2275,7 +2278,7 @@ Module ffi. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.U8 0; M.call_closure (| M.get_trait_method (| "core::ops::deref::Deref", @@ -2294,9 +2297,10 @@ Module ffi. ] |) ] - |)) - (Value.Integer 1)) - (M.call_closure (| + |), + Value.Integer IntegerKind.Usize 1 + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2305,7 +2309,9 @@ Module ffi. [] |), [ v ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2343,7 +2349,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_vec_with_nul_unchecked : @@ -2374,7 +2380,7 @@ Module ffi. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction__from_vec_with_nul_unchecked : @@ -2411,7 +2417,7 @@ Module ffi. M.call_closure (| M.get_function (| "core::slice::memchr::memchr", [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.U8 0; M.call_closure (| M.get_trait_method (| "core::ops::deref::Deref", @@ -2441,9 +2447,12 @@ Module ffi. let nul_pos := M.copy (| γ0_0 |) in let γ := M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.add Integer.Usize (M.read (| nul_pos |)) (Value.Integer 1)) - (M.call_closure (| + BinOp.eq (| + BinOp.Wrap.add (| + M.read (| nul_pos |), + Value.Integer IntegerKind.Usize 1 + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2452,7 +2461,8 @@ Module ffi. [] |), [ v ] - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2514,7 +2524,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_vec_with_nul : @@ -2553,14 +2563,14 @@ Module ffi. "inner" |) |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |), - Value.Integer 0 + Value.Integer IntegerKind.U8 0 |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2604,7 +2614,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2652,7 +2662,7 @@ Module ffi. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2685,7 +2695,7 @@ Module ffi. |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2736,7 +2746,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2770,7 +2780,7 @@ Module ffi. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2802,7 +2812,7 @@ Module ffi. |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2887,7 +2897,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2971,7 +2981,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3033,7 +3043,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3142,7 +3152,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3189,7 +3199,7 @@ Module ffi. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3224,7 +3234,7 @@ Module ffi. |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3250,7 +3260,7 @@ Module ffi. ltac:(M.monadic (let s := M.alloc (| s |) in Value.StructTuple "alloc::borrow::Cow::Owned" [ M.read (| s |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3276,7 +3286,7 @@ Module ffi. ltac:(M.monadic (let s := M.alloc (| s |) in Value.StructTuple "alloc::borrow::Cow::Borrowed" [ M.read (| s |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3314,7 +3324,7 @@ Module ffi. [ M.read (| s |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3406,7 +3416,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3490,7 +3500,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3582,7 +3592,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3666,7 +3676,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3710,7 +3720,7 @@ Module ffi. "from", [] |), - [ Value.Array [ Value.Integer 0 ] ] + [ Value.Array [ Value.Integer IntegerKind.U8 0 ] ] |) |) in M.alloc (| @@ -3741,7 +3751,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3772,7 +3782,7 @@ Module ffi. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_nul_position : @@ -3791,7 +3801,7 @@ Module ffi. M.read (| M.SubPointer.get_struct_tuple_field (| self, "alloc::ffi::c_str::NulError", 1 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_vec : M.IsAssociatedFunction Self "into_vec" into_vec. @@ -3853,7 +3863,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3990,7 +4000,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4021,7 +4031,7 @@ Module ffi. "inner" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_cstring : @@ -4044,7 +4054,7 @@ Module ffi. "error" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_utf8_error : M.IsAssociatedFunction Self "utf8_error" utf8_error. @@ -4059,7 +4069,7 @@ Module ffi. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "C string contained non-utf8 bytes" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_description : M.IsAssociatedFunction Self "description" description. @@ -4094,7 +4104,7 @@ Module ffi. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4152,7 +4162,7 @@ Module ffi. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4243,7 +4253,7 @@ Module ffi. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4282,7 +4292,7 @@ Module ffi. |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4321,7 +4331,7 @@ Module ffi. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4356,7 +4366,7 @@ Module ffi. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4393,7 +4403,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_string_lossy : @@ -4423,7 +4433,7 @@ Module ffi. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_c_string : @@ -4444,7 +4454,7 @@ Module ffi. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "nul byte found in data" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4480,7 +4490,7 @@ Module ffi. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "C string contained non-utf8 bytes" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4504,7 +4514,7 @@ Module ffi. "error" |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/fmt.v b/CoqOfRust/alloc/fmt.v index 75dc14eb4..31f0e785e 100644 --- a/CoqOfRust/alloc/fmt.v +++ b/CoqOfRust/alloc/fmt.v @@ -51,12 +51,12 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_trait_method (| "alloc::borrow::ToOwned", Ty.path "str", [], "to_owned", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_format : M.IsFunction "alloc::fmt::format" format. @@ -125,7 +125,7 @@ Module fmt. |) in output |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_format_inner : M.IsFunction "alloc::fmt::format::format_inner" format_inner. diff --git a/CoqOfRust/alloc/raw_vec.v b/CoqOfRust/alloc/raw_vec.v index 80cce540f..7a1cba26d 100644 --- a/CoqOfRust/alloc/raw_vec.v +++ b/CoqOfRust/alloc/raw_vec.v @@ -77,7 +77,7 @@ Module raw_vec. |), [ Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -101,7 +101,7 @@ Module raw_vec. |), [ M.read (| capacity |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity : @@ -127,7 +127,7 @@ Module raw_vec. |), [ M.read (| capacity |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity_zeroed : @@ -160,15 +160,13 @@ Module raw_vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| - M.get_function (| "core::mem::size_of", [ T ] |), - [] - |)) - (Value.Integer 1) + BinOp.eq (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 8 |))); + M.alloc (| Value.Integer IntegerKind.Usize 8 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -179,17 +177,18 @@ Module raw_vec. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (Value.Integer 1024) + |), + Value.Integer IntegerKind.Usize 1024 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 4 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.Usize 4 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 1 |))) ] |))) ] @@ -223,10 +222,10 @@ Module raw_vec. |), [] |)); - ("cap", Value.Integer 0); + ("cap", Value.Integer IntegerKind.Usize 0); ("alloc", M.read (| alloc |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -257,7 +256,7 @@ Module raw_vec. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity_in : @@ -288,7 +287,7 @@ Module raw_vec. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity_zeroed_in : @@ -335,17 +334,19 @@ Module raw_vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| len |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "capacity", [] |), [ self ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -476,7 +477,7 @@ Module raw_vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_box : @@ -541,7 +542,10 @@ Module raw_vec. M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| capacity |)) (Value.Integer 0))) + (BinOp.eq (| + M.read (| capacity |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -762,7 +766,7 @@ Module raw_vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_in : @@ -797,7 +801,7 @@ Module raw_vec. ("cap", M.read (| capacity |)); ("alloc", M.read (| alloc |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_parts_in : @@ -831,7 +835,7 @@ Module raw_vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ptr : @@ -869,7 +873,7 @@ Module raw_vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_capacity : @@ -892,7 +896,7 @@ Module raw_vec. "alloc::raw_vec::RawVec", "alloc" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -938,15 +942,16 @@ Module raw_vec. M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::raw_vec::RawVec", "cap" |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1047,7 +1052,7 @@ Module raw_vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_current_memory : @@ -1113,7 +1118,7 @@ Module raw_vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve : @@ -1144,14 +1149,14 @@ Module raw_vec. "grow_amortized", [] |), - [ M.read (| self |); M.read (| len |); Value.Integer 1 ] + [ M.read (| self |); M.read (| len |); Value.Integer IntegerKind.Usize 1 ] |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve_for_push : @@ -1290,15 +1295,16 @@ Module raw_vec. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "needs_to_grow", [] |), [ M.read (| self |); M.read (| len |); M.read (| additional |) ] - |)) + |) + |) ] |) |) in @@ -1306,7 +1312,7 @@ Module raw_vec. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve : @@ -1345,7 +1351,7 @@ Module raw_vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve_exact : @@ -1488,15 +1494,16 @@ Module raw_vec. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "needs_to_grow", [] |), [ M.read (| self |); M.read (| len |); M.read (| additional |) ] - |)) + |) + |) ] |) |) in @@ -1504,7 +1511,7 @@ Module raw_vec. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve_exact : @@ -1542,7 +1549,7 @@ Module raw_vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to_fit : @@ -1561,9 +1568,9 @@ Module raw_vec. (let self := M.alloc (| self |) in let len := M.alloc (| len |) in let additional := M.alloc (| additional |) in - BinOp.Pure.gt - (M.read (| additional |)) - (M.call_closure (| + BinOp.gt (| + M.read (| additional |), + M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_sub", [] |), [ M.call_closure (| @@ -1576,8 +1583,9 @@ Module raw_vec. |); M.read (| len |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_needs_to_grow : @@ -1649,7 +1657,7 @@ Module raw_vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_ptr_and_cap : @@ -1712,10 +1720,12 @@ Module raw_vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| additional |)) - (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| + M.read (| additional |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1877,16 +1887,16 @@ Module raw_vec. M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "usize" ] |), [ - BinOp.Wrap.mul - Integer.Usize - (M.read (| + BinOp.Wrap.mul (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::raw_vec::RawVec", "cap" |) - |)) - (Value.Integer 2); + |), + Value.Integer IntegerKind.Usize 2 + |); M.read (| required_cap |) ] |) @@ -2021,7 +2031,7 @@ Module raw_vec. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_grow_amortized : @@ -2307,7 +2317,7 @@ Module raw_vec. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_grow_exact : @@ -2363,17 +2373,19 @@ Module raw_vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| cap |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| cap |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2467,7 +2479,10 @@ Module raw_vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| cap |)) (Value.Integer 0) + BinOp.eq (| + M.read (| cap |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2520,7 +2535,7 @@ Module raw_vec. "alloc::raw_vec::RawVec", "cap" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2666,8 +2681,8 @@ Module raw_vec. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -2760,7 +2775,7 @@ Module raw_vec. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink : @@ -2859,7 +2874,7 @@ Module raw_vec. [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3078,12 +3093,12 @@ Module raw_vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| - M.read (| right_val |) - |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3134,23 +3149,24 @@ Module raw_vec. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "align", [] |), [ old_layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "align", [] |), [ new_layout ] - |)) + |) + |) ] |) |) in @@ -3233,14 +3249,14 @@ Module raw_vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_finish_grow : M.IsFunction "alloc::raw_vec::finish_grow" finish_grow. @@ -3306,7 +3322,7 @@ Module raw_vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3372,7 +3388,7 @@ Module raw_vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3422,7 +3438,7 @@ Module raw_vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_handle_reserve : M.IsFunction "alloc::raw_vec::handle_reserve" handle_reserve. @@ -3451,13 +3467,15 @@ Module raw_vec. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 64), + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 64 + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| alloc_size |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))))) + (BinOp.gt (| + M.read (| alloc_size |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3487,7 +3505,7 @@ Module raw_vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_alloc_guard : M.IsFunction "alloc::raw_vec::alloc_guard" alloc_guard. @@ -3514,7 +3532,7 @@ Module raw_vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_capacity_overflow : diff --git a/CoqOfRust/alloc/rc.v b/CoqOfRust/alloc/rc.v index 5d4738f3b..aaf9546e2 100644 --- a/CoqOfRust/alloc/rc.v +++ b/CoqOfRust/alloc/rc.v @@ -72,7 +72,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_rcbox_layout_for_value_layout : @@ -193,7 +193,7 @@ Module rc. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_inner : @@ -230,7 +230,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : @@ -310,7 +310,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("weak", M.call_closure (| @@ -319,7 +319,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("value", M.read (| value |)) ] @@ -331,7 +331,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -450,7 +450,7 @@ Module rc. "new", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] |)); ("weak", M.call_closure (| @@ -459,7 +459,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("value", M.call_closure (| @@ -588,7 +588,8 @@ Module rc. let~ _ := M.match_operator (| M.alloc (| - Value.Tuple [ prev_value; M.alloc (| Value.Integer 0 |) ] + Value.Tuple + [ prev_value; M.alloc (| Value.Integer IntegerKind.Usize 0 |) ] |), [ fun γ => @@ -605,10 +606,12 @@ Module rc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -687,7 +690,7 @@ Module rc. "alloc::rc::RcBox", "strong" |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -714,7 +717,7 @@ Module rc. |) in strong |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_cyclic : @@ -816,7 +819,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -831,7 +834,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit : @@ -933,7 +936,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -948,7 +951,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed : @@ -1058,7 +1061,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("weak", M.call_closure (| @@ -1069,7 +1072,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("value", M.read (| value |)) ] @@ -1141,7 +1144,7 @@ Module rc. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new : @@ -1285,7 +1288,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1370,7 +1373,7 @@ Module rc. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_uninit : @@ -1514,7 +1517,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1599,7 +1602,7 @@ Module rc. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_zeroed : @@ -1636,7 +1639,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pin : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "pin" (pin T). @@ -1659,7 +1662,7 @@ Module rc. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw : @@ -1685,7 +1688,7 @@ Module rc. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_increment_strong_count : @@ -1711,7 +1714,7 @@ Module rc. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decrement_strong_count : @@ -1797,13 +1800,13 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_for_layout : @@ -2023,8 +2026,8 @@ Module rc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.path "core::alloc::layout::Layout", @@ -2036,7 +2039,8 @@ Module rc. M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2102,7 +2106,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) ] |) @@ -2126,7 +2130,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) ] |) @@ -2135,7 +2139,7 @@ Module rc. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| inner |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_allocate_for_layout : @@ -2169,7 +2173,7 @@ Module rc. |), [ M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::rc::Rc", "ptr" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inner : @@ -2195,7 +2199,7 @@ Module rc. ("phantom", Value.StructTuple "core::marker::PhantomData" []); ("alloc", M.read (| alloc |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_inner_in : @@ -2234,7 +2238,7 @@ Module rc. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr_in : @@ -2252,7 +2256,7 @@ Module rc. ltac:(M.monadic (let this := M.alloc (| this |) in M.SubPointer.get_struct_record_field (| M.read (| this |), "alloc::rc::Rc", "alloc" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -2319,7 +2323,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -2419,7 +2423,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -2435,7 +2439,7 @@ Module rc. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_in : @@ -2535,7 +2539,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -2551,7 +2555,7 @@ Module rc. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_in : @@ -2632,7 +2636,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("weak", M.call_closure (| @@ -2643,7 +2647,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("value", M.read (| value |)) ]; @@ -2752,7 +2756,7 @@ Module rc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_in : @@ -2890,7 +2894,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -2976,7 +2980,7 @@ Module rc. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_uninit_in : @@ -3114,7 +3118,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -3200,7 +3204,7 @@ Module rc. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_zeroed_in : @@ -3236,7 +3240,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pin_in : @@ -3279,16 +3283,17 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::rc::Rc") [ T; A ], "strong_count", [] |), [ this ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ val := @@ -3381,7 +3386,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_unwrap : @@ -3418,7 +3423,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -3461,7 +3466,7 @@ Module rc. |) in ptr |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw : @@ -3516,7 +3521,7 @@ Module rc. |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -3571,7 +3576,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_in : @@ -3635,9 +3640,9 @@ Module rc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_function (| "alloc::rc::is_dangling", [ Ty.apply (Ty.path "alloc::rc::RcBox") [ T ] ] @@ -3662,7 +3667,9 @@ Module rc. ] |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3715,7 +3722,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downgrade : @@ -3733,9 +3740,8 @@ Module rc. | [], [ this ] => ltac:(M.monadic (let this := M.alloc (| this |) in - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Ty.apply (Ty.path "alloc::rc::RcBox") [ T ], @@ -3753,9 +3759,10 @@ Module rc. [ M.read (| this |) ] |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_weak_count : @@ -3792,7 +3799,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_strong_count : @@ -3857,7 +3864,7 @@ Module rc. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_increment_strong_count_in : @@ -3898,7 +3905,7 @@ Module rc. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decrement_strong_count_in : @@ -3917,29 +3924,31 @@ Module rc. ltac:(M.monadic (let this := M.alloc (| this |) in LogicalOp.and (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::rc::Rc") [ T; A ], "weak_count", [] |), [ M.read (| this |) ] - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.call_closure (| + (BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::rc::Rc") [ T; A ], "strong_count", [] |), [ M.read (| this |) ] - |)) - (Value.Integer 1))) + |), + Value.Integer IntegerKind.Usize 1 + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unique : @@ -3995,7 +4004,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -4037,7 +4046,7 @@ Module rc. "alloc::rc::RcBox", "value" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_unchecked : @@ -4107,7 +4116,7 @@ Module rc. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ptr_eq : @@ -4162,16 +4171,17 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::rc::Rc") [ T; A ], "strong_count", [] |), [ M.read (| this |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ rc := @@ -4268,16 +4278,17 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::rc::Rc") [ T; A ], "weak_count", [] |), [ M.read (| this |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4359,7 +4370,7 @@ Module rc. |), [ M.read (| this |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -4463,7 +4474,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_mut : @@ -4527,11 +4538,11 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or_clone : @@ -4609,7 +4620,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -4633,11 +4644,11 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_for_ptr_in : @@ -4786,7 +4797,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_box_in : @@ -4844,7 +4855,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_slice : @@ -4972,7 +4983,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -5006,13 +5017,13 @@ Module rc. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_slice : @@ -5109,7 +5120,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -5143,11 +5154,11 @@ Module rc. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_for_slice : @@ -5232,7 +5243,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_from_slice : @@ -5348,7 +5359,7 @@ Module rc. |)); ("elems", M.read (| elems |)); ("layout", M.read (| layout |)); - ("n_elems", Value.Integer 0) + ("n_elems", Value.Integer IntegerKind.Usize 0) ] |) in let~ _ := @@ -5447,10 +5458,10 @@ Module rc. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -5482,7 +5493,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_iter_exact : @@ -5538,7 +5549,7 @@ Module rc. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_slice_in : @@ -5667,7 +5678,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -5701,14 +5712,14 @@ Module rc. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_slice_in : @@ -5803,7 +5814,7 @@ Module rc. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -5837,11 +5848,11 @@ Module rc. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_for_slice_in : @@ -5970,7 +5981,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init : @@ -6125,7 +6136,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init : @@ -6268,7 +6279,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : @@ -6345,7 +6356,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_unchecked : @@ -6411,7 +6422,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6450,7 +6461,7 @@ Module rc. |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6491,7 +6502,7 @@ Module rc. "alloc::rc::RcBox", "value" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6576,8 +6587,8 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Ty.apply (Ty.path "alloc::rc::RcBox") [ T ], @@ -6595,8 +6606,9 @@ Module rc. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -6645,8 +6657,8 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Ty.apply (Ty.path "alloc::rc::RcBox") [ T ], @@ -6664,8 +6676,9 @@ Module rc. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6739,7 +6752,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6820,7 +6833,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6859,7 +6872,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6914,7 +6927,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6954,7 +6967,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7033,7 +7046,7 @@ Module rc. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7049,15 +7062,16 @@ Module rc. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::rc::Rc") [ T; A ], "ptr_eq", [] |), [ M.read (| self |); M.read (| other |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", T, [ T ], "ne", [] |), @@ -7085,7 +7099,7 @@ Module rc. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7123,7 +7137,7 @@ Module rc. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7148,7 +7162,7 @@ Module rc. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7213,7 +7227,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7253,7 +7267,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7293,7 +7307,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7333,7 +7347,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7373,7 +7387,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7432,7 +7446,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7481,7 +7495,7 @@ Module rc. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7524,7 +7538,7 @@ Module rc. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7567,7 +7581,7 @@ Module rc. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7619,7 +7633,7 @@ Module rc. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7654,7 +7668,7 @@ Module rc. |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7697,7 +7711,7 @@ Module rc. |), [ M.read (| v |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7738,7 +7752,7 @@ Module rc. |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7816,7 +7830,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7862,7 +7876,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7895,7 +7909,7 @@ Module rc. |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8000,7 +8014,12 @@ Module rc. "from_raw_parts_in", [] |), - [ M.read (| vec_ptr |); Value.Integer 0; M.read (| cap |); alloc ] + [ + M.read (| vec_ptr |); + Value.Integer IntegerKind.Usize 0; + M.read (| cap |); + alloc + ] |) |), [ @@ -8023,7 +8042,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8098,7 +8117,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8149,7 +8168,7 @@ Module rc. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8200,8 +8219,8 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -8224,8 +8243,9 @@ Module rc. [ boxed_slice ] |) ] - |)) - (M.read (| M.get_constant (| "alloc::rc::N" |) |)) + |), + M.read (| M.get_constant (| "alloc::rc::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8270,7 +8290,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8327,7 +8347,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8381,7 +8401,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8493,14 +8513,16 @@ Module rc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8653,7 +8675,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8770,7 +8792,7 @@ Module rc. |)); ("alloc", Value.StructTuple "alloc::alloc::Global" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -8793,7 +8815,7 @@ Module rc. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw : @@ -8842,7 +8864,7 @@ Module rc. |)); ("alloc", M.read (| alloc |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -8924,7 +8946,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -8968,7 +8990,7 @@ Module rc. |) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw : @@ -9023,7 +9045,7 @@ Module rc. |) in M.alloc (| Value.Tuple [ M.read (| result |); M.read (| alloc |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw_and_alloc : @@ -9118,7 +9140,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_in : @@ -9232,8 +9254,8 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Ty.path "alloc::rc::WeakInner", @@ -9242,8 +9264,9 @@ Module rc. [] |), [ inner ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9305,7 +9328,7 @@ Module rc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_upgrade : @@ -9359,11 +9382,11 @@ Module rc. [ inner ] |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_strong_count : @@ -9421,8 +9444,8 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Ty.path "alloc::rc::WeakInner", @@ -9431,15 +9454,15 @@ Module rc. [] |), [ inner ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Ty.path "alloc::rc::WeakInner", @@ -9448,17 +9471,18 @@ Module rc. [] |), [ inner ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_weak_count : @@ -9576,7 +9600,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inner : @@ -9646,7 +9670,7 @@ Module rc. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ptr_eq : @@ -9664,8 +9688,8 @@ Module rc. | [ T ], [ ptr ] => ltac:(M.monadic (let ptr := M.alloc (| ptr |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.tuple [] ], "addr", [] |), [ M.call_closure (| @@ -9677,9 +9701,10 @@ Module rc. [ M.read (| ptr |) ] |) ] - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_dangling : M.IsFunction "alloc::rc::is_dangling" is_dangling. @@ -9780,8 +9805,8 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Ty.path "alloc::rc::WeakInner", @@ -9790,8 +9815,9 @@ Module rc. [] |), [ inner ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9867,7 +9893,7 @@ Module rc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9962,7 +9988,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10003,7 +10029,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10037,7 +10063,7 @@ Module rc. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10069,7 +10095,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_strong : M.IsProvidedMethod "alloc::rc::RcInnerPtr" "strong" strong. @@ -10091,7 +10117,7 @@ Module rc. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.ne (M.read (| strong |)) (Value.Integer 0) ] + [ BinOp.ne (| M.read (| strong |), Value.Integer IntegerKind.Usize 0 |) ] |) |) in M.alloc (| Value.Tuple [] |) in @@ -10099,7 +10125,7 @@ Module rc. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_add", [] |), - [ M.read (| strong |); Value.Integer 1 ] + [ M.read (| strong |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -10129,7 +10155,8 @@ Module rc. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| strong |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| strong |), Value.Integer IntegerKind.Usize 0 |) + ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10142,7 +10169,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_inc_strong : @@ -10166,19 +10193,19 @@ Module rc. M.get_trait_method (| "alloc::rc::RcInnerPtr", Self, [], "strong_ref", [] |), [ M.read (| self |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Self, [], "strong", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_dec_strong : @@ -10201,7 +10228,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_weak : M.IsProvidedMethod "alloc::rc::RcInnerPtr" "weak" weak. @@ -10223,7 +10250,7 @@ Module rc. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.ne (M.read (| weak |)) (Value.Integer 0) ] + [ BinOp.ne (| M.read (| weak |), Value.Integer IntegerKind.Usize 0 |) ] |) |) in M.alloc (| Value.Tuple [] |) in @@ -10231,7 +10258,7 @@ Module rc. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_add", [] |), - [ M.read (| weak |); Value.Integer 1 ] + [ M.read (| weak |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -10261,7 +10288,7 @@ Module rc. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| weak |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| weak |), Value.Integer IntegerKind.Usize 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10274,7 +10301,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_inc_weak : M.IsProvidedMethod "alloc::rc::RcInnerPtr" "inc_weak" inc_weak. @@ -10297,19 +10324,19 @@ Module rc. M.get_trait_method (| "alloc::rc::RcInnerPtr", Self, [], "weak_ref", [] |), [ M.read (| self |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Self, [], "weak", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_dec_weak : M.IsProvidedMethod "alloc::rc::RcInnerPtr" "dec_weak" dec_weak. @@ -10330,7 +10357,7 @@ Module rc. ltac:(M.monadic (let self := M.alloc (| self |) in M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::rc::RcBox", "weak" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10349,7 +10376,7 @@ Module rc. "alloc::rc::RcBox", "strong" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10385,7 +10412,7 @@ Module rc. "weak" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10405,7 +10432,7 @@ Module rc. "strong" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10444,7 +10471,7 @@ Module rc. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10480,7 +10507,7 @@ Module rc. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10529,7 +10556,7 @@ Module rc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_data_offset : M.IsFunction "alloc::rc::data_offset" data_offset. @@ -10558,23 +10585,23 @@ Module rc. |) |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "padding_needed_for", [] |), [ layout; M.read (| align |) ] - |)) + |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_data_offset_align : M.IsFunction "alloc::rc::data_offset_align" data_offset_align. @@ -10636,7 +10663,7 @@ Module rc. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10723,7 +10750,7 @@ Module rc. "new", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] |)); ("weak", M.call_closure (| @@ -10732,7 +10759,7 @@ Module rc. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("value", M.read (| value |)) ] @@ -10744,7 +10771,7 @@ Module rc. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -10814,7 +10841,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downgrade : @@ -10892,7 +10919,7 @@ Module rc. "alloc::rc::RcBox", "strong" |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -10926,7 +10953,7 @@ Module rc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_rc : @@ -10972,7 +10999,7 @@ Module rc. "alloc::rc::RcBox", "value" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11024,7 +11051,7 @@ Module rc. "alloc::rc::RcBox", "value" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11117,8 +11144,8 @@ Module rc. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_trait_method (| "alloc::rc::RcInnerPtr", Ty.apply (Ty.path "alloc::rc::RcBox") [ T ], @@ -11144,8 +11171,9 @@ Module rc. ] |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -11211,7 +11239,7 @@ Module rc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/slice.v b/CoqOfRust/alloc/slice.v index 7ef92145d..f33da1eb3 100644 --- a/CoqOfRust/alloc/slice.v +++ b/CoqOfRust/alloc/slice.v @@ -61,7 +61,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_into_vec : M.IsFunction "alloc::slice::hack::into_vec" into_vec. @@ -81,7 +81,7 @@ Module slice. M.get_trait_method (| "alloc::slice::hack::ConvertVec", T, [], "to_vec", [ A ] |), [ M.read (| s |); M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_to_vec : M.IsFunction "alloc::slice::hack::to_vec" to_vec. @@ -155,7 +155,7 @@ Module slice. M.alloc (| Value.StructRecord "alloc::slice::hack::to_vec::DropGuard" - [ ("vec", vec); ("num_init", Value.Integer 0) ] + [ ("vec", vec); ("num_init", Value.Integer IntegerKind.Usize 0) ] |) in let~ slots := M.alloc (| @@ -369,7 +369,7 @@ Module slice. M.alloc (| Value.Tuple [] |) in vec |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -483,7 +483,7 @@ Module slice. M.alloc (| Value.Tuple [] |) in v |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -534,7 +534,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort : @@ -629,14 +629,14 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort_by : @@ -733,14 +733,14 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort_by_key : @@ -850,7 +850,9 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| len |)) (Value.Integer 2) |)) in + (M.alloc (| + BinOp.lt (| M.read (| len |), Value.Integer IntegerKind.Usize 2 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -869,12 +871,13 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| sz_u8 |)) (M.read (| sz_u16 |)), + BinOp.lt (| M.read (| sz_u8 |), M.read (| sz_u16 |) |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| len |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))))) + (BinOp.le (| + M.read (| len |), + M.rust_cast + (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |))) |) |)) in let _ := @@ -1017,7 +1020,8 @@ Module slice. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |) @@ -1070,7 +1074,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_associated_function (| @@ -1162,12 +1166,13 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.rust_cast + BinOp.lt (| + M.rust_cast (M.read (| index - |))) - (M.read (| i |)) + |)), + M.read (| i |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1305,12 +1310,13 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| sz_u16 |)) (M.read (| sz_u32 |)), + BinOp.lt (| M.read (| sz_u16 |), M.read (| sz_u32 |) |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| len |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))))) + (BinOp.le (| + M.read (| len |), + M.rust_cast + (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |))) |) |)) in let _ := @@ -1453,7 +1459,8 @@ Module slice. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |) @@ -1506,7 +1513,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_associated_function (| @@ -1598,12 +1605,13 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.rust_cast + BinOp.lt (| + M.rust_cast (M.read (| index - |))) - (M.read (| i |)) + |)), + M.read (| i |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1741,12 +1749,13 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| sz_u32 |)) (M.read (| sz_usize |)), + BinOp.lt (| M.read (| sz_u32 |), M.read (| sz_usize |) |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| len |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))))) + (BinOp.le (| + M.read (| len |), + M.rust_cast + (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |))) |) |)) in let _ := @@ -1889,7 +1898,8 @@ Module slice. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |) @@ -1942,7 +1952,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_associated_function (| @@ -2034,12 +2044,13 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.rust_cast + BinOp.lt (| + M.rust_cast (M.read (| index - |))) - (M.read (| i |)) + |)), + M.read (| i |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2267,7 +2278,7 @@ Module slice. Value.Tuple [ M.read (| k |); M.read (| M.use i |) ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2313,7 +2324,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_associated_function (| @@ -2398,9 +2409,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.use index |)) - (M.read (| i |)) + BinOp.lt (| + M.read (| M.use index |), + M.read (| i |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2498,7 +2510,7 @@ Module slice. |)) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort_by_cached_key : @@ -2527,7 +2539,7 @@ Module slice. |), [ M.read (| self |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_vec : @@ -2554,7 +2566,7 @@ Module slice. M.get_function (| "alloc::slice::hack::to_vec", [ T; A ] |), [ M.read (| self |); M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_vec_in : @@ -2577,7 +2589,7 @@ Module slice. M.get_function (| "alloc::slice::hack::into_vec", [ T; A ] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_vec : @@ -2661,7 +2673,9 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| n |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| n |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2737,7 +2751,10 @@ Module slice. |) |) in let~ _ := - let~ m := M.alloc (| BinOp.Wrap.shr (M.read (| n |)) (Value.Integer 1) |) in + let~ m := + M.alloc (| + BinOp.Wrap.shr (| M.read (| n |), Value.Integer IntegerKind.I32 1 |) + |) in M.loop (| ltac:(M.monadic (M.match_operator (| @@ -2748,7 +2765,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| m |)) (Value.Integer 0) + BinOp.gt (| M.read (| m |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -2842,10 +2859,10 @@ Module slice. |), [ buf; - BinOp.Wrap.mul - Integer.Usize - (M.read (| buf_len |)) - (Value.Integer 2) + BinOp.Wrap.mul (| + M.read (| buf_len |), + Value.Integer IntegerKind.Usize 2 + |) ] |) |) in @@ -2854,7 +2871,10 @@ Module slice. let β := m in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2875,10 +2895,9 @@ Module slice. |) in let~ rem_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| capacity |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| capacity |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2887,7 +2906,8 @@ Module slice. [] |), [ buf ] - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -2898,7 +2918,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rem_len |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rem_len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2971,7 +2994,7 @@ Module slice. buf |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_repeat : @@ -3002,7 +3025,7 @@ Module slice. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_concat : @@ -3034,7 +3057,7 @@ Module slice. |), [ M.read (| self |); M.read (| sep |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_join : @@ -3066,7 +3089,7 @@ Module slice. |), [ M.read (| self |); M.read (| sep |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_connect : @@ -3127,7 +3150,7 @@ Module slice. |) in me |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ascii_uppercase : @@ -3183,7 +3206,7 @@ Module slice. |) in me |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ascii_lowercase : @@ -3291,7 +3314,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3393,7 +3416,7 @@ Module slice. |)) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3501,11 +3524,9 @@ Module slice. |) in let~ size := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.apply @@ -3576,21 +3597,23 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ V ], "len", [] |), [ M.read (| slice |) ] - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ result := M.alloc (| @@ -3739,7 +3762,7 @@ Module slice. result |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3847,9 +3870,8 @@ Module slice. |) in let~ size := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.apply @@ -3920,33 +3942,34 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.mul (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| sep |) ] - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ V ], "len", [] |), [ M.read (| slice |) ] - |)) - (Value.Integer 1))) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) + |) |) in let~ result := M.alloc (| @@ -4083,7 +4106,7 @@ Module slice. result |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4121,7 +4144,7 @@ Module slice. |), [ M.read (| self |); Value.StructTuple "core::ops::range::RangeFull" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4157,7 +4180,7 @@ Module slice. |), [ M.read (| self |); Value.StructTuple "core::ops::range::RangeFull" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4276,7 +4299,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4329,7 +4352,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4363,7 +4386,7 @@ Module slice. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "to_vec", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4394,7 +4417,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4529,7 +4552,7 @@ Module slice. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ elem_dealloc_fn := @@ -4594,7 +4617,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ run_alloc_fn := @@ -4641,7 +4664,7 @@ Module slice. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ run_dealloc_fn := @@ -4709,7 +4732,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -4755,7 +4778,7 @@ Module slice. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_stable_sort : M.IsFunction "alloc::slice::stable_sort" stable_sort. diff --git a/CoqOfRust/alloc/str.v b/CoqOfRust/alloc/str.v index 1ce0afd66..a587327d4 100644 --- a/CoqOfRust/alloc/str.v +++ b/CoqOfRust/alloc/str.v @@ -29,7 +29,7 @@ Module str. |), [ M.read (| slice |); M.read (| Value.String "" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82,7 +82,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -384,7 +384,8 @@ Module str. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -399,7 +400,7 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -438,9 +439,9 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -449,8 +450,10 @@ Module str. [] |), [ result ] - |)) - (M.read (| reserved_len |))) + |), + M.read (| reserved_len |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -542,10 +545,7 @@ Module str. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| reserved_len |)) - (M.read (| pos |))) + BinOp.Wrap.sub (| M.read (| reserved_len |), M.read (| pos |) |)) ] ] |) @@ -701,7 +701,7 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -733,7 +733,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.use (M.match_operator (| @@ -1070,7 +1070,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 |) in M.use (M.match_operator (| @@ -1407,7 +1407,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 |) in M.use (M.match_operator (| @@ -1744,7 +1744,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 3 + Value.Integer IntegerKind.Usize 3 |) in M.use (M.match_operator (| @@ -2081,7 +2081,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 4 + Value.Integer IntegerKind.Usize 4 |) in M.use (M.match_operator (| @@ -2752,10 +2752,9 @@ Module str. |) in let~ result_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| reserved_len |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| reserved_len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2764,7 +2763,8 @@ Module str. [] |), [ M.read (| remain |) ] - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -2781,7 +2781,7 @@ Module str. result |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_join_generic_copy : M.IsFunction "alloc::str::join_generic_copy" join_generic_copy. @@ -2809,7 +2809,7 @@ Module str. |), [ M.read (| self |); Value.StructTuple "core::ops::range::RangeFull" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2843,7 +2843,7 @@ Module str. |), [ M.read (| self |); Value.StructTuple "core::ops::range::RangeFull" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2894,7 +2894,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2954,7 +2954,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2999,7 +2999,7 @@ Module str. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_boxed_bytes : @@ -3033,7 +3033,7 @@ Module str. [] |) |) in - let~ last_end := M.alloc (| Value.Integer 0 |) in + let~ last_end := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.use (M.match_operator (| @@ -3141,17 +3141,17 @@ Module str. let~ _ := M.write (| last_end, - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| start |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| part |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -3191,7 +3191,7 @@ Module str. |) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace : M.IsAssociatedFunction Self "replace" replace. @@ -3227,10 +3227,10 @@ Module str. "with_capacity", [] |), - [ Value.Integer 32 ] + [ Value.Integer IntegerKind.Usize 32 ] |) |) in - let~ last_end := M.alloc (| Value.Integer 0 |) in + let~ last_end := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.use (M.match_operator (| @@ -3355,17 +3355,17 @@ Module str. let~ _ := M.write (| last_end, - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| start |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| part |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -3405,7 +3405,7 @@ Module str. |) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replacen : M.IsAssociatedFunction Self "replacen" replacen. @@ -3614,9 +3614,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| c |)) - (Value.UnicodeChar 931) + BinOp.eq (| + M.read (| c |), + Value.UnicodeChar 931 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3794,7 +3795,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_lowercase : M.IsAssociatedFunction Self "to_lowercase" to_lowercase. @@ -4066,7 +4067,7 @@ Module str. |)) in s |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_uppercase : M.IsAssociatedFunction Self "to_uppercase" to_uppercase. @@ -4123,7 +4124,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_string : M.IsAssociatedFunction Self "into_string" into_string. @@ -4162,7 +4163,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_repeat : M.IsAssociatedFunction Self "repeat" repeat. @@ -4213,7 +4214,7 @@ Module str. |) in s |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ascii_uppercase : @@ -4265,7 +4266,7 @@ Module str. |) in s |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ascii_lowercase : @@ -4304,7 +4305,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_boxed_utf8_unchecked : @@ -4382,7 +4383,7 @@ Module str. ] |) |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := let~ _ := M.loop (| @@ -4395,21 +4396,22 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| + BinOp.le (| + BinOp.Wrap.add (| + M.read (| i |), + M.read (| M.get_constant (| "alloc::str::convert_while_ascii::N" |) - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| b |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4429,14 +4431,14 @@ Module str. [ ("start", M.read (| i |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| i |), + M.read (| M.get_constant (| "alloc::str::convert_while_ascii::N" |) - |))) + |) + |)) ] ] |) @@ -4472,19 +4474,19 @@ Module str. [ ("start", M.read (| i |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| i |), + M.read (| M.get_constant (| "alloc::str::convert_while_ascii::N" |) - |))) + |) + |)) ] ] |) |) in - let~ bits := M.alloc (| Value.Integer 0 |) in + let~ bits := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.use (M.match_operator (| @@ -4503,7 +4505,7 @@ Module str. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.get_constant (| @@ -4560,7 +4562,7 @@ Module str. let β := bits in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.call_closure (| M.get_associated_function (| @@ -4623,15 +4625,16 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| bits |)) (M.read (| M.get_constant (| "alloc::str::convert_while_ascii::NONASCII_MASK" |) - |))) - (Value.Integer 0) + |)), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4660,7 +4663,7 @@ Module str. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.get_constant (| @@ -4776,12 +4779,12 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "alloc::str::convert_while_ascii::N" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4814,7 +4817,7 @@ Module str. M.alloc (| Value.Tuple [] |) in out |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_convert_while_ascii : @@ -4829,16 +4832,16 @@ Module str. |))). Definition value_MAGIC_UNROLL : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 2 |))). Definition value_N : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| M.get_constant (| "alloc::str::convert_while_ascii::USIZE_SIZE" |) |)) - (M.read (| M.get_constant (| "alloc::str::convert_while_ascii::MAGIC_UNROLL" |) |)) + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "alloc::str::convert_while_ascii::USIZE_SIZE" |) |), + M.read (| M.get_constant (| "alloc::str::convert_while_ascii::MAGIC_UNROLL" |) |) + |) |))). Definition value_NONASCII_MASK : Value.t := @@ -4847,7 +4850,7 @@ Module str. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "from_ne_bytes", [] |), - [ repeat (Value.Integer 128) 8 ] + [ repeat (Value.Integer IntegerKind.U8 128) 8 ] |) |))). End convert_while_ascii. diff --git a/CoqOfRust/alloc/string.v b/CoqOfRust/alloc/string.v index c5d5c1144..630d18201 100644 --- a/CoqOfRust/alloc/string.v +++ b/CoqOfRust/alloc/string.v @@ -59,7 +59,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105,7 +105,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -142,7 +142,7 @@ Module string. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -185,7 +185,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -247,7 +247,7 @@ Module string. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -330,7 +330,7 @@ Module string. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -374,7 +374,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -435,7 +435,7 @@ Module string. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -483,7 +483,7 @@ Module string. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -521,7 +521,7 @@ Module string. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -551,7 +551,7 @@ Module string. [ M.read (| capacity |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity : @@ -617,7 +617,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf8 : M.IsAssociatedFunction Self "from_utf8" from_utf8. @@ -811,18 +811,20 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1041,8 +1043,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -1061,7 +1063,8 @@ Module string. [ chunk ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1100,7 +1103,7 @@ Module string. M.alloc (| Value.StructTuple "alloc::borrow::Cow::Owned" [ M.read (| res |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf8_lossy : @@ -1307,7 +1310,7 @@ Module string. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| ret |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf16 : M.IsAssociatedFunction Self "from_utf16" from_utf16. @@ -1446,13 +1449,13 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf16_lossy : @@ -1488,19 +1491,20 @@ Module string. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.ne (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 2)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 2 + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1703,7 +1707,7 @@ Module string. [ Value.Tuple [] ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1712,7 +1716,7 @@ Module string. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf16le : M.IsAssociatedFunction Self "from_utf16le" from_utf16le. @@ -2042,7 +2046,7 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2102,7 +2106,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf16le_lossy : @@ -2138,19 +2142,20 @@ Module string. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.ne (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 2)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 2 + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2353,7 +2358,7 @@ Module string. [ Value.Tuple [] ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2362,7 +2367,7 @@ Module string. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf16be : M.IsAssociatedFunction Self "from_utf16be" from_utf16be. @@ -2692,7 +2697,7 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2752,7 +2757,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf16be_lossy : @@ -2780,7 +2785,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw_parts : @@ -2813,7 +2818,7 @@ Module string. [ M.read (| buf |); M.read (| length |); M.read (| capacity |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_parts : @@ -2830,7 +2835,7 @@ Module string. ltac:(M.monadic (let bytes := M.alloc (| bytes |) in Value.StructRecord "alloc::string::String" [ ("vec", M.read (| bytes |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_utf8_unchecked : @@ -2849,7 +2854,7 @@ Module string. M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::string::String", "vec" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_bytes : M.IsAssociatedFunction Self "into_bytes" into_bytes. @@ -2874,7 +2879,7 @@ Module string. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -2899,7 +2904,7 @@ Module string. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_str : M.IsAssociatedFunction Self "as_mut_str" as_mut_str. @@ -2933,7 +2938,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_str : M.IsAssociatedFunction Self "push_str" push_str. @@ -3007,8 +3012,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -3027,7 +3032,8 @@ Module string. |); M.read (| start |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3059,8 +3065,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -3079,7 +3085,8 @@ Module string. |); M.read (| end_ |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3125,7 +3132,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend_from_within : @@ -3155,7 +3162,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_capacity : M.IsAssociatedFunction Self "capacity" capacity. @@ -3186,7 +3193,7 @@ Module string. M.read (| additional |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve : M.IsAssociatedFunction Self "reserve" reserve. @@ -3217,7 +3224,7 @@ Module string. M.read (| additional |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve_exact : @@ -3249,7 +3256,7 @@ Module string. M.read (| additional |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve : M.IsAssociatedFunction Self "try_reserve" try_reserve. @@ -3280,7 +3287,7 @@ Module string. M.read (| additional |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve_exact : @@ -3310,7 +3317,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to_fit : @@ -3342,7 +3349,7 @@ Module string. M.read (| min_capacity |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to : M.IsAssociatedFunction Self "shrink_to" shrink_to. @@ -3372,7 +3379,11 @@ Module string. [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 1 + |) in M.alloc (| M.call_closure (| M.get_associated_function (| @@ -3417,7 +3428,8 @@ Module string. [ M.read (| ch |); (* Unsize *) - M.pointer_coercion (M.alloc (| repeat (Value.Integer 0) 4 |)) + M.pointer_coercion + (M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |)) ] |) ] @@ -3428,7 +3440,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : M.IsAssociatedFunction Self "push" push. @@ -3459,7 +3471,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes : M.IsAssociatedFunction Self "as_bytes" as_bytes. @@ -3487,16 +3499,17 @@ Module string. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| new_len |)) - (M.call_closure (| + BinOp.le (| + M.read (| new_len |), + M.call_closure (| M.get_associated_function (| Ty.path "alloc::string::String", "len", [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -3508,8 +3521,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -3528,7 +3541,8 @@ Module string. |); M.read (| new_len |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3574,7 +3588,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_truncate : M.IsAssociatedFunction Self "truncate" truncate. @@ -3703,16 +3717,16 @@ Module string. |) in let~ newlen := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.path "alloc::string::String", "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "char", "len_utf8", [] |), [ M.read (| ch |) ] - |)) + |) + |) |) in let~ _ := let~ _ := @@ -3739,7 +3753,7 @@ Module string. M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| ch |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop : M.IsAssociatedFunction Self "pop" pop. @@ -3857,13 +3871,13 @@ Module string. |) in let~ next := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.path "char", "len_utf8", [] |), [ M.read (| ch |) ] - |)) + |) + |) |) in let~ len := M.alloc (| @@ -3930,7 +3944,7 @@ Module string. M.read (| idx |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| next |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| next |) |) ] |) |) in @@ -3950,17 +3964,17 @@ Module string. "alloc::string::String", "vec" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (BinOp.Wrap.sub Integer.Usize (M.read (| next |)) (M.read (| idx |))) + BinOp.Wrap.sub (| + M.read (| len |), + BinOp.Wrap.sub (| M.read (| next |), M.read (| idx |) |) + |) ] |) |) in M.alloc (| Value.Tuple [] |) in ch |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : M.IsAssociatedFunction Self "remove" remove. @@ -4052,7 +4066,7 @@ Module string. ] |) |) in - let~ front := M.alloc (| Value.Integer 0 |) in + let~ front := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ rejections := M.alloc (| M.call_closure (| @@ -4219,7 +4233,7 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4284,7 +4298,7 @@ Module string. |) |) |) in - let~ len := M.alloc (| Value.Integer 0 |) in + let~ len := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ ptr := M.alloc (| M.call_closure (| @@ -4385,10 +4399,7 @@ Module string. let end_ := M.copy (| γ1_1 |) in let~ count := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (M.read (| start |)) + BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) |) in let~ _ := M.match_operator (| @@ -4399,9 +4410,10 @@ Module string. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| start |)) - (M.read (| len |)) + BinOp.ne (| + M.read (| start |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4450,10 +4462,7 @@ Module string. let β := len in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| count |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| count |) |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -4484,7 +4493,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_matches : @@ -4564,8 +4573,8 @@ Module string. "alloc::string::retain::SetLenOnDrop" [ ("s", M.read (| self |)); - ("idx", Value.Integer 0); - ("del_bytes", Value.Integer 0) + ("idx", Value.Integer IntegerKind.Usize 0); + ("del_bytes", Value.Integer IntegerKind.Usize 0) ] |) in let~ _ := @@ -4579,15 +4588,16 @@ Module string. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| guard, "alloc::string::retain::SetLenOnDrop", "idx" |) - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4685,8 +4695,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -4695,7 +4705,8 @@ Module string. [] |), [ f; Value.Tuple [ M.read (| ch |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4711,10 +4722,7 @@ Module string. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| ch_len |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| ch_len |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4727,15 +4735,16 @@ Module string. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| guard, "alloc::string::retain::SetLenOnDrop", "del_bytes" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4794,22 +4803,22 @@ Module string. |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| guard, "alloc::string::retain::SetLenOnDrop", "idx" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| guard, "alloc::string::retain::SetLenOnDrop", "del_bytes" |) - |)) + |) + |) ] |); M.call_closure (| @@ -4840,7 +4849,7 @@ Module string. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| ch_len |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| ch_len |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4869,7 +4878,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain : M.IsAssociatedFunction Self "retain" retain. @@ -4902,8 +4911,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -4922,7 +4931,8 @@ Module string. |); M.read (| idx |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4940,7 +4950,7 @@ Module string. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ bits := M.alloc (| repeat (Value.Integer 0) 4 |) in + let~ bits := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |) in let~ bits := M.alloc (| M.call_closure (| @@ -4966,7 +4976,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : M.IsAssociatedFunction Self "insert" insert. @@ -5084,10 +5094,10 @@ Module string. |) ] |); - BinOp.Wrap.add Integer.Usize (M.read (| idx |)) (M.read (| amt |)) + BinOp.Wrap.add (| M.read (| idx |), M.read (| amt |) |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| idx |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| idx |) |) ] |) |) in @@ -5150,13 +5160,13 @@ Module string. "alloc::string::String", "vec" |); - BinOp.Wrap.add Integer.Usize (M.read (| len |)) (M.read (| amt |)) + BinOp.Wrap.add (| M.read (| len |), M.read (| amt |) |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_bytes : M.IsAssociatedFunction Self "insert_bytes" insert_bytes. @@ -5187,8 +5197,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -5207,7 +5217,8 @@ Module string. |); M.read (| idx |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -5245,7 +5256,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_str : M.IsAssociatedFunction Self "insert_str" insert_str. @@ -5265,7 +5276,7 @@ Module string. "alloc::string::String", "vec" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_vec : M.IsAssociatedFunction Self "as_mut_vec" as_mut_vec. @@ -5294,7 +5305,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -5309,13 +5320,14 @@ Module string. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "alloc::string::String", "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -5343,8 +5355,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -5363,7 +5375,8 @@ Module string. |); M.read (| at_ |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -5412,7 +5425,7 @@ Module string. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off : M.IsAssociatedFunction Self "split_off" split_off. @@ -5441,7 +5454,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : M.IsAssociatedFunction Self "clear" clear. @@ -5525,8 +5538,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -5545,7 +5558,8 @@ Module string. |); M.read (| start |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5577,8 +5591,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -5597,7 +5611,8 @@ Module string. |); M.read (| end_ |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5663,7 +5678,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drain : M.IsAssociatedFunction Self "drain" drain. @@ -5742,8 +5757,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -5762,7 +5777,8 @@ Module string. |); M.read (| n |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5802,8 +5818,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -5820,12 +5836,13 @@ Module string. |), [ M.read (| self |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5889,8 +5906,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -5907,12 +5924,13 @@ Module string. |), [ M.read (| self |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5953,8 +5971,8 @@ Module string. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -5973,7 +5991,8 @@ Module string. |); M.read (| n |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6041,7 +6060,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace_range : @@ -6087,7 +6106,7 @@ Module string. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_boxed_str : @@ -6133,7 +6152,7 @@ Module string. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leak : M.IsAssociatedFunction Self "leak" leak. @@ -6169,7 +6188,7 @@ Module string. Value.StructTuple "core::ops::range::RangeFull" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes : M.IsAssociatedFunction Self "as_bytes" as_bytes. @@ -6187,7 +6206,7 @@ Module string. M.read (| M.SubPointer.get_struct_record_field (| self, "alloc::string::FromUtf8Error", "bytes" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_bytes : M.IsAssociatedFunction Self "into_bytes" into_bytes. @@ -6209,7 +6228,7 @@ Module string. "error" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_utf8_error : M.IsAssociatedFunction Self "utf8_error" utf8_error. @@ -6246,7 +6265,7 @@ Module string. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6275,7 +6294,7 @@ Module string. M.get_trait_method (| "core::fmt::Display", Ty.path "str", [], "fmt", [] |), [ M.read (| Value.String "invalid utf-16: lone surrogate found" |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6300,7 +6319,7 @@ Module string. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "invalid utf-8" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6325,7 +6344,7 @@ Module string. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "invalid utf-16" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6372,7 +6391,7 @@ Module string. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6415,7 +6434,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6465,7 +6484,7 @@ Module string. |) in buf |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6514,7 +6533,7 @@ Module string. |) in buf |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6563,7 +6582,7 @@ Module string. |) in buf |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6661,7 +6680,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6714,7 +6733,7 @@ Module string. |) in buf |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6828,7 +6847,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6935,7 +6954,7 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -6944,7 +6963,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6968,7 +6987,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6992,7 +7011,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7061,7 +7080,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7098,7 +7117,7 @@ Module string. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7122,7 +7141,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7200,14 +7219,14 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7231,7 +7250,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7313,14 +7332,14 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7405,14 +7424,14 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7448,7 +7467,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7537,14 +7556,14 @@ Module string. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7580,7 +7599,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7633,7 +7652,7 @@ Module string. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7669,7 +7688,7 @@ Module string. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7705,7 +7724,7 @@ Module string. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7741,7 +7760,7 @@ Module string. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7777,7 +7796,7 @@ Module string. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7813,7 +7832,7 @@ Module string. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7878,7 +7897,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7923,7 +7942,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7979,7 +7998,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8024,7 +8043,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8083,7 +8102,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8131,7 +8150,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8188,7 +8207,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8234,7 +8253,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8302,7 +8321,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8359,7 +8378,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8427,7 +8446,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8484,7 +8503,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8556,7 +8575,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8616,7 +8635,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8685,7 +8704,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8743,7 +8762,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8812,7 +8831,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8869,7 +8888,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8937,7 +8956,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8994,7 +9013,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9022,7 +9041,7 @@ Module string. M.get_associated_function (| Ty.path "alloc::string::String", "new", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9063,7 +9082,7 @@ Module string. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9104,7 +9123,7 @@ Module string. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9145,7 +9164,7 @@ Module string. M.read (| hasher |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9184,7 +9203,7 @@ Module string. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9219,7 +9238,7 @@ Module string. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9269,7 +9288,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9321,7 +9340,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9373,7 +9392,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9426,7 +9445,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9477,7 +9496,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9529,7 +9548,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9578,7 +9597,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9626,7 +9645,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9674,7 +9693,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9723,7 +9742,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9770,7 +9789,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9818,7 +9837,7 @@ Module string. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9869,7 +9888,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9917,7 +9936,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9960,7 +9979,7 @@ Module string. [ M.read (| s |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10032,7 +10051,7 @@ Module string. |) in buf |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10070,7 +10089,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10107,12 +10126,13 @@ Module string. M.get_associated_function (| Ty.path "char", "encode_utf8", [] |), [ M.read (| M.read (| self |) |); - (* Unsize *) M.pointer_coercion (M.alloc (| repeat (Value.Integer 0) 4 |)) + (* Unsize *) + M.pointer_coercion (M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10161,7 +10181,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10205,7 +10225,7 @@ Module string. "with_capacity", [] |), - [ Value.Integer 3 ] + [ Value.Integer IntegerKind.Usize 3 ] |) |) in let~ n := M.copy (| M.read (| self |) |) in @@ -10216,7 +10236,10 @@ Module string. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (Value.Integer 10) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| n |), Value.Integer IntegerKind.U8 10 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.match_operator (| @@ -10227,7 +10250,10 @@ Module string. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 100) + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.U8 100 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10245,13 +10271,13 @@ Module string. [ buf; M.rust_cast - (BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (BinOp.Wrap.div - Integer.U8 - (M.read (| n |)) - (Value.Integer 100))) + (BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + BinOp.Wrap.div (| + M.read (| n |), + Value.Integer IntegerKind.U8 100 + |) + |)) ] |) |) in @@ -10259,7 +10285,10 @@ Module string. let β := n in M.write (| β, - BinOp.Wrap.rem Integer.U8 (M.read (| β |)) (Value.Integer 100) + BinOp.Wrap.rem (| + M.read (| β |), + Value.Integer IntegerKind.U8 100 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -10276,10 +10305,13 @@ Module string. [ buf; M.rust_cast - (BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (BinOp.Wrap.div Integer.U8 (M.read (| n |)) (Value.Integer 10))) + (BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + BinOp.Wrap.div (| + M.read (| n |), + Value.Integer IntegerKind.U8 10 + |) + |)) ] |) |) in @@ -10287,7 +10319,7 @@ Module string. let β := n in M.write (| β, - BinOp.Wrap.rem Integer.U8 (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.rem (| M.read (| β |), Value.Integer IntegerKind.U8 10 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -10300,13 +10332,13 @@ Module string. [ buf; M.rust_cast - (BinOp.Wrap.add Integer.U8 (M.read (| UnsupportedLiteral |)) (M.read (| n |))) + (BinOp.Wrap.add (| M.read (| UnsupportedLiteral |), M.read (| n |) |)) ] |) |) in buf |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10353,7 +10385,7 @@ Module string. "with_capacity", [] |), - [ Value.Integer 4 ] + [ Value.Integer IntegerKind.Usize 4 ] |) |) in let~ _ := @@ -10400,7 +10432,10 @@ Module string. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (Value.Integer 10) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| n |), Value.Integer IntegerKind.U8 10 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.match_operator (| @@ -10411,7 +10446,10 @@ Module string. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 100) + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.U8 100 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10433,7 +10471,10 @@ Module string. let β := n in M.write (| β, - BinOp.Wrap.sub Integer.U8 (M.read (| β |)) (Value.Integer 100) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.U8 100 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -10450,10 +10491,13 @@ Module string. [ buf; M.rust_cast - (BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (BinOp.Wrap.div Integer.U8 (M.read (| n |)) (Value.Integer 10))) + (BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + BinOp.Wrap.div (| + M.read (| n |), + Value.Integer IntegerKind.U8 10 + |) + |)) ] |) |) in @@ -10461,7 +10505,7 @@ Module string. let β := n in M.write (| β, - BinOp.Wrap.rem Integer.U8 (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.rem (| M.read (| β |), Value.Integer IntegerKind.U8 10 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -10474,13 +10518,13 @@ Module string. [ buf; M.rust_cast - (BinOp.Wrap.add Integer.U8 (M.read (| UnsupportedLiteral |)) (M.read (| n |))) + (BinOp.Wrap.add (| M.read (| UnsupportedLiteral |), M.read (| n |) |)) ] |) |) in buf |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10514,7 +10558,7 @@ Module string. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10565,7 +10609,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10599,7 +10643,7 @@ Module string. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10627,7 +10671,7 @@ Module string. M.get_function (| "alloc::fmt::format", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10661,7 +10705,7 @@ Module string. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10695,7 +10739,7 @@ Module string. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10723,7 +10767,7 @@ Module string. M.get_associated_function (| Ty.path "alloc::string::String", "as_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10751,7 +10795,7 @@ Module string. M.get_trait_method (| "alloc::borrow::ToOwned", Ty.path "str", [], "to_owned", [] |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10779,7 +10823,7 @@ Module string. M.get_trait_method (| "alloc::borrow::ToOwned", Ty.path "str", [], "to_owned", [] |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10813,7 +10857,7 @@ Module string. |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10842,7 +10886,7 @@ Module string. M.get_associated_function (| Ty.path "str", "into_string", [] |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10875,7 +10919,7 @@ Module string. M.get_associated_function (| Ty.path "alloc::string::String", "into_boxed_str", [] |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10907,7 +10951,7 @@ Module string. |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10933,7 +10977,7 @@ Module string. ltac:(M.monadic (let s := M.alloc (| s |) in Value.StructTuple "alloc::borrow::Cow::Borrowed" [ M.read (| s |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10958,7 +11002,7 @@ Module string. ltac:(M.monadic (let s := M.alloc (| s |) in Value.StructTuple "alloc::borrow::Cow::Owned" [ M.read (| s |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10990,7 +11034,7 @@ Module string. [ M.read (| s |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11029,7 +11073,7 @@ Module string. [ M.read (| it |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11067,7 +11111,7 @@ Module string. [ M.read (| it |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11105,7 +11149,7 @@ Module string. [ M.read (| it |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11134,7 +11178,7 @@ Module string. M.get_associated_function (| Ty.path "alloc::string::String", "into_bytes", [] |), [ M.read (| string |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11170,7 +11214,7 @@ Module string. |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11195,7 +11239,7 @@ Module string. |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11273,7 +11317,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11351,31 +11395,32 @@ Module string. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::string::Drain", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::string::Drain", "end" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::string::Drain", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -11384,7 +11429,8 @@ Module string. [] |), [ M.read (| self_vec |) ] - |)))) + |) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -11428,7 +11474,7 @@ Module string. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11462,7 +11508,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -11485,7 +11531,7 @@ Module string. M.get_associated_function (| Ty.path "alloc::string::Drain", "as_str", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11518,7 +11564,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11561,7 +11607,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11590,7 +11636,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11613,7 +11659,7 @@ Module string. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11659,7 +11705,7 @@ Module string. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11698,7 +11744,7 @@ Module string. M.get_trait_method (| "alloc::string::ToString", Ty.path "char", [], "to_string", [] |), [ c ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/sync.v b/CoqOfRust/alloc/sync.v index 2a3ae6f49..6e2fd8881 100644 --- a/CoqOfRust/alloc/sync.v +++ b/CoqOfRust/alloc/sync.v @@ -113,7 +113,7 @@ Module sync. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_inner : @@ -139,7 +139,7 @@ Module sync. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : @@ -188,7 +188,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("weak", M.call_closure (| @@ -197,7 +197,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("data", M.read (| data |)) ] @@ -246,7 +246,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -377,7 +377,7 @@ Module sync. "new", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] |)); ("weak", M.call_closure (| @@ -386,7 +386,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("data", M.call_closure (| @@ -500,7 +500,7 @@ Module sync. "alloc::sync::ArcInner", "strong" |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::sync::atomic::Ordering::Release" [] ] |) @@ -517,7 +517,8 @@ Module sync. let~ _ := M.match_operator (| M.alloc (| - Value.Tuple [ prev_value; M.alloc (| Value.Integer 0 |) ] + Value.Tuple + [ prev_value; M.alloc (| Value.Integer IntegerKind.Usize 0 |) ] |), [ fun γ => @@ -534,10 +535,12 @@ Module sync. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -625,7 +628,7 @@ Module sync. |) in strong |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_cyclic : @@ -727,7 +730,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -742,7 +745,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit : @@ -844,7 +847,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -859,7 +862,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed : @@ -896,7 +899,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pin : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "pin" (pin T). @@ -1025,7 +1028,7 @@ Module sync. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_pin : @@ -1098,7 +1101,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("weak", M.call_closure (| @@ -1107,7 +1110,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("data", M.read (| data |)) ] @@ -1220,7 +1223,7 @@ Module sync. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new : @@ -1364,7 +1367,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1449,7 +1452,7 @@ Module sync. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_uninit : @@ -1593,7 +1596,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -1678,7 +1681,7 @@ Module sync. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_zeroed : @@ -1703,7 +1706,7 @@ Module sync. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw : @@ -1729,7 +1732,7 @@ Module sync. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_increment_strong_count : @@ -1755,7 +1758,7 @@ Module sync. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decrement_strong_count : @@ -1848,7 +1851,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1864,7 +1867,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_for_layout : @@ -2010,7 +2013,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| inner |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_allocate_for_layout : @@ -2121,8 +2124,8 @@ Module sync. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.path "core::alloc::layout::Layout", @@ -2131,7 +2134,8 @@ Module sync. [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2198,7 +2202,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) ] |) @@ -2222,7 +2226,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) ] |) @@ -2230,7 +2234,7 @@ Module sync. M.alloc (| Value.Tuple [] |) in inner |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_initialize_arcinner : @@ -2260,7 +2264,7 @@ Module sync. ("phantom", Value.StructTuple "core::marker::PhantomData" []); ("alloc", M.read (| alloc |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_inner_in : @@ -2299,7 +2303,7 @@ Module sync. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr_in : @@ -2321,7 +2325,7 @@ Module sync. "alloc::sync::Arc", "alloc" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -2373,7 +2377,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("weak", M.call_closure (| @@ -2382,7 +2386,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("data", M.read (| data |)) ]; @@ -2441,7 +2445,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -2541,7 +2545,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -2557,7 +2561,7 @@ Module sync. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_in : @@ -2657,7 +2661,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -2673,7 +2677,7 @@ Module sync. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_in : @@ -2711,7 +2715,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pin_in : @@ -2832,7 +2836,7 @@ Module sync. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_pin_in : @@ -2904,7 +2908,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("weak", M.call_closure (| @@ -2913,7 +2917,7 @@ Module sync. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |)); ("data", M.read (| data |)) ]; @@ -3032,7 +3036,7 @@ Module sync. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_in : @@ -3170,7 +3174,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -3256,7 +3260,7 @@ Module sync. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_uninit_in : @@ -3394,7 +3398,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], @@ -3480,7 +3484,7 @@ Module sync. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new_zeroed_in : @@ -3554,8 +3558,8 @@ Module sync. "alloc::sync::ArcInner", "strong" |); - Value.Integer 1; - Value.Integer 0; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::sync::atomic::Ordering::Relaxed" []; @@ -3656,7 +3660,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| elem |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_unwrap : @@ -3722,8 +3726,8 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", "fetch_sub", @@ -3756,11 +3760,12 @@ Module sync. "alloc::sync::ArcInner", "strong" |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::sync::atomic::Ordering::Release" [] ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3872,7 +3877,7 @@ Module sync. M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| inner |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -3915,7 +3920,7 @@ Module sync. |) in ptr |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw : @@ -3970,7 +3975,7 @@ Module sync. |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -4027,7 +4032,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_in : @@ -4120,9 +4125,10 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| cur |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + BinOp.eq (| + M.read (| cur |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4185,12 +4191,14 @@ Module sync. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| cur |)) - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| cur |), + M.read (| M.get_constant (| "alloc::sync::MAX_REFCOUNT" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4238,7 +4246,10 @@ Module sync. "weak" |); M.read (| cur |); - BinOp.Wrap.add Integer.Usize (M.read (| cur |)) (Value.Integer 1); + BinOp.Wrap.add (| + M.read (| cur |), + Value.Integer IntegerKind.Usize 1 + |); Value.StructTuple "core::sync::atomic::Ordering::Acquire" []; Value.StructTuple "core::sync::atomic::Ordering::Relaxed" [] ] @@ -4277,9 +4288,9 @@ Module sync. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_function (| "alloc::rc::is_dangling", [ @@ -4315,7 +4326,9 @@ Module sync. ] |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4400,7 +4413,7 @@ Module sync. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downgrade : @@ -4455,21 +4468,22 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| cnt |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + BinOp.eq (| + M.read (| cnt |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| cnt |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| cnt |), Value.Integer IntegerKind.Usize 1 |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_weak_count : @@ -4505,7 +4519,7 @@ Module sync. Value.StructTuple "core::sync::atomic::Ordering::Relaxed" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_strong_count : @@ -4570,7 +4584,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_increment_strong_count_in : @@ -4611,7 +4625,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decrement_strong_count_in : @@ -4650,7 +4664,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inner : @@ -4724,7 +4738,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drop_slow : @@ -4794,7 +4808,7 @@ Module sync. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ptr_eq : @@ -4872,7 +4886,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -4896,11 +4910,11 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_for_ptr_in : @@ -5049,7 +5063,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_box_in : @@ -5154,8 +5168,8 @@ Module sync. "alloc::sync::ArcInner", "strong" |); - Value.Integer 1; - Value.Integer 0; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::sync::atomic::Ordering::Acquire" []; Value.StructTuple "core::sync::atomic::Ordering::Relaxed" [] ] @@ -5259,8 +5273,8 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", "load", @@ -5283,8 +5297,9 @@ Module sync. "core::sync::atomic::Ordering::Relaxed" [] ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5398,7 +5413,7 @@ Module sync. |), [ M.read (| this |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -5453,7 +5468,7 @@ Module sync. "alloc::sync::ArcInner", "strong" |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::sync::atomic::Ordering::Release" [] ] |) @@ -5474,7 +5489,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_mut : @@ -5538,11 +5553,11 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or_clone : @@ -5606,7 +5621,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -5648,7 +5663,7 @@ Module sync. "alloc::sync::ArcInner", "data" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_unchecked : @@ -5724,7 +5739,7 @@ Module sync. "alloc::sync::ArcInner", "weak" |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.read (| M.get_constant (| "core::num::MAX" |) |); Value.StructTuple "core::sync::atomic::Ordering::Acquire" []; Value.StructTuple "core::sync::atomic::Ordering::Relaxed" [] @@ -5737,8 +5752,8 @@ Module sync. let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ unique := M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", "load", @@ -5759,8 +5774,9 @@ Module sync. |); Value.StructTuple "core::sync::atomic::Ordering::Acquire" [] ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.alloc (| @@ -5783,7 +5799,7 @@ Module sync. "alloc::sync::ArcInner", "weak" |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::sync::atomic::Ordering::Release" [] ] |) @@ -5793,7 +5809,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unique : @@ -5895,7 +5911,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5977,7 +5993,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_arcinner_layout_for_value_layout : @@ -6057,7 +6073,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_slice : @@ -6185,7 +6201,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -6209,13 +6225,13 @@ Module sync. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_slice : @@ -6316,7 +6332,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -6350,11 +6366,11 @@ Module sync. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_for_slice : @@ -6441,7 +6457,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_from_slice : @@ -6561,7 +6577,7 @@ Module sync. |)); ("elems", M.read (| elems |)); ("layout", M.read (| layout |)); - ("n_elems", Value.Integer 0) + ("n_elems", Value.Integer IntegerKind.Usize 0) ] |) in let~ _ := @@ -6660,10 +6676,10 @@ Module sync. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -6695,7 +6711,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_iter_exact : @@ -6751,7 +6767,7 @@ Module sync. M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_uninit_slice_in : @@ -6880,7 +6896,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -6914,14 +6930,14 @@ Module sync. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_zeroed_slice_in : @@ -7020,7 +7036,7 @@ Module sync. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.closure (fun γ => @@ -7054,11 +7070,11 @@ Module sync. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocate_for_slice_in : @@ -7187,7 +7203,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init : @@ -7342,7 +7358,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init : @@ -7410,7 +7426,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7449,7 +7465,7 @@ Module sync. |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7529,7 +7545,7 @@ Module sync. "alloc::sync::ArcInner", "strong" |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::sync::atomic::Ordering::Relaxed" [] ] |) @@ -7543,9 +7559,10 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| old_size |)) - (M.read (| M.get_constant (| "alloc::sync::MAX_REFCOUNT" |) |)) + BinOp.gt (| + M.read (| old_size |), + M.read (| M.get_constant (| "alloc::sync::MAX_REFCOUNT" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7588,7 +7605,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7629,7 +7646,7 @@ Module sync. "alloc::sync::ArcInner", "data" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7722,8 +7739,8 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", "fetch_sub", @@ -7742,11 +7759,12 @@ Module sync. "alloc::sync::ArcInner", "strong" |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::sync::atomic::Ordering::Release" [] ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7777,7 +7795,7 @@ Module sync. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7962,7 +7980,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : @@ -8057,7 +8075,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_unchecked : @@ -8106,7 +8124,7 @@ Module sync. |)); ("alloc", Value.StructTuple "alloc::alloc::Global" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -8129,7 +8147,7 @@ Module sync. |), [ M.read (| ptr |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw : @@ -8178,7 +8196,7 @@ Module sync. |)); ("alloc", M.read (| alloc |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -8260,7 +8278,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -8304,7 +8322,7 @@ Module sync. |) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw : @@ -8399,7 +8417,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_in : @@ -8626,7 +8644,7 @@ Module sync. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_upgrade : @@ -8687,11 +8705,11 @@ Module sync. ] |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_strong_count : @@ -8796,23 +8814,29 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| strong |)) (Value.Integer 0) + BinOp.eq (| + M.read (| strong |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| weak |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| weak |), + Value.Integer IntegerKind.Usize 1 + |) |))) ] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_weak_count : @@ -8905,7 +8929,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inner : @@ -8975,7 +8999,7 @@ Module sync. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ptr_eq : @@ -9114,7 +9138,7 @@ Module sync. "weak" |) |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::sync::atomic::Ordering::Relaxed" [] ] |) @@ -9128,9 +9152,10 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| old_size |)) - (M.read (| M.get_constant (| "alloc::sync::MAX_REFCOUNT" |) |)) + BinOp.gt (| + M.read (| old_size |), + M.read (| M.get_constant (| "alloc::sync::MAX_REFCOUNT" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9172,7 +9197,7 @@ Module sync. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9206,7 +9231,7 @@ Module sync. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9292,8 +9317,8 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", "fetch_sub", @@ -9307,11 +9332,12 @@ Module sync. "weak" |) |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::sync::atomic::Ordering::Release" [] ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9392,7 +9418,7 @@ Module sync. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9447,7 +9473,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9487,7 +9513,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9551,7 +9577,7 @@ Module sync. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9567,15 +9593,16 @@ Module sync. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::sync::Arc") [ T; A ], "ptr_eq", [] |), [ M.read (| self |); M.read (| other |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", T, [ T ], "ne", [] |), @@ -9603,7 +9630,7 @@ Module sync. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9641,7 +9668,7 @@ Module sync. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9666,7 +9693,7 @@ Module sync. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9719,7 +9746,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9759,7 +9786,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9799,7 +9826,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9839,7 +9866,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9879,7 +9906,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9938,7 +9965,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9993,7 +10020,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10036,7 +10063,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10088,7 +10115,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10127,7 +10154,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10170,7 +10197,7 @@ Module sync. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10205,7 +10232,7 @@ Module sync. |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10248,7 +10275,7 @@ Module sync. |), [ M.read (| v |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10289,7 +10316,7 @@ Module sync. |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10367,7 +10394,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10415,7 +10442,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10448,7 +10475,7 @@ Module sync. |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10553,7 +10580,12 @@ Module sync. "from_raw_parts_in", [] |), - [ M.read (| vec_ptr |); Value.Integer 0; M.read (| cap |); alloc ] + [ + M.read (| vec_ptr |); + Value.Integer IntegerKind.Usize 0; + M.read (| cap |); + alloc + ] |) |), [ @@ -10576,7 +10608,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10655,7 +10687,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10706,7 +10738,7 @@ Module sync. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10754,8 +10786,8 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -10775,8 +10807,9 @@ Module sync. [ boxed_slice ] |) ] - |)) - (M.read (| M.get_constant (| "alloc::sync::N" |) |)) + |), + M.read (| M.get_constant (| "alloc::sync::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ alloc := @@ -10831,7 +10864,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10886,7 +10919,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10940,7 +10973,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11052,14 +11085,16 @@ Module sync. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11212,7 +11247,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11248,7 +11283,7 @@ Module sync. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11284,7 +11319,7 @@ Module sync. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11333,7 +11368,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_data_offset : M.IsFunction "alloc::sync::data_offset" data_offset. @@ -11362,23 +11397,23 @@ Module sync. |) |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "padding_needed_for", [] |), [ layout; M.read (| align |) ] - |)) + |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_data_offset_align : @@ -11414,7 +11449,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11443,7 +11478,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11472,7 +11507,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11509,7 +11544,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/task.v b/CoqOfRust/alloc/task.v index bd02126ba..8f2e688e7 100644 --- a/CoqOfRust/alloc/task.v +++ b/CoqOfRust/alloc/task.v @@ -32,7 +32,7 @@ Module task. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_wake_by_ref : @@ -64,7 +64,7 @@ Module task. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95,7 +95,7 @@ Module task. M.get_function (| "alloc::task::raw_waker", [ W ] |), [ M.read (| waker |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -182,7 +182,7 @@ Module task. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_raw_waker : M.IsFunction "alloc::task::raw_waker" raw_waker. @@ -245,7 +245,7 @@ Module task. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_clone_waker : M.IsFunction "alloc::task::raw_waker::clone_waker" clone_waker. @@ -282,7 +282,7 @@ Module task. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_wake : M.IsFunction "alloc::task::raw_waker::wake" wake. @@ -348,7 +348,7 @@ Module task. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_wake_by_ref : M.IsFunction "alloc::task::raw_waker::wake_by_ref" wake_by_ref. @@ -377,7 +377,7 @@ Module task. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_drop_waker : M.IsFunction "alloc::task::raw_waker::drop_waker" drop_waker. diff --git a/CoqOfRust/alloc/vec/cow.v b/CoqOfRust/alloc/vec/cow.v index 57472d435..aec33e589 100644 --- a/CoqOfRust/alloc/vec/cow.v +++ b/CoqOfRust/alloc/vec/cow.v @@ -19,7 +19,7 @@ Module vec. ltac:(M.monadic (let s := M.alloc (| s |) in Value.StructTuple "alloc::borrow::Cow::Borrowed" [ M.read (| s |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48,7 +48,7 @@ Module vec. ltac:(M.monadic (let v := M.alloc (| v |) in Value.StructTuple "alloc::borrow::Cow::Owned" [ M.read (| v |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88,7 +88,7 @@ Module vec. [ M.read (| v |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -135,7 +135,7 @@ Module vec. [ M.read (| it |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/drain.v b/CoqOfRust/alloc/vec/drain.v index d0d3f271d..93ed015d4 100644 --- a/CoqOfRust/alloc/vec/drain.v +++ b/CoqOfRust/alloc/vec/drain.v @@ -80,7 +80,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -120,7 +120,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -163,7 +163,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -372,10 +372,11 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -409,10 +410,11 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| unyielded_ptr |)) + BinOp.ne (| + M.read (| unyielded_ptr |), (* MutToConstPointer *) - (M.pointer_coercion (M.read (| start_ptr |))) + M.pointer_coercion (M.read (| start_ptr |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -444,12 +446,13 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| tail |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| unyielded_len |))) + BinOp.ne (| + M.read (| tail |), + BinOp.Wrap.add (| + M.read (| start |), + M.read (| unyielded_len |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -537,13 +540,9 @@ Module vec. |), [ M.read (| source_vec |); - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| unyielded_len |))) - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| M.read (| start |), M.read (| unyielded_len |) |), + M.read (| M.SubPointer.get_struct_record_field (| M.call_closure (| M.get_trait_method (| @@ -560,13 +559,14 @@ Module vec. "alloc::vec::drain::Drain", "tail_len" |) - |)) + |) + |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_keep_rest : @@ -596,7 +596,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -690,11 +690,11 @@ Module vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -724,7 +724,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -796,11 +796,11 @@ Module vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -977,19 +977,19 @@ Module vec. |), [ M.read (| vec |); - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| old_len |)) - (M.read (| drop_len |))) - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| old_len |), + M.read (| drop_len |) + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::drain::Drain", "tail_len" |) - |)) + |) + |) ] |) |) in @@ -1003,16 +1003,16 @@ Module vec. |), [ M.read (| vec |); - BinOp.Wrap.add - Integer.Usize - (M.read (| old_len |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| old_len |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::drain::Drain", "tail_len" |) - |)) + |) + |) ] |) |) in @@ -1037,7 +1037,10 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| drop_len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| drop_len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1133,7 +1136,7 @@ Module vec. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1175,7 +1178,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/extract_if.v b/CoqOfRust/alloc/vec/extract_if.v index b6b51beca..afdaed47e 100644 --- a/CoqOfRust/alloc/vec/extract_if.v +++ b/CoqOfRust/alloc/vec/extract_if.v @@ -82,7 +82,7 @@ Module vec. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -125,7 +125,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -185,21 +185,22 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "idx" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "old_len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -278,7 +279,10 @@ Module vec. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -303,10 +307,10 @@ Module vec. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.return_ (| Value.StructTuple @@ -336,15 +340,16 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "del" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -371,10 +376,10 @@ Module vec. M.SubPointer.get_array_field (| M.read (| v |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (M.read (| del |)) + BinOp.Wrap.sub (| + M.read (| i |), + M.read (| del |) + |) |) |) |) in @@ -388,7 +393,7 @@ Module vec. [ M.read (| src |); M.read (| dst |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -417,7 +422,7 @@ Module vec. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -433,29 +438,29 @@ Module vec. (let self := M.alloc (| self |) in Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "old_len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "idx" |) - |)) + |) + |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -513,31 +518,33 @@ Module vec. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "idx" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "old_len" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| + (BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "del" |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -603,22 +610,22 @@ Module vec. |) in let~ tail_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "old_len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "idx" |) - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -651,28 +658,28 @@ Module vec. "vec" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "old_len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::extract_if::ExtractIf", "del" |) - |)) + |) + |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/in_place_collect.v b/CoqOfRust/alloc/vec/in_place_collect.v index 0db60886a..95ca5b2d4 100644 --- a/CoqOfRust/alloc/vec/in_place_collect.v +++ b/CoqOfRust/alloc/vec/in_place_collect.v @@ -76,42 +76,43 @@ Module vec. |) in let step_expand := M.copy (| γ1_0 |) in M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.mul - Integer.Usize - (M.call_closure (| + BinOp.ge (| + BinOp.Wrap.mul (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ SRC ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", [] |), [ M.read (| step_merge |) ] - |))) - (BinOp.Wrap.mul - Integer.Usize - (M.call_closure (| + |) + |), + BinOp.Wrap.mul (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ DEST ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", [] |), [ M.read (| step_expand |) ] - |))) + |) + |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_in_place_collectible : @@ -166,7 +167,10 @@ Module vec. M.never_to_any (| M.read (| M.return_ (| - BinOp.Pure.gt (M.read (| src_cap |)) (Value.Integer 0) + BinOp.gt (| + M.read (| src_cap |), + Value.Integer IntegerKind.Usize 0 + |) |) |) |) @@ -195,29 +199,30 @@ Module vec. |) in M.return_ (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| src_cap |)) (Value.Integer 0), + BinOp.gt (| M.read (| src_cap |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic - (BinOp.Pure.ne - (BinOp.Wrap.mul - Integer.Usize - (M.read (| src_cap |)) - (M.call_closure (| + (BinOp.ne (| + BinOp.Wrap.mul (| + M.read (| src_cap |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ SRC ] |), [] - |))) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| dst_cap |)) - (M.call_closure (| + |) + |), + BinOp.Wrap.mul (| + M.read (| dst_cap |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ DEST ] |), [] - |))))) + |) + |) + |))) |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_needs_realloc : @@ -464,25 +469,25 @@ Module vec. "end" |) |)); - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (M.read (| + BinOp.Wrap.div (| + BinOp.Wrap.mul (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| inner |), "alloc::vec::into_iter::IntoIter", "cap" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.associated ] |), [] - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) + |) + |) ] |), [ @@ -593,12 +598,12 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| - M.read (| right_val |) - |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -659,15 +664,16 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| src |), "alloc::vec::into_iter::IntoIter", "ptr" |) - |)) - (M.read (| src_ptr |)) + |), + M.read (| src_ptr |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -695,9 +701,9 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.rust_cast + UnOp.not (| + BinOp.le (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -710,14 +716,16 @@ Module vec. M.read (| dst_buf |); M.read (| len |) ] - |))) - (M.read (| + |)), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| src |), "alloc::vec::into_iter::IntoIter", "ptr" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -832,7 +840,12 @@ Module vec. M.match_operator (| M.alloc (| Value.Tuple - [ src_cap; M.alloc (| Value.Integer 0 |) ] + [ + src_cap; + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) + ] |), [ fun γ => @@ -851,13 +864,14 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -922,7 +936,12 @@ Module vec. M.match_operator (| M.alloc (| Value.Tuple - [ dst_cap; M.alloc (| Value.Integer 0 |) ] + [ + dst_cap; + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) + ] |), [ fun γ => @@ -941,13 +960,14 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1153,28 +1173,28 @@ Module vec. Value.Tuple [ M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| src_cap |)) - (M.call_closure (| + BinOp.Wrap.mul (| + M.read (| src_cap |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.associated ] |), [] - |)) + |) + |) |); M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| dst_cap |)) - (M.call_closure (| + BinOp.Wrap.mul (| + M.read (| dst_cap |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) + |) + |) |) ] |), @@ -1195,14 +1215,16 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1286,7 +1308,7 @@ Module vec. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1363,9 +1385,9 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.rust_cast + UnOp.not (| + BinOp.le (| + M.rust_cast (* MutToConstPointer *) (M.pointer_coercion (M.read (| @@ -1374,8 +1396,10 @@ Module vec. "alloc::vec::in_place_drop::InPlaceDrop", "dst" |) - |)))) - (M.read (| src_end |))) + |))), + M.read (| src_end |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1462,7 +1486,7 @@ Module vec. "dst" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -1477,9 +1501,9 @@ Module vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_write_in_place_with_drop : @@ -1615,7 +1639,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1694,7 +1718,10 @@ Module vec. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| len |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| len |)) + ] ] |) |), @@ -1769,13 +1796,15 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.rust_cast + UnOp.not (| + BinOp.le (| + M.rust_cast (* MutToConstPointer *) (M.pointer_coercion - (M.read (| dst |)))) - (M.read (| end_ |))) + (M.read (| dst |))), + M.read (| end_ |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1857,7 +1886,8 @@ Module vec. "add", [] |), - [ M.read (| dst |); Value.Integer 1 ] + [ M.read (| dst |); Value.Integer IntegerKind.Usize 1 + ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -1879,7 +1909,7 @@ Module vec. |) in len |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/in_place_drop.v b/CoqOfRust/alloc/vec/in_place_drop.v index 3b819e321..ee9521a3e 100644 --- a/CoqOfRust/alloc/vec/in_place_drop.v +++ b/CoqOfRust/alloc/vec/in_place_drop.v @@ -47,7 +47,7 @@ Module vec. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -106,7 +106,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -181,7 +181,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/into_iter.v b/CoqOfRust/alloc/vec/into_iter.v index 8ca4a1f3a..5f23a4ebf 100644 --- a/CoqOfRust/alloc/vec/into_iter.v +++ b/CoqOfRust/alloc/vec/into_iter.v @@ -74,7 +74,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -123,7 +123,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -149,7 +149,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_slice : @@ -183,7 +183,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -226,7 +226,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_raw_mut_slice : @@ -281,7 +281,7 @@ Module vec. "alloc::vec::into_iter::IntoIter", "cap" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| @@ -374,7 +374,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_allocation_drop_remaining : @@ -415,7 +415,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_forget_remaining_elements : @@ -516,7 +516,7 @@ Module vec. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_trait_method (| @@ -683,7 +683,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_vecdeque : @@ -714,7 +714,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -793,21 +793,22 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::into_iter::IntoIter", "ptr" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::into_iter::IntoIter", "end" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -847,7 +848,7 @@ Module vec. "end" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -892,7 +893,7 @@ Module vec. "ptr" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -911,7 +912,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1019,7 +1020,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1189,7 +1190,7 @@ Module vec. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| step_size |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| step_size |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -1197,7 +1198,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1221,7 +1222,7 @@ Module vec. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1323,13 +1324,14 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| len |)) - (M.read (| + BinOp.lt (| + M.read (| len |), + M.read (| M.get_constant (| "alloc::vec::into_iter::next_chunk::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1371,7 +1373,10 @@ Module vec. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer + IntegerKind.Usize + 0); ("end_", M.read (| len |)) ] ] @@ -1460,11 +1465,12 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| len |)) - (M.read (| + BinOp.lt (| + M.read (| len |), + M.read (| M.get_constant (| "alloc::vec::into_iter::next_chunk::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1539,7 +1545,7 @@ Module vec. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| len |)) ] ] @@ -1650,7 +1656,7 @@ Module vec. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1717,7 +1723,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1774,21 +1780,22 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::into_iter::IntoIter", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::into_iter::IntoIter", "ptr" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -1828,7 +1835,7 @@ Module vec. "end" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -1865,7 +1872,7 @@ Module vec. "end" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -1892,7 +1899,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2062,7 +2069,7 @@ Module vec. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| step_size |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| step_size |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -2070,7 +2077,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2101,22 +2108,23 @@ Module vec. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::into_iter::IntoIter", "ptr" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::into_iter::IntoIter", "end" |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2205,7 +2213,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2317,7 +2325,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2396,7 +2404,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2425,7 +2433,7 @@ Module vec. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) |))). @@ -2442,7 +2450,7 @@ Module vec. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) |))). @@ -2479,7 +2487,7 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2514,7 +2522,7 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/is_zero.v b/CoqOfRust/alloc/vec/is_zero.v index d1c0a16f0..6cab223af 100644 --- a/CoqOfRust/alloc/vec/is_zero.v +++ b/CoqOfRust/alloc/vec/is_zero.v @@ -41,16 +41,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| M.read (| x |), Value.Integer IntegerKind.I8 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96,16 +96,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| M.read (| x |), Value.Integer IntegerKind.I16 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -151,16 +151,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| M.read (| x |), Value.Integer IntegerKind.I32 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -206,16 +206,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| M.read (| x |), Value.Integer IntegerKind.I64 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -261,16 +261,19 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.I128 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -316,16 +319,19 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.Isize 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -371,16 +377,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| M.read (| x |), Value.Integer IntegerKind.U8 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -426,16 +432,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| M.read (| x |), Value.Integer IntegerKind.U16 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -481,16 +487,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| M.read (| x |), Value.Integer IntegerKind.U32 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -536,16 +542,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| M.read (| x |), Value.Integer IntegerKind.U64 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -591,16 +597,19 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.U128 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -646,16 +655,19 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Integer 0))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.Usize 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -701,16 +713,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.Bool false))) + BinOp.eq (| M.read (| x |), Value.Bool false |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -756,16 +768,16 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| x |)) (Value.UnicodeChar 0))) + BinOp.eq (| M.read (| x |), Value.UnicodeChar 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -811,25 +823,26 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "f32", "to_bits", [] |), [ M.read (| x |) ] - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U32 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -875,25 +888,26 @@ Module vec. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "f64", "to_bits", [] |), [ M.read (| x |) ] - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| M.read (| self |) |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -922,7 +936,7 @@ Module vec. M.get_associated_function (| Ty.apply (Ty.path "*const") [ T ], "is_null", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -952,7 +966,7 @@ Module vec. M.get_associated_function (| Ty.apply (Ty.path "*mut") [ T ], "is_null", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -986,9 +1000,10 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in LogicalOp.and (| - BinOp.Pure.le - (M.read (| M.get_constant (| "alloc::vec::is_zero::N" |) |)) - (Value.Integer 16), + BinOp.le (| + M.read (| M.get_constant (| "alloc::vec::is_zero::N" |) |), + Value.Integer IntegerKind.Usize 16 + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -1013,7 +1028,7 @@ Module vec. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1174,7 +1189,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1320,7 +1335,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1451,7 +1466,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1567,7 +1582,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1668,7 +1683,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1754,7 +1769,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1825,7 +1840,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1881,7 +1896,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1916,7 +1931,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1955,7 +1970,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1991,7 +2006,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2026,7 +2041,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2061,7 +2076,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2096,7 +2111,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2131,7 +2146,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2166,7 +2181,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2201,7 +2216,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2236,7 +2251,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2271,7 +2286,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2306,7 +2321,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2341,7 +2356,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2376,7 +2391,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2417,7 +2432,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2458,7 +2473,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2499,7 +2514,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2540,7 +2555,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2581,7 +2596,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2622,7 +2637,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2663,7 +2678,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2704,7 +2719,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2745,7 +2760,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2786,7 +2801,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2827,7 +2842,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2868,7 +2883,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2903,7 +2918,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2940,7 +2955,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2981,9 +2996,9 @@ Module vec. [ M.read (| M.read (| self |) |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| raw |)) (Value.Integer 0) |) + M.alloc (| BinOp.eq (| M.read (| raw |), Value.Integer IntegerKind.U8 0 |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3031,9 +3046,9 @@ Module vec. [ M.read (| M.read (| self |) |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| raw |)) (Value.Integer 0) |) + M.alloc (| BinOp.eq (| M.read (| raw |), Value.Integer IntegerKind.U8 0 |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3089,9 +3104,9 @@ Module vec. [ M.read (| M.read (| self |) |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| raw |)) (Value.Integer 0) |) + M.alloc (| BinOp.eq (| M.read (| raw |), Value.Integer IntegerKind.U8 0 |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/mod.v b/CoqOfRust/alloc/vec/mod.v index 965e394e6..21a13f58c 100644 --- a/CoqOfRust/alloc/vec/mod.v +++ b/CoqOfRust/alloc/vec/mod.v @@ -28,9 +28,9 @@ Module vec. "alloc::vec::Vec" [ ("buf", M.read (| M.get_constant (| "alloc::raw_vec::NEW" |) |)); - ("len", Value.Integer 0) + ("len", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -54,7 +54,7 @@ Module vec. |), [ M.read (| capacity |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity : @@ -87,7 +87,7 @@ Module vec. Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_parts : @@ -121,9 +121,9 @@ Module vec. |), [ M.read (| alloc |) ] |)); - ("len", Value.Integer 0) + ("len", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_in : @@ -154,9 +154,9 @@ Module vec. |), [ M.read (| capacity |); M.read (| alloc |) ] |)); - ("len", Value.Integer 0) + ("len", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity_in : @@ -191,7 +191,7 @@ Module vec. |)); ("len", M.read (| length |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_parts_in : @@ -293,7 +293,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw_parts : @@ -436,7 +436,7 @@ Module vec. [ M.read (| ptr |); M.read (| len |); M.read (| capacity |); M.read (| alloc |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_raw_parts_with_alloc : @@ -463,7 +463,7 @@ Module vec. [ M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "buf" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_capacity : @@ -510,7 +510,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve : @@ -557,7 +557,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reserve_exact : @@ -598,7 +598,7 @@ Module vec. M.read (| additional |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve : @@ -639,7 +639,7 @@ Module vec. M.read (| additional |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_reserve_exact : @@ -671,22 +671,23 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -718,7 +719,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to_fit : @@ -748,16 +749,17 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) - (M.read (| min_capacity |)) + |), + M.read (| min_capacity |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -795,7 +797,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shrink_to : @@ -922,7 +924,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_boxed_slice : @@ -971,15 +973,16 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| len |)) - (M.read (| + BinOp.gt (| + M.read (| len |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -991,16 +994,16 @@ Module vec. |) in let~ remaining_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) |) in let~ s := M.alloc (| @@ -1051,7 +1054,7 @@ Module vec. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_truncate : @@ -1079,7 +1082,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -1107,7 +1110,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_slice : @@ -1143,7 +1146,7 @@ Module vec. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -1172,7 +1175,7 @@ Module vec. [ M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "buf" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_ptr : @@ -1199,7 +1202,7 @@ Module vec. [ M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "buf" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allocator : @@ -1238,17 +1241,19 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| new_len |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| new_len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1286,7 +1291,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_len : @@ -1344,8 +1349,7 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.ge (M.read (| index |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| index |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -1402,14 +1406,14 @@ Module vec. M.get_associated_function (| Ty.apply (Ty.path "*mut") [ T ], "add", [] |), [ M.read (| base_ptr |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) ] |)); M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ T ], "add", [] |), [ M.read (| base_ptr |); M.read (| index |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -1423,13 +1427,13 @@ Module vec. |), [ M.read (| self |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) ] |) |) in value |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_remove : @@ -1503,9 +1507,9 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| len |)) - (M.call_closure (| + BinOp.eq (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "capacity", @@ -1518,7 +1522,8 @@ Module vec. "buf" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -1529,7 +1534,7 @@ Module vec. "reserve", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -1562,7 +1567,7 @@ Module vec. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| index |)) (M.read (| len |)) |)) in + (M.alloc (| BinOp.lt (| M.read (| index |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -1577,9 +1582,9 @@ Module vec. "add", [] |), - [ M.read (| p |); Value.Integer 1 ] + [ M.read (| p |); Value.Integer IntegerKind.Usize 1 ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| index |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| index |) |) ] |) |) in @@ -1594,7 +1599,7 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| index |)) (M.read (| len |)) + BinOp.eq (| M.read (| index |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1638,13 +1643,13 @@ Module vec. |), [ M.read (| self |); - BinOp.Wrap.add Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -1708,8 +1713,7 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.ge (M.read (| index |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| index |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -1762,13 +1766,13 @@ Module vec. "add", [] |), - [ M.read (| ptr |); Value.Integer 1 ] + [ M.read (| ptr |); Value.Integer IntegerKind.Usize 1 ] |)); M.read (| ptr |); - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| index |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| M.read (| len |), M.read (| index |) |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1783,13 +1787,13 @@ Module vec. |), [ M.read (| self |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) ] |) |) in ret |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : @@ -1847,14 +1851,14 @@ Module vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain : @@ -1982,7 +1986,7 @@ Module vec. "set_len", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0 ] |) |) in let~ g := @@ -1991,8 +1995,8 @@ Module vec. "alloc::vec::retain_mut::BackshiftOnDrop" [ ("v", M.read (| self |)); - ("processed_len", Value.Integer 0); - ("deleted_cnt", Value.Integer 0); + ("processed_len", Value.Integer IntegerKind.Usize 0); + ("deleted_cnt", Value.Integer IntegerKind.Usize 0); ("original_len", M.read (| original_len |)) ] |) in @@ -2022,7 +2026,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_retain_mut : @@ -2114,11 +2118,11 @@ Module vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dedup_by_key : @@ -2283,7 +2287,9 @@ Module vec. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.le (M.read (| len |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.le (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2292,7 +2298,7 @@ Module vec. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ first_duplicate_idx := M.alloc (| Value.Integer 1 |) in + let~ first_duplicate_idx := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ start := M.alloc (| M.call_closure (| @@ -2315,9 +2321,10 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| first_duplicate_idx |)) - (M.read (| len |)) + BinOp.ne (| + M.read (| first_duplicate_idx |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2342,7 +2349,10 @@ Module vec. "wrapping_sub", [] |), - [ M.read (| first_duplicate_idx |); Value.Integer 1 ] + [ + M.read (| first_duplicate_idx |); + Value.Integer IntegerKind.Usize 1 + ] |) ] |) @@ -2402,7 +2412,10 @@ Module vec. let β := first_duplicate_idx in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2430,7 +2443,7 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| first_duplicate_idx |)) (M.read (| len |)) + BinOp.eq (| M.read (| first_duplicate_idx |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2446,10 +2459,10 @@ Module vec. "alloc::vec::dedup_by::FillGapOnDrop" [ ("read", - BinOp.Wrap.add - Integer.Usize - (M.read (| first_duplicate_idx |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| first_duplicate_idx |), + Value.Integer IntegerKind.Usize 1 + |)); ("write", M.read (| first_duplicate_idx |)); ("vec", M.read (| self |)) ] @@ -2483,15 +2496,16 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| gap, "alloc::vec::dedup_by::FillGapOnDrop", "read" |) - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2542,7 +2556,7 @@ Module vec. "write" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) ] @@ -2590,10 +2604,10 @@ Module vec. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.alloc (| @@ -2636,7 +2650,7 @@ Module vec. (* MutToConstPointer *) M.pointer_coercion (M.read (| read_ptr |)); M.read (| write_ptr |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -2649,10 +2663,10 @@ Module vec. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let β := @@ -2663,10 +2677,10 @@ Module vec. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2726,7 +2740,7 @@ Module vec. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dedup_by : @@ -2764,15 +2778,15 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "capacity", @@ -2785,7 +2799,8 @@ Module vec. "buf" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -2853,10 +2868,13 @@ Module vec. "alloc::vec::Vec", "len" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : @@ -2895,15 +2913,15 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "capacity", @@ -2916,7 +2934,8 @@ Module vec. "buf" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2974,13 +2993,13 @@ Module vec. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_within_capacity : @@ -3015,15 +3034,16 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -3038,29 +3058,30 @@ Module vec. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) + |) + |) ] |) |) in @@ -3103,7 +3124,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop : @@ -3160,12 +3181,12 @@ Module vec. "set_len", [] |), - [ M.read (| other |); Value.Integer 0 ] + [ M.read (| other |); Value.Integer IntegerKind.Usize 0 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append : @@ -3249,10 +3270,10 @@ Module vec. "alloc::vec::Vec", "len" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| count |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| count |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append_elements : @@ -3370,7 +3391,7 @@ Module vec. M.read (| start |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| end_ |)) (M.read (| start |)) + BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) ] |) |) in @@ -3379,8 +3400,7 @@ Module vec. "alloc::vec::drain::Drain" [ ("tail_start", M.read (| end_ |)); - ("tail_len", - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| end_ |))); + ("tail_len", BinOp.Wrap.sub (| M.read (| len |), M.read (| end_ |) |)); ("iter", M.call_closure (| M.get_associated_function (| @@ -3412,7 +3432,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drain : @@ -3460,7 +3480,7 @@ Module vec. "alloc::vec::Vec", "len" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.alloc (| @@ -3474,7 +3494,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : @@ -3495,7 +3515,7 @@ Module vec. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -3513,17 +3533,18 @@ Module vec. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ T; A ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -3586,16 +3607,17 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| at_ |)) - (M.call_closure (| + BinOp.gt (| + M.read (| at_ |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ T; A ], "len", [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3628,7 +3650,9 @@ Module vec. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| at_ |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| at_ |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3689,16 +3713,16 @@ Module vec. |) in let~ other_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) - (M.read (| at_ |)) + |), + M.read (| at_ |) + |) |) in let~ other := M.alloc (| @@ -3795,7 +3819,7 @@ Module vec. other |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_off : @@ -3841,8 +3865,7 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.gt (M.read (| new_len |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.gt (| M.read (| new_len |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -3880,10 +3903,7 @@ Module vec. |), [ M.read (| f |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| new_len |)) - (M.read (| len |)) + BinOp.Wrap.sub (| M.read (| new_len |), M.read (| len |) |) ] |) ] @@ -3907,7 +3927,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_resize_with : @@ -3990,7 +4010,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leak : @@ -4043,9 +4063,8 @@ Module vec. |) ] |)); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "capacity", @@ -4058,17 +4077,18 @@ Module vec. "buf" |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) + |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_spare_capacity_mut : @@ -4113,7 +4133,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at_spare_mut : @@ -4191,9 +4211,8 @@ Module vec. |) in let~ spare_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::raw_vec::RawVec") [ T; A ], "capacity", @@ -4206,14 +4225,15 @@ Module vec. "buf" |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::Vec", "len" |) - |)) + |) + |) |) in let~ initialized := M.alloc (| @@ -4254,7 +4274,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at_spare_mut_with_len : @@ -4300,8 +4320,7 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.gt (M.read (| new_len |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.gt (| M.read (| new_len |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -4312,7 +4331,7 @@ Module vec. |), [ M.read (| self |); - BinOp.Wrap.sub Integer.Usize (M.read (| new_len |)) (M.read (| len |)); + BinOp.Wrap.sub (| M.read (| new_len |), M.read (| len |) |); M.read (| value |) ] |) @@ -4334,7 +4353,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_resize : @@ -4369,7 +4388,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend_from_slice : @@ -4459,7 +4478,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend_from_within : @@ -4570,7 +4589,7 @@ Module vec. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 1); ("end_", M.read (| n |)) ] + [ ("start", Value.Integer IntegerKind.Usize 1); ("end_", M.read (| n |)) ] ] |) |), @@ -4640,7 +4659,7 @@ Module vec. "add", [] |), - [ M.read (| ptr |); Value.Integer 1 ] + [ M.read (| ptr |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -4651,7 +4670,7 @@ Module vec. "increment_len", [] |), - [ local_len; Value.Integer 1 ] + [ local_len; Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -4667,7 +4686,10 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.gt (| M.read (| n |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -4684,7 +4706,7 @@ Module vec. "increment_len", [] |), - [ local_len; Value.Integer 1 ] + [ local_len; Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -4692,7 +4714,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend_with : @@ -4753,11 +4775,11 @@ Module vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dedup : @@ -4843,16 +4865,17 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| len |)) - (M.call_closure (| + BinOp.eq (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ T; A ], "capacity", [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4894,7 +4917,10 @@ Module vec. "saturating_add", [] |), - [ M.read (| lower |); Value.Integer 1 ] + [ + M.read (| lower |); + Value.Integer IntegerKind.Usize 1 + ] |) ] |) @@ -4942,7 +4968,10 @@ Module vec. |), [ M.read (| self |); - BinOp.Wrap.add Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -4962,7 +4991,7 @@ Module vec. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend_desugared : @@ -5074,14 +5103,16 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5297,14 +5328,17 @@ Module vec. "increment_len", [] |), - [ local_len; Value.Integer 1 ] + [ + local_len; + Value.Integer IntegerKind.Usize 1 + ] |) |) in M.alloc (| Value.Tuple [] |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5341,7 +5375,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend_trusted : @@ -5389,7 +5423,7 @@ Module vec. [ M.read (| replace_with |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_splice : @@ -5439,7 +5473,7 @@ Module vec. "set_len", [] |), - [ M.read (| self |); Value.Integer 0 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0 ] |) |) in M.alloc (| Value.Tuple [] |) in @@ -5448,14 +5482,14 @@ Module vec. "alloc::vec::extract_if::ExtractIf" [ ("vec", M.read (| self |)); - ("idx", Value.Integer 0); - ("del", Value.Integer 0); + ("idx", Value.Integer IntegerKind.Usize 0); + ("del", Value.Integer IntegerKind.Usize 0); ("old_len", M.read (| old_len |)); ("pred", M.read (| filter |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extract_if : @@ -5629,7 +5663,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_flattened : @@ -5660,7 +5694,7 @@ Module vec. |), [ M.read (| elem |); M.read (| n |); Value.StructTuple "alloc::alloc::Global" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_elem : M.IsFunction "alloc::vec::from_elem" from_elem. @@ -5687,7 +5721,7 @@ Module vec. |), [ M.read (| elem |); M.read (| n |); M.read (| alloc |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_elem_in : M.IsFunction "alloc::vec::from_elem_in" from_elem_in. @@ -5905,7 +5939,7 @@ Module vec. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -5924,15 +5958,15 @@ Module vec. let β := M.read (| len |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5941,7 +5975,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6077,10 +6111,10 @@ Module vec. "alloc::vec::Vec", "len" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| count |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| count |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6130,7 +6164,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6177,7 +6211,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6244,7 +6278,7 @@ Module vec. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6285,7 +6319,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6338,7 +6372,7 @@ Module vec. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6390,7 +6424,7 @@ Module vec. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6443,7 +6477,7 @@ Module vec. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6491,7 +6525,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6754,7 +6788,7 @@ Module vec. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6807,7 +6841,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6861,7 +6895,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6915,7 +6949,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6944,7 +6978,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6973,7 +7007,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7028,7 +7062,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7066,7 +7100,7 @@ Module vec. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7095,7 +7129,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7158,7 +7192,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7228,7 +7262,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7285,7 +7319,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7319,7 +7353,7 @@ Module vec. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7368,7 +7402,7 @@ Module vec. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7395,7 +7429,7 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7422,7 +7456,7 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7458,7 +7492,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7494,7 +7528,7 @@ Module vec. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7525,7 +7559,7 @@ Module vec. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "to_vec", [] |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7557,7 +7591,7 @@ Module vec. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "to_vec", [] |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7600,7 +7634,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7647,7 +7681,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7696,7 +7730,7 @@ Module vec. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7731,7 +7765,7 @@ Module vec. |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7762,7 +7796,7 @@ Module vec. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "into_vec", [ A ] |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7798,7 +7832,7 @@ Module vec. |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7839,7 +7873,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7892,16 +7926,17 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [ T; A ], "len", [] |), [ vec ] - |)) - (M.read (| M.get_constant (| "alloc::vec::N" |) |)) + |), + M.read (| M.get_constant (| "alloc::vec::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7925,7 +7960,7 @@ Module vec. "set_len", [] |), - [ vec; Value.Integer 0 ] + [ vec; Value.Integer IntegerKind.Usize 0 ] |) |) in let~ array := @@ -7948,7 +7983,7 @@ Module vec. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| array |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/partial_eq.v b/CoqOfRust/alloc/vec/partial_eq.v index 47d8a0a4e..e54aa266d 100644 --- a/CoqOfRust/alloc/vec/partial_eq.v +++ b/CoqOfRust/alloc/vec/partial_eq.v @@ -45,7 +45,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -87,7 +87,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -146,7 +146,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -191,7 +191,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -250,7 +250,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -295,7 +295,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -355,7 +355,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -400,7 +400,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -459,7 +459,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -504,7 +504,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -559,7 +559,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -601,7 +601,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -656,7 +656,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -698,7 +698,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -768,7 +768,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -824,7 +824,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -897,7 +897,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -956,7 +956,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1030,7 +1030,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -1089,7 +1089,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1145,7 +1145,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -1187,7 +1187,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1245,7 +1245,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } *) @@ -1290,7 +1290,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/set_len_on_drop.v b/CoqOfRust/alloc/vec/set_len_on_drop.v index 44b89e98d..f0e18ebaa 100644 --- a/CoqOfRust/alloc/vec/set_len_on_drop.v +++ b/CoqOfRust/alloc/vec/set_len_on_drop.v @@ -28,7 +28,7 @@ Module vec. Value.StructRecord "alloc::vec::set_len_on_drop::SetLenOnDrop" [ ("local_len", M.read (| M.read (| len |) |)); ("len", M.read (| len |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -52,13 +52,10 @@ Module vec. "alloc::vec::set_len_on_drop::SetLenOnDrop", "local_len" |) in - M.write (| - β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| increment |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| increment |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_increment_len : @@ -81,7 +78,7 @@ Module vec. "local_len" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_current_len : M.IsAssociatedFunction Self "current_len" current_len. @@ -120,7 +117,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/spec_extend.v b/CoqOfRust/alloc/vec/spec_extend.v index ed321ff83..cbadcde42 100644 --- a/CoqOfRust/alloc/vec/spec_extend.v +++ b/CoqOfRust/alloc/vec/spec_extend.v @@ -29,7 +29,7 @@ Module vec. |), [ M.read (| self |); M.read (| iter |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64,7 +64,7 @@ Module vec. |), [ M.read (| self |); M.read (| iterator |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -140,7 +140,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -196,7 +196,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -249,7 +249,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/spec_from_elem.v b/CoqOfRust/alloc/vec/spec_from_elem.v index 4751a21a4..b730d753d 100644 --- a/CoqOfRust/alloc/vec/spec_from_elem.v +++ b/CoqOfRust/alloc/vec/spec_from_elem.v @@ -49,7 +49,7 @@ Module vec. |) in v |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -157,7 +157,7 @@ Module vec. v |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -204,7 +204,7 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| elem |)) (Value.Integer 0) + BinOp.eq (| M.read (| elem |), Value.Integer IntegerKind.I8 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -280,7 +280,7 @@ Module vec. v |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -326,7 +326,7 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| elem |)) (Value.Integer 0) + BinOp.eq (| M.read (| elem |), Value.Integer IntegerKind.U8 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -402,7 +402,7 @@ Module vec. v |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -461,7 +461,7 @@ Module vec. M.alloc (| Value.Tuple [] |) in v |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/spec_from_iter.v b/CoqOfRust/alloc/vec/spec_from_iter.v index b780fa340..341308f9d 100644 --- a/CoqOfRust/alloc/vec/spec_from_iter.v +++ b/CoqOfRust/alloc/vec/spec_from_iter.v @@ -31,7 +31,7 @@ Module vec. |), [ M.read (| iterator |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86,8 +86,8 @@ Module vec. (M.read (| let~ has_advanced := M.alloc (| - BinOp.Pure.ne - (M.rust_cast + BinOp.ne (| + M.rust_cast (* MutToConstPointer *) (M.pointer_coercion (M.call_closure (| @@ -105,14 +105,15 @@ Module vec. |) |) ] - |)))) - (M.read (| + |))), + M.read (| M.SubPointer.get_struct_record_field (| iterator, "alloc::vec::into_iter::IntoIter", "ptr" |) - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -124,10 +125,10 @@ Module vec. M.use (M.alloc (| LogicalOp.or (| - UnOp.Pure.not (M.read (| has_advanced |)), + UnOp.not (| M.read (| has_advanced |) |), ltac:(M.monadic - (BinOp.Pure.ge - (M.call_closure (| + (BinOp.ge (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -138,17 +139,18 @@ Module vec. [] |), [ iterator ] - |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| + |), + BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_record_field (| iterator, "alloc::vec::into_iter::IntoIter", "cap" |) - |)) - (Value.Integer 2)))) + |), + Value.Integer IntegerKind.Usize 2 + |) + |))) |) |)) in let _ := @@ -440,7 +442,7 @@ Module vec. vec |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/spec_from_iter_nested.v b/CoqOfRust/alloc/vec/spec_from_iter_nested.v index 6f8bf52eb..e8efe7523 100644 --- a/CoqOfRust/alloc/vec/spec_from_iter_nested.v +++ b/CoqOfRust/alloc/vec/spec_from_iter_nested.v @@ -131,7 +131,10 @@ Module vec. "saturating_add", [] |), - [ M.read (| lower |); Value.Integer 1 ] + [ + M.read (| lower |); + Value.Integer IntegerKind.Usize 1 + ] |) ] |) @@ -179,7 +182,7 @@ Module vec. "set_len", [] |), - [ vector; Value.Integer 1 ] + [ vector; Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |) in @@ -207,7 +210,7 @@ Module vec. vector |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -328,7 +331,7 @@ Module vec. |) in vector |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/alloc/vec/splice.v b/CoqOfRust/alloc/vec/splice.v index 23a7df7e9..ad88886ee 100644 --- a/CoqOfRust/alloc/vec/splice.v +++ b/CoqOfRust/alloc/vec/splice.v @@ -55,7 +55,7 @@ Module vec. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101,7 +101,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -131,7 +131,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -179,7 +179,7 @@ Module vec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -324,8 +324,8 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -335,8 +335,9 @@ Module vec. "alloc::vec::drain::Drain", "tail_len" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -413,8 +414,8 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::drain::Drain") @@ -434,7 +435,8 @@ Module vec. "replace_with" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -479,7 +481,10 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| lower_bound |)) (Value.Integer 0) + BinOp.gt (| + M.read (| lower_bound |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -514,8 +519,8 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::drain::Drain") @@ -535,7 +540,8 @@ Module vec. "replace_with" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -608,8 +614,8 @@ Module vec. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -620,8 +626,9 @@ Module vec. [] |), [ collected ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -704,7 +711,7 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not (M.read (| filled |)) + UnOp.not (| M.read (| filled |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -770,7 +777,9 @@ Module vec. [ collected ] |) |); - M.alloc (| Value.Integer 0 |) + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) ] |), [ @@ -790,14 +799,16 @@ Module vec. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -854,7 +865,7 @@ Module vec. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -957,10 +968,7 @@ Module vec. M.read (| range_start |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| range_end |)) - (M.read (| range_start |)) + BinOp.Wrap.sub (| M.read (| range_end |), M.read (| range_start |) |) ] |) |) in @@ -1066,10 +1074,10 @@ Module vec. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1092,7 +1100,7 @@ Module vec. M.alloc (| Value.Bool true |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fill : @@ -1143,22 +1151,22 @@ Module vec. |) in let~ len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::drain::Drain", "tail_start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::drain::Drain", "tail_len" |) - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -1181,16 +1189,16 @@ Module vec. |) in let~ new_tail_start := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "alloc::vec::drain::Drain", "tail_start" |) - |)) - (M.read (| additional |)) + |), + M.read (| additional |) + |) |) in let~ _ := let~ src := @@ -1262,7 +1270,7 @@ Module vec. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_move_tail : diff --git a/CoqOfRust/blacklist.txt b/CoqOfRust/blacklist.txt index b0737bdab..663dc4af0 100644 --- a/CoqOfRust/blacklist.txt +++ b/CoqOfRust/blacklist.txt @@ -1,12 +1,14 @@ -examples/default/examples/ink_contracts/proofs/erc20.v -examples/default/examples/ink_contracts/proofs/lib.v -examples/default/examples/ink_contracts/simulations/erc20.v -examples/default/examples/ink_contracts/simulations/erc721.v +# TODO: fix the files below +core/links/clone.v +core/ops/links/function.v +core/links/default.v +lib/proofs/lib.v +core/links/cmp.v +revm/interpreter/links/gas.v +# TODO: understand why the following file does not work revm/precompile/utilities.v # This file works but is taking a very long time (ten minutes) revm/interpreter/opcode.v -examples/default/examples/ink_contracts/proofs/erc721.v -move/ core/any.v core/array/mod.v core/cmp/bytewise.v @@ -17,3 +19,11 @@ core/net/ip_addr.v examples/axiomatized/examples/custom/provided_method.v examples/axiomatized/examples/rust_book/traits/traits.v examples/axiomatized/examples/subtle.v +examples/default/examples/ink_contracts/lib.v +examples/default/examples/ink_contracts/proofs/erc20.v +examples/default/examples/ink_contracts/proofs/erc721.v +examples/default/examples/ink_contracts/proofs/lib.v +examples/default/examples/ink_contracts/simulations/erc20.v +examples/default/examples/ink_contracts/simulations/erc721.v +move/ +token-2022/ diff --git a/CoqOfRust/core/alloc/global.v b/CoqOfRust/core/alloc/global.v index 8261aa592..6a2497152 100644 --- a/CoqOfRust/core/alloc/global.v +++ b/CoqOfRust/core/alloc/global.v @@ -45,15 +45,16 @@ Module alloc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], "is_null", [] |), [ M.read (| ptr |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -64,7 +65,8 @@ Module alloc. "core::intrinsics::write_bytes", [ Ty.path "u8" ] |), - [ M.read (| ptr |); Value.Integer 0; M.read (| size |) ] + [ M.read (| ptr |); Value.Integer IntegerKind.U8 0; M.read (| size |) + ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -73,7 +75,7 @@ Module alloc. |) in ptr |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_alloc_zeroed : @@ -130,15 +132,16 @@ Module alloc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.path "u8" ], "is_null", [] |), [ M.read (| new_ptr |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -188,7 +191,7 @@ Module alloc. |) in new_ptr |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_realloc : diff --git a/CoqOfRust/core/alloc/layout.v b/CoqOfRust/core/alloc/layout.v index 974a1ae56..6a68c576b 100644 --- a/CoqOfRust/core/alloc/layout.v +++ b/CoqOfRust/core/alloc/layout.v @@ -17,7 +17,7 @@ Module alloc. M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |); M.call_closure (| M.get_function (| "core::mem::align_of", [ T ] |), [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_size_align : M.IsFunction "core::alloc::layout::size_align" size_align. @@ -63,7 +63,7 @@ Module alloc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113,7 +113,7 @@ Module alloc. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -146,21 +146,22 @@ Module alloc. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::alloc::layout::Layout", "size" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::alloc::layout::Layout", "size" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -184,7 +185,7 @@ Module alloc. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -228,7 +229,7 @@ Module alloc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -291,7 +292,7 @@ Module alloc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -333,15 +334,16 @@ Module alloc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "is_power_of_two", [] |), [ M.read (| align |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -381,7 +383,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_size_align : @@ -411,21 +413,21 @@ Module alloc. | [], [ align ] => ltac:(M.monadic (let align := M.alloc (| align |) in - BinOp.Wrap.sub - Integer.Usize - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)), + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.path "core::ptr::alignment::Alignment", "as_usize", [] |), [ M.read (| align |) ] - |)) - (Value.Integer 1)))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 1 + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_size_for_align : @@ -459,16 +461,17 @@ Module alloc. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| size |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "max_size_for_align", [] |), [ M.read (| align |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -497,7 +500,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_size_alignment : @@ -529,7 +532,7 @@ Module alloc. [ M.read (| align |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_size_align_unchecked : @@ -552,7 +555,7 @@ Module alloc. "size" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size : M.IsAssociatedFunction Self "size" size. @@ -583,7 +586,7 @@ Module alloc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align : M.IsAssociatedFunction Self "align" align. @@ -629,7 +632,7 @@ Module alloc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -681,7 +684,7 @@ Module alloc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_for_value : M.IsAssociatedFunction Self "for_value" for_value. @@ -734,7 +737,7 @@ Module alloc. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_for_value_raw : @@ -773,7 +776,7 @@ Module alloc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dangling : M.IsAssociatedFunction Self "dangling" dangling. @@ -816,7 +819,7 @@ Module alloc. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align_to : M.IsAssociatedFunction Self "align_to" align_to. @@ -868,7 +871,7 @@ Module alloc. |) in let~ len_rounded_up := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_sub", [] |), [ @@ -876,14 +879,15 @@ Module alloc. M.get_associated_function (| Ty.path "usize", "wrapping_add", [] |), [ M.read (| len |); M.read (| align |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |)) - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_sub", [] |), - [ M.read (| align |); Value.Integer 1 ] - |))) + [ M.read (| align |); Value.Integer IntegerKind.Usize 1 ] + |) + |)) |) in M.alloc (| M.call_closure (| @@ -892,7 +896,7 @@ Module alloc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_padding_needed_for : @@ -940,17 +944,17 @@ Module alloc. |) in let~ new_size := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ M.read (| self |) ] - |)) - (M.read (| pad |)) + |), + M.read (| pad |) + |) |) in M.alloc (| M.call_closure (| @@ -973,7 +977,7 @@ Module alloc. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pad_to_align : @@ -1004,17 +1008,16 @@ Module alloc. (M.read (| let~ padded_size := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "padding_needed_for", @@ -1031,7 +1034,8 @@ Module alloc. [ M.read (| self |) ] |) ] - |)) + |) + |) |) in let~ alloc_size := M.copy (| @@ -1228,7 +1232,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_repeat : M.IsAssociatedFunction Self "repeat" repeat. @@ -1600,7 +1604,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend : M.IsAssociatedFunction Self "extend" extend. @@ -1741,7 +1745,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_repeat_packed : @@ -1890,7 +1894,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend_packed : @@ -1959,7 +1963,7 @@ Module alloc. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_array : M.IsAssociatedFunction Self "array" array. @@ -1985,7 +1989,7 @@ Module alloc. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::alloc::layout::LayoutError" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2018,7 +2022,7 @@ Module alloc. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2050,7 +2054,7 @@ Module alloc. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2076,7 +2080,7 @@ Module alloc. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "LayoutError" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2119,7 +2123,7 @@ Module alloc. M.read (| Value.String "invalid parameters to Layout::from_size_align" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/alloc/mod.v b/CoqOfRust/core/alloc/mod.v index 29acc59d5..c99c3b552 100644 --- a/CoqOfRust/core/alloc/mod.v +++ b/CoqOfRust/core/alloc/mod.v @@ -30,7 +30,7 @@ Module alloc. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63,7 +63,7 @@ Module alloc. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95,7 +95,7 @@ Module alloc. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -121,7 +121,7 @@ Module alloc. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "AllocError" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -161,7 +161,7 @@ Module alloc. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "memory allocation failed" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -299,7 +299,7 @@ Module alloc. |) ] |); - Value.Integer 0; + Value.Integer IntegerKind.U8 0; M.call_closure (| M.get_associated_function (| Ty.apply @@ -316,7 +316,7 @@ Module alloc. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| ptr |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_allocate_zeroed : @@ -350,24 +350,26 @@ Module alloc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ new_layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ old_layout ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -555,7 +557,7 @@ Module alloc. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| new_ptr |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_grow : M.IsProvidedMethod "core::alloc::Allocator" "grow" grow. @@ -588,24 +590,26 @@ Module alloc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ new_layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ old_layout ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -793,7 +797,7 @@ Module alloc. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| new_ptr |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_grow_zeroed : @@ -827,24 +831,26 @@ Module alloc. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ new_layout ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::alloc::layout::Layout", "size", [] |), [ old_layout ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1032,7 +1038,7 @@ Module alloc. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| new_ptr |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_shrink : M.IsProvidedMethod "core::alloc::Allocator" "shrink" shrink. @@ -1042,7 +1048,7 @@ Module alloc. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_by_ref : M.IsProvidedMethod "core::alloc::Allocator" "by_ref" by_ref. @@ -1067,7 +1073,7 @@ Module alloc. M.get_trait_method (| "core::alloc::Allocator", A, [], "allocate", [] |), [ M.read (| M.read (| self |) |); M.read (| layout |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1086,7 +1092,7 @@ Module alloc. M.get_trait_method (| "core::alloc::Allocator", A, [], "allocate_zeroed", [] |), [ M.read (| M.read (| self |) |); M.read (| layout |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1107,7 +1113,7 @@ Module alloc. M.get_trait_method (| "core::alloc::Allocator", A, [], "deallocate", [] |), [ M.read (| M.read (| self |) |); M.read (| ptr |); M.read (| layout |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1139,7 +1145,7 @@ Module alloc. M.read (| new_layout |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1171,7 +1177,7 @@ Module alloc. M.read (| new_layout |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1203,7 +1209,7 @@ Module alloc. M.read (| new_layout |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/any.v b/CoqOfRust/core/any.v index 30eee1200..e420a64a5 100644 --- a/CoqOfRust/core/any.v +++ b/CoqOfRust/core/any.v @@ -23,7 +23,7 @@ Module any. M.get_associated_function (| Ty.path "core::any::TypeId", "of", [ T ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68,7 +68,7 @@ Module any. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113,7 +113,7 @@ Module any. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -163,7 +163,7 @@ Module any. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -228,7 +228,7 @@ Module any. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is : M.IsAssociatedFunction Self "is" is. @@ -288,7 +288,7 @@ Module any. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref : M.IsAssociatedFunction Self "downcast_ref" downcast_ref. @@ -348,7 +348,7 @@ Module any. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut : M.IsAssociatedFunction Self "downcast_mut" downcast_mut. @@ -383,15 +383,16 @@ Module any. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.dyn [ ("core::any::Any::Trait", []) ], "is", [ T ] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -421,7 +422,7 @@ Module any. |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref_unchecked : @@ -457,15 +458,16 @@ Module any. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.dyn [ ("core::any::Any::Trait", []) ], "is", [ T ] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -495,7 +497,7 @@ Module any. |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut_unchecked : @@ -520,7 +522,7 @@ Module any. M.get_associated_function (| Ty.dyn [ ("core::any::Any::Trait", []) ], "is", [ T ] |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is : M.IsAssociatedFunction Self "is" is. @@ -543,7 +545,7 @@ Module any. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref : M.IsAssociatedFunction Self "downcast_ref" downcast_ref. @@ -566,7 +568,7 @@ Module any. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut : M.IsAssociatedFunction Self "downcast_mut" downcast_mut. @@ -590,7 +592,7 @@ Module any. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref_unchecked : @@ -615,7 +617,7 @@ Module any. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut_unchecked : @@ -645,7 +647,7 @@ Module any. M.get_associated_function (| Ty.dyn [ ("core::any::Any::Trait", []) ], "is", [ T ] |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is : M.IsAssociatedFunction Self "is" is. @@ -668,7 +670,7 @@ Module any. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref : M.IsAssociatedFunction Self "downcast_ref" downcast_ref. @@ -691,7 +693,7 @@ Module any. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut : M.IsAssociatedFunction Self "downcast_mut" downcast_mut. @@ -715,7 +717,7 @@ Module any. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref_unchecked : @@ -740,7 +742,7 @@ Module any. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut_unchecked : @@ -769,7 +771,7 @@ Module any. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -822,7 +824,7 @@ Module any. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -859,7 +861,7 @@ Module any. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -902,7 +904,7 @@ Module any. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -938,7 +940,7 @@ Module any. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -963,18 +965,19 @@ Module any. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::any::TypeId", "t" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::any::TypeId", "t" |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1005,7 +1008,7 @@ Module any. |) in M.alloc (| Value.StructRecord "core::any::TypeId" [ ("t", M.read (| t |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_of : M.IsAssociatedFunction Self "of" of. @@ -1059,7 +1062,7 @@ Module any. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1080,7 +1083,7 @@ Module any. | [ T ], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::intrinsics::type_name", [ T ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_type_name : M.IsFunction "core::any::type_name" type_name. @@ -1096,7 +1099,7 @@ Module any. ltac:(M.monadic (let _val := M.alloc (| _val |) in M.call_closure (| M.get_function (| "core::any::type_name", [ T ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_type_name_of_val : M.IsFunction "core::any::type_name_of_val" type_name_of_val. diff --git a/CoqOfRust/core/array/ascii.v b/CoqOfRust/core/array/ascii.v index e961adbc9..022029f48 100644 --- a/CoqOfRust/core/array/ascii.v +++ b/CoqOfRust/core/array/ascii.v @@ -60,7 +60,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ascii : M.IsAssociatedFunction Self "as_ascii" as_ascii. @@ -83,7 +83,7 @@ Module array. let~ ascii_ptr := M.alloc (| M.rust_cast (M.read (| byte_ptr |)) |) in M.alloc (| M.read (| ascii_ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ascii_unchecked : diff --git a/CoqOfRust/core/array/drain.v b/CoqOfRust/core/array/drain.v index 6d696922b..71bc5d21f 100644 --- a/CoqOfRust/core/array/drain.v +++ b/CoqOfRust/core/array/drain.v @@ -77,7 +77,7 @@ Module array. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_drain_array_with : @@ -124,7 +124,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -253,7 +253,7 @@ Module array. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -290,7 +290,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -337,7 +337,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -406,7 +406,7 @@ Module array. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/array/equality.v b/CoqOfRust/core/array/equality.v index 7728ab112..4841a4caa 100644 --- a/CoqOfRust/core/array/equality.v +++ b/CoqOfRust/core/array/equality.v @@ -28,7 +28,7 @@ Module array. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -53,7 +53,7 @@ Module array. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -135,7 +135,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -204,7 +204,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -286,7 +286,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -355,7 +355,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -393,7 +393,7 @@ Module array. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -418,7 +418,7 @@ Module array. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -458,7 +458,7 @@ Module array. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -483,7 +483,7 @@ Module array. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -521,7 +521,7 @@ Module array. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -546,7 +546,7 @@ Module array. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -586,7 +586,7 @@ Module array. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -611,7 +611,7 @@ Module array. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -685,7 +685,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -731,7 +731,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -781,7 +781,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -796,8 +796,8 @@ Module array. ltac:(M.monadic (let a := M.alloc (| a |) in let b := M.alloc (| b |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::array::equality::SpecArrayEq", T, @@ -806,8 +806,9 @@ Module array. [] |), [ M.read (| a |); M.read (| b |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/array/iter.v b/CoqOfRust/core/array/iter.v index 116d5ddee..85b83596f 100644 --- a/CoqOfRust/core/array/iter.v +++ b/CoqOfRust/core/array/iter.v @@ -85,7 +85,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -126,7 +126,7 @@ Module array. |), [ M.read (| array |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -183,7 +183,7 @@ Module array. [ ("data", M.read (| buffer |)); ("alive", M.read (| alive |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -221,7 +221,10 @@ Module array. M.alloc (| Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 0) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 0) + ] |) in M.alloc (| M.call_closure (| @@ -234,7 +237,7 @@ Module array. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_empty : @@ -305,7 +308,7 @@ Module array. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -376,7 +379,7 @@ Module array. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_slice : @@ -485,11 +488,11 @@ Module array. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -526,7 +529,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -652,13 +655,13 @@ Module array. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -682,7 +685,7 @@ Module array. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -706,7 +709,7 @@ Module array. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -753,17 +756,17 @@ Module array. |) in let~ remaining := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| n |), + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "len", [] |), [ range_to_drop ] - |)) + |) + |) |) in let~ _ := let~ slice := @@ -841,7 +844,7 @@ Module array. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -929,7 +932,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1049,11 +1052,11 @@ Module array. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1179,13 +1182,13 @@ Module array. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1232,17 +1235,17 @@ Module array. |) in let~ remaining := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| n |), + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "len", [] |), [ range_to_drop ] - |)) + |) + |) |) in let~ _ := let~ slice := @@ -1320,7 +1323,7 @@ Module array. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1367,7 +1370,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1407,7 +1410,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1437,7 +1440,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1558,7 +1561,7 @@ Module array. "zero_to", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] |)) ] |) in @@ -1709,9 +1712,8 @@ Module array. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "end", @@ -1724,8 +1726,9 @@ Module array. "alive" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1738,7 +1741,7 @@ Module array. |)) in new |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1807,7 +1810,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/array/mod.v b/CoqOfRust/core/array/mod.v index a506af6af..67b8d6971 100644 --- a/CoqOfRust/core/array/mod.v +++ b/CoqOfRust/core/array/mod.v @@ -42,7 +42,7 @@ Module array. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_fn : M.IsFunction "core::array::from_fn" from_fn. @@ -144,7 +144,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_from_fn : M.IsFunction "core::array::try_from_fn" try_from_fn. @@ -168,7 +168,7 @@ Module array. |), [ M.read (| M.use (M.alloc (| M.read (| s |) |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_ref : M.IsFunction "core::array::from_ref" from_ref. @@ -192,7 +192,7 @@ Module array. |), [ M.read (| M.use (M.alloc (| M.read (| s |) |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_mut : M.IsFunction "core::array::from_mut" from_mut. @@ -234,7 +234,7 @@ Module array. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,7 +271,7 @@ Module array. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -313,7 +313,7 @@ Module array. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -338,7 +338,7 @@ Module array. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "could not convert slice to array" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -363,7 +363,7 @@ Module array. ltac:(M.monadic (let x := M.alloc (| x |) in M.never_to_any (| M.read (| M.match_operator (| x, [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -398,7 +398,7 @@ Module array. |), [ M.read (| self |); Value.StructTuple "core::ops::range::RangeFull" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -434,7 +434,7 @@ Module array. |), [ M.read (| self |); Value.StructTuple "core::ops::range::RangeFull" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -461,7 +461,7 @@ Module array. ltac:(M.monadic (let self := M.alloc (| self |) in (* Unsize *) M.pointer_coercion (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -488,7 +488,7 @@ Module array. ltac:(M.monadic (let self := M.alloc (| self |) in (* Unsize *) M.pointer_coercion (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -541,7 +541,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -582,7 +582,7 @@ Module array. |), [ M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -629,16 +629,17 @@ Module array. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| M.get_constant (| "core::array::N" |) |)) + |), + M.read (| M.get_constant (| "core::array::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ ptr := @@ -666,7 +667,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -713,16 +714,17 @@ Module array. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| M.get_constant (| "core::array::N" |) |)) + |), + M.read (| M.get_constant (| "core::array::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ ptr := @@ -750,7 +752,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -801,7 +803,7 @@ Module array. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -852,7 +854,7 @@ Module array. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -889,7 +891,7 @@ Module array. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "iter", [] |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -931,7 +933,7 @@ Module array. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "iter_mut", [] |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -981,7 +983,7 @@ Module array. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1024,7 +1026,7 @@ Module array. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1086,7 +1088,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1136,7 +1138,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1186,7 +1188,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1236,7 +1238,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1286,7 +1288,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1355,7 +1357,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1397,7 +1399,7 @@ Module array. M.get_trait_method (| "core::array::SpecArrayClone", T, [], "clone", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1429,7 +1431,7 @@ Module array. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1490,7 +1492,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1517,7 +1519,7 @@ Module array. ltac:(M.monadic (let array := M.alloc (| array |) in M.read (| M.read (| array |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1673,7 +1675,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1820,7 +1822,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1963,7 +1965,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2102,7 +2104,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2237,7 +2239,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2368,7 +2370,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2495,7 +2497,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2618,7 +2620,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2737,7 +2739,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2852,7 +2854,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2963,7 +2965,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3070,7 +3072,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3173,7 +3175,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3272,7 +3274,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3367,7 +3369,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3458,7 +3460,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3545,7 +3547,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3628,7 +3630,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3707,7 +3709,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3782,7 +3784,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3853,7 +3855,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3920,7 +3922,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3983,7 +3985,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4042,7 +4044,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4097,7 +4099,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4148,7 +4150,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4195,7 +4197,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4238,7 +4240,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4277,7 +4279,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4312,7 +4314,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4343,7 +4345,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4370,7 +4372,7 @@ Module array. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4419,7 +4421,10 @@ Module array. (* fn default() -> [T; $n] { [] } *) Definition default (T : Ty.t) (τ : list Ty.t) (α : list Value.t) : M := let Self : Ty.t := Self T in - match τ, α with | [], [] => ltac:(M.monadic (Value.Array [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Array [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : forall (T : Ty.t), @@ -4477,7 +4482,7 @@ Module array. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "map" (map T). @@ -4550,11 +4555,11 @@ Module array. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_map : @@ -4573,7 +4578,7 @@ Module array. ltac:(M.monadic (let self := M.alloc (| self |) in (* Unsize *) M.pointer_coercion (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -4592,7 +4597,7 @@ Module array. ltac:(M.monadic (let self := M.alloc (| self |) in (* Unsize *) M.pointer_coercion (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_slice : @@ -4622,7 +4627,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_each_ref : @@ -4655,7 +4660,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_each_mut : @@ -4688,7 +4693,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_array_ref : @@ -4721,7 +4726,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_array_mut : @@ -4758,7 +4763,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit_array_ref : @@ -4795,7 +4800,7 @@ Module array. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit_array_mut : @@ -4858,7 +4863,7 @@ Module array. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_trusted_iterator : @@ -4899,9 +4904,9 @@ Module array. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.read (| + UnOp.not (| + BinOp.ge (| + M.read (| M.SubPointer.get_tuple_field (| M.alloc (| M.call_closure (| @@ -4917,10 +4922,12 @@ Module array. |), 0 |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::array::try_from_trusted_iterator::N" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4946,7 +4953,7 @@ Module array. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_from_trusted_iterator : @@ -4990,9 +4997,9 @@ Module array. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_next : M.IsFunction "core::array::try_from_trusted_iterator::next" next. @@ -5036,7 +5043,10 @@ Module array. M.alloc (| Value.StructRecord "core::array::Guard" - [ ("array_mut", M.read (| buffer |)); ("initialized", Value.Integer 0) ] + [ + ("array_mut", M.read (| buffer |)); + ("initialized", Value.Integer IntegerKind.Usize 0) + ] |) in let~ _ := M.loop (| @@ -5049,15 +5059,15 @@ Module array. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| guard, "core::array::Guard", "initialized" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -5078,7 +5088,8 @@ Module array. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5228,7 +5239,7 @@ Module array. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_from_fn_erased : @@ -5329,13 +5340,13 @@ Module array. "initialized" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_unchecked : @@ -5382,16 +5393,16 @@ Module array. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::array::Guard", "initialized" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -5412,7 +5423,9 @@ Module array. |) |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5491,7 +5504,7 @@ Module array. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5588,7 +5601,10 @@ Module array. M.read (| array |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| initialized |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| initialized |)) + ] ] |) ] @@ -5596,7 +5612,7 @@ Module array. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_iter_next_chunk : M.IsFunction "core::array::iter_next_chunk" iter_next_chunk. @@ -5635,7 +5651,10 @@ Module array. M.alloc (| Value.StructRecord "core::array::Guard" - [ ("array_mut", M.read (| buffer |)); ("initialized", Value.Integer 0) ] + [ + ("array_mut", M.read (| buffer |)); + ("initialized", Value.Integer IntegerKind.Usize 0) + ] |) in let~ _ := M.loop (| @@ -5648,15 +5667,15 @@ Module array. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| guard, "core::array::Guard", "initialized" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -5677,7 +5696,8 @@ Module array. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5744,7 +5764,7 @@ Module array. |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_iter_next_chunk_erased : diff --git a/CoqOfRust/core/ascii.v b/CoqOfRust/core/ascii.v index 9fb5fa803..a7c81530c 100644 --- a/CoqOfRust/core/ascii.v +++ b/CoqOfRust/core/ascii.v @@ -38,7 +38,7 @@ Module ascii. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88,7 +88,7 @@ Module ascii. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_escape_default : M.IsFunction "core::ascii::escape_default" escape_default. @@ -119,7 +119,7 @@ Module ascii. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -157,7 +157,7 @@ Module ascii. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -174,7 +174,7 @@ Module ascii. M.get_associated_function (| Ty.path "core::escape::EscapeIterInner", "len", [] |), [ M.SubPointer.get_struct_tuple_field (| self, "core::ascii::EscapeDefault", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -195,7 +195,7 @@ Module ascii. |), [ M.SubPointer.get_struct_tuple_field (| self, "core::ascii::EscapeDefault", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -224,7 +224,7 @@ Module ascii. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -270,7 +270,7 @@ Module ascii. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -299,7 +299,7 @@ Module ascii. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -337,7 +337,7 @@ Module ascii. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -393,7 +393,7 @@ Module ascii. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -437,7 +437,7 @@ Module ascii. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ascii/ascii_char.v b/CoqOfRust/core/ascii/ascii_char.v index 8585b1b12..3ddf252d9 100644 --- a/CoqOfRust/core/ascii/ascii_char.v +++ b/CoqOfRust/core/ascii/ascii_char.v @@ -674,7 +674,7 @@ Module ascii. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -706,7 +706,7 @@ Module ascii. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -760,9 +760,9 @@ Module ascii. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -811,7 +811,7 @@ Module ascii. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -866,7 +866,7 @@ Module ascii. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -905,7 +905,7 @@ Module ascii. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -941,7 +941,10 @@ Module ascii. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| b |)) (Value.Integer 127) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| b |), Value.Integer IntegerKind.U8 127 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -963,7 +966,7 @@ Module ascii. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_u8 : M.IsAssociatedFunction Self "from_u8" from_u8. @@ -986,7 +989,7 @@ Module ascii. |), [ M.read (| b |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_u8_unchecked : @@ -1014,7 +1017,10 @@ Module ascii. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| d |)) (Value.Integer 10) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| d |), Value.Integer IntegerKind.U8 10 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -1036,7 +1042,7 @@ Module ascii. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_digit : M.IsAssociatedFunction Self "digit" digit. @@ -1078,8 +1084,12 @@ Module ascii. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt (M.read (| d |)) (Value.Integer 10)) + UnOp.not (| + BinOp.lt (| + M.read (| d |), + Value.Integer IntegerKind.U8 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1119,7 +1129,7 @@ Module ascii. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_digit_unchecked : @@ -1136,7 +1146,7 @@ Module ascii. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_u8 : M.IsAssociatedFunction Self "to_u8" to_u8. @@ -1152,7 +1162,7 @@ Module ascii. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.rust_cast (M.read (| self |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_char : M.IsAssociatedFunction Self "to_char" to_char. @@ -1183,7 +1193,7 @@ Module ascii. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -1212,7 +1222,7 @@ Module ascii. let~ str_ptr := M.alloc (| M.rust_cast (M.read (| ascii_ptr |)) |) in M.alloc (| M.read (| str_ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -1240,7 +1250,7 @@ Module ascii. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes : M.IsAssociatedFunction Self "as_bytes" as_bytes. @@ -1274,7 +1284,7 @@ Module ascii. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1453,15 +1463,16 @@ Module ascii. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "u8", "is_ascii_control", [] |), [ byte ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1484,7 +1495,7 @@ Module ascii. "core::ascii::ascii_char::AsciiChar::Null" [] ]; - Value.Integer 1 + Value.Integer IntegerKind.U8 1 ] |))); fun γ => @@ -1504,7 +1515,11 @@ Module ascii. "from", [] |), - [ BinOp.Wrap.shr (M.read (| byte |)) (Value.Integer 4) + [ + BinOp.Wrap.shr (| + M.read (| byte |), + Value.Integer IntegerKind.I32 4 + |) ] |) |) @@ -1526,9 +1541,9 @@ Module ascii. [] |), [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| byte |)) - (Value.Integer 15) + (Value.Integer IntegerKind.U8 15) ] |) |) @@ -1548,7 +1563,7 @@ Module ascii. M.read (| hi |); M.read (| lo |) ]; - Value.Integer 4 + Value.Integer IntegerKind.U8 4 ] |))) ] @@ -1843,7 +1858,7 @@ Module ascii. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/asserting.v b/CoqOfRust/core/asserting.v index d12f25f4a..5ae5a892d 100644 --- a/CoqOfRust/core/asserting.v +++ b/CoqOfRust/core/asserting.v @@ -27,7 +27,7 @@ Module asserting. (let self := M.alloc (| self |) in let β1 := M.alloc (| β1 |) in M.match_operator (| β1, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62,7 +62,7 @@ Module asserting. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "N/A" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -124,7 +124,7 @@ Module asserting. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -197,7 +197,7 @@ Module asserting. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -239,7 +239,7 @@ Module asserting. ("elem", Value.StructTuple "core::option::Option::None" []); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : diff --git a/CoqOfRust/core/async_iter/async_iter.v b/CoqOfRust/core/async_iter/async_iter.v index e0146208c..cef47482a 100644 --- a/CoqOfRust/core/async_iter/async_iter.v +++ b/CoqOfRust/core/async_iter/async_iter.v @@ -10,8 +10,10 @@ Module async_iter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - Value.Tuple [ Value.Integer 0; Value.StructTuple "core::option::Option::None" [] ])) - | _, _ => M.impossible + Value.Tuple + [ Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::None" [] + ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_size_hint : @@ -71,7 +73,7 @@ Module async_iter. M.read (| cx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -95,7 +97,7 @@ Module async_iter. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -152,7 +154,7 @@ Module async_iter. M.read (| cx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -187,7 +189,7 @@ Module async_iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -224,7 +226,7 @@ Module async_iter. Value.StructTuple "core::task::poll::Poll::Ready" [ Value.StructTuple "core::option::Option::Some" [ M.read (| t |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_async_gen_ready : diff --git a/CoqOfRust/core/async_iter/from_iter.v b/CoqOfRust/core/async_iter/from_iter.v index 3c2a38b78..99b63437b 100644 --- a/CoqOfRust/core/async_iter/from_iter.v +++ b/CoqOfRust/core/async_iter/from_iter.v @@ -36,7 +36,7 @@ Module async_iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81,7 +81,7 @@ Module async_iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -131,7 +131,7 @@ Module async_iter. [ M.read (| iter |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_iter : M.IsFunction "core::async_iter::from_iter::from_iter" from_iter. @@ -190,7 +190,7 @@ Module async_iter. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -220,7 +220,7 @@ Module async_iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/bool.v b/CoqOfRust/core/bool.v index 9a4b595b3..6ab0096e7 100644 --- a/CoqOfRust/core/bool.v +++ b/CoqOfRust/core/bool.v @@ -32,7 +32,7 @@ Module bool. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_then_some : M.IsAssociatedFunction Self "then_some" then_some. @@ -77,7 +77,7 @@ Module bool. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_then_ : M.IsAssociatedFunction Self "then_" then_. diff --git a/CoqOfRust/core/borrow.v b/CoqOfRust/core/borrow.v index 36cacd0c0..d1b61edc4 100644 --- a/CoqOfRust/core/borrow.v +++ b/CoqOfRust/core/borrow.v @@ -23,7 +23,7 @@ Module borrow. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module borrow. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77,7 +77,7 @@ Module borrow. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104,7 +104,7 @@ Module borrow. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -131,7 +131,7 @@ Module borrow. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/cell.v b/CoqOfRust/core/cell.v index 77f47127f..734a59eaa 100644 --- a/CoqOfRust/core/cell.v +++ b/CoqOfRust/core/cell.v @@ -60,7 +60,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94,7 +94,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -146,7 +146,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -206,7 +206,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -246,7 +246,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -286,7 +286,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -326,7 +326,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -366,7 +366,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -425,7 +425,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -455,7 +455,7 @@ Module cell. M.get_associated_function (| Ty.apply (Ty.path "core::cell::Cell") [ T ], "new", [] |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -494,7 +494,7 @@ Module cell. [ M.read (| value |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -525,7 +525,7 @@ Module cell. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "set" (set T). @@ -594,14 +594,19 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::intrinsics::is_nonoverlapping", [ Ty.apply (Ty.path "core::cell::Cell") [ T ] ] |), - [ M.read (| self |); M.read (| other |); Value.Integer 1 ] - |)) + [ + M.read (| self |); + M.read (| other |); + Value.Integer IntegerKind.Usize 1 + ] + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -676,7 +681,7 @@ Module cell. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : @@ -717,7 +722,7 @@ Module cell. M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace : @@ -747,7 +752,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -782,7 +787,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "get" (get T). @@ -843,7 +848,7 @@ Module cell. |) in new |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_update : @@ -874,7 +879,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -906,7 +911,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -926,7 +931,7 @@ Module cell. ltac:(M.monadic (let t := M.alloc (| t |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| t |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : @@ -957,7 +962,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take : @@ -1009,7 +1014,7 @@ Module cell. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice_of_cells : @@ -1034,7 +1039,7 @@ Module cell. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_array_of_cells : @@ -1102,7 +1107,7 @@ Module cell. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1131,7 +1136,7 @@ Module cell. M.get_trait_method (| "core::fmt::Display", Ty.path "str", [], "fmt", [] |), [ M.read (| Value.String "already mutably borrowed" |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1191,7 +1196,7 @@ Module cell. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1220,7 +1225,7 @@ Module cell. M.get_trait_method (| "core::fmt::Display", Ty.path "str", [], "fmt", [] |), [ M.read (| Value.String "already borrowed" |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1269,7 +1274,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_already_borrowed : @@ -1315,7 +1320,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_already_mutably_borrowed : @@ -1323,7 +1328,8 @@ Module cell. Axiom BorrowFlag : (Ty.path "core::cell::BorrowFlag") = (Ty.path "isize"). - Definition value_UNUSED : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_UNUSED : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Isize 0 |))). (* fn is_writing(x: BorrowFlag) -> bool { @@ -1335,8 +1341,8 @@ Module cell. | [], [ x ] => ltac:(M.monadic (let x := M.alloc (| x |) in - BinOp.Pure.lt (M.read (| x |)) (M.read (| M.get_constant (| "core::cell::UNUSED" |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| x |), M.read (| M.get_constant (| "core::cell::UNUSED" |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_writing : M.IsFunction "core::cell::is_writing" is_writing. @@ -1351,8 +1357,8 @@ Module cell. | [], [ x ] => ltac:(M.monadic (let x := M.alloc (| x |) in - BinOp.Pure.gt (M.read (| x |)) (M.read (| M.get_constant (| "core::cell::UNUSED" |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| x |), M.read (| M.get_constant (| "core::cell::UNUSED" |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_reading : M.IsFunction "core::cell::is_reading" is_reading. @@ -1398,7 +1404,7 @@ Module cell. [ M.read (| M.get_constant (| "core::cell::UNUSED" |) |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -1428,7 +1434,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -1474,7 +1480,7 @@ Module cell. M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace : @@ -1540,7 +1546,7 @@ Module cell. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace_with : @@ -1606,7 +1612,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : @@ -1661,7 +1667,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrow : @@ -1770,7 +1776,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_borrow : @@ -1826,7 +1832,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrow_mut : @@ -1935,7 +1941,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_borrow_mut : @@ -1967,7 +1973,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -1999,7 +2005,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -2048,7 +2054,7 @@ Module cell. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_undo_leak : @@ -2089,8 +2095,8 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::cell::is_writing", [] |), [ M.call_closure (| @@ -2108,7 +2114,8 @@ Module cell. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2141,7 +2148,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_borrow_unguarded : @@ -2172,7 +2179,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take : @@ -2255,7 +2262,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2304,7 +2311,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2346,7 +2353,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2420,7 +2427,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2502,7 +2509,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2564,7 +2571,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2626,7 +2633,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2688,7 +2695,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2750,7 +2757,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2831,7 +2838,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2865,7 +2872,7 @@ Module cell. |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2945,7 +2952,7 @@ Module cell. |), [ M.read (| borrow |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Isize 1 ] |) |) in @@ -2957,11 +2964,12 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::cell::is_reading", [] |), [ M.read (| b |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -2990,7 +2998,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -3048,11 +3056,12 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::cell::is_reading", [] |), [ M.read (| borrow |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3094,13 +3103,13 @@ Module cell. "borrow" |) |); - BinOp.Wrap.sub Integer.Isize (M.read (| borrow |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| borrow |), Value.Integer IntegerKind.Isize 1 |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3169,11 +3178,12 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::cell::is_reading", [] |), [ M.read (| borrow |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3208,10 +3218,12 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| borrow |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + UnOp.not (| + BinOp.ne (| + M.read (| borrow |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3245,7 +3257,7 @@ Module cell. "borrow" |) |); - BinOp.Wrap.add Integer.Isize (M.read (| borrow |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| borrow |), Value.Integer IntegerKind.Isize 1 |) ] |) |) in @@ -3264,7 +3276,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3318,7 +3330,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3374,7 +3386,7 @@ Module cell. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clone : @@ -3441,7 +3453,7 @@ Module cell. M.SubPointer.get_struct_record_field (| orig, "core::cell::Ref", "borrow" |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "map" (map T). @@ -3541,7 +3553,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_filter_map : @@ -3670,7 +3682,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_split : @@ -3717,7 +3729,7 @@ Module cell. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leak : @@ -3768,7 +3780,7 @@ Module cell. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3856,7 +3868,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "map" (map T). @@ -3963,7 +3975,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_filter_map : @@ -4086,7 +4098,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_split : @@ -4138,7 +4150,7 @@ Module cell. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leak : @@ -4209,11 +4221,12 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::cell::is_writing", [] |), [ M.read (| borrow |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4255,13 +4268,13 @@ Module cell. "borrow" |) |); - BinOp.Wrap.add Integer.Isize (M.read (| borrow |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| borrow |), Value.Integer IntegerKind.Isize 1 |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4310,7 +4323,11 @@ Module cell. [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Isize 0 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -4321,10 +4338,10 @@ Module cell. |), [ M.read (| borrow |); - BinOp.Wrap.sub - Integer.Isize - (M.read (| M.get_constant (| "core::cell::UNUSED" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::cell::UNUSED" |) |), + Value.Integer IntegerKind.Isize 1 + |) ] |) |) in @@ -4342,7 +4359,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -4399,11 +4416,12 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::cell::is_writing", [] |), [ M.read (| borrow |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4438,10 +4456,12 @@ Module cell. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| borrow |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) + UnOp.not (| + BinOp.ne (| + M.read (| borrow |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4475,7 +4495,7 @@ Module cell. "borrow" |) |); - BinOp.Wrap.sub Integer.Isize (M.read (| borrow |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| borrow |), Value.Integer IntegerKind.Isize 1 |) ] |) |) in @@ -4494,7 +4514,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clone : M.IsAssociatedFunction Self "clone" clone. @@ -4545,7 +4565,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4587,7 +4607,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4642,7 +4662,7 @@ Module cell. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4688,7 +4708,7 @@ Module cell. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructRecord "core::cell::UnsafeCell" [ ("value", M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -4707,7 +4727,7 @@ Module cell. M.read (| M.SubPointer.get_struct_record_field (| self, "core::cell::UnsafeCell", "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -4726,7 +4746,7 @@ Module cell. ltac:(M.monadic (let value := M.alloc (| value |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| value |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : @@ -4748,7 +4768,7 @@ Module cell. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "get" (get T). @@ -4769,7 +4789,7 @@ Module cell. "core::cell::UnsafeCell", "value" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -4791,7 +4811,7 @@ Module cell. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.rust_cast (M.read (| this |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_raw_get : @@ -4826,7 +4846,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4860,7 +4880,7 @@ Module cell. |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4935,7 +4955,7 @@ Module cell. ("value", Value.StructRecord "core::cell::UnsafeCell" [ ("value", M.read (| value |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -4967,7 +4987,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -4998,7 +5018,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "get" (get T). @@ -5028,7 +5048,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -5050,7 +5070,7 @@ Module cell. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.rust_cast (M.read (| this |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_raw_get : @@ -5085,7 +5105,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5119,7 +5139,7 @@ Module cell. |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5205,7 +5225,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_assert_coerce_unsized : diff --git a/CoqOfRust/core/cell/lazy.v b/CoqOfRust/core/cell/lazy.v index 83901e606..221b719c6 100644 --- a/CoqOfRust/core/cell/lazy.v +++ b/CoqOfRust/core/cell/lazy.v @@ -71,7 +71,7 @@ Module cell. [ Value.StructTuple "core::cell::lazy::State::Uninit" [ M.read (| f |) ] ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -175,7 +175,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -292,7 +292,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_force : @@ -459,7 +459,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_really_init : @@ -526,7 +526,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : @@ -561,7 +561,7 @@ Module cell. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -601,7 +601,7 @@ Module cell. (M.get_trait_method (| "core::default::Default", T, [], "default", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -724,7 +724,7 @@ Module cell. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/cell/once.v b/CoqOfRust/core/cell/once.v index 733cc0035..804908715 100644 --- a/CoqOfRust/core/cell/once.v +++ b/CoqOfRust/core/cell/once.v @@ -44,7 +44,7 @@ Module cell. [ Value.StructTuple "core::option::Option::None" [] ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -88,7 +88,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : @@ -131,7 +131,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -194,7 +194,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set : @@ -298,7 +298,7 @@ Module cell. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_insert : @@ -365,7 +365,7 @@ Module cell. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -384,7 +384,7 @@ Module cell. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_or_init : @@ -590,7 +590,7 @@ Module cell. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_or_try_init : @@ -628,7 +628,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -662,7 +662,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take : @@ -691,7 +691,7 @@ Module cell. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -813,7 +813,7 @@ Module cell. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -936,7 +936,7 @@ Module cell. |) in res |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -994,7 +994,7 @@ Module cell. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1047,7 +1047,7 @@ Module cell. [ Value.StructTuple "core::option::Option::Some" [ M.read (| value |) ] ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/char/convert.v b/CoqOfRust/core/char/convert.v index 8981a793a..36b903c5b 100644 --- a/CoqOfRust/core/char/convert.v +++ b/CoqOfRust/core/char/convert.v @@ -42,7 +42,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_u32 : M.IsFunction "core::char::convert::from_u32" from_u32. @@ -95,7 +95,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_u32_unchecked : @@ -115,7 +115,7 @@ Module char. ltac:(M.monadic (let c := M.alloc (| c |) in M.rust_cast (M.read (| c |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -142,7 +142,7 @@ Module char. ltac:(M.monadic (let c := M.alloc (| c |) in M.rust_cast (M.read (| c |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -169,7 +169,7 @@ Module char. ltac:(M.monadic (let c := M.alloc (| c |) in M.rust_cast (M.read (| c |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -247,11 +247,11 @@ Module char. [ Value.Tuple [] ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -330,11 +330,11 @@ Module char. [ Value.Tuple [] ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -360,7 +360,7 @@ Module char. ltac:(M.monadic (let i := M.alloc (| i |) in M.rust_cast (M.read (| i |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -408,7 +408,7 @@ Module char. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -450,7 +450,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -503,7 +503,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -540,7 +540,7 @@ Module char. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -593,7 +593,7 @@ Module char. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -645,7 +645,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -698,9 +698,9 @@ Module char. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -732,7 +732,7 @@ Module char. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -789,7 +789,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -831,7 +831,7 @@ Module char. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -951,7 +951,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1000,18 +1000,21 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.path "u32", "wrapping_sub", [] |), [ - BinOp.Pure.bit_xor (M.read (| i |)) (Value.Integer 55296); - Value.Integer 2048 + BinOp.bit_xor + (M.read (| i |)) + (Value.Integer IntegerKind.U32 55296); + Value.Integer IntegerKind.U32 2048 ] - |)) - (BinOp.Wrap.sub - Integer.U32 - (Value.Integer 1114112) - (Value.Integer 2048)) + |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 1114112, + Value.Integer IntegerKind.U32 2048 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1041,7 +1044,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_char_try_from_u32 : @@ -1067,7 +1070,7 @@ Module char. M.get_function (| "core::char::convert::char_try_from_u32", [] |), [ M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1112,7 +1115,7 @@ Module char. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1153,7 +1156,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1206,7 +1209,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1243,7 +1246,7 @@ Module char. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1276,7 +1279,7 @@ Module char. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1315,7 +1318,9 @@ Module char. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| radix |)) (Value.Integer 36) |)) in + (M.alloc (| + BinOp.gt (| M.read (| radix |), Value.Integer IntegerKind.U32 36 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -1355,7 +1360,7 @@ Module char. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| num |)) (M.read (| radix |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| num |), M.read (| radix |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ num := M.alloc (| M.rust_cast (M.read (| num |)) |) in M.match_operator (| @@ -1366,7 +1371,7 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| num |)) (Value.Integer 10) + BinOp.lt (| M.read (| num |), Value.Integer IntegerKind.U8 10 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1375,10 +1380,10 @@ Module char. "core::option::Option::Some" [ M.rust_cast - (BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.read (| num |))) + (BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.read (| num |) + |)) ] |))); fun γ => @@ -1388,13 +1393,13 @@ Module char. "core::option::Option::Some" [ M.rust_cast - (BinOp.Wrap.sub - Integer.U8 - (BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.read (| num |))) - (Value.Integer 10)) + (BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.read (| num |) + |), + Value.Integer IntegerKind.U8 10 + |)) ] |))) ] @@ -1404,7 +1409,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_digit : M.IsFunction "core::char::convert::from_digit" from_digit. diff --git a/CoqOfRust/core/char/decode.v b/CoqOfRust/core/char/decode.v index 836df2a90..27ab87fae 100644 --- a/CoqOfRust/core/char/decode.v +++ b/CoqOfRust/core/char/decode.v @@ -54,7 +54,7 @@ Module char. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -157,7 +157,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -192,7 +192,7 @@ Module char. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -229,7 +229,7 @@ Module char. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -262,22 +262,23 @@ Module char. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::char::decode::DecodeUtf16Error", "code" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::char::decode::DecodeUtf16Error", "code" |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -314,7 +315,7 @@ Module char. |)); ("buf", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_decode_utf16 : M.IsFunction "core::char::decode::decode_utf16" decode_utf16. @@ -499,15 +500,16 @@ Module char. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "u16", "is_utf16_surrogate", [] |), [ M.read (| u |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -539,7 +541,10 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| u |)) (Value.Integer 56320) + BinOp.ge (| + M.read (| u |), + Value.Integer IntegerKind.U16 56320 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -632,13 +637,15 @@ Module char. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt - (M.read (| u2 |)) - (Value.Integer 56320), + BinOp.lt (| + M.read (| u2 |), + Value.Integer IntegerKind.U16 56320 + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| u2 |)) - (Value.Integer 57343))) + (BinOp.gt (| + M.read (| u2 |), + Value.Integer IntegerKind.U16 57343 + |))) |) |)) in let _ := @@ -681,20 +688,21 @@ Module char. |) in let~ c := M.alloc (| - BinOp.Wrap.add - Integer.U32 - (BinOp.Pure.bit_or - (BinOp.Wrap.shl - (M.rust_cast - (BinOp.Pure.bit_and + BinOp.Wrap.add (| + BinOp.bit_or + (BinOp.Wrap.shl (| + M.rust_cast + (BinOp.bit_and (M.read (| u |)) - (Value.Integer 1023))) - (Value.Integer 10)) + (Value.Integer IntegerKind.U16 1023)), + Value.Integer IntegerKind.I32 10 + |)) (M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| u2 |)) - (Value.Integer 1023)))) - (Value.Integer 65536) + (Value.Integer IntegerKind.U16 1023))), + Value.Integer IntegerKind.U32 65536 + |) |) in M.alloc (| Value.StructTuple @@ -720,7 +728,7 @@ Module char. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -800,7 +808,13 @@ Module char. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Tuple [ Value.Integer 0; Value.Integer 0 ] |))); + M.alloc (| + Value.Tuple + [ + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 0 + ] + |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -812,22 +826,29 @@ Module char. let u := M.copy (| γ0_0 |) in let γ := M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "u16", "is_utf16_surrogate", [] |), [ M.read (| u |) ] - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Tuple [ Value.Integer 1; Value.Integer 1 ] |))); + M.alloc (| + Value.Tuple + [ + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 1 + ] + |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -858,7 +879,7 @@ Module char. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] |) ] |) @@ -868,7 +889,13 @@ Module char. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Tuple [ Value.Integer 1; Value.Integer 1 ] |))); + M.alloc (| + Value.Tuple + [ + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 1 + ] + |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -878,7 +905,13 @@ Module char. 0 |) in let _u := M.copy (| γ0_0 |) in - M.alloc (| Value.Tuple [ Value.Integer 0; Value.Integer 1 ] |))) + M.alloc (| + Value.Tuple + [ + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 1 + ] + |))) ] |), [ @@ -890,17 +923,17 @@ Module char. let high_buf := M.copy (| γ0_1 |) in let~ low := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "div_ceil", [] |), - [ M.read (| low |); Value.Integer 2 ] - |)) - (M.read (| low_buf |)) + [ M.read (| low |); Value.Integer IntegerKind.Usize 2 ] + |), + M.read (| low_buf |) + |) |) in let~ high := M.alloc (| @@ -941,7 +974,7 @@ Module char. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -952,7 +985,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1002,7 +1035,7 @@ Module char. "code" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unpaired_surrogate : @@ -1060,7 +1093,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1085,7 +1118,7 @@ Module char. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "unpaired surrogate found" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/char/methods.v b/CoqOfRust/core/char/methods.v index 753954217..106d79471 100644 --- a/CoqOfRust/core/char/methods.v +++ b/CoqOfRust/core/char/methods.v @@ -49,7 +49,7 @@ Module char. M.get_function (| "core::char::decode::decode_utf16", [ I ] |), [ M.read (| iter |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decode_utf16 : @@ -69,7 +69,7 @@ Module char. M.get_function (| "core::char::convert::from_u32", [] |), [ M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_u32 : M.IsAssociatedFunction Self "from_u32" from_u32. @@ -89,7 +89,7 @@ Module char. M.get_function (| "core::char::convert::from_u32_unchecked", [] |), [ M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_u32_unchecked : @@ -110,7 +110,7 @@ Module char. M.get_function (| "core::char::convert::from_digit", [] |), [ M.read (| num |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_digit : M.IsAssociatedFunction Self "from_digit" from_digit. @@ -141,7 +141,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_digit : M.IsAssociatedFunction Self "is_digit" is_digit. @@ -187,7 +187,10 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| radix |)) (Value.Integer 10) + BinOp.gt (| + M.read (| radix |), + Value.Integer IntegerKind.U32 10 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -200,10 +203,12 @@ Module char. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| radix |)) - (Value.Integer 36)) + UnOp.not (| + BinOp.le (| + M.read (| radix |), + Value.Integer IntegerKind.U32 36 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -251,7 +256,10 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| digit |)) (Value.Integer 10) + BinOp.lt (| + M.read (| digit |), + Value.Integer IntegerKind.U32 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -289,13 +297,13 @@ Module char. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast (M.read (| self |))) - (Value.Integer 32); + (Value.Integer IntegerKind.U32 32); M.rust_cast (Value.UnicodeChar 97) ] |); - Value.Integer 10 + Value.Integer IntegerKind.U32 10 ] |) |) in @@ -311,7 +319,7 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| digit |)) (M.read (| radix |)) + BinOp.lt (| M.read (| digit |), M.read (| radix |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -325,7 +333,7 @@ Module char. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_digit : M.IsAssociatedFunction Self "to_digit" to_digit. @@ -344,7 +352,7 @@ Module char. M.get_associated_function (| Ty.path "core::char::EscapeUnicode", "new", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_unicode : @@ -572,7 +580,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_debug_ext : @@ -595,7 +603,7 @@ Module char. M.read (| M.get_constant (| "core::char::methods::ESCAPE_ALL" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_debug : @@ -731,7 +739,7 @@ Module char. ] |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -782,7 +790,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_default : @@ -802,7 +810,7 @@ Module char. M.get_function (| "core::char::methods::len_utf8", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len_utf8 : M.IsAssociatedFunction Self "len_utf8" len_utf8. @@ -828,17 +836,18 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and (M.read (| ch |)) (Value.Integer 65535)) - (M.read (| ch |)) + BinOp.eq (| + BinOp.bit_and (M.read (| ch |)) (Value.Integer IntegerKind.U32 65535), + M.read (| ch |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 2 |))) + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 2 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len_utf16 : M.IsAssociatedFunction Self "len_utf16" len_utf16. @@ -864,7 +873,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_encode_utf8 : M.IsAssociatedFunction Self "encode_utf8" encode_utf8. @@ -884,7 +893,7 @@ Module char. M.get_function (| "core::char::methods::encode_utf16_raw", [] |), [ M.rust_cast (M.read (| self |)); M.read (| dst |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_encode_utf16 : @@ -920,7 +929,7 @@ Module char. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -928,7 +937,7 @@ Module char. (let c := M.copy (| γ |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| c |)) (Value.UnicodeChar 127), + BinOp.gt (| M.read (| c |), Value.UnicodeChar 127 |), ltac:(M.monadic (M.call_closure (| M.get_function (| @@ -942,7 +951,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_alphabetic : @@ -971,7 +980,7 @@ Module char. (let c := M.copy (| γ |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| c |)) (Value.UnicodeChar 127), + BinOp.gt (| M.read (| c |), Value.UnicodeChar 127 |), ltac:(M.monadic (M.call_closure (| M.get_function (| @@ -985,7 +994,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_lowercase : @@ -1014,7 +1023,7 @@ Module char. (let c := M.copy (| γ |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| c |)) (Value.UnicodeChar 127), + BinOp.gt (| M.read (| c |), Value.UnicodeChar 127 |), ltac:(M.monadic (M.call_closure (| M.get_function (| @@ -1028,7 +1037,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_uppercase : @@ -1071,7 +1080,7 @@ Module char. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -1079,7 +1088,7 @@ Module char. (let c := M.copy (| γ |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| c |)) (Value.UnicodeChar 127), + BinOp.gt (| M.read (| c |), Value.UnicodeChar 127 |), ltac:(M.monadic (M.call_closure (| M.get_function (| @@ -1093,7 +1102,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_whitespace : @@ -1120,7 +1129,7 @@ Module char. [ M.read (| self |) ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_alphanumeric : @@ -1140,7 +1149,7 @@ Module char. M.get_function (| "core::unicode::unicode_data::cc::lookup", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_control : M.IsAssociatedFunction Self "is_control" is_control. @@ -1159,7 +1168,7 @@ Module char. M.get_function (| "core::unicode::unicode_data::grapheme_extend::lookup", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_grapheme_extended : @@ -1188,7 +1197,7 @@ Module char. (let c := M.copy (| γ |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| c |)) (Value.UnicodeChar 127), + BinOp.gt (| M.read (| c |), Value.UnicodeChar 127 |), ltac:(M.monadic (M.call_closure (| M.get_function (| "core::unicode::unicode_data::n::lookup", [] |), @@ -1199,7 +1208,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_numeric : M.IsAssociatedFunction Self "is_numeric" is_numeric. @@ -1227,7 +1236,7 @@ Module char. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_lowercase : @@ -1256,7 +1265,7 @@ Module char. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_uppercase : @@ -1272,8 +1281,11 @@ Module char. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.le (M.rust_cast (M.read (| M.read (| self |) |))) (Value.Integer 127))) - | _, _ => M.impossible + BinOp.le (| + M.rust_cast (M.read (| M.read (| self |) |)), + Value.Integer IntegerKind.U32 127 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii : M.IsAssociatedFunction Self "is_ascii" is_ascii. @@ -1328,7 +1340,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ascii : M.IsAssociatedFunction Self "as_ascii" as_ascii. @@ -1381,7 +1393,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ascii_uppercase : @@ -1435,7 +1447,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ascii_lowercase : @@ -1452,16 +1464,17 @@ Module char. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "char", "to_ascii_lowercase", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "char", "to_ascii_lowercase", [] |), [ M.read (| other |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eq_ignore_ascii_case : @@ -1488,7 +1501,7 @@ Module char. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_ascii_uppercase : @@ -1515,7 +1528,7 @@ Module char. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_ascii_lowercase : @@ -1548,14 +1561,14 @@ Module char. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_alphabetic : @@ -1580,7 +1593,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_uppercase : @@ -1605,7 +1618,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_lowercase : @@ -1621,8 +1634,8 @@ Module char. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or - (BinOp.Pure.bit_or + BinOp.bit_or + (BinOp.bit_or (M.read (| M.match_operator (| M.read (| self |), @@ -1650,7 +1663,7 @@ Module char. ] |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_alphanumeric : @@ -1675,7 +1688,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_digit : @@ -1700,7 +1713,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_octdigit : @@ -1716,8 +1729,8 @@ Module char. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or - (BinOp.Pure.bit_or + BinOp.bit_or + (BinOp.bit_or (M.read (| M.match_operator (| M.read (| self |), @@ -1745,7 +1758,7 @@ Module char. ] |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_hexdigit : @@ -1764,9 +1777,9 @@ Module char. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or - (BinOp.Pure.bit_or - (BinOp.Pure.bit_or + BinOp.bit_or + (BinOp.bit_or + (BinOp.bit_or (M.read (| M.match_operator (| M.read (| self |), @@ -1803,7 +1816,7 @@ Module char. ] |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_punctuation : @@ -1828,7 +1841,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_graphic : @@ -1899,14 +1912,14 @@ Module char. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_whitespace : @@ -1946,14 +1959,14 @@ Module char. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_control : @@ -2027,12 +2040,13 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| code |)) - (M.read (| M.get_constant (| "core::char::MAX_ONE_B" |) |)) + BinOp.lt (| + M.read (| code |), + M.read (| M.get_constant (| "core::char::MAX_ONE_B" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -2043,13 +2057,14 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| code |)) - (M.read (| M.get_constant (| "core::char::MAX_TWO_B" |) |)) + BinOp.lt (| + M.read (| code |), + M.read (| M.get_constant (| "core::char::MAX_TWO_B" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 2 |))); + M.alloc (| Value.Integer IntegerKind.Usize 2 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -2060,19 +2075,21 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| code |)) - (M.read (| + BinOp.lt (| + M.read (| code |), + M.read (| M.get_constant (| "core::char::MAX_THREE_B" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 3 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 4 |))) + M.alloc (| Value.Integer IntegerKind.Usize 3 |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))) ] |))) ] @@ -2080,7 +2097,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_len_utf8 : M.IsFunction "core::char::methods::len_utf8" len_utf8. @@ -2155,7 +2172,10 @@ Module char. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 1 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.Usize 1 + |) in let γ0_1 := M.read (| γ0_1 |) in let γ2_0 := M.SubPointer.get_slice_index (| γ0_1, 0 |) in let γ2_rest := M.SubPointer.get_slice_rest (| γ0_1, 1, 0 |) in @@ -2167,7 +2187,10 @@ Module char. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 2 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.Usize 2 + |) in let γ0_1 := M.read (| γ0_1 |) in let γ2_0 := M.SubPointer.get_slice_index (| γ0_1, 0 |) in let γ2_1 := M.SubPointer.get_slice_index (| γ0_1, 1 |) in @@ -2177,19 +2200,24 @@ Module char. let~ _ := M.write (| M.read (| a |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| code |)) (Value.Integer 6)) - (Value.Integer 31))) + (BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| code |), + Value.Integer IntegerKind.I32 6 + |)) + (Value.Integer IntegerKind.U32 31))) (M.read (| M.get_constant (| "core::char::TAG_TWO_B" |) |)) |) in let~ _ := M.write (| M.read (| b |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and (M.read (| code |)) (Value.Integer 63))) + (BinOp.bit_and + (M.read (| code |)) + (Value.Integer IntegerKind.U32 63))) (M.read (| M.get_constant (| "core::char::TAG_CONT" |) |)) |) in M.alloc (| Value.Tuple [] |))); @@ -2198,7 +2226,10 @@ Module char. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 3 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.Usize 3 + |) in let γ0_1 := M.read (| γ0_1 |) in let γ2_0 := M.SubPointer.get_slice_index (| γ0_1, 0 |) in let γ2_1 := M.SubPointer.get_slice_index (| γ0_1, 1 |) in @@ -2210,29 +2241,37 @@ Module char. let~ _ := M.write (| M.read (| a |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| code |)) (Value.Integer 12)) - (Value.Integer 15))) + (BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| code |), + Value.Integer IntegerKind.I32 12 + |)) + (Value.Integer IntegerKind.U32 15))) (M.read (| M.get_constant (| "core::char::TAG_THREE_B" |) |)) |) in let~ _ := M.write (| M.read (| b |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| code |)) (Value.Integer 6)) - (Value.Integer 63))) + (BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| code |), + Value.Integer IntegerKind.I32 6 + |)) + (Value.Integer IntegerKind.U32 63))) (M.read (| M.get_constant (| "core::char::TAG_CONT" |) |)) |) in let~ _ := M.write (| M.read (| c |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and (M.read (| code |)) (Value.Integer 63))) + (BinOp.bit_and + (M.read (| code |)) + (Value.Integer IntegerKind.U32 63))) (M.read (| M.get_constant (| "core::char::TAG_CONT" |) |)) |) in M.alloc (| Value.Tuple [] |))); @@ -2241,7 +2280,10 @@ Module char. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 4 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.Usize 4 + |) in let γ0_1 := M.read (| γ0_1 |) in let γ2_0 := M.SubPointer.get_slice_index (| γ0_1, 0 |) in let γ2_1 := M.SubPointer.get_slice_index (| γ0_1, 1 |) in @@ -2255,39 +2297,50 @@ Module char. let~ _ := M.write (| M.read (| a |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| code |)) (Value.Integer 18)) - (Value.Integer 7))) + (BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| code |), + Value.Integer IntegerKind.I32 18 + |)) + (Value.Integer IntegerKind.U32 7))) (M.read (| M.get_constant (| "core::char::TAG_FOUR_B" |) |)) |) in let~ _ := M.write (| M.read (| b |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| code |)) (Value.Integer 12)) - (Value.Integer 63))) + (BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| code |), + Value.Integer IntegerKind.I32 12 + |)) + (Value.Integer IntegerKind.U32 63))) (M.read (| M.get_constant (| "core::char::TAG_CONT" |) |)) |) in let~ _ := M.write (| M.read (| c |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| code |)) (Value.Integer 6)) - (Value.Integer 63))) + (BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| code |), + Value.Integer IntegerKind.I32 6 + |)) + (Value.Integer IntegerKind.U32 63))) (M.read (| M.get_constant (| "core::char::TAG_CONT" |) |)) |) in let~ _ := M.write (| M.read (| d |), - BinOp.Pure.bit_or + BinOp.bit_or (M.rust_cast - (BinOp.Pure.bit_and (M.read (| code |)) (Value.Integer 63))) + (BinOp.bit_and + (M.read (| code |)) + (Value.Integer IntegerKind.U32 63))) (M.read (| M.get_constant (| "core::char::TAG_CONT" |) |)) |) in M.alloc (| Value.Tuple [] |))); @@ -2381,7 +2434,7 @@ Module char. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_encode_utf8_raw : @@ -2428,19 +2481,23 @@ Module char. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (BinOp.Pure.bit_and (M.read (| code |)) (Value.Integer 65535)) - (M.read (| code |)), + BinOp.eq (| + BinOp.bit_and + (M.read (| code |)) + (Value.Integer IntegerKind.U32 65535), + M.read (| code |) + |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u16" ], "is_empty", [] |), [ M.read (| dst |) ] - |)))) + |) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2454,7 +2511,7 @@ Module char. "get_unchecked_mut", [ Ty.path "usize" ] |), - [ M.read (| dst |); Value.Integer 0 ] + [ M.read (| dst |); Value.Integer IntegerKind.Usize 0 ] |), M.rust_cast (M.read (| code |)) |) in @@ -2473,7 +2530,7 @@ Module char. |), [ M.read (| dst |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) @@ -2489,16 +2546,17 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u16" ], "len", [] |), [ M.read (| dst |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2508,10 +2566,10 @@ Module char. let β := code in M.write (| β, - BinOp.Wrap.sub - Integer.U32 - (M.read (| β |)) - (Value.Integer 65536) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.U32 65536 + |) |) in let~ _ := M.write (| @@ -2521,12 +2579,15 @@ Module char. "get_unchecked_mut", [ Ty.path "usize" ] |), - [ M.read (| dst |); Value.Integer 0 ] + [ M.read (| dst |); Value.Integer IntegerKind.Usize 0 ] |), - BinOp.Pure.bit_or - (Value.Integer 55296) + BinOp.bit_or + (Value.Integer IntegerKind.U16 55296) (M.rust_cast - (BinOp.Wrap.shr (M.read (| code |)) (Value.Integer 10))) + (BinOp.Wrap.shr (| + M.read (| code |), + Value.Integer IntegerKind.I32 10 + |))) |) in let~ _ := M.write (| @@ -2536,13 +2597,13 @@ Module char. "get_unchecked_mut", [ Ty.path "usize" ] |), - [ M.read (| dst |); Value.Integer 1 ] + [ M.read (| dst |); Value.Integer IntegerKind.Usize 1 ] |), - BinOp.Pure.bit_or - (Value.Integer 56320) - (BinOp.Pure.bit_and + BinOp.bit_or + (Value.Integer IntegerKind.U16 56320) + (BinOp.bit_and (M.rust_cast (M.read (| code |))) - (Value.Integer 1023)) + (Value.Integer IntegerKind.U16 1023)) |) in M.alloc (| M.call_closure (| @@ -2559,7 +2620,7 @@ Module char. |), [ M.read (| dst |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) @@ -2664,7 +2725,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_encode_utf16_raw : diff --git a/CoqOfRust/core/char/mod.v b/CoqOfRust/core/char/mod.v index 5d8c76296..77367b494 100644 --- a/CoqOfRust/core/char/mod.v +++ b/CoqOfRust/core/char/mod.v @@ -2,21 +2,26 @@ Require Import CoqOfRust.CoqOfRust. Module char. - Definition value_TAG_CONT : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 128 |))). + Definition value_TAG_CONT : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 128 |))). - Definition value_TAG_TWO_B : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 192 |))). + Definition value_TAG_TWO_B : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 192 |))). Definition value_TAG_THREE_B : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 224 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 224 |))). - Definition value_TAG_FOUR_B : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 240 |))). + Definition value_TAG_FOUR_B : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 240 |))). - Definition value_MAX_ONE_B : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 128 |))). + Definition value_MAX_ONE_B : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 128 |))). - Definition value_MAX_TWO_B : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 2048 |))). + Definition value_MAX_TWO_B : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2048 |))). Definition value_MAX_THREE_B : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 65536 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 65536 |))). Definition value_MAX : Value.t := M.run ltac:(M.monadic (M.get_constant (| "core::char::methods::MAX" |))). @@ -41,7 +46,7 @@ Module char. M.get_function (| "core::char::decode::decode_utf16", [ I ] |), [ M.read (| iter |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_decode_utf16 : M.IsFunction "core::char::decode_utf16" decode_utf16. @@ -60,7 +65,7 @@ Module char. M.get_function (| "core::char::convert::from_u32", [] |), [ M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_u32 : M.IsFunction "core::char::from_u32" from_u32. @@ -80,7 +85,7 @@ Module char. M.get_function (| "core::char::convert::from_u32_unchecked", [] |), [ M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_u32_unchecked : @@ -101,7 +106,7 @@ Module char. M.get_function (| "core::char::convert::from_digit", [] |), [ M.read (| num |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_digit : M.IsFunction "core::char::from_digit" from_digit. @@ -142,7 +147,7 @@ Module char. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -183,7 +188,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -236,7 +241,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -284,7 +289,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -322,7 +327,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -339,7 +344,7 @@ Module char. M.get_associated_function (| Ty.path "core::escape::EscapeIterInner", "len", [] |), [ M.SubPointer.get_struct_tuple_field (| self, "core::char::EscapeUnicode", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -376,7 +381,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -405,7 +410,7 @@ Module char. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -447,7 +452,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -503,7 +508,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -550,7 +555,7 @@ Module char. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -591,7 +596,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -633,7 +638,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_printable : M.IsAssociatedFunction Self "printable" printable. @@ -673,7 +678,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_backslash : M.IsAssociatedFunction Self "backslash" backslash. @@ -695,7 +700,7 @@ Module char. M.SubPointer.get_struct_tuple_field (| esc, "core::char::EscapeUnicode", 0 |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_unicode : M.IsAssociatedFunction Self "from_unicode" from_unicode. @@ -743,7 +748,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -781,7 +786,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -798,7 +803,7 @@ Module char. M.get_associated_function (| Ty.path "core::escape::EscapeIterInner", "len", [] |), [ M.SubPointer.get_struct_tuple_field (| self, "core::char::EscapeDefault", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -835,7 +840,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -864,7 +869,7 @@ Module char. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -906,7 +911,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -962,7 +967,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1009,7 +1014,7 @@ Module char. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1050,7 +1055,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1149,7 +1154,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1225,7 +1230,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1252,7 +1257,7 @@ Module char. Value.StructTuple "core::char::EscapeDebug" [ Value.StructTuple "core::char::EscapeDebugInner::Char" [ M.read (| chr |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_printable : M.IsAssociatedFunction Self "printable" printable. @@ -1295,7 +1300,7 @@ Module char. [ Value.StructTuple "core::char::EscapeDebugInner::Bytes" [ M.read (| iter |) ] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_backslash : M.IsAssociatedFunction Self "backslash" backslash. @@ -1321,7 +1326,7 @@ Module char. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_unicode : M.IsAssociatedFunction Self "from_unicode" from_unicode. @@ -1360,7 +1365,7 @@ Module char. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : M.IsAssociatedFunction Self "clear" clear. @@ -1457,7 +1462,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1491,7 +1496,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1514,7 +1519,7 @@ Module char. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1586,11 +1591,11 @@ Module char. "core::char::EscapeDebugInner::Char", 0 |) in - M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.Usize 1 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1694,7 +1699,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1742,7 +1747,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1782,7 +1787,7 @@ Module char. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1825,7 +1830,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1854,7 +1859,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1899,7 +1904,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1969,7 +1974,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2009,7 +2014,7 @@ Module char. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2052,7 +2057,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2081,7 +2086,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2126,7 +2131,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2316,7 +2321,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2477,7 +2482,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2518,14 +2523,15 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| chars, - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) - |)) - (Value.UnicodeChar 0) + |), + Value.UnicodeChar 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| @@ -2536,14 +2542,15 @@ Module char. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| chars, - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.UnicodeChar 0) + |), + Value.UnicodeChar 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2554,7 +2561,7 @@ Module char. M.read (| M.SubPointer.get_array_field (| chars, - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -2568,13 +2575,13 @@ Module char. M.read (| M.SubPointer.get_array_field (| chars, - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |); M.read (| M.SubPointer.get_array_field (| chars, - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) |) ] @@ -2588,20 +2595,29 @@ Module char. "core::char::CaseMappingIter::Three" [ M.read (| - M.SubPointer.get_array_field (| chars, M.alloc (| Value.Integer 0 |) |) + M.SubPointer.get_array_field (| + chars, + M.alloc (| Value.Integer IntegerKind.Usize 0 |) + |) |); M.read (| - M.SubPointer.get_array_field (| chars, M.alloc (| Value.Integer 1 |) |) + M.SubPointer.get_array_field (| + chars, + M.alloc (| Value.Integer IntegerKind.Usize 1 |) + |) |); M.read (| - M.SubPointer.get_array_field (| chars, M.alloc (| Value.Integer 2 |) |) + M.SubPointer.get_array_field (| + chars, + M.alloc (| Value.Integer IntegerKind.Usize 2 |) + |) |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -2722,7 +2738,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2751,12 +2767,12 @@ Module char. ltac:(M.monadic (let γ := M.read (| γ |) in let _ := M.is_struct_tuple (| γ, "core::char::CaseMappingIter::Three" |) in - M.alloc (| Value.Integer 3 |))); + M.alloc (| Value.Integer IntegerKind.Usize 3 |))); fun γ => ltac:(M.monadic (let γ := M.read (| γ |) in let _ := M.is_struct_tuple (| γ, "core::char::CaseMappingIter::Two" |) in - M.alloc (| Value.Integer 2 |))); + M.alloc (| Value.Integer IntegerKind.Usize 2 |))); fun γ => ltac:(M.monadic (let γ := M.read (| γ |) in @@ -2766,12 +2782,12 @@ Module char. "core::char::CaseMappingIter::One", 0 |) in - M.alloc (| Value.Integer 1 |))); + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); fun γ => ltac:(M.monadic (let γ := M.read (| γ |) in let _ := M.is_struct_tuple (| γ, "core::char::CaseMappingIter::Zero" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -2783,7 +2799,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2911,7 +2927,7 @@ Module char. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3276,7 +3292,7 @@ Module char. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3318,7 +3334,7 @@ Module char. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3360,7 +3376,7 @@ Module char. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3408,7 +3424,7 @@ Module char. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3445,7 +3461,7 @@ Module char. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3492,7 +3508,7 @@ Module char. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3529,7 +3545,7 @@ Module char. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3559,7 +3575,7 @@ Module char. M.get_trait_method (| "core::fmt::Display", Ty.path "str", [], "fmt", [] |), [ M.read (| Value.String "unicode code point out of range" |); M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/clone.v b/CoqOfRust/core/clone.v index e5518de14..f08692cd0 100644 --- a/CoqOfRust/core/clone.v +++ b/CoqOfRust/core/clone.v @@ -19,7 +19,7 @@ Module clone. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_clone_from : @@ -55,7 +55,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80,7 +80,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105,7 +105,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -130,7 +130,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -155,7 +155,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -180,7 +180,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -205,7 +205,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -230,7 +230,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -255,7 +255,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -280,7 +280,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -305,7 +305,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -330,7 +330,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -355,7 +355,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -380,7 +380,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -405,7 +405,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -430,7 +430,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -455,7 +455,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -481,7 +481,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -508,7 +508,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -535,7 +535,7 @@ Module clone. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/cmp.v b/CoqOfRust/core/cmp.v index fd6c056af..2ff7d26b0 100644 --- a/CoqOfRust/core/cmp.v +++ b/CoqOfRust/core/cmp.v @@ -10,12 +10,13 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Self, [ Rhs ], "eq", [] |), [ M.read (| self |); M.read (| other |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_ne : @@ -31,7 +32,7 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_assert_receiver_is_total_eq : @@ -80,7 +81,7 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -144,9 +145,9 @@ Module cmp. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -178,7 +179,7 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -234,7 +235,7 @@ Module cmp. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -283,7 +284,7 @@ Module cmp. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -332,7 +333,7 @@ Module cmp. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -371,7 +372,7 @@ Module cmp. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -407,7 +408,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_eq : M.IsAssociatedFunction Self "is_eq" is_eq. @@ -422,8 +423,8 @@ Module cmp. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.match_operator (| self, [ @@ -434,8 +435,9 @@ Module cmp. fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ne : M.IsAssociatedFunction Self "is_ne" is_ne. @@ -462,7 +464,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_lt : M.IsAssociatedFunction Self "is_lt" is_lt. @@ -489,7 +491,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_gt : M.IsAssociatedFunction Self "is_gt" is_gt. @@ -504,8 +506,8 @@ Module cmp. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.match_operator (| self, [ @@ -516,8 +518,9 @@ Module cmp. fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_le : M.IsAssociatedFunction Self "is_le" is_le. @@ -532,8 +535,8 @@ Module cmp. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.match_operator (| self, [ @@ -544,8 +547,9 @@ Module cmp. fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ge : M.IsAssociatedFunction Self "is_ge" is_ge. @@ -583,7 +587,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse : M.IsAssociatedFunction Self "reverse" reverse. @@ -614,7 +618,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_then_ : M.IsAssociatedFunction Self "then_" then_. @@ -656,7 +660,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_then_with : M.IsAssociatedFunction Self "then_with" then_with. @@ -699,7 +703,7 @@ Module cmp. M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::cmp::Reverse", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -739,7 +743,7 @@ Module cmp. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -783,7 +787,7 @@ Module cmp. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -824,7 +828,7 @@ Module cmp. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -854,7 +858,7 @@ Module cmp. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -888,7 +892,7 @@ Module cmp. M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::cmp::Reverse", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -910,7 +914,7 @@ Module cmp. M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::cmp::Reverse", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -932,7 +936,7 @@ Module cmp. M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::cmp::Reverse", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -954,7 +958,7 @@ Module cmp. M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::cmp::Reverse", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -976,7 +980,7 @@ Module cmp. M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::cmp::Reverse", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1017,7 +1021,7 @@ Module cmp. M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::cmp::Reverse", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1057,7 +1061,7 @@ Module cmp. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1079,7 +1083,7 @@ Module cmp. M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::cmp::Reverse", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1119,7 +1123,7 @@ Module cmp. M.get_trait_method (| "core::cmp::Ord", Self, [], "cmp", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_max : M.IsProvidedMethod "core::cmp::Ord" "max" max. @@ -1145,7 +1149,7 @@ Module cmp. M.get_trait_method (| "core::cmp::Ord", Self, [], "cmp", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_min : M.IsProvidedMethod "core::cmp::Ord" "min" min. @@ -1166,8 +1170,8 @@ Module cmp. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialOrd", Self, @@ -1176,7 +1180,8 @@ Module cmp. [] |), [ min; max ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1241,7 +1246,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_clamp : M.IsProvidedMethod "core::cmp::Ord" "clamp" clamp. @@ -1284,7 +1289,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_lt : @@ -1336,14 +1341,14 @@ Module cmp. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_le : @@ -1384,7 +1389,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_gt : @@ -1436,14 +1441,14 @@ Module cmp. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_ge : @@ -1466,7 +1471,7 @@ Module cmp. M.get_trait_method (| "core::cmp::Ord", T, [], "min", [] |), [ M.read (| v1 |); M.read (| v2 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_min : M.IsFunction "core::cmp::min" min. @@ -1520,7 +1525,7 @@ Module cmp. ltac:(M.monadic match γ with | [] => ltac:(M.monadic v1) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -1530,7 +1535,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_min_by : M.IsFunction "core::cmp::min_by" min_by. @@ -1611,11 +1616,11 @@ Module cmp. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_min_by_key : M.IsFunction "core::cmp::min_by_key" min_by_key. @@ -1635,7 +1640,7 @@ Module cmp. M.get_trait_method (| "core::cmp::Ord", T, [], "max", [] |), [ M.read (| v1 |); M.read (| v2 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_max : M.IsFunction "core::cmp::max" max. @@ -1689,7 +1694,7 @@ Module cmp. ltac:(M.monadic match γ with | [] => ltac:(M.monadic v2) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -1699,7 +1704,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_max_by : M.IsFunction "core::cmp::max_by" max_by. @@ -1780,11 +1785,11 @@ Module cmp. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_max_by_key : M.IsFunction "core::cmp::max_by_key" max_by_key. @@ -1824,7 +1829,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_minmax : M.IsFunction "core::cmp::minmax" minmax. @@ -1883,7 +1888,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_minmax_by : M.IsFunction "core::cmp::minmax_by" minmax_by. @@ -1968,11 +1973,11 @@ Module cmp. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_minmax_by_key : M.IsFunction "core::cmp::minmax_by_key" minmax_by_key. @@ -1993,7 +1998,7 @@ Module cmp. (let self := M.alloc (| self |) in let _other := M.alloc (| _other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2008,7 +2013,7 @@ Module cmp. (let self := M.alloc (| self |) in let _other := M.alloc (| _other |) in Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2029,8 +2034,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2040,8 +2045,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2062,8 +2067,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2073,8 +2078,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2095,8 +2100,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2106,8 +2111,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2128,8 +2133,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2139,8 +2144,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2161,8 +2166,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2172,8 +2177,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2194,8 +2199,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2205,8 +2210,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2227,8 +2232,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2238,8 +2243,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2260,8 +2265,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2271,8 +2276,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2293,8 +2298,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2304,8 +2309,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2326,8 +2331,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2337,8 +2342,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2359,8 +2364,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2370,8 +2375,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2392,8 +2397,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2403,8 +2408,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2425,8 +2430,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2436,8 +2441,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2458,8 +2463,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2469,8 +2474,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2491,8 +2496,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2502,8 +2507,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2524,8 +2529,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ne(&self, other: &$t) -> bool { ( *self) != ( *other) } *) @@ -2535,8 +2540,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ne (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2676,7 +2681,7 @@ Module cmp. [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2709,7 +2714,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2744,12 +2749,11 @@ Module cmp. M.alloc (| Value.Tuple [ - BinOp.Pure.le - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)); - BinOp.Pure.ge - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.le (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |); + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |) ] |), [ @@ -2804,7 +2808,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -2814,8 +2818,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -2825,8 +2829,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -2836,8 +2840,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -2847,8 +2851,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2890,12 +2894,11 @@ Module cmp. M.alloc (| Value.Tuple [ - BinOp.Pure.le - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)); - BinOp.Pure.ge - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.le (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |); + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |) ] |), [ @@ -2950,7 +2953,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -2960,8 +2963,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -2971,8 +2974,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -2982,8 +2985,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -2993,8 +2996,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3027,7 +3030,7 @@ Module cmp. (let self := M.alloc (| self |) in let _other := M.alloc (| _other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3064,26 +3067,35 @@ Module cmp. M.read (| M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.I8 - (M.rust_cast (M.read (| M.read (| self |) |))) - (M.rust_cast (M.read (| M.read (| other |) |))) + BinOp.Wrap.sub (| + M.rust_cast (M.read (| M.read (| self |) |)), + M.rust_cast (M.read (| M.read (| other |) |)) + |) |), [ fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer (-1) |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I8 (-1) + |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I8 0 + |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Equal" [] |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I8 1 + |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Greater" [] |))); fun γ => ltac:(M.monadic @@ -3098,7 +3110,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3112,8 +3124,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3127,8 +3139,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3154,7 +3166,7 @@ Module cmp. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.le (M.read (| min |)) (M.read (| max |))) + UnOp.not (| BinOp.le (| M.read (| min |), M.read (| max |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3182,7 +3194,7 @@ Module cmp. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3221,7 +3233,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -3231,8 +3243,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -3242,8 +3254,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -3253,8 +3265,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -3264,8 +3276,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3310,9 +3322,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -3326,9 +3339,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3344,7 +3358,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3377,7 +3391,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -3387,8 +3401,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -3398,8 +3412,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -3409,8 +3423,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -3420,8 +3434,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3466,9 +3480,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -3482,9 +3497,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3500,7 +3516,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3533,7 +3549,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -3543,8 +3559,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -3554,8 +3570,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -3565,8 +3581,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -3576,8 +3592,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3622,9 +3638,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -3638,9 +3655,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3656,7 +3674,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3689,7 +3707,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -3699,8 +3717,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -3710,8 +3728,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -3721,8 +3739,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -3732,8 +3750,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3778,9 +3796,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -3794,9 +3813,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3812,7 +3832,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3845,7 +3865,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -3855,8 +3875,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -3866,8 +3886,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -3877,8 +3897,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -3888,8 +3908,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3934,9 +3954,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -3950,9 +3971,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3968,7 +3990,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4001,7 +4023,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -4011,8 +4033,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -4022,8 +4044,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -4033,8 +4055,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -4044,8 +4066,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4090,9 +4112,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -4106,9 +4129,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4124,7 +4148,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4157,7 +4181,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -4167,8 +4191,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -4178,8 +4202,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -4189,8 +4213,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -4200,8 +4224,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4246,9 +4270,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -4262,9 +4287,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4280,7 +4306,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4313,7 +4339,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -4323,8 +4349,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -4334,8 +4360,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -4345,8 +4371,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -4356,8 +4382,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4402,9 +4428,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -4418,9 +4445,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4436,7 +4464,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4469,7 +4497,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -4479,8 +4507,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -4490,8 +4518,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -4501,8 +4529,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -4512,8 +4540,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4558,9 +4586,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -4574,9 +4603,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4592,7 +4622,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4625,7 +4655,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -4635,8 +4665,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -4646,8 +4676,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -4657,8 +4687,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -4668,8 +4698,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4714,9 +4744,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -4730,9 +4761,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4748,7 +4780,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4781,7 +4813,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -4791,8 +4823,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -4802,8 +4834,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -4813,8 +4845,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -4824,8 +4856,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4870,9 +4902,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -4886,9 +4919,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4904,7 +4938,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4937,7 +4971,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -4947,8 +4981,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -4958,8 +4992,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -4969,8 +5003,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -4980,8 +5014,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5026,9 +5060,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -5042,9 +5077,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5060,7 +5096,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5093,7 +5129,7 @@ Module cmp. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn lt(&self, other: &$t) -> bool { ( *self) < ( *other) } *) @@ -5103,8 +5139,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn le(&self, other: &$t) -> bool { ( *self) <= ( *other) } *) @@ -5114,8 +5150,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn ge(&self, other: &$t) -> bool { ( *self) >= ( *other) } *) @@ -5125,8 +5161,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* fn gt(&self, other: &$t) -> bool { ( *self) > ( *other) } *) @@ -5136,8 +5172,8 @@ Module cmp. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5182,9 +5218,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.lt (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::cmp::Ordering::Less" [] |))); @@ -5198,9 +5235,10 @@ Module cmp. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| self |) |)) - (M.read (| M.read (| other |) |)) + BinOp.eq (| + M.read (| M.read (| self |) |), + M.read (| M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5216,7 +5254,7 @@ Module cmp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5245,7 +5283,7 @@ Module cmp. β1, [ fun γ => ltac:(M.monadic (M.never_to_any (| M.read (| M.read (| self |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5281,7 +5319,7 @@ Module cmp. β1, [ fun γ => ltac:(M.monadic (M.never_to_any (| M.read (| M.read (| self |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5310,7 +5348,7 @@ Module cmp. β1, [ fun γ => ltac:(M.monadic (M.never_to_any (| M.read (| M.read (| self |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5340,7 +5378,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialEq", A, [ B ], "eq", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5359,7 +5397,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialEq", A, [ B ], "ne", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5391,7 +5429,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "partial_cmp", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5410,7 +5448,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "lt", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5429,7 +5467,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "le", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5448,7 +5486,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "gt", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5467,7 +5505,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "ge", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5505,7 +5543,7 @@ Module cmp. M.get_trait_method (| "core::cmp::Ord", A, [], "cmp", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5548,7 +5586,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialEq", A, [ B ], "eq", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5567,7 +5605,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialEq", A, [ B ], "ne", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5599,7 +5637,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "partial_cmp", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5618,7 +5656,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "lt", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5637,7 +5675,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "le", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5656,7 +5694,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "gt", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5675,7 +5713,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialOrd", A, [ B ], "ge", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5713,7 +5751,7 @@ Module cmp. M.get_trait_method (| "core::cmp::Ord", A, [], "cmp", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5756,7 +5794,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialEq", A, [ B ], "eq", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5775,7 +5813,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialEq", A, [ B ], "ne", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5807,7 +5845,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialEq", A, [ B ], "eq", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5826,7 +5864,7 @@ Module cmp. M.get_trait_method (| "core::cmp::PartialEq", A, [ B ], "ne", [] |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/convert/mod.v b/CoqOfRust/core/convert/mod.v index 34f6f68d7..657f0a925 100644 --- a/CoqOfRust/core/convert/mod.v +++ b/CoqOfRust/core/convert/mod.v @@ -13,7 +13,7 @@ Module convert. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_identity : M.IsFunction "core::convert::identity" identity. @@ -54,7 +54,7 @@ Module convert. M.get_trait_method (| "core::convert::AsRef", T, [ U ], "as_ref", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84,7 +84,7 @@ Module convert. M.get_trait_method (| "core::convert::AsRef", T, [ U ], "as_ref", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114,7 +114,7 @@ Module convert. M.get_trait_method (| "core::convert::AsMut", T, [ U ], "as_mut", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -144,7 +144,7 @@ Module convert. M.get_trait_method (| "core::convert::From", U, [ T ], "from", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -171,7 +171,7 @@ Module convert. ltac:(M.monadic (let t := M.alloc (| t |) in M.read (| t |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -198,7 +198,7 @@ Module convert. ltac:(M.monadic (let t := M.alloc (| t |) in M.never_to_any (| M.read (| t |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -231,7 +231,7 @@ Module convert. M.get_trait_method (| "core::convert::TryFrom", U, [ T ], "try_from", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -272,7 +272,7 @@ Module convert. [ M.read (| value |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -303,7 +303,7 @@ Module convert. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -330,7 +330,7 @@ Module convert. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -356,7 +356,7 @@ Module convert. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -381,7 +381,7 @@ Module convert. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -425,7 +425,7 @@ Module convert. ltac:(M.monadic (let self := M.alloc (| self |) in M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -458,7 +458,7 @@ Module convert. (M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -491,7 +491,7 @@ Module convert. (M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -516,7 +516,7 @@ Module convert. ltac:(M.monadic (let self := M.alloc (| self |) in M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -549,7 +549,7 @@ Module convert. (M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -582,7 +582,7 @@ Module convert. (let self := M.alloc (| self |) in let _other := M.alloc (| _other |) in M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -608,7 +608,7 @@ Module convert. (let self := M.alloc (| self |) in let _other := M.alloc (| _other |) in M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -633,7 +633,7 @@ Module convert. ltac:(M.monadic (let x := M.alloc (| x |) in M.never_to_any (| M.read (| x |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -666,7 +666,7 @@ Module convert. (M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/convert/num.v b/CoqOfRust/core/convert/num.v index fd4f13c61..9ae42541a 100644 --- a/CoqOfRust/core/convert/num.v +++ b/CoqOfRust/core/convert/num.v @@ -43,7 +43,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75,7 +75,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -139,7 +139,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -171,7 +171,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -203,7 +203,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -235,7 +235,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -267,7 +267,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -299,7 +299,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -331,7 +331,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -363,7 +363,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -395,7 +395,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -438,7 +438,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -470,7 +470,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -502,7 +502,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -534,7 +534,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -566,7 +566,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -598,7 +598,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -630,7 +630,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -662,7 +662,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -694,7 +694,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -726,7 +726,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -758,7 +758,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -790,7 +790,7 @@ Module convert. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -815,7 +815,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -840,7 +840,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -865,7 +865,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -890,7 +890,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -915,7 +915,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -940,7 +940,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -965,7 +965,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -990,7 +990,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1015,7 +1015,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1040,7 +1040,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1065,7 +1065,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1090,7 +1090,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1115,7 +1115,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1140,7 +1140,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1165,7 +1165,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1190,7 +1190,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1215,7 +1215,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1240,7 +1240,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1265,7 +1265,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1290,7 +1290,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1315,7 +1315,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1340,7 +1340,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1365,7 +1365,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1390,7 +1390,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1415,7 +1415,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1440,7 +1440,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1465,7 +1465,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1490,7 +1490,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1515,7 +1515,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1540,7 +1540,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1565,7 +1565,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1590,7 +1590,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1615,7 +1615,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1640,7 +1640,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1665,7 +1665,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1690,7 +1690,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1715,7 +1715,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1740,7 +1740,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1765,7 +1765,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1790,7 +1790,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1815,7 +1815,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1840,7 +1840,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1865,7 +1865,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1890,7 +1890,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1915,7 +1915,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1940,7 +1940,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1965,7 +1965,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1990,7 +1990,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2015,7 +2015,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2040,7 +2040,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2065,7 +2065,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2090,7 +2090,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2115,7 +2115,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2140,7 +2140,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2165,7 +2165,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2190,7 +2190,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2215,7 +2215,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2240,7 +2240,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.read (| small |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2265,7 +2265,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.rust_cast (M.read (| small |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2290,7 +2290,7 @@ Module convert. ltac:(M.monadic (let small := M.alloc (| small |) in M.rust_cast (M.rust_cast (M.read (| small |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2330,9 +2330,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2351,7 +2352,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2392,9 +2393,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2413,7 +2415,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2454,9 +2456,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2475,7 +2478,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2516,9 +2519,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2537,7 +2541,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2578,9 +2582,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2599,7 +2604,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2640,9 +2645,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2661,7 +2667,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2702,9 +2708,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2723,7 +2730,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2764,9 +2771,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2785,7 +2793,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2826,9 +2834,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2847,7 +2856,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2888,9 +2897,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2909,7 +2919,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2957,8 +2967,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2978,7 +2988,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3026,8 +3036,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3047,7 +3057,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3095,8 +3105,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3116,7 +3126,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3164,8 +3174,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3185,7 +3195,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3233,8 +3243,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3254,7 +3264,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3302,8 +3312,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3323,7 +3333,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3371,8 +3381,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3392,7 +3402,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3440,8 +3450,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3461,7 +3471,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3509,8 +3519,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3530,7 +3540,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3578,8 +3588,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3599,7 +3609,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3640,9 +3650,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3661,7 +3672,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3702,9 +3713,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3723,7 +3735,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3764,9 +3776,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3785,7 +3798,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3826,9 +3839,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3847,7 +3861,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3888,9 +3902,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3909,7 +3924,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3950,9 +3965,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3971,7 +3987,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4012,9 +4028,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4033,7 +4050,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4074,9 +4091,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4095,7 +4113,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4136,9 +4154,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4157,7 +4176,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4198,9 +4217,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4219,7 +4239,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4260,9 +4280,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4281,7 +4302,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4322,9 +4343,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4343,7 +4365,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4384,9 +4406,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4405,7 +4428,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4446,9 +4469,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4467,7 +4491,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4508,9 +4532,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4529,7 +4554,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4568,7 +4593,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4586,7 +4614,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4625,7 +4653,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4643,7 +4674,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4682,7 +4713,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4700,7 +4734,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4739,7 +4773,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4757,7 +4794,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4796,7 +4833,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4814,7 +4854,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4853,7 +4893,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4871,7 +4914,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4910,7 +4953,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4928,7 +4974,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4967,7 +5013,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4985,7 +5034,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5024,7 +5073,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -5042,7 +5094,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5081,7 +5133,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -5099,7 +5154,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5138,7 +5193,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -5156,7 +5214,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5195,7 +5253,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -5213,7 +5274,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5252,7 +5313,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -5270,7 +5334,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5309,7 +5373,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -5327,7 +5394,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5366,7 +5433,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -5384,7 +5454,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5432,8 +5502,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5453,7 +5523,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5501,8 +5571,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5522,7 +5592,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5570,8 +5640,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5591,7 +5661,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5639,8 +5709,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5660,7 +5730,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5708,8 +5778,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5729,7 +5799,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5777,8 +5847,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5798,7 +5868,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5846,8 +5916,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5867,7 +5937,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5915,8 +5985,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5936,7 +6006,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5984,8 +6054,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6005,7 +6075,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6053,8 +6123,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6074,7 +6144,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6115,9 +6185,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6136,7 +6207,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6175,7 +6246,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -6193,7 +6267,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6235,9 +6309,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6260,7 +6335,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6301,9 +6376,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6326,7 +6402,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6367,9 +6443,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6392,7 +6469,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6421,7 +6498,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6450,7 +6527,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6491,9 +6568,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6516,7 +6594,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6557,9 +6635,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6582,7 +6661,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6623,9 +6702,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6648,7 +6728,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6689,9 +6769,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6714,7 +6795,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6743,7 +6824,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6791,8 +6872,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := @@ -6816,7 +6897,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6864,8 +6945,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := @@ -6889,7 +6970,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6937,8 +7018,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := @@ -6962,7 +7043,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7001,7 +7082,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7023,7 +7107,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7062,7 +7146,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7084,7 +7171,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7132,8 +7219,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := @@ -7157,7 +7244,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7205,8 +7292,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := @@ -7230,7 +7317,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7278,8 +7365,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := @@ -7303,7 +7390,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7332,7 +7419,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7361,7 +7448,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7390,7 +7477,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7419,7 +7506,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7460,9 +7547,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7485,7 +7573,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7524,7 +7612,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7546,7 +7637,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7585,7 +7676,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7607,7 +7701,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7646,7 +7740,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7668,7 +7765,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7707,7 +7804,10 @@ Module convert. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| u |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| u |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7729,7 +7829,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7777,8 +7877,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := @@ -7802,7 +7902,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7831,7 +7931,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7860,7 +7960,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7901,9 +8001,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7926,7 +8027,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7967,9 +8068,10 @@ Module convert. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| u |)) - (M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.gt (| + M.read (| u |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7992,7 +8094,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8021,7 +8123,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8050,7 +8152,7 @@ Module convert. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "core::result::Result::Ok" [ M.rust_cast (M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8098,8 +8200,8 @@ Module convert. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt (M.read (| u |)) (M.read (| min |)), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| u |)) (M.read (| max |)))) + BinOp.lt (| M.read (| u |), M.read (| min |) |), + ltac:(M.monadic (BinOp.gt (| M.read (| u |), M.read (| max |) |))) |) |)) in let _ := @@ -8123,7 +8225,7 @@ Module convert. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8180,7 +8282,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8235,7 +8337,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8290,7 +8392,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8345,7 +8447,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8400,7 +8502,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8455,7 +8557,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8510,7 +8612,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8565,7 +8667,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8620,7 +8722,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8675,7 +8777,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8730,7 +8832,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8785,7 +8887,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8840,7 +8942,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8895,7 +8997,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8950,7 +9052,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9005,7 +9107,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9060,7 +9162,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9115,7 +9217,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9170,7 +9272,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9225,7 +9327,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9280,7 +9382,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9335,7 +9437,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9390,7 +9492,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9445,7 +9547,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9500,7 +9602,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9555,7 +9657,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9610,7 +9712,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9665,7 +9767,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9720,7 +9822,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9775,7 +9877,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9830,7 +9932,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9885,7 +9987,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9940,7 +10042,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9995,7 +10097,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10050,7 +10152,7 @@ Module convert. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10097,7 +10199,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10145,7 +10247,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10193,7 +10295,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10241,7 +10343,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10289,7 +10391,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10337,7 +10439,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10385,7 +10487,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10433,7 +10535,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10481,7 +10583,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10529,7 +10631,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10577,7 +10679,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10625,7 +10727,7 @@ Module convert. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10711,11 +10813,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10801,11 +10903,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10891,11 +10993,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10981,11 +11083,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11071,11 +11173,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11161,11 +11263,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11251,11 +11353,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11341,11 +11443,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11431,11 +11533,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11521,11 +11623,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11611,11 +11713,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11701,11 +11803,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11791,11 +11893,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11881,11 +11983,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11971,11 +12073,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12061,11 +12163,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12151,11 +12253,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12241,11 +12343,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12331,11 +12433,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12421,11 +12523,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12511,11 +12613,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12601,11 +12703,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12691,11 +12793,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12781,11 +12883,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12871,11 +12973,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12961,11 +13063,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13051,11 +13153,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13141,11 +13243,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13231,11 +13333,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13321,11 +13423,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13411,11 +13513,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13501,11 +13603,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13591,11 +13693,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13681,11 +13783,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13771,11 +13873,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13861,11 +13963,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13951,11 +14053,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14041,11 +14143,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14131,11 +14233,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14221,11 +14323,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14311,11 +14413,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14401,11 +14503,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14491,11 +14593,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14581,11 +14683,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14671,11 +14773,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14761,11 +14863,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14851,11 +14953,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14941,11 +15043,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15031,11 +15133,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15121,11 +15223,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15211,11 +15313,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15301,11 +15403,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15391,11 +15493,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15481,11 +15583,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15571,11 +15673,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15661,11 +15763,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15751,11 +15853,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15841,11 +15943,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15931,11 +16033,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16021,11 +16123,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16111,11 +16213,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16201,11 +16303,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16291,11 +16393,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16381,11 +16483,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16471,11 +16573,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16561,11 +16663,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16651,11 +16753,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16741,11 +16843,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16831,11 +16933,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16921,11 +17023,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17011,11 +17113,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17101,11 +17203,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17191,11 +17293,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17281,11 +17383,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17371,11 +17473,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17461,11 +17563,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17551,11 +17653,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17641,11 +17743,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17731,11 +17833,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17821,11 +17923,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17911,11 +18013,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18001,11 +18103,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18091,11 +18193,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18181,11 +18283,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18271,11 +18373,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18361,11 +18463,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18451,11 +18553,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18541,11 +18643,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18631,11 +18733,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18721,11 +18823,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18811,11 +18913,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18901,11 +19003,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18991,11 +19093,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19081,11 +19183,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19171,11 +19273,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19261,11 +19363,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19351,11 +19453,11 @@ Module convert. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/default.v b/CoqOfRust/core/default.v index b65c1b87f..e77bb9b14 100644 --- a/CoqOfRust/core/default.v +++ b/CoqOfRust/core/default.v @@ -14,7 +14,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -33,7 +36,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Bool false)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Bool false)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -52,7 +58,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.UnicodeChar 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.UnicodeChar 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -71,7 +80,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.Usize 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -90,7 +102,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U8 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -109,7 +124,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U16 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -128,7 +146,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U32 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -147,7 +168,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U64 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -166,7 +190,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U128 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -185,7 +212,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.Isize 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -204,7 +234,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I8 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -223,7 +256,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I16 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -242,7 +278,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I32 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -261,7 +300,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I64 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -280,7 +322,10 @@ Module default. } *) Definition default (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I128 0)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance @@ -301,7 +346,7 @@ Module default. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| UnsupportedLiteral |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -323,7 +368,7 @@ Module default. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| UnsupportedLiteral |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/error.v b/CoqOfRust/core/error.v index 1a9a70427..70e0fafba 100644 --- a/CoqOfRust/core/error.v +++ b/CoqOfRust/core/error.v @@ -10,7 +10,7 @@ Module error. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_source : M.IsProvidedMethod "core::error::Error" "source" source. @@ -31,7 +31,7 @@ Module error. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_type_id : M.IsProvidedMethod "core::error::Error" "type_id" type_id. @@ -41,7 +41,7 @@ Module error. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "description() is deprecated; use Display" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_description : @@ -55,7 +55,7 @@ Module error. M.get_trait_method (| "core::error::Error", Self, [], "source", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_cause : M.IsProvidedMethod "core::error::Error" "cause" cause. @@ -66,7 +66,7 @@ Module error. (let self := M.alloc (| self |) in let request := M.alloc (| request |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_provide : M.IsProvidedMethod "core::error::Error" "provide" provide. @@ -94,7 +94,7 @@ Module error. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "Internal" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -171,7 +171,7 @@ Module error. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is : M.IsAssociatedFunction Self "is" is. @@ -226,7 +226,7 @@ Module error. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref : M.IsAssociatedFunction Self "downcast_ref" downcast_ref. @@ -281,7 +281,7 @@ Module error. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut : M.IsAssociatedFunction Self "downcast_mut" downcast_mut. @@ -314,7 +314,7 @@ Module error. "core::option::Option::Some" [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sources : M.IsAssociatedFunction Self "sources" sources. @@ -342,7 +342,7 @@ Module error. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is : M.IsAssociatedFunction Self "is" is. @@ -365,7 +365,7 @@ Module error. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref : M.IsAssociatedFunction Self "downcast_ref" downcast_ref. @@ -388,7 +388,7 @@ Module error. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut : M.IsAssociatedFunction Self "downcast_mut" downcast_mut. @@ -421,7 +421,7 @@ Module error. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is : M.IsAssociatedFunction Self "is" is. @@ -444,7 +444,7 @@ Module error. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_ref : M.IsAssociatedFunction Self "downcast_ref" downcast_ref. @@ -467,7 +467,7 @@ Module error. |), [ (* Unsize *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut : M.IsAssociatedFunction Self "downcast_mut" downcast_mut. @@ -494,7 +494,7 @@ Module error. |), [ M.read (| err |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_request_value : M.IsFunction "core::error::request_value" request_value. @@ -524,7 +524,7 @@ Module error. |), [ M.read (| err |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_request_ref : M.IsFunction "core::error::request_ref" request_ref. @@ -576,7 +576,7 @@ Module error. |) in M.SubPointer.get_struct_tuple_field (| tagged, "core::error::TaggedOption", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_request_by_type_tag : @@ -608,7 +608,7 @@ Module error. (M.read (| M.use (M.alloc (| (* Unsize *) M.pointer_coercion (M.read (| erased |)) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -635,7 +635,7 @@ Module error. |), [ M.read (| self |); M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_provide_value : @@ -663,7 +663,7 @@ Module error. |), [ M.read (| self |); M.read (| fulfil |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_provide_value_with : @@ -692,7 +692,7 @@ Module error. |), [ M.read (| self |); M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_provide_ref : M.IsAssociatedFunction Self "provide_ref" provide_ref. @@ -724,7 +724,7 @@ Module error. |), [ M.read (| self |); M.read (| fulfil |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_provide_ref_with : @@ -801,7 +801,7 @@ Module error. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_provide : M.IsAssociatedFunction Self "provide" provide. @@ -890,7 +890,7 @@ Module error. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_provide_with : M.IsAssociatedFunction Self "provide_with" provide_with. @@ -916,7 +916,7 @@ Module error. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_would_be_satisfied_by_value_of : @@ -947,7 +947,7 @@ Module error. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_would_be_satisfied_by_ref_of : @@ -1006,7 +1006,7 @@ Module error. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_would_be_satisfied_by : @@ -1046,7 +1046,7 @@ Module error. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1117,7 +1117,7 @@ Module error. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1183,7 +1183,7 @@ Module error. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1249,7 +1249,7 @@ Module error. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1308,7 +1308,7 @@ Module error. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_request : @@ -1337,7 +1337,7 @@ Module error. M.get_associated_function (| Ty.path "core::any::TypeId", "of", [ I ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1442,7 +1442,7 @@ Module error. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast : M.IsAssociatedFunction Self "downcast" downcast. @@ -1537,7 +1537,7 @@ Module error. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_downcast_mut : M.IsAssociatedFunction Self "downcast_mut" downcast_mut. @@ -1588,7 +1588,7 @@ Module error. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1630,7 +1630,7 @@ Module error. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1712,7 +1712,7 @@ Module error. |) in current |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1741,7 +1741,7 @@ Module error. M.get_trait_method (| "core::error::Error", T, [], "description", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1759,7 +1759,7 @@ Module error. M.get_trait_method (| "core::error::Error", T, [], "cause", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1777,7 +1777,7 @@ Module error. M.get_trait_method (| "core::error::Error", T, [], "source", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1802,7 +1802,7 @@ Module error. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1834,7 +1834,7 @@ Module error. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "an error occurred when formatting an argument" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1859,7 +1859,7 @@ Module error. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "already mutably borrowed" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1884,7 +1884,7 @@ Module error. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "already borrowed" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1909,7 +1909,7 @@ Module error. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "converted integer out of range for `char`" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/escape.v b/CoqOfRust/core/escape.v index 48f3c06e7..ef9b5e362 100644 --- a/CoqOfRust/core/escape.v +++ b/CoqOfRust/core/escape.v @@ -73,7 +73,11 @@ Module escape. [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 9 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 9 + |) in M.alloc (| M.call_closure (| M.get_function (| "core::escape::escape_ascii_into.backslash", [] |), @@ -82,7 +86,11 @@ Module escape. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 13 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 13 + |) in M.alloc (| M.call_closure (| M.get_function (| "core::escape::escape_ascii_into.backslash", [] |), @@ -91,7 +99,11 @@ Module escape. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 10 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 10 + |) in M.alloc (| M.call_closure (| M.get_function (| "core::escape::escape_ascii_into.backslash", [] |), @@ -100,7 +112,11 @@ Module escape. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 92 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 92 + |) in M.alloc (| M.call_closure (| M.get_function (| "core::escape::escape_ascii_into.backslash", [] |), @@ -110,7 +126,11 @@ Module escape. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 39 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 39 + |) in M.alloc (| M.call_closure (| M.get_function (| "core::escape::escape_ascii_into.backslash", [] |), @@ -119,7 +139,11 @@ Module escape. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 34 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 34 + |) in M.alloc (| M.call_closure (| M.get_function (| "core::escape::escape_ascii_into.backslash", [] |), @@ -150,15 +174,16 @@ Module escape. let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "u8", "is_ascii_control", [] |), [ byte ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -178,7 +203,7 @@ Module escape. "core::ascii::ascii_char::AsciiChar::Null" [] ]; - Value.Integer 1 + Value.Integer IntegerKind.U8 1 ] |))); fun γ => @@ -196,7 +221,12 @@ Module escape. "from", [] |), - [ BinOp.Wrap.shr (M.read (| byte |)) (Value.Integer 4) ] + [ + BinOp.Wrap.shr (| + M.read (| byte |), + Value.Integer IntegerKind.I32 4 + |) + ] |) |) |) @@ -214,7 +244,11 @@ Module escape. "from", [] |), - [ BinOp.Pure.bit_and (M.read (| byte |)) (Value.Integer 15) ] + [ + BinOp.bit_and + (M.read (| byte |)) + (Value.Integer IntegerKind.U8 15) + ] |) |) |) @@ -233,7 +267,7 @@ Module escape. M.read (| hi |); M.read (| lo |) ]; - Value.Integer 4 + Value.Integer IntegerKind.U8 4 ] |))) ] @@ -251,12 +285,12 @@ Module escape. M.alloc (| Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| len |)) ] + [ ("start", Value.Integer IntegerKind.U8 0); ("end_", M.read (| len |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_escape_ascii_into : @@ -282,9 +316,9 @@ Module escape. Value.StructTuple "core::ascii::ascii_char::AsciiChar::Null" []; Value.StructTuple "core::ascii::ascii_char::AsciiChar::Null" [] ]; - Value.Integer 2 + Value.Integer IntegerKind.U8 2 ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_backslash : M.IsFunction "core::escape::escape_ascii_into::backslash" backslash. @@ -320,113 +354,134 @@ Module escape. M.read (| let~ _ := M.write (| - M.SubPointer.get_array_field (| M.read (| output |), M.alloc (| Value.Integer 9 |) |), + M.SubPointer.get_array_field (| + M.read (| output |), + M.alloc (| Value.Integer IntegerKind.Usize 9 |) + |), Value.StructTuple "core::ascii::ascii_char::AsciiChar::RightCurlyBracket" [] |) in let~ ch := M.alloc (| M.rust_cast (M.read (| ch |)) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| M.read (| output |), M.alloc (| Value.Integer 3 |) |), + M.SubPointer.get_array_field (| + M.read (| output |), + M.alloc (| Value.Integer IntegerKind.Usize 3 |) + |), M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::escape::HEX_DIGITS" |), M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| ch |)) (Value.Integer 20)) - (Value.Integer 15)) + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| ch |), Value.Integer IntegerKind.I32 20 |)) + (Value.Integer IntegerKind.U32 15)) |) |) |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| M.read (| output |), M.alloc (| Value.Integer 4 |) |), + M.SubPointer.get_array_field (| + M.read (| output |), + M.alloc (| Value.Integer IntegerKind.Usize 4 |) + |), M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::escape::HEX_DIGITS" |), M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| ch |)) (Value.Integer 16)) - (Value.Integer 15)) + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| ch |), Value.Integer IntegerKind.I32 16 |)) + (Value.Integer IntegerKind.U32 15)) |) |) |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| M.read (| output |), M.alloc (| Value.Integer 5 |) |), + M.SubPointer.get_array_field (| + M.read (| output |), + M.alloc (| Value.Integer IntegerKind.Usize 5 |) + |), M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::escape::HEX_DIGITS" |), M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| ch |)) (Value.Integer 12)) - (Value.Integer 15)) + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| ch |), Value.Integer IntegerKind.I32 12 |)) + (Value.Integer IntegerKind.U32 15)) |) |) |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| M.read (| output |), M.alloc (| Value.Integer 6 |) |), + M.SubPointer.get_array_field (| + M.read (| output |), + M.alloc (| Value.Integer IntegerKind.Usize 6 |) + |), M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::escape::HEX_DIGITS" |), M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| ch |)) (Value.Integer 8)) - (Value.Integer 15)) + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| ch |), Value.Integer IntegerKind.I32 8 |)) + (Value.Integer IntegerKind.U32 15)) |) |) |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| M.read (| output |), M.alloc (| Value.Integer 7 |) |), + M.SubPointer.get_array_field (| + M.read (| output |), + M.alloc (| Value.Integer IntegerKind.Usize 7 |) + |), M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::escape::HEX_DIGITS" |), M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| ch |)) (Value.Integer 4)) - (Value.Integer 15)) + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| ch |), Value.Integer IntegerKind.I32 4 |)) + (Value.Integer IntegerKind.U32 15)) |) |) |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| M.read (| output |), M.alloc (| Value.Integer 8 |) |), + M.SubPointer.get_array_field (| + M.read (| output |), + M.alloc (| Value.Integer IntegerKind.Usize 8 |) + |), M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::escape::HEX_DIGITS" |), M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| ch |)) (Value.Integer 0)) - (Value.Integer 15)) + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| ch |), Value.Integer IntegerKind.I32 0 |)) + (Value.Integer IntegerKind.U32 15)) |) |) |) |) in let~ start := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (M.rust_cast + BinOp.Wrap.sub (| + BinOp.Wrap.div (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "u32", "leading_zeros", [] |), - [ BinOp.Pure.bit_or (M.read (| ch |)) (Value.Integer 1) ] - |))) - (Value.Integer 4)) - (Value.Integer 2) + [ BinOp.bit_or (M.read (| ch |)) (Value.Integer IntegerKind.U32 1) ] + |)), + Value.Integer IntegerKind.Usize 4 + |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ _ := M.alloc (| @@ -463,7 +518,9 @@ Module escape. [ ("start", M.read (| start |)) ] ] |); - Value.StructRecord "core::ops::range::RangeTo" [ ("end_", Value.Integer 3) ] + Value.StructRecord + "core::ops::range::RangeTo" + [ ("end_", Value.Integer IntegerKind.Usize 3) ] ] |); (* Unsize *) @@ -479,10 +536,13 @@ Module escape. M.alloc (| Value.StructRecord "core::ops::range::Range" - [ ("start", M.rust_cast (M.read (| start |))); ("end_", Value.Integer 10) ] + [ + ("start", M.rust_cast (M.read (| start |))); + ("end_", Value.Integer IntegerKind.U8 10) + ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_escape_unicode_into : @@ -578,7 +638,7 @@ Module escape. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -628,7 +688,7 @@ Module escape. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -674,26 +734,27 @@ Module escape. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.le - (M.read (| + UnOp.not (| + LogicalOp.and (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| alive, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| alive, "core::ops::range::Range", "end" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.call_closure (| + (BinOp.le (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "usize", @@ -710,11 +771,11 @@ Module escape. |) |) ] - |)) - (M.read (| - M.get_constant (| "core::escape::N" |) - |)))) - |)) + |), + M.read (| M.get_constant (| "core::escape::N" |) |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -776,7 +837,7 @@ Module escape. [ ("data", M.read (| data |)); ("alive", M.read (| alive |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -840,7 +901,7 @@ Module escape. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.U8 0); ("end_", M.rust_cast (M.read (| M.get_constant (| "core::escape::from_array::M" |) |))) @@ -849,7 +910,7 @@ Module escape. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_array : M.IsAssociatedFunction Self "from_array" from_array. @@ -930,7 +991,7 @@ Module escape. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ascii : M.IsAssociatedFunction Self "as_ascii" as_ascii. @@ -962,7 +1023,7 @@ Module escape. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -986,9 +1047,8 @@ Module escape. [] |), [ - BinOp.Wrap.sub - Integer.U8 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -998,8 +1058,8 @@ Module escape. "core::ops::range::Range", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1009,10 +1069,11 @@ Module escape. "core::ops::range::Range", "start" |) - |)) + |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -1094,11 +1155,11 @@ Module escape. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next : M.IsAssociatedFunction Self "next" next. @@ -1180,11 +1241,11 @@ Module escape. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back : M.IsAssociatedFunction Self "next_back" next_back. @@ -1217,7 +1278,7 @@ Module escape. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_advance_by : M.IsAssociatedFunction Self "advance_by" advance_by. @@ -1250,7 +1311,7 @@ Module escape. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_advance_back_by : diff --git a/CoqOfRust/core/ffi/c_str.v b/CoqOfRust/core/ffi/c_str.v index 140d2fab6..ed113a7af 100644 --- a/CoqOfRust/core/ffi/c_str.v +++ b/CoqOfRust/core/ffi/c_str.v @@ -37,7 +37,7 @@ Module ffi. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85,7 +85,7 @@ Module ffi. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -138,7 +138,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -175,7 +175,7 @@ Module ffi. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -218,7 +218,7 @@ Module ffi. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -304,7 +304,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -359,7 +359,7 @@ Module ffi. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -386,9 +386,10 @@ Module ffi. |) in let __arg1_0 := M.alloc (| γ2_0 |) in M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)) + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool true |))) ] @@ -397,7 +398,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -434,7 +435,7 @@ Module ffi. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -505,7 +506,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -537,7 +538,7 @@ Module ffi. "core::ffi::c_str::FromBytesWithNulErrorKind::InteriorNul" [ M.read (| pos |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_interior_nul : @@ -560,7 +561,7 @@ Module ffi. "core::ffi::c_str::FromBytesWithNulErrorKind::NotNulTerminated" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_not_nul_terminated : @@ -616,7 +617,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -657,7 +658,7 @@ Module ffi. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -710,7 +711,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -747,7 +748,7 @@ Module ffi. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -789,7 +790,7 @@ Module ffi. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -831,7 +832,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -908,7 +909,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -946,7 +947,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1196,7 +1197,7 @@ Module ffi. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1257,14 +1258,14 @@ Module ffi. |), [ M.read (| ptr |) ] |); - BinOp.Wrap.add Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) ] |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -1295,7 +1296,7 @@ Module ffi. M.alloc (| M.call_closure (| M.get_function (| "core::slice::memchr::memchr", [] |), - [ Value.Integer 0; M.read (| bytes |) ] + [ Value.Integer IntegerKind.U8 0; M.read (| bytes |) ] |) |) in M.match_operator (| @@ -1326,7 +1327,10 @@ Module ffi. |), [ M.read (| bytes |) ] |); - BinOp.Wrap.add Integer.Usize (M.read (| nul_pos |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| nul_pos |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1359,7 +1363,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bytes_until_nul : @@ -1389,7 +1393,7 @@ Module ffi. M.alloc (| M.call_closure (| M.get_function (| "core::slice::memchr::memchr", [] |), - [ Value.Integer 0; M.read (| bytes |) ] + [ Value.Integer IntegerKind.U8 0; M.read (| bytes |) ] |) |) in M.match_operator (| @@ -1406,16 +1410,20 @@ Module ffi. let nul_pos := M.copy (| γ0_0 |) in let γ := M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.add Integer.Usize (M.read (| nul_pos |)) (Value.Integer 1)) - (M.call_closure (| + BinOp.eq (| + BinOp.Wrap.add (| + M.read (| nul_pos |), + Value.Integer IntegerKind.Usize 1 + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| bytes |) ] - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1475,7 +1483,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bytes_with_nul : @@ -1549,7 +1557,7 @@ Module ffi. M.get_associated_function (| Self, "rt_impl.from_bytes_with_nul_unchecked", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bytes_with_nul_unchecked : @@ -1579,7 +1587,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -1594,9 +1602,8 @@ Module ffi. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "i8" ], "len", @@ -1609,9 +1616,10 @@ Module ffi. "inner" |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_bytes : M.IsAssociatedFunction Self "count_bytes" count_bytes. @@ -1629,8 +1637,8 @@ Module ffi. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "i8" ], @@ -1645,9 +1653,10 @@ Module ffi. |) ] |) - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.I8 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -1689,22 +1698,22 @@ Module ffi. |), [ M.read (| bytes |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| bytes |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_bytes : M.IsAssociatedFunction Self "to_bytes" to_bytes. @@ -1732,7 +1741,7 @@ Module ffi. |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_bytes_with_nul : @@ -1761,7 +1770,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_str : M.IsAssociatedFunction Self "to_str" to_str. @@ -1800,7 +1809,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1851,7 +1860,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1895,7 +1904,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1956,22 +1965,23 @@ Module ffi. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| index, "core::ops::range::RangeFrom", "start" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| bytes |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2087,7 +2097,7 @@ Module ffi. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2114,7 +2124,7 @@ Module ffi. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2174,7 +2184,7 @@ Module ffi. M.get_function (| "core::ffi::c_str::const_strlen.strlen_rt", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_const_strlen : M.IsFunction "core::ffi::c_str::const_strlen" const_strlen. @@ -2198,7 +2208,7 @@ Module ffi. ltac:(M.monadic (let s := M.alloc (| s |) in M.read (| - let~ len := M.alloc (| Value.Integer 0 |) in + let~ len := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -2210,8 +2220,8 @@ Module ffi. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") [ Ty.path "i8" ], @@ -2220,8 +2230,9 @@ Module ffi. |), [ M.read (| s |); M.read (| len |) ] |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I8 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2229,7 +2240,10 @@ Module ffi. let β := len in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2248,7 +2262,7 @@ Module ffi. |) in len |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_strlen_ct : M.IsFunction "core::ffi::c_str::const_strlen::strlen_ct" strlen_ct. @@ -2273,7 +2287,7 @@ Module ffi. M.get_function (| "core::ffi::c_str::const_strlen::strlen_rt::strlen", [] |), [ M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_strlen_rt : M.IsFunction "core::ffi::c_str::const_strlen::strlen_rt" strlen_rt. diff --git a/CoqOfRust/core/ffi/mod.v b/CoqOfRust/core/ffi/mod.v index e33cec28f..cefcf3125 100644 --- a/CoqOfRust/core/ffi/mod.v +++ b/CoqOfRust/core/ffi/mod.v @@ -156,7 +156,7 @@ Module ffi. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -248,7 +248,7 @@ Module ffi. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -312,7 +312,7 @@ Module ffi. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -342,7 +342,7 @@ Module ffi. ("inner", M.read (| self |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_va_list : M.IsAssociatedFunction Self "as_va_list" as_va_list. @@ -361,7 +361,7 @@ Module ffi. M.get_function (| "core::ffi::va_arg", [ T ] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_arg : M.IsAssociatedFunction Self "arg" arg. @@ -434,7 +434,7 @@ Module ffi. M.alloc (| Value.Tuple [] |) in ret |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_copy : M.IsAssociatedFunction Self "with_copy" with_copy. @@ -463,7 +463,7 @@ Module ffi. "inner" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -495,7 +495,7 @@ Module ffi. "inner" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -721,7 +721,7 @@ Module ffi. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -755,7 +755,7 @@ Module ffi. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/fmt/builders.v b/CoqOfRust/core/fmt/builders.v index c0386639d..1821aafca 100644 --- a/CoqOfRust/core/fmt/builders.v +++ b/CoqOfRust/core/fmt/builders.v @@ -36,7 +36,7 @@ Module fmt. (Value.StructRecord "core::fmt::builders::PadAdapterState" [ ("on_newline", Value.Bool true) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -116,11 +116,11 @@ Module fmt. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrap : M.IsAssociatedFunction Self "wrap" wrap. @@ -472,7 +472,7 @@ Module fmt. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -616,7 +616,7 @@ Module fmt. "core::fmt::builders::PadAdapterState", "on_newline" |), - BinOp.Pure.eq (M.read (| c |)) (Value.UnicodeChar 10) + BinOp.eq (| M.read (| c |), Value.UnicodeChar 10 |) |) in M.alloc (| M.call_closure (| @@ -641,7 +641,7 @@ Module fmt. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -704,7 +704,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_debug_struct_new : @@ -764,11 +764,11 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_field : M.IsAssociatedFunction Self "field" field. @@ -885,14 +885,15 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugStruct", "has_fields" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1683,7 +1684,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1699,7 +1700,7 @@ Module fmt. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_field_with : M.IsAssociatedFunction Self "field_with" field_with. @@ -2020,7 +2021,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2031,7 +2032,7 @@ Module fmt. "result" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_finish_non_exhaustive : @@ -2178,7 +2179,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2193,7 +2194,7 @@ Module fmt. "result" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. @@ -2220,7 +2221,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_pretty : M.IsAssociatedFunction Self "is_pretty" is_pretty. @@ -2271,7 +2272,7 @@ Module fmt. [ ("fmt", M.read (| fmt |)); ("result", M.read (| result |)); - ("fields", Value.Integer 0); + ("fields", Value.Integer IntegerKind.Usize 0); ("empty_name", M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", [] |), @@ -2280,7 +2281,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_debug_tuple_new : @@ -2338,11 +2339,11 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_field : M.IsAssociatedFunction Self "field" field. @@ -2454,15 +2455,18 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugTuple", "fields" |) - |)) - (Value.Integer 0) + |), + Value.Integer + IntegerKind.Usize + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2744,15 +2748,18 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugTuple", "fields" |) - |)) - (Value.Integer 0) + |), + Value.Integer + IntegerKind.Usize + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2898,7 +2905,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2910,10 +2917,13 @@ Module fmt. "core::fmt::builders::DebugTuple", "fields" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_field_with : M.IsAssociatedFunction Self "field_with" field_with. @@ -2946,15 +2956,16 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugTuple", "fields" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3011,15 +3022,18 @@ Module fmt. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugTuple", "fields" |) - |)) - (Value.Integer 1), + |), + Value.Integer + IntegerKind.Usize + 1 + |), ltac:(M.monadic (M.read (| M.SubPointer.get_struct_record_field (| @@ -3030,8 +3044,8 @@ Module fmt. |))) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::fmt::builders::DebugTuple", @@ -3039,7 +3053,8 @@ Module fmt. [] |), [ M.read (| self |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -3180,7 +3195,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3195,7 +3210,7 @@ Module fmt. "result" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. @@ -3222,7 +3237,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_pretty : M.IsAssociatedFunction Self "is_pretty" is_pretty. @@ -3353,14 +3368,15 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugInner", "has_fields" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3793,7 +3809,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3809,7 +3825,7 @@ Module fmt. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. @@ -3836,7 +3852,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_pretty : M.IsAssociatedFunction Self "is_pretty" is_pretty. @@ -3883,7 +3899,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_debug_set_new : M.IsFunction "core::fmt::builders::debug_set_new" debug_set_new. @@ -3951,14 +3967,14 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. @@ -3999,7 +4015,7 @@ Module fmt. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. @@ -4098,7 +4114,7 @@ Module fmt. |)) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entries : M.IsAssociatedFunction Self "entries" entries. @@ -4174,11 +4190,11 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. @@ -4225,7 +4241,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_debug_list_new : @@ -4294,14 +4310,14 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. @@ -4342,7 +4358,7 @@ Module fmt. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entry_with : M.IsAssociatedFunction Self "entry_with" entry_with. @@ -4441,7 +4457,7 @@ Module fmt. |)) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entries : M.IsAssociatedFunction Self "entries" entries. @@ -4517,11 +4533,11 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. @@ -4585,7 +4601,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_debug_map_new : M.IsFunction "core::fmt::builders::debug_map_new" debug_map_new. @@ -4619,7 +4635,7 @@ Module fmt. (* Unsize *) M.pointer_coercion (M.read (| value |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entry : M.IsAssociatedFunction Self "entry" entry. @@ -4673,11 +4689,11 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key : M.IsAssociatedFunction Self "key" key. @@ -4776,15 +4792,17 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.read (| + UnOp.not (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugMap", "has_key" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4860,14 +4878,15 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugMap", "has_fields" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5577,14 +5596,14 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_key_with : M.IsAssociatedFunction Self "key_with" key_with. @@ -5638,11 +5657,11 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_value : M.IsAssociatedFunction Self "value" value. @@ -5730,14 +5749,15 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugMap", "has_key" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6157,7 +6177,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -6173,7 +6193,7 @@ Module fmt. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_value_with : M.IsAssociatedFunction Self "value_with" value_with. @@ -6277,7 +6297,7 @@ Module fmt. |)) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_entries : M.IsAssociatedFunction Self "entries" entries. @@ -6340,15 +6360,17 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.read (| + UnOp.not (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::builders::DebugMap", "has_key" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6412,11 +6434,11 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_finish : M.IsAssociatedFunction Self "finish" finish. @@ -6443,7 +6465,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_pretty : M.IsAssociatedFunction Self "is_pretty" is_pretty. @@ -6489,7 +6511,7 @@ Module fmt. Value.Tuple [ M.read (| f |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6534,7 +6556,7 @@ Module fmt. Value.Tuple [ M.read (| f |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/fmt/float.v b/CoqOfRust/core/fmt/float.v index d6f829d21..e44e67cc5 100644 --- a/CoqOfRust/core/fmt/float.v +++ b/CoqOfRust/core/fmt/float.v @@ -34,16 +34,16 @@ Module fmt. M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.ne (M.read (| abs |)) (M.read (| UnsupportedLiteral |)), + BinOp.ne (| M.read (| abs |), M.read (| UnsupportedLiteral |) |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| abs |)) (M.read (| UnsupportedLiteral |)))) + (BinOp.lt (| M.read (| abs |), M.read (| UnsupportedLiteral |) |))) |), ltac:(M.monadic - (BinOp.Pure.ge (M.read (| abs |)) (M.read (| UnsupportedLiteral |)))) + (BinOp.ge (| M.read (| abs |), M.read (| UnsupportedLiteral |) |))) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86,16 +86,16 @@ Module fmt. M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.ne (M.read (| abs |)) (M.read (| UnsupportedLiteral |)), + BinOp.ne (| M.read (| abs |), M.read (| UnsupportedLiteral |) |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| abs |)) (M.read (| UnsupportedLiteral |)))) + (BinOp.lt (| M.read (| abs |), M.read (| UnsupportedLiteral |) |))) |), ltac:(M.monadic - (BinOp.Pure.ge (M.read (| abs |)) (M.read (| UnsupportedLiteral |)))) + (BinOp.ge (| M.read (| abs |), M.read (| UnsupportedLiteral |) |))) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -218,7 +218,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_float_to_decimal_common_exact : @@ -332,7 +332,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_float_to_decimal_common_shortest : @@ -425,7 +425,7 @@ Module fmt. |))); fun γ => ltac:(M.monadic - (let~ min_precision := M.alloc (| Value.Integer 0 |) in + (let~ min_precision := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in M.alloc (| M.call_closure (| M.get_function (| @@ -443,7 +443,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_float_to_decimal_display : @@ -561,7 +561,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_float_to_exponential_common_exact : @@ -661,7 +661,8 @@ Module fmt. M.get_function (| "core::num::flt2dec::strategy::grisu::format_shortest", [] |); M.read (| M.read (| num |) |); M.read (| sign |); - Value.Tuple [ Value.Integer 0; Value.Integer 0 ]; + Value.Tuple + [ Value.Integer IntegerKind.I16 0; Value.Integer IntegerKind.I16 0 ]; M.read (| upper |); (* Unsize *) M.pointer_coercion buf; (* Unsize *) M.pointer_coercion parts @@ -679,7 +680,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_float_to_exponential_common_shortest : @@ -767,7 +768,10 @@ Module fmt. M.read (| fmt |); M.read (| num |); M.read (| sign |); - BinOp.Wrap.add Integer.Usize (M.read (| precision |)) (Value.Integer 1); + BinOp.Wrap.add (| + M.read (| precision |), + Value.Integer IntegerKind.Usize 1 + |); M.read (| upper |) ] |) @@ -787,7 +791,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_float_to_exponential_common : @@ -923,7 +927,8 @@ Module fmt. |))); fun γ => ltac:(M.monadic - (let~ min_precision := M.alloc (| Value.Integer 1 |) in + (let~ min_precision := + M.alloc (| Value.Integer IntegerKind.Usize 1 |) in M.alloc (| M.call_closure (| M.get_function (| @@ -943,7 +948,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_float_to_general_debug : @@ -967,7 +972,7 @@ Module fmt. M.get_function (| "core::fmt::float::float_to_general_debug", [ Ty.path "f32" ] |), [ M.read (| fmt |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -996,7 +1001,7 @@ Module fmt. M.get_function (| "core::fmt::float::float_to_decimal_display", [ Ty.path "f32" ] |), [ M.read (| fmt |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1028,7 +1033,7 @@ Module fmt. |), [ M.read (| fmt |); M.read (| self |); Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1060,7 +1065,7 @@ Module fmt. |), [ M.read (| fmt |); M.read (| self |); Value.Bool true ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1089,7 +1094,7 @@ Module fmt. M.get_function (| "core::fmt::float::float_to_general_debug", [ Ty.path "f64" ] |), [ M.read (| fmt |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1118,7 +1123,7 @@ Module fmt. M.get_function (| "core::fmt::float::float_to_decimal_display", [ Ty.path "f64" ] |), [ M.read (| fmt |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1150,7 +1155,7 @@ Module fmt. |), [ M.read (| fmt |); M.read (| self |); Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1182,7 +1187,7 @@ Module fmt. |), [ M.read (| fmt |); M.read (| self |); Value.Bool true ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/fmt/mod.v b/CoqOfRust/core/fmt/mod.v index 48547f2cb..da8f937a2 100644 --- a/CoqOfRust/core/fmt/mod.v +++ b/CoqOfRust/core/fmt/mod.v @@ -48,7 +48,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,7 +97,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -150,9 +150,9 @@ Module fmt. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -184,7 +184,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -228,7 +228,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -253,7 +253,7 @@ Module fmt. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "Error" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,7 +271,7 @@ Module fmt. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "core::fmt::Error" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -303,7 +303,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -326,7 +326,7 @@ Module fmt. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -348,7 +348,7 @@ Module fmt. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -381,7 +381,7 @@ Module fmt. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -405,7 +405,7 @@ Module fmt. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -432,12 +432,13 @@ Module fmt. M.get_associated_function (| Ty.path "char", "encode_utf8", [] |), [ M.read (| c |); - (* Unsize *) M.pointer_coercion (M.alloc (| repeat (Value.Integer 0) 4 |)) + (* Unsize *) + M.pointer_coercion (M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_char : M.IsProvidedMethod "core::fmt::Write" "write_char" write_char. @@ -457,7 +458,7 @@ Module fmt. |), [ M.read (| self |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_fmt : M.IsProvidedMethod "core::fmt::Write" "write_fmt" write_fmt. @@ -482,7 +483,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Write", W, [], "write_str", [] |), [ M.read (| M.read (| self |) |); M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -501,7 +502,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Write", W, [], "write_char", [] |), [ M.read (| M.read (| self |) |); M.read (| c |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -520,7 +521,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Write", W, [], "write_fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -575,14 +576,14 @@ Module fmt. Value.StructRecord "core::fmt::Formatter" [ - ("flags", Value.Integer 0); + ("flags", Value.Integer IntegerKind.U32 0); ("fill", Value.UnicodeChar 32); ("align", Value.StructTuple "core::fmt::rt::Alignment::Unknown" []); ("width", Value.StructTuple "core::option::Option::None" []); ("precision", Value.StructTuple "core::option::Option::None" []); ("buf", (* Unsize *) M.pointer_coercion (M.read (| buf |))) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -686,7 +687,7 @@ Module fmt. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrap_buf : M.IsAssociatedFunction Self "wrap_buf" wrap_buf. @@ -783,7 +784,7 @@ Module fmt. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| UnOp.Pure.not (M.read (| is_nonnegative |)) |)) in + M.use (M.alloc (| UnOp.not (| M.read (| is_nonnegative |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -797,7 +798,7 @@ Module fmt. let β := width in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -835,10 +836,10 @@ Module fmt. let β := width in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -871,10 +872,9 @@ Module fmt. let β := width in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.path "core::str::iter::Chars", @@ -888,7 +888,8 @@ Module fmt. [ M.read (| prefix |) ] |) ] - |)) + |) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| prefix |) ] @@ -1014,7 +1015,7 @@ Module fmt. |) in let min := M.copy (| γ0_0 |) in let γ := - M.alloc (| BinOp.Pure.ge (M.read (| width |)) (M.read (| min |)) |) in + M.alloc (| BinOp.ge (| M.read (| width |), M.read (| min |) |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -1263,10 +1264,7 @@ Module fmt. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| min |)) - (M.read (| width |)); + BinOp.Wrap.sub (| M.read (| min |), M.read (| width |) |); Value.StructTuple "core::fmt::Alignment::Right" [] ] |) @@ -1536,10 +1534,7 @@ Module fmt. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| min |)) - (M.read (| width |)); + BinOp.Wrap.sub (| M.read (| min |), M.read (| width |) |); Value.StructTuple "core::fmt::Alignment::Right" [] ] |) @@ -1769,7 +1764,7 @@ Module fmt. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pad_integral : M.IsAssociatedFunction Self "pad_integral" pad_integral. @@ -2069,7 +2064,7 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| chars_count |)) (M.read (| width |)) + BinOp.ge (| M.read (| chars_count |), M.read (| width |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -2127,10 +2122,10 @@ Module fmt. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| width |)) - (M.read (| chars_count |)); + BinOp.Wrap.sub (| + M.read (| width |), + M.read (| chars_count |) + |); M.read (| align |) ] |) @@ -2289,7 +2284,7 @@ Module fmt. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pad : M.IsAssociatedFunction Self "pad" pad. @@ -2368,28 +2363,32 @@ Module fmt. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::fmt::Alignment::Left" |) in - M.alloc (| Value.Tuple [ Value.Integer 0; M.read (| padding |) ] |))); + M.alloc (| + Value.Tuple [ Value.Integer IntegerKind.Usize 0; M.read (| padding |) ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::fmt::Alignment::Right" |) in - M.alloc (| Value.Tuple [ M.read (| padding |); Value.Integer 0 ] |))); + M.alloc (| + Value.Tuple [ M.read (| padding |); Value.Integer IntegerKind.Usize 0 ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::fmt::Alignment::Center" |) in M.alloc (| Value.Tuple [ - BinOp.Wrap.div - Integer.Usize - (M.read (| padding |)) - (Value.Integer 2); - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| padding |)) - (Value.Integer 1)) - (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| padding |), + Value.Integer IntegerKind.Usize 2 + |); + BinOp.Wrap.div (| + BinOp.Wrap.add (| + M.read (| padding |), + Value.Integer IntegerKind.Usize 1 + |), + Value.Integer IntegerKind.Usize 2 + |) ] |))) ] @@ -2418,7 +2417,10 @@ Module fmt. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| pre_pad |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| pre_pad |)) + ] ] |) |), @@ -2602,7 +2604,7 @@ Module fmt. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_padding : M.IsAssociatedFunction Self "padding" padding. @@ -2898,7 +2900,7 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| width |)) (M.read (| len |)) + BinOp.le (| M.read (| width |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -2943,10 +2945,10 @@ Module fmt. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| width |)) - (M.read (| len |)); + BinOp.Wrap.sub (| + M.read (| width |), + M.read (| len |) + |); Value.StructTuple "core::fmt::Alignment::Right" [] @@ -3137,7 +3139,7 @@ Module fmt. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pad_formatted_parts : @@ -3208,8 +3210,8 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", [] |), [ M.read (| @@ -3220,7 +3222,8 @@ Module fmt. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3409,9 +3412,9 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| nzeroes |)) - (M.call_closure (| + BinOp.gt (| + M.read (| nzeroes |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", @@ -3424,7 +3427,8 @@ Module fmt. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3548,10 +3552,9 @@ Module fmt. let β := nzeroes in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", @@ -3564,7 +3567,8 @@ Module fmt. |) |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -3595,9 +3599,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| nzeroes |)) - (Value.Integer 0) + BinOp.gt (| + M.read (| nzeroes |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3754,7 +3759,9 @@ Module fmt. |) in let v := M.copy (| γ0_0 |) in let~ s := - M.alloc (| repeat (Value.Integer 0) 5 |) in + M.alloc (| + repeat (Value.Integer IntegerKind.U8 0) 5 + |) in let~ len := M.alloc (| M.call_closure (| @@ -3896,28 +3903,31 @@ Module fmt. let~ _ := M.write (| M.read (| c |), - BinOp.Wrap.add - Integer.U8 - (M.read (| + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral - |)) - (M.rust_cast - (BinOp.Wrap.rem - Integer.U16 - (M.read (| + |), + M.rust_cast + (BinOp.Wrap.rem (| + M.read (| v - |)) - (Value.Integer - 10))) + |), + Value.Integer + IntegerKind.U16 + 10 + |)) + |) |) in let~ _ := let β := v in M.write (| β, - BinOp.Wrap.div - Integer.U16 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer + IntegerKind.U16 + 10 + |) |) in M.alloc (| Value.Tuple [] @@ -4163,7 +4173,7 @@ Module fmt. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_formatted_parts : @@ -4199,7 +4209,7 @@ Module fmt. M.read (| data |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_str : M.IsAssociatedFunction Self "write_str" write_str. @@ -4230,7 +4240,7 @@ Module fmt. M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_fmt : M.IsAssociatedFunction Self "write_fmt" write_fmt. @@ -4252,7 +4262,7 @@ Module fmt. "flags" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flags : M.IsAssociatedFunction Self "flags" flags. @@ -4274,7 +4284,7 @@ Module fmt. "fill" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fill : M.IsAssociatedFunction Self "fill" fill. @@ -4333,7 +4343,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align : M.IsAssociatedFunction Self "align" align. @@ -4355,7 +4365,7 @@ Module fmt. "width" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_width : M.IsAssociatedFunction Self "width" width. @@ -4377,7 +4387,7 @@ Module fmt. "precision" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_precision : M.IsAssociatedFunction Self "precision" precision. @@ -4392,8 +4402,8 @@ Module fmt. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -4401,9 +4411,13 @@ Module fmt. "flags" |) |)) - (BinOp.Wrap.shl (Value.Integer 1) (M.rust_cast (Value.Integer 0)))) - (Value.Integer 0))) - | _, _ => M.impossible + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.rust_cast (Value.Integer IntegerKind.Isize 0) + |)), + Value.Integer IntegerKind.U32 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sign_plus : M.IsAssociatedFunction Self "sign_plus" sign_plus. @@ -4418,8 +4432,8 @@ Module fmt. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -4427,9 +4441,13 @@ Module fmt. "flags" |) |)) - (BinOp.Wrap.shl (Value.Integer 1) (M.rust_cast (Value.Integer 1)))) - (Value.Integer 0))) - | _, _ => M.impossible + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.rust_cast (Value.Integer IntegerKind.Isize 1) + |)), + Value.Integer IntegerKind.U32 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sign_minus : M.IsAssociatedFunction Self "sign_minus" sign_minus. @@ -4444,8 +4462,8 @@ Module fmt. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -4453,9 +4471,13 @@ Module fmt. "flags" |) |)) - (BinOp.Wrap.shl (Value.Integer 1) (M.rust_cast (Value.Integer 2)))) - (Value.Integer 0))) - | _, _ => M.impossible + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.rust_cast (Value.Integer IntegerKind.Isize 2) + |)), + Value.Integer IntegerKind.U32 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_alternate : M.IsAssociatedFunction Self "alternate" alternate. @@ -4470,8 +4492,8 @@ Module fmt. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -4479,9 +4501,13 @@ Module fmt. "flags" |) |)) - (BinOp.Wrap.shl (Value.Integer 1) (M.rust_cast (Value.Integer 3)))) - (Value.Integer 0))) - | _, _ => M.impossible + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.rust_cast (Value.Integer IntegerKind.Isize 3) + |)), + Value.Integer IntegerKind.U32 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sign_aware_zero_pad : @@ -4497,8 +4523,8 @@ Module fmt. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -4506,9 +4532,13 @@ Module fmt. "flags" |) |)) - (BinOp.Wrap.shl (Value.Integer 1) (M.rust_cast (Value.Integer 4)))) - (Value.Integer 0))) - | _, _ => M.impossible + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.rust_cast (Value.Integer IntegerKind.Isize 4) + |)), + Value.Integer IntegerKind.U32 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_lower_hex : @@ -4524,8 +4554,8 @@ Module fmt. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -4533,9 +4563,13 @@ Module fmt. "flags" |) |)) - (BinOp.Wrap.shl (Value.Integer 1) (M.rust_cast (Value.Integer 5)))) - (Value.Integer 0))) - | _, _ => M.impossible + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.rust_cast (Value.Integer IntegerKind.Isize 5) + |)), + Value.Integer IntegerKind.U32 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_upper_hex : @@ -4556,7 +4590,7 @@ Module fmt. M.get_function (| "core::fmt::builders::debug_struct_new", [] |), [ M.read (| self |); M.read (| name |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_struct : M.IsAssociatedFunction Self "debug_struct" debug_struct. @@ -4615,7 +4649,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_struct_field1_finish : @@ -4695,7 +4729,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_struct_field2_finish : @@ -4795,7 +4829,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_struct_field3_finish : @@ -4915,7 +4949,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_struct_field4_finish : @@ -5057,7 +5091,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_struct_field5_finish : @@ -5135,10 +5169,12 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5322,7 +5358,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_struct_fields_finish : @@ -5343,7 +5379,7 @@ Module fmt. M.get_function (| "core::fmt::builders::debug_tuple_new", [] |), [ M.read (| self |); M.read (| name |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_tuple : M.IsAssociatedFunction Self "debug_tuple" debug_tuple. @@ -5392,7 +5428,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_tuple_field1_finish : @@ -5460,7 +5496,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_tuple_field2_finish : @@ -5542,7 +5578,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_tuple_field3_finish : @@ -5638,7 +5674,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_tuple_field4_finish : @@ -5748,7 +5784,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_tuple_field5_finish : @@ -5882,7 +5918,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_tuple_fields_finish : @@ -5902,7 +5938,7 @@ Module fmt. M.get_function (| "core::fmt::builders::debug_list_new", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_list : M.IsAssociatedFunction Self "debug_list" debug_list. @@ -5921,7 +5957,7 @@ Module fmt. M.get_function (| "core::fmt::builders::debug_set_new", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_set : M.IsAssociatedFunction Self "debug_set" debug_set. @@ -5940,7 +5976,7 @@ Module fmt. M.get_function (| "core::fmt::builders::debug_map_new", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_map : M.IsAssociatedFunction Self "debug_map" debug_map. @@ -6011,7 +6047,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6048,8 +6084,8 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -6058,8 +6094,9 @@ Module fmt. [] |), [ M.read (| pieces |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6098,7 +6135,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_const : M.IsAssociatedFunction Self "new_const" new_const. @@ -6128,8 +6165,8 @@ Module fmt. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -6138,8 +6175,8 @@ Module fmt. [] |), [ M.read (| pieces |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -6148,10 +6185,11 @@ Module fmt. [] |), [ M.read (| args |) ] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.call_closure (| + (BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -6160,10 +6198,9 @@ Module fmt. [] |), [ M.read (| pieces |) ] - |)) - (BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -6172,8 +6209,10 @@ Module fmt. [] |), [ M.read (| args |) ] - |)) - (Value.Integer 1)))) + |), + Value.Integer IntegerKind.Usize 1 + |) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6213,7 +6252,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_v1 : M.IsAssociatedFunction Self "new_v1" new_v1. @@ -6243,7 +6282,7 @@ Module fmt. ("fmt", Value.StructTuple "core::option::Option::Some" [ M.read (| fmt |) ]); ("args", M.read (| args |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_v1_formatted : @@ -6359,7 +6398,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -6405,8 +6444,8 @@ Module fmt. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -6423,7 +6462,8 @@ Module fmt. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| @@ -6441,21 +6481,22 @@ Module fmt. "pieces" |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] |))) |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| pieces_length |)) - (Value.Integer 16))) + (BinOp.lt (| + M.read (| pieces_length |), + Value.Integer IntegerKind.Usize 16 + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -6472,9 +6513,10 @@ Module fmt. "checked_mul", [] |), - [ M.read (| pieces_length |); Value.Integer 2 ] + [ M.read (| pieces_length |); Value.Integer IntegerKind.Usize 2 + ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |))) @@ -6483,7 +6525,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_estimated_capacity : @@ -6551,7 +6593,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -6582,7 +6624,7 @@ Module fmt. |), [ M.read (| self |); M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6622,7 +6664,7 @@ Module fmt. M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6721,7 +6763,7 @@ Module fmt. [ (* Unsize *) M.pointer_coercion (M.read (| output |)) ] |) |) in - let~ idx := M.alloc (| Value.Integer 0 |) in + let~ idx := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.match_operator (| M.SubPointer.get_struct_record_field (| args, "core::fmt::Arguments", "fmt" |), @@ -6865,8 +6907,8 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", @@ -6877,7 +6919,8 @@ Module fmt. M.read (| piece |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7086,10 +7129,10 @@ Module fmt. let β := idx in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -7235,8 +7278,8 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", @@ -7247,7 +7290,8 @@ Module fmt. M.read (| piece |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7465,10 +7509,10 @@ Module fmt. let β := idx in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -7606,7 +7650,7 @@ Module fmt. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_write : M.IsFunction "core::fmt::write" write. @@ -7743,16 +7787,16 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| arg |), "core::fmt::rt::Placeholder", "position" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -7761,7 +7805,9 @@ Module fmt. [] |), [ M.read (| args |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7814,7 +7860,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_run : M.IsFunction "core::fmt::run" run. @@ -7876,10 +7922,10 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| i |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| i |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -7888,7 +7934,9 @@ Module fmt. [] |), [ M.read (| args |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7936,7 +7984,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_getcount : M.IsFunction "core::fmt::getcount" getcount. @@ -7965,7 +8013,7 @@ Module fmt. Value.StructRecord "core::fmt::PostPadding" [ ("fill", M.read (| fill |)); ("padding", M.read (| padding |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -8003,7 +8051,7 @@ Module fmt. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -8162,7 +8210,7 @@ Module fmt. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write : M.IsAssociatedFunction Self "write" write. @@ -8202,7 +8250,7 @@ Module fmt. M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8235,7 +8283,7 @@ Module fmt. M.read (| c |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8264,7 +8312,7 @@ Module fmt. M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8301,7 +8349,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8327,7 +8375,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Debug", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8354,7 +8402,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Debug", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8381,7 +8429,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Display", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8408,7 +8456,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Display", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8435,7 +8483,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Octal", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8462,7 +8510,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Octal", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8489,7 +8537,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Binary", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8516,7 +8564,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Binary", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8543,7 +8591,7 @@ Module fmt. M.get_trait_method (| "core::fmt::LowerHex", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8570,7 +8618,7 @@ Module fmt. M.get_trait_method (| "core::fmt::LowerHex", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8597,7 +8645,7 @@ Module fmt. M.get_trait_method (| "core::fmt::UpperHex", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8624,7 +8672,7 @@ Module fmt. M.get_trait_method (| "core::fmt::UpperHex", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8651,7 +8699,7 @@ Module fmt. M.get_trait_method (| "core::fmt::LowerExp", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8678,7 +8726,7 @@ Module fmt. M.get_trait_method (| "core::fmt::LowerExp", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8705,7 +8753,7 @@ Module fmt. M.get_trait_method (| "core::fmt::UpperExp", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8732,7 +8780,7 @@ Module fmt. M.get_trait_method (| "core::fmt::UpperExp", T, [], "fmt", [] |), [ M.read (| M.read (| self |) |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8762,7 +8810,7 @@ Module fmt. β1, [ fun γ => ltac:(M.monadic (M.never_to_any (| M.read (| M.read (| self |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8791,7 +8839,7 @@ Module fmt. β1, [ fun γ => ltac:(M.monadic (M.never_to_any (| M.read (| M.read (| self |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8820,7 +8868,7 @@ Module fmt. M.get_trait_method (| "core::fmt::Display", Ty.path "bool", [], "fmt", [] |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8865,7 +8913,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8987,7 +9035,7 @@ Module fmt. val)) ] |) in - let~ from := M.alloc (| Value.Integer 0 |) in + let~ from := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.use (M.match_operator (| @@ -9079,8 +9127,8 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.path "core::char::EscapeDebug", @@ -9089,8 +9137,9 @@ Module fmt. [] |), [ esc ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9391,17 +9440,17 @@ Module fmt. let~ _ := M.write (| from, - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| i |), + M.call_closure (| M.get_associated_function (| Ty.path "char", "len_utf8", [] |), [ M.read (| c |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -9523,7 +9572,7 @@ Module fmt. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9552,7 +9601,7 @@ Module fmt. M.get_associated_function (| Ty.path "core::fmt::Formatter", "pad", [] |), [ M.read (| f |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9836,7 +9885,7 @@ Module fmt. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9931,7 +9980,8 @@ Module fmt. [ M.read (| M.read (| self |) |); (* Unsize *) - M.pointer_coercion (M.alloc (| repeat (Value.Integer 0) 4 |)) + M.pointer_coercion + (M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |)) ] |) ] @@ -9940,7 +9990,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9981,7 +10031,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10070,9 +10120,12 @@ Module fmt. |) in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shl (Value.Integer 1) (M.rust_cast (Value.Integer 3))) + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.rust_cast (Value.Integer IntegerKind.Isize 3) + |)) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10109,14 +10162,14 @@ Module fmt. Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.add - Integer.Usize - (M.rust_cast - (BinOp.Wrap.div - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 4))) - (Value.Integer 2) + BinOp.Wrap.add (| + M.rust_cast + (BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 4 + |)), + Value.Integer IntegerKind.Usize 2 + |) ] |) in M.alloc (| Value.Tuple [] |))); @@ -10135,9 +10188,12 @@ Module fmt. |) in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shl (Value.Integer 1) (M.rust_cast (Value.Integer 2))) + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.rust_cast (Value.Integer IntegerKind.Isize 2) + |)) |) in let~ ret := M.alloc (| @@ -10166,7 +10222,7 @@ Module fmt. |) in ret |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_pointer_fmt_inner : M.IsFunction "core::fmt::pointer_fmt_inner" pointer_fmt_inner. @@ -10202,7 +10258,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10239,7 +10295,7 @@ Module fmt. |), [ M.use (M.alloc (| M.read (| M.read (| self |) |) |)); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10276,7 +10332,7 @@ Module fmt. |), [ M.use (M.alloc (| M.read (| M.read (| self |) |) |)); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10313,7 +10369,7 @@ Module fmt. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10350,7 +10406,7 @@ Module fmt. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10566,7 +10622,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10769,7 +10825,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10959,7 +11015,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11135,7 +11191,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11298,7 +11354,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11448,7 +11504,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11585,7 +11641,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11709,7 +11765,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11820,7 +11876,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11918,7 +11974,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12003,7 +12059,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12075,7 +12131,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12131,7 +12187,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12161,7 +12217,7 @@ Module fmt. M.get_associated_function (| Ty.path "core::fmt::Formatter", "pad", [] |), [ M.read (| f |); M.read (| Value.String "()" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12226,7 +12282,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12294,7 +12350,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12426,7 +12482,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12469,7 +12525,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12512,7 +12568,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12558,7 +12614,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12604,7 +12660,7 @@ Module fmt. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/fmt/num.v b/CoqOfRust/core/fmt/num.v index 9ce7817a0..d1a4b3cf1 100644 --- a/CoqOfRust/core/fmt/num.v +++ b/CoqOfRust/core/fmt/num.v @@ -11,7 +11,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I8 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -20,7 +23,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -30,7 +33,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -40,7 +43,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -50,7 +53,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73,7 +76,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I16 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -82,7 +88,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -92,7 +98,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -102,7 +108,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -112,7 +118,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -135,7 +141,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I32 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -144,7 +153,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -154,7 +163,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -164,7 +173,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -174,7 +183,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -197,7 +206,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I64 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -206,7 +218,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -216,7 +228,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -226,7 +238,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -236,7 +248,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -259,7 +271,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.I128 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -268,7 +283,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -278,7 +293,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -288,7 +303,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -298,7 +313,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -321,7 +336,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.Isize 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -330,7 +348,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -340,7 +358,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -350,7 +368,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -360,7 +378,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -383,7 +401,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U8 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -392,7 +413,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.read (| M.use u |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -402,7 +423,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.use (M.read (| self |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -412,7 +433,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -422,7 +443,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -445,7 +466,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U16 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -454,7 +478,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -464,7 +488,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -474,7 +498,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -484,7 +508,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -507,7 +531,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U32 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -516,7 +543,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -526,7 +553,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -536,7 +563,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -546,7 +573,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -569,7 +596,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U64 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -578,7 +608,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -588,7 +618,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -598,7 +628,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.use (M.read (| self |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -608,7 +638,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -631,7 +661,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U128 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -640,7 +673,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -650,7 +683,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -660,7 +693,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -670,7 +703,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.use (M.read (| self |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -693,7 +726,10 @@ Module fmt. (* fn zero() -> Self { 0 } *) Definition zero (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 0)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.Usize 0)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn from_u8(u: u8) -> Self { u as Self } *) Definition from_u8 (τ : list Ty.t) (α : list Value.t) : M := @@ -702,7 +738,7 @@ Module fmt. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u8(&self) -> u8 { *self as u8 } *) @@ -712,7 +748,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u64(&self) -> u64 { *self as u64 } *) @@ -722,7 +758,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn to_u128(&self) -> u128 { *self as u128 } *) @@ -732,7 +768,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -992,10 +1028,10 @@ Module fmt. let β := curr in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -1228,10 +1264,10 @@ Module fmt. let β := curr in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -1351,7 +1387,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_fmt_int : @@ -1375,7 +1411,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::fmt::num::Binary" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1408,7 +1444,7 @@ Module fmt. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1436,7 +1472,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::fmt::num::Octal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1469,7 +1505,7 @@ Module fmt. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1497,7 +1533,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::fmt::num::LowerHex" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1530,7 +1566,7 @@ Module fmt. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1558,7 +1594,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::fmt::num::UpperHex" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1591,7 +1627,7 @@ Module fmt. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1607,7 +1643,8 @@ Module fmt. (* const BASE: u8 = $base; *) (* Ty.path "u8" *) - Definition value_BASE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 2 |))). + Definition value_BASE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). (* const PREFIX: &'static str = $prefix; *) (* Ty.apply (Ty.path "&") [ Ty.path "str" ] *) @@ -1634,7 +1671,7 @@ Module fmt. ltac:(M.monadic (let x := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add Integer.U8 (M.read (| UnsupportedLiteral |)) (M.read (| x |)) + BinOp.Wrap.add (| M.read (| UnsupportedLiteral |), M.read (| x |) |) |))); fun γ => ltac:(M.monadic @@ -1673,14 +1710,14 @@ Module fmt. |), [ M.alloc (| - BinOp.Wrap.sub - Integer.U8 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::fmt::num::GenericRadix::BASE" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U8 1 + |) |) ] |); @@ -1703,7 +1740,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1724,7 +1761,8 @@ Module fmt. (* const BASE: u8 = $base; *) (* Ty.path "u8" *) - Definition value_BASE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 8 |))). + Definition value_BASE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 8 |))). (* const PREFIX: &'static str = $prefix; *) (* Ty.apply (Ty.path "&") [ Ty.path "str" ] *) @@ -1751,7 +1789,7 @@ Module fmt. ltac:(M.monadic (let x := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add Integer.U8 (M.read (| UnsupportedLiteral |)) (M.read (| x |)) + BinOp.Wrap.add (| M.read (| UnsupportedLiteral |), M.read (| x |) |) |))); fun γ => ltac:(M.monadic @@ -1790,14 +1828,14 @@ Module fmt. |), [ M.alloc (| - BinOp.Wrap.sub - Integer.U8 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::fmt::num::GenericRadix::BASE" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U8 1 + |) |) ] |); @@ -1820,7 +1858,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1841,7 +1879,8 @@ Module fmt. (* const BASE: u8 = $base; *) (* Ty.path "u8" *) - Definition value_BASE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 16 |))). + Definition value_BASE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 16 |))). (* const PREFIX: &'static str = $prefix; *) (* Ty.apply (Ty.path "&") [ Ty.path "str" ] *) @@ -1868,16 +1907,16 @@ Module fmt. ltac:(M.monadic (let x := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add Integer.U8 (M.read (| UnsupportedLiteral |)) (M.read (| x |)) + BinOp.Wrap.add (| M.read (| UnsupportedLiteral |), M.read (| x |) |) |))); fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (BinOp.Wrap.sub Integer.U8 (M.read (| x |)) (Value.Integer 10)) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + BinOp.Wrap.sub (| M.read (| x |), Value.Integer IntegerKind.U8 10 |) + |) |))); fun γ => ltac:(M.monadic @@ -1916,14 +1955,14 @@ Module fmt. |), [ M.alloc (| - BinOp.Wrap.sub - Integer.U8 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::fmt::num::GenericRadix::BASE" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U8 1 + |) |) ] |); @@ -1946,7 +1985,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1967,7 +2006,8 @@ Module fmt. (* const BASE: u8 = $base; *) (* Ty.path "u8" *) - Definition value_BASE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 16 |))). + Definition value_BASE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 16 |))). (* const PREFIX: &'static str = $prefix; *) (* Ty.apply (Ty.path "&") [ Ty.path "str" ] *) @@ -1994,16 +2034,16 @@ Module fmt. ltac:(M.monadic (let x := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add Integer.U8 (M.read (| UnsupportedLiteral |)) (M.read (| x |)) + BinOp.Wrap.add (| M.read (| UnsupportedLiteral |), M.read (| x |) |) |))); fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (BinOp.Wrap.sub Integer.U8 (M.read (| x |)) (Value.Integer 10)) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + BinOp.Wrap.sub (| M.read (| x |), Value.Integer IntegerKind.U8 10 |) + |) |))); fun γ => ltac:(M.monadic @@ -2042,14 +2082,14 @@ Module fmt. |), [ M.alloc (| - BinOp.Wrap.sub - Integer.U8 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::fmt::num::GenericRadix::BASE" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U8 1 + |) |) ] |); @@ -2072,7 +2112,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2116,7 +2156,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2155,7 +2195,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2194,7 +2234,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2233,7 +2273,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2272,7 +2312,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2311,7 +2351,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2350,7 +2390,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2389,7 +2429,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2428,7 +2468,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2467,7 +2507,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2506,7 +2546,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2545,7 +2585,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2584,7 +2624,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2623,7 +2663,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2662,7 +2702,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2701,7 +2741,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2740,7 +2780,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2779,7 +2819,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2818,7 +2858,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2857,7 +2897,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2896,7 +2936,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2935,7 +2975,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2974,7 +3014,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3013,7 +3053,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3052,7 +3092,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3091,7 +3131,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3130,7 +3170,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3169,7 +3209,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3208,7 +3248,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3247,7 +3287,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3286,7 +3326,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3325,7 +3365,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3364,7 +3404,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3403,7 +3443,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3442,7 +3482,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3481,7 +3521,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3520,7 +3560,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3559,7 +3599,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3598,7 +3638,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3637,7 +3677,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3676,7 +3716,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3715,7 +3755,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3754,7 +3794,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3793,7 +3833,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3832,7 +3872,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3871,7 +3911,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3910,7 +3950,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3949,7 +3989,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4066,7 +4106,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4183,7 +4223,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4300,7 +4340,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4417,7 +4457,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4534,7 +4574,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4651,7 +4691,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4768,7 +4808,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4885,7 +4925,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5002,7 +5042,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5119,7 +5159,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5236,7 +5276,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5353,7 +5393,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5507,13 +5547,15 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u64" ] |), [] - |)) - (Value.Integer 2)) + |), + Value.Integer IntegerKind.Usize 2 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5544,7 +5586,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 10000) + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.U64 10000 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5554,40 +5599,48 @@ Module fmt. let~ rem := M.alloc (| M.rust_cast - (BinOp.Wrap.rem - Integer.U64 - (M.read (| n |)) - (Value.Integer 10000)) + (BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U64 10000 + |)) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div Integer.U64 (M.read (| β |)) (Value.Integer 10000) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U64 10000 + |) |) in let~ d1 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.div - Integer.Usize - (M.read (| rem |)) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.div (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d2 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.Usize - (M.read (| rem |)) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 4) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 4 + |) |) in let~ _ := M.alloc (| @@ -5613,7 +5666,7 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -5641,13 +5694,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| curr |)) - (Value.Integer 2) + BinOp.Wrap.add (| + M.read (| curr |), + Value.Integer IntegerKind.Usize 2 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -5677,26 +5730,35 @@ Module fmt. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (Value.Integer 100) |)) in + (M.alloc (| + BinOp.ge (| M.read (| n |), Value.Integer IntegerKind.Usize 100 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ d1 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem Integer.Usize (M.read (| n |)) (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.Usize 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div Integer.Usize (M.read (| β |)) (Value.Integer 100) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.Usize 100 + |) |) in let~ _ := let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 2 |) |) in let~ _ := M.alloc (| @@ -5722,7 +5784,7 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -5736,14 +5798,17 @@ Module fmt. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| n |)) (Value.Integer 10) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| n |), Value.Integer IntegerKind.Usize 10 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := M.write (| @@ -5755,21 +5820,23 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |), - BinOp.Wrap.add - Integer.U8 - (M.rust_cast (M.read (| n |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + M.rust_cast (M.read (| n |)), + M.read (| UnsupportedLiteral |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (let~ d1 := - M.alloc (| BinOp.Wrap.shl (M.read (| n |)) (Value.Integer 1) |) in + M.alloc (| + BinOp.Wrap.shl (| M.read (| n |), Value.Integer IntegerKind.I32 1 |) + |) in let~ _ := let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 2 |) |) in let~ _ := M.alloc (| @@ -5795,7 +5862,7 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -5820,9 +5887,8 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |)); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -5835,8 +5901,9 @@ Module fmt. [] |), [ (* Unsize *) M.pointer_coercion buf ] - |)) - (M.read (| curr |)) + |), + M.read (| curr |) + |) ] |) ] @@ -5858,7 +5925,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_fmt_u64 : M.IsFunction "core::fmt::num::imp::fmt_u64" fmt_u64. @@ -5886,7 +5953,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I8 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -5915,8 +5984,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i8", @@ -5925,8 +5994,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -5940,7 +6010,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5974,7 +6044,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U8 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6003,8 +6075,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u8", @@ -6013,8 +6085,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6028,7 +6101,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6062,7 +6135,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I16 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6091,8 +6166,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i16", @@ -6101,8 +6176,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6116,7 +6192,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6150,7 +6226,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U16 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6179,8 +6257,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u16", @@ -6189,8 +6267,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6204,7 +6283,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6238,7 +6317,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I32 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6267,8 +6348,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i32", @@ -6277,8 +6358,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6292,7 +6374,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6326,7 +6408,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U32 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6355,8 +6439,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u32", @@ -6365,8 +6449,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6380,7 +6465,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6414,7 +6499,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I64 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6443,8 +6530,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i64", @@ -6453,8 +6540,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6468,7 +6556,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6502,7 +6590,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U64 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6531,8 +6621,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u64", @@ -6541,8 +6631,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6556,7 +6647,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6590,7 +6681,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.Usize 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6619,8 +6712,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "usize", @@ -6629,8 +6722,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6644,7 +6738,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6678,7 +6772,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.Isize 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -6707,8 +6803,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "isize", @@ -6717,8 +6813,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -6732,7 +6829,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6888,7 +6985,7 @@ Module fmt. let f := M.alloc (| f |) in M.read (| M.match_operator (| - let~ exponent := M.alloc (| Value.Integer 0 |) in + let~ exponent := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -6901,14 +6998,18 @@ Module fmt. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.U64 - (M.read (| n |)) - (Value.Integer 10)) - (Value.Integer 0), + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U64 10 + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ge (M.read (| n |)) (Value.Integer 10))) + (BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.U64 10 + |))) |) |)) in let _ := @@ -6920,13 +7021,19 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.div Integer.U64 (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -6968,7 +7075,7 @@ Module fmt. |) in let fmt_prec := M.copy (| γ0_0 |) in let~ tmp := M.copy (| n |) in - let~ prec := M.alloc (| Value.Integer 0 |) in + let~ prec := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -6980,7 +7087,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| tmp |)) (Value.Integer 10) + BinOp.ge (| + M.read (| tmp |), + Value.Integer IntegerKind.U64 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6991,19 +7101,19 @@ Module fmt. let β := tmp in M.write (| β, - BinOp.Wrap.div - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := prec in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -7046,7 +7156,11 @@ Module fmt. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Tuple [ Value.Integer 0; Value.Integer 0 ] |))) + M.alloc (| + Value.Tuple + [ Value.Integer IntegerKind.Usize 0; Value.Integer IntegerKind.Usize 0 + ] + |))) ] |), [ @@ -7074,7 +7188,7 @@ Module fmt. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 1); + ("start", Value.Integer IntegerKind.Usize 1); ("end_", M.read (| subtracted_precision |)) ] ] @@ -7125,19 +7239,19 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -7155,9 +7269,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| subtracted_precision |)) - (Value.Integer 0) + BinOp.ne (| + M.read (| subtracted_precision |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7166,22 +7281,28 @@ Module fmt. |) in let~ rem := M.alloc (| - BinOp.Wrap.rem Integer.U64 (M.read (| n |)) (Value.Integer 10) + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div Integer.U64 (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7192,26 +7313,30 @@ Module fmt. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.gt - (M.read (| rem |)) - (Value.Integer 5), + BinOp.gt (| + M.read (| rem |), + Value.Integer IntegerKind.U64 5 + |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| rem |)) - (Value.Integer 5), + BinOp.eq (| + M.read (| rem |), + Value.Integer IntegerKind.U64 5 + |), ltac:(M.monadic (LogicalOp.or (| - BinOp.Pure.ne - (BinOp.Wrap.rem - Integer.U64 - (M.read (| n |)) - (Value.Integer 2)) - (Value.Integer 0), + BinOp.ne (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U64 2 + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| subtracted_precision |)) - (Value.Integer 1))) + (BinOp.gt (| + M.read (| subtracted_precision |), + Value.Integer IntegerKind.Usize 1 + |))) |))) |))) |) @@ -7225,10 +7350,10 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U64 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7238,28 +7363,29 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "u64", "ilog10", [] |), [ M.read (| n |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "u64", "ilog10", [] |), [ - BinOp.Wrap.sub - Integer.U64 - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.U64 1 + |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7270,19 +7396,19 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -7390,7 +7516,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 100) + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.U64 100 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7399,22 +7528,23 @@ Module fmt. |) in let~ d1 := M.alloc (| - BinOp.Wrap.shl - (M.rust_cast - (BinOp.Wrap.rem - Integer.U64 - (M.read (| n |)) - (Value.Integer 100))) - (Value.Integer 1) + BinOp.Wrap.shl (| + M.rust_cast + (BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U64 100 + |)), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let β := curr in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 2) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ _ := let~ _ := @@ -7441,7 +7571,7 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -7450,19 +7580,19 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U64 - (M.read (| β |)) - (Value.Integer 100) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U64 100 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 2) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -7491,7 +7621,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 10) + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.Isize 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7502,7 +7635,10 @@ Module fmt. let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let~ _ := @@ -7515,26 +7651,32 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |), - BinOp.Wrap.add - Integer.U8 - (BinOp.Wrap.rem - Integer.U8 - (M.rust_cast (M.read (| n |))) - (Value.Integer 10)) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + BinOp.Wrap.rem (| + M.rust_cast (M.read (| n |)), + Value.Integer IntegerKind.U8 10 + |), + M.read (| UnsupportedLiteral |) + |) |) in M.alloc (| Value.Tuple [] |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div Integer.Isize (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.Isize 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -7550,13 +7692,15 @@ Module fmt. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| exponent |)) - (M.read (| trailing_zeros |)), + BinOp.ne (| + M.read (| exponent |), + M.read (| trailing_zeros |) + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| added_precision |)) - (Value.Integer 0))) + (BinOp.ne (| + M.read (| added_precision |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -7568,7 +7712,10 @@ Module fmt. let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -7592,7 +7739,7 @@ Module fmt. let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := M.write (| @@ -7604,16 +7751,15 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |), - BinOp.Wrap.add - Integer.U8 - (M.rust_cast (M.read (| n |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + M.rust_cast (M.read (| n |)), + M.read (| UnsupportedLiteral |) + |) |) in let~ len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -7626,8 +7772,9 @@ Module fmt. [] |), [ (* Unsize *) M.pointer_coercion buf ] - |)) - (M.read (| M.use curr |)) + |), + M.read (| M.use curr |) + |) |) in M.alloc (| M.call_closure (| @@ -7689,7 +7836,7 @@ Module fmt. "add", [] |), - [ M.read (| exp_ptr |); Value.Integer 0 ] + [ M.read (| exp_ptr |); Value.Integer IntegerKind.Usize 0 ] |), M.read (| M.match_operator (| @@ -7719,7 +7866,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exponent |)) (Value.Integer 10) + BinOp.lt (| + M.read (| exponent |), + Value.Integer IntegerKind.Usize 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7734,19 +7884,25 @@ Module fmt. "add", [] |), - [ M.read (| exp_ptr |); Value.Integer 1 ] + [ + M.read (| exp_ptr |); + Value.Integer IntegerKind.Usize 1 + ] |), - BinOp.Wrap.add - Integer.U8 - (M.rust_cast (M.read (| exponent |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + M.rust_cast (M.read (| exponent |)), + M.read (| UnsupportedLiteral |) + |) |) in - M.alloc (| Value.Integer 2 |))); + M.alloc (| Value.Integer IntegerKind.Usize 2 |))); fun γ => ltac:(M.monadic (let~ off := M.alloc (| - BinOp.Wrap.shl (M.read (| exponent |)) (Value.Integer 1) + BinOp.Wrap.shl (| + M.read (| exponent |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := M.alloc (| @@ -7770,13 +7926,16 @@ Module fmt. "add", [] |), - [ M.read (| exp_ptr |); Value.Integer 1 ] + [ + M.read (| exp_ptr |); + Value.Integer IntegerKind.Usize 1 + ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in - M.alloc (| Value.Integer 3 |))) + M.alloc (| Value.Integer IntegerKind.Usize 3 |))) ] |) |) in @@ -7819,7 +7978,7 @@ Module fmt. ltac:(M.monadic (let γ := M.use - (M.alloc (| UnOp.Pure.not (M.read (| is_nonnegative |)) |)) in + (M.alloc (| UnOp.not (| M.read (| is_nonnegative |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -7885,7 +8044,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_exp_u64 : M.IsFunction "core::fmt::num::imp::exp_u64" exp_u64. @@ -7913,7 +8072,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I8 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -7942,8 +8103,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i8", @@ -7952,8 +8113,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -7968,7 +8130,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8002,7 +8164,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U8 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8031,8 +8195,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u8", @@ -8041,8 +8205,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8057,7 +8222,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8091,7 +8256,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I16 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8120,8 +8287,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i16", @@ -8130,8 +8297,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8146,7 +8314,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8180,7 +8348,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U16 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8209,8 +8379,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u16", @@ -8219,8 +8389,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8235,7 +8406,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8269,7 +8440,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I32 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8298,8 +8471,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i32", @@ -8308,8 +8481,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8324,7 +8498,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8358,7 +8532,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U32 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8387,8 +8563,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u32", @@ -8397,8 +8573,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8413,7 +8590,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8447,7 +8624,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I64 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8476,8 +8655,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i64", @@ -8486,8 +8665,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8502,7 +8682,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8536,7 +8716,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U64 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8565,8 +8747,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u64", @@ -8575,8 +8757,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8591,7 +8774,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8625,7 +8808,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.Usize 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8654,8 +8839,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "usize", @@ -8664,8 +8849,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8680,7 +8866,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8714,7 +8900,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.Isize 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8743,8 +8931,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "isize", @@ -8753,8 +8941,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8769,7 +8958,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8803,7 +8992,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I8 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8832,8 +9023,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i8", @@ -8842,8 +9033,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8857,7 +9049,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8891,7 +9083,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U8 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -8920,8 +9114,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u8", @@ -8930,8 +9124,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -8945,7 +9140,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8979,7 +9174,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I16 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -9008,8 +9205,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i16", @@ -9018,8 +9215,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -9033,7 +9231,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9067,7 +9265,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U16 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -9096,8 +9296,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u16", @@ -9106,8 +9306,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -9121,7 +9322,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9155,7 +9356,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I32 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -9184,8 +9387,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i32", @@ -9194,8 +9397,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -9209,7 +9413,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9243,7 +9447,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U32 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -9272,8 +9478,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u32", @@ -9282,8 +9488,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -9297,7 +9504,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9331,7 +9538,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I64 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -9360,8 +9569,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i64", @@ -9370,8 +9579,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -9385,7 +9595,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9419,7 +9629,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U64 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -9448,8 +9660,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u64", @@ -9458,8 +9670,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -9473,7 +9686,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9507,7 +9720,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.Usize 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -9536,8 +9751,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "usize", @@ -9546,8 +9761,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -9561,7 +9777,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9595,7 +9811,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.Isize 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -9624,8 +9842,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "isize", @@ -9634,8 +9852,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U64 1 ] |) |))) @@ -9649,7 +9868,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9806,7 +10025,7 @@ Module fmt. let f := M.alloc (| f |) in M.read (| M.match_operator (| - let~ exponent := M.alloc (| Value.Integer 0 |) in + let~ exponent := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -9819,14 +10038,18 @@ Module fmt. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.U128 - (M.read (| n |)) - (Value.Integer 10)) - (Value.Integer 0), + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U128 10 + |), + Value.Integer IntegerKind.U128 0 + |), ltac:(M.monadic - (BinOp.Pure.ge (M.read (| n |)) (Value.Integer 10))) + (BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.U128 10 + |))) |) |)) in let _ := @@ -9835,13 +10058,19 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.div Integer.U128 (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U128 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -9881,7 +10110,7 @@ Module fmt. |) in let fmt_prec := M.copy (| γ0_0 |) in let~ tmp := M.copy (| n |) in - let~ prec := M.alloc (| Value.Integer 0 |) in + let~ prec := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -9893,7 +10122,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| tmp |)) (Value.Integer 10) + BinOp.ge (| + M.read (| tmp |), + Value.Integer IntegerKind.U128 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9904,19 +10136,19 @@ Module fmt. let β := tmp in M.write (| β, - BinOp.Wrap.div - Integer.U128 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U128 10 + |) |) in let~ _ := let β := prec in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -9959,7 +10191,10 @@ Module fmt. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Tuple [ Value.Integer 0; Value.Integer 0 ] |))) + M.alloc (| + Value.Tuple + [ Value.Integer IntegerKind.Usize 0; Value.Integer IntegerKind.Usize 0 ] + |))) ] |), [ @@ -9985,7 +10220,7 @@ Module fmt. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 1); + ("start", Value.Integer IntegerKind.Usize 1); ("end_", M.read (| subtracted_precision |)) ] ] @@ -10036,19 +10271,19 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U128 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U128 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -10066,9 +10301,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| subtracted_precision |)) - (Value.Integer 0) + BinOp.ne (| + M.read (| subtracted_precision |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10077,19 +10313,28 @@ Module fmt. |) in let~ rem := M.alloc (| - BinOp.Wrap.rem Integer.U128 (M.read (| n |)) (Value.Integer 10) + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U128 10 + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div Integer.U128 (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U128 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10100,24 +10345,30 @@ Module fmt. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.gt (M.read (| rem |)) (Value.Integer 5), + BinOp.gt (| + M.read (| rem |), + Value.Integer IntegerKind.U128 5 + |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| rem |)) - (Value.Integer 5), + BinOp.eq (| + M.read (| rem |), + Value.Integer IntegerKind.U128 5 + |), ltac:(M.monadic (LogicalOp.or (| - BinOp.Pure.ne - (BinOp.Wrap.rem - Integer.U128 - (M.read (| n |)) - (Value.Integer 2)) - (Value.Integer 0), + BinOp.ne (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U128 2 + |), + Value.Integer IntegerKind.U128 0 + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| subtracted_precision |)) - (Value.Integer 1))) + (BinOp.gt (| + M.read (| subtracted_precision |), + Value.Integer IntegerKind.Usize 1 + |))) |))) |))) |) @@ -10131,10 +10382,10 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.add - Integer.U128 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U128 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10144,28 +10395,29 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "ilog10", [] |), [ M.read (| n |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "u128", "ilog10", [] |), [ - BinOp.Wrap.sub - Integer.U128 - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.U128 1 + |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10176,19 +10428,19 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U128 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U128 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -10295,7 +10547,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 100) + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.U128 100 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10304,22 +10559,23 @@ Module fmt. |) in let~ d1 := M.alloc (| - BinOp.Wrap.shl - (M.rust_cast - (BinOp.Wrap.rem - Integer.U128 - (M.read (| n |)) - (Value.Integer 100))) - (Value.Integer 1) + BinOp.Wrap.shl (| + M.rust_cast + (BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.U128 100 + |)), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let β := curr in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 2) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ _ := let~ _ := @@ -10346,7 +10602,7 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -10355,19 +10611,19 @@ Module fmt. let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U128 - (M.read (| β |)) - (Value.Integer 100) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U128 100 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 2) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -10396,7 +10652,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 10) + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.Isize 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10407,7 +10666,10 @@ Module fmt. let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let~ _ := @@ -10420,26 +10682,32 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |), - BinOp.Wrap.add - Integer.U8 - (BinOp.Wrap.rem - Integer.U8 - (M.rust_cast (M.read (| n |))) - (Value.Integer 10)) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + BinOp.Wrap.rem (| + M.rust_cast (M.read (| n |)), + Value.Integer IntegerKind.U8 10 + |), + M.read (| UnsupportedLiteral |) + |) |) in M.alloc (| Value.Tuple [] |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div Integer.Isize (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.Isize 10 + |) |) in let~ _ := let β := exponent in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -10455,13 +10723,15 @@ Module fmt. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| exponent |)) - (M.read (| trailing_zeros |)), + BinOp.ne (| + M.read (| exponent |), + M.read (| trailing_zeros |) + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| added_precision |)) - (Value.Integer 0))) + (BinOp.ne (| + M.read (| added_precision |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -10473,7 +10743,10 @@ Module fmt. let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -10497,7 +10770,7 @@ Module fmt. let β := curr in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := M.write (| @@ -10509,16 +10782,15 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |), - BinOp.Wrap.add - Integer.U8 - (M.rust_cast (M.read (| n |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + M.rust_cast (M.read (| n |)), + M.read (| UnsupportedLiteral |) + |) |) in let~ len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -10531,8 +10803,9 @@ Module fmt. [] |), [ (* Unsize *) M.pointer_coercion buf ] - |)) - (M.read (| M.use curr |)) + |), + M.read (| M.use curr |) + |) |) in M.alloc (| M.call_closure (| @@ -10594,7 +10867,7 @@ Module fmt. "add", [] |), - [ M.read (| exp_ptr |); Value.Integer 0 ] + [ M.read (| exp_ptr |); Value.Integer IntegerKind.Usize 0 ] |), M.read (| M.match_operator (| @@ -10624,7 +10897,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exponent |)) (Value.Integer 10) + BinOp.lt (| + M.read (| exponent |), + Value.Integer IntegerKind.Usize 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10639,19 +10915,23 @@ Module fmt. "add", [] |), - [ M.read (| exp_ptr |); Value.Integer 1 ] + [ M.read (| exp_ptr |); Value.Integer IntegerKind.Usize 1 + ] |), - BinOp.Wrap.add - Integer.U8 - (M.rust_cast (M.read (| exponent |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + M.rust_cast (M.read (| exponent |)), + M.read (| UnsupportedLiteral |) + |) |) in - M.alloc (| Value.Integer 2 |))); + M.alloc (| Value.Integer IntegerKind.Usize 2 |))); fun γ => ltac:(M.monadic (let~ off := M.alloc (| - BinOp.Wrap.shl (M.read (| exponent |)) (Value.Integer 1) + BinOp.Wrap.shl (| + M.read (| exponent |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := M.alloc (| @@ -10675,13 +10955,16 @@ Module fmt. "add", [] |), - [ M.read (| exp_ptr |); Value.Integer 1 ] + [ + M.read (| exp_ptr |); + Value.Integer IntegerKind.Usize 1 + ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in - M.alloc (| Value.Integer 3 |))) + M.alloc (| Value.Integer IntegerKind.Usize 3 |))) ] |) |) in @@ -10724,7 +11007,7 @@ Module fmt. ltac:(M.monadic (let γ := M.use - (M.alloc (| UnOp.Pure.not (M.read (| is_nonnegative |)) |)) in + (M.alloc (| UnOp.not (| M.read (| is_nonnegative |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -10790,7 +11073,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_exp_u128 : M.IsFunction "core::fmt::num::exp_u128" exp_u128. @@ -10818,7 +11101,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I128 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -10847,8 +11132,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u128", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i128", @@ -10857,8 +11142,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U128 1 ] |) |))) @@ -10872,7 +11158,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10906,7 +11192,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U128 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -10935,8 +11223,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u128", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u128", @@ -10945,8 +11233,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U128 1 ] |) |))) @@ -10960,7 +11249,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10994,7 +11283,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I128 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -11023,8 +11314,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u128", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i128", @@ -11033,8 +11324,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U128 1 ] |) |))) @@ -11048,7 +11340,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11082,7 +11374,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U128 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -11111,8 +11405,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u128", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "u128", @@ -11121,8 +11415,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U128 1 ] |) |))) @@ -11136,7 +11431,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11279,8 +11574,12 @@ Module fmt. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt (M.read (| M.read (| curr |) |)) (Value.Integer 19)) + UnOp.not (| + BinOp.gt (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 19 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11303,128 +11602,137 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| n |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.ge (| + M.read (| n |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ to_parse := M.alloc (| - BinOp.Wrap.rem - Integer.U64 - (M.read (| n |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.rem (| + M.read (| n |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U64 - (M.read (| β |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.div (| + M.read (| β |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |) in let~ d1 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d2 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d3 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d4 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d5 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d6 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d7 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d8 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let β := M.read (| curr |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 16) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 16 |) |) in let~ _ := M.alloc (| @@ -11450,13 +11758,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 0) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 0 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11484,13 +11792,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 2) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 2 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11518,13 +11826,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 4) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 4 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11552,13 +11860,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 6) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 6 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11586,13 +11894,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 8) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 8 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11620,13 +11928,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 10) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 10 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11654,13 +11962,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 12) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 12 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11688,13 +11996,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 14) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 14 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11711,80 +12019,85 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| n |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.ge (| + M.read (| n |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ to_parse := M.alloc (| - BinOp.Wrap.rem - Integer.U64 - (M.read (| n |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.rem (| + M.read (| n |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U64 - (M.read (| β |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.div (| + M.read (| β |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |) in let~ d1 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d2 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d3 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d4 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.read (| to_parse |)) - (M.rust_cast (M.read (| UnsupportedLiteral |)))) - (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + BinOp.Wrap.div (| + M.read (| to_parse |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |), + Value.Integer IntegerKind.U64 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let β := M.read (| curr |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 8) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 8 |) |) in let~ _ := M.alloc (| @@ -11810,13 +12123,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 0) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 0 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11844,13 +12157,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 2) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 2 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11878,13 +12191,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 4) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 4 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11912,13 +12225,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 6) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 6 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -11936,44 +12249,53 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| n |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.ge (| + M.read (| n |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ to_parse := M.alloc (| - BinOp.Wrap.rem - Integer.U32 - (M.read (| n |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.rem (| + M.read (| n |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div - Integer.U32 - (M.read (| β |)) - (M.rust_cast (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.div (| + M.read (| β |), + M.rust_cast (M.read (| UnsupportedLiteral |)) + |) |) in let~ d1 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.div Integer.U32 (M.read (| to_parse |)) (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.div (| + M.read (| to_parse |), + Value.Integer IntegerKind.U32 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ d2 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem Integer.U32 (M.read (| to_parse |)) (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| + M.read (| to_parse |), + Value.Integer IntegerKind.U32 100 + |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let β := M.read (| curr |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 4) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 4 |) |) in let~ _ := M.alloc (| @@ -11999,13 +12321,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 0) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 0 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -12033,13 +12355,13 @@ Module fmt. |), [ M.read (| buf_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| M.read (| curr |) |)) - (Value.Integer 2) + BinOp.Wrap.add (| + M.read (| M.read (| curr |) |), + Value.Integer IntegerKind.Usize 2 + |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -12055,25 +12377,29 @@ Module fmt. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (Value.Integer 100) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| n |), Value.Integer IntegerKind.U16 100 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ d1 := M.alloc (| - BinOp.Wrap.shl - (BinOp.Wrap.rem Integer.U16 (M.read (| n |)) (Value.Integer 100)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.Wrap.rem (| M.read (| n |), Value.Integer IntegerKind.U16 100 |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.div Integer.U16 (M.read (| β |)) (Value.Integer 100) + BinOp.Wrap.div (| M.read (| β |), Value.Integer IntegerKind.U16 100 |) |) in let~ _ := let β := M.read (| curr |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 2 |) |) in let~ _ := M.alloc (| @@ -12099,7 +12425,7 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| M.read (| curr |) |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -12113,13 +12439,16 @@ Module fmt. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| n |)) (Value.Integer 10) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| n |), Value.Integer IntegerKind.U16 10 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := M.read (| curr |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := M.write (| @@ -12131,20 +12460,23 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| M.read (| curr |) |) ] |), - BinOp.Wrap.add - Integer.U8 - (M.rust_cast (M.read (| n |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + M.rust_cast (M.read (| n |)), + M.read (| UnsupportedLiteral |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic - (let~ d1 := M.alloc (| BinOp.Wrap.shl (M.read (| n |)) (Value.Integer 1) |) in + (let~ d1 := + M.alloc (| + BinOp.Wrap.shl (| M.read (| n |), Value.Integer IntegerKind.I32 1 |) + |) in let~ _ := let β := M.read (| curr |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 2 |) |) in let~ _ := M.alloc (| @@ -12170,7 +12502,7 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| M.read (| curr |) |) ] |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -12178,7 +12510,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_u64_into : M.IsFunction "core::fmt::num::parse_u64_into" parse_u64_into. @@ -12201,7 +12533,7 @@ Module fmt. M.get_function (| "core::fmt::num::fmt_u128", [] |), [ M.read (| M.read (| self |) |); Value.Bool true; M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12235,7 +12567,9 @@ Module fmt. let f := M.alloc (| f |) in M.read (| let~ is_nonnegative := - M.alloc (| BinOp.Pure.ge (M.read (| M.read (| self |) |)) (Value.Integer 0) |) in + M.alloc (| + BinOp.ge (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.I128 0 |) + |) in let~ n := M.copy (| M.match_operator (| @@ -12264,8 +12598,8 @@ Module fmt. M.call_closure (| M.get_associated_function (| Ty.path "u128", "wrapping_add", [] |), [ - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::fmt::num::DisplayInt", Ty.path "i128", @@ -12274,8 +12608,9 @@ Module fmt. [] |), [ M.read (| self |) ] - |)); - Value.Integer 1 + |) + |); + Value.Integer IntegerKind.U128 1 ] |) |))) @@ -12289,7 +12624,7 @@ Module fmt. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12417,7 +12752,7 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.U128 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -12426,9 +12761,8 @@ Module fmt. |) in let~ target := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -12441,8 +12775,9 @@ Module fmt. [] |), [ (* Unsize *) M.pointer_coercion buf ] - |)) - (Value.Integer 19) + |), + Value.Integer IntegerKind.Usize 19 + |) |) in let~ _ := let~ _ := @@ -12474,10 +12809,7 @@ Module fmt. ] |); M.read (| UnsupportedLiteral |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| curr |)) - (M.read (| target |)) + BinOp.Wrap.sub (| M.read (| curr |), M.read (| target |) |) ] |) |) in @@ -12515,7 +12847,10 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.U128 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12524,9 +12859,8 @@ Module fmt. |) in let~ target := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -12540,8 +12874,9 @@ Module fmt. [] |), [ (* Unsize *) M.pointer_coercion buf ] - |)) - (Value.Integer 38) + |), + Value.Integer IntegerKind.Usize 38 + |) |) in let~ buf_ptr := M.alloc (| @@ -12577,20 +12912,20 @@ Module fmt. ] |); M.read (| UnsupportedLiteral |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| curr |)) - (M.read (| target |)) + BinOp.Wrap.sub (| + M.read (| curr |), + M.read (| target |) + |) ] |) |) in let~ _ := M.write (| curr, - BinOp.Wrap.sub - Integer.Usize - (M.read (| target |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| target |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -12602,10 +12937,10 @@ Module fmt. |), [ M.read (| buf_ptr |); M.read (| curr |) ] |), - BinOp.Wrap.add - Integer.U8 - (M.rust_cast (M.read (| n |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.add (| + M.rust_cast (M.read (| n |)), + M.read (| UnsupportedLiteral |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -12649,9 +12984,8 @@ Module fmt. M.read (| curr |) ] |)); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -12664,8 +12998,9 @@ Module fmt. [] |), [ (* Unsize *) M.pointer_coercion buf ] - |)) - (M.read (| curr |)) + |), + M.read (| curr |) + |) ] |) ] @@ -12689,7 +13024,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_fmt_u128 : M.IsFunction "core::fmt::num::fmt_u128" fmt_u128. @@ -12725,26 +13060,35 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| n |)) - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 83)) + BinOp.lt (| + M.read (| n |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + Value.Integer IntegerKind.I32 83 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.rust_cast - (BinOp.Wrap.div - Integer.U64 - (M.rust_cast (BinOp.Wrap.shr (M.read (| n |)) (Value.Integer 19))) - (BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::fmt::num::udiv_1e19::DIV" |) |)) - (Value.Integer 19))) + (BinOp.Wrap.div (| + M.rust_cast + (BinOp.Wrap.shr (| + M.read (| n |), + Value.Integer IntegerKind.I32 19 + |)), + BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::fmt::num::udiv_1e19::DIV" |) |), + Value.Integer IntegerKind.I32 19 + |) + |)) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.shr - (M.call_closure (| + BinOp.Wrap.shr (| + M.call_closure (| M.get_function (| "core::fmt::num::u128_mulhi", [] |), [ M.read (| n |); @@ -12752,8 +13096,9 @@ Module fmt. M.get_constant (| "core::fmt::num::udiv_1e19::FACTOR" |) |) ] - |)) - (Value.Integer 62) + |), + Value.Integer IntegerKind.I32 62 + |) |))) ] |) @@ -12761,18 +13106,18 @@ Module fmt. let~ rem := M.alloc (| M.rust_cast - (BinOp.Wrap.sub - Integer.U128 - (M.read (| n |)) - (BinOp.Wrap.mul - Integer.U128 - (M.read (| quot |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::fmt::num::udiv_1e19::DIV" |) |))))) + (BinOp.Wrap.sub (| + M.read (| n |), + BinOp.Wrap.mul (| + M.read (| quot |), + M.rust_cast + (M.read (| M.get_constant (| "core::fmt::num::udiv_1e19::DIV" |) |)) + |) + |)) |) in M.alloc (| Value.Tuple [ M.read (| quot |); M.read (| rem |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_udiv_1e19 : M.IsFunction "core::fmt::num::udiv_1e19" udiv_1e19. @@ -12783,7 +13128,8 @@ Module fmt. Definition value_FACTOR : Value.t := M.run - ltac:(M.monadic (M.alloc (| Value.Integer 156927543384667019095894735580191660403 |))). + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.U128 156927543384667019095894735580191660403 |))). End udiv_1e19. (* @@ -12813,57 +13159,64 @@ Module fmt. M.read (| let~ x_lo := M.alloc (| M.rust_cast (M.read (| x |)) |) in let~ x_hi := - M.alloc (| M.rust_cast (BinOp.Wrap.shr (M.read (| x |)) (Value.Integer 64)) |) in + M.alloc (| + M.rust_cast (BinOp.Wrap.shr (| M.read (| x |), Value.Integer IntegerKind.I32 64 |)) + |) in let~ y_lo := M.alloc (| M.rust_cast (M.read (| y |)) |) in let~ y_hi := - M.alloc (| M.rust_cast (BinOp.Wrap.shr (M.read (| y |)) (Value.Integer 64)) |) in + M.alloc (| + M.rust_cast (BinOp.Wrap.shr (| M.read (| y |), Value.Integer IntegerKind.I32 64 |)) + |) in let~ carry := M.alloc (| - BinOp.Wrap.shr - (BinOp.Wrap.mul - Integer.U128 - (M.rust_cast (M.read (| x_lo |))) - (M.rust_cast (M.read (| y_lo |)))) - (Value.Integer 64) + BinOp.Wrap.shr (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| x_lo |)), + M.rust_cast (M.read (| y_lo |)) + |), + Value.Integer IntegerKind.I32 64 + |) |) in let~ m := M.alloc (| - BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.mul - Integer.U128 - (M.rust_cast (M.read (| x_lo |))) - (M.rust_cast (M.read (| y_hi |)))) - (M.read (| carry |)) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| x_lo |)), + M.rust_cast (M.read (| y_hi |)) + |), + M.read (| carry |) + |) |) in - let~ high1 := M.alloc (| BinOp.Wrap.shr (M.read (| m |)) (Value.Integer 64) |) in + let~ high1 := + M.alloc (| BinOp.Wrap.shr (| M.read (| m |), Value.Integer IntegerKind.I32 64 |) |) in let~ m_lo := M.alloc (| M.rust_cast (M.read (| m |)) |) in let~ high2 := M.alloc (| - BinOp.Wrap.shr - (BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.mul - Integer.U128 - (M.rust_cast (M.read (| x_hi |))) - (M.rust_cast (M.read (| y_lo |)))) - (M.rust_cast (M.read (| m_lo |)))) - (Value.Integer 64) + BinOp.Wrap.shr (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| x_hi |)), + M.rust_cast (M.read (| y_lo |)) + |), + M.rust_cast (M.read (| m_lo |)) + |), + Value.Integer IntegerKind.I32 64 + |) |) in M.alloc (| - BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.mul - Integer.U128 - (M.rust_cast (M.read (| x_hi |))) - (M.rust_cast (M.read (| y_hi |)))) - (M.read (| high1 |))) - (M.read (| high2 |)) + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| x_hi |)), + M.rust_cast (M.read (| y_hi |)) + |), + M.read (| high1 |) + |), + M.read (| high2 |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u128_mulhi : M.IsFunction "core::fmt::num::u128_mulhi" u128_mulhi. diff --git a/CoqOfRust/core/fmt/rt.v b/CoqOfRust/core/fmt/rt.v index 707b53c09..6edc25993 100644 --- a/CoqOfRust/core/fmt/rt.v +++ b/CoqOfRust/core/fmt/rt.v @@ -72,7 +72,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -118,7 +118,7 @@ Module fmt. ("precision", M.read (| precision |)); ("width", M.read (| width |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -175,7 +175,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -228,9 +228,9 @@ Module fmt. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -262,7 +262,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -325,7 +325,7 @@ Module fmt. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -397,7 +397,7 @@ Module fmt. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -460,7 +460,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -533,7 +533,7 @@ Module fmt. [ M.read (| x |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -556,7 +556,7 @@ Module fmt. M.pointer_coercion (M.get_trait_method (| "core::fmt::Display", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_display : M.IsAssociatedFunction Self "new_display" new_display. @@ -579,7 +579,7 @@ Module fmt. M.pointer_coercion (M.get_trait_method (| "core::fmt::Debug", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_debug : M.IsAssociatedFunction Self "new_debug" new_debug. @@ -602,7 +602,7 @@ Module fmt. M.pointer_coercion (M.get_trait_method (| "core::fmt::Octal", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_octal : M.IsAssociatedFunction Self "new_octal" new_octal. @@ -626,7 +626,7 @@ Module fmt. (M.get_trait_method (| "core::fmt::LowerHex", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_lower_hex : @@ -651,7 +651,7 @@ Module fmt. (M.get_trait_method (| "core::fmt::UpperHex", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_upper_hex : @@ -675,7 +675,7 @@ Module fmt. M.pointer_coercion (M.get_trait_method (| "core::fmt::Pointer", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_pointer : M.IsAssociatedFunction Self "new_pointer" new_pointer. @@ -698,7 +698,7 @@ Module fmt. M.pointer_coercion (M.get_trait_method (| "core::fmt::Binary", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_binary : M.IsAssociatedFunction Self "new_binary" new_binary. @@ -722,7 +722,7 @@ Module fmt. (M.get_trait_method (| "core::fmt::LowerExp", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_lower_exp : @@ -747,7 +747,7 @@ Module fmt. (M.get_trait_method (| "core::fmt::UpperExp", T, [], "fmt", [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_upper_exp : @@ -774,7 +774,7 @@ Module fmt. M.read (| M.read (| M.get_constant (| "core::fmt::rt::USIZE_MARKER" |) |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_usize : M.IsAssociatedFunction Self "from_usize" from_usize. @@ -809,7 +809,7 @@ Module fmt. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fmt : M.IsAssociatedFunction Self "fmt" fmt. @@ -843,19 +843,20 @@ Module fmt. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.rust_cast + BinOp.eq (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::fmt::rt::Argument", "formatter" |) - |))) - (M.rust_cast + |)), + M.rust_cast (M.read (| M.read (| M.get_constant (| "core::fmt::rt::USIZE_MARKER" |) |) - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -885,7 +886,7 @@ Module fmt. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_usize : M.IsAssociatedFunction Self "as_usize" as_usize. @@ -896,7 +897,10 @@ Module fmt. } *) Definition none (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Array [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Array [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom AssociatedFunction_none : M.IsAssociatedFunction Self "none" none. End Impl_core_fmt_rt_Argument. @@ -921,7 +925,7 @@ Module fmt. | [], [] => ltac:(M.monadic (Value.StructRecord "core::fmt::rt::UnsafeArg" [ ("_private", Value.Tuple []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -978,7 +982,7 @@ Module fmt. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end))) |) |))). diff --git a/CoqOfRust/core/future/future.v b/CoqOfRust/core/future/future.v index c77c16565..c5b2a427c 100644 --- a/CoqOfRust/core/future/future.v +++ b/CoqOfRust/core/future/future.v @@ -53,7 +53,7 @@ Module future. M.read (| cx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106,7 +106,7 @@ Module future. M.read (| cx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/future/into_future.v b/CoqOfRust/core/future/into_future.v index 85dfc2c5f..37c21f889 100644 --- a/CoqOfRust/core/future/into_future.v +++ b/CoqOfRust/core/future/into_future.v @@ -27,7 +27,7 @@ Module future. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/future/join.v b/CoqOfRust/core/future/join.v index b975ceb03..8c277bcaf 100644 --- a/CoqOfRust/core/future/join.v +++ b/CoqOfRust/core/future/join.v @@ -108,7 +108,7 @@ Module future. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_output : @@ -304,7 +304,7 @@ Module future. M.alloc (| Value.StructTuple "core::task::poll::Poll::Ready" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/future/mod.v b/CoqOfRust/core/future/mod.v index 30b39c3fe..8f9e6e112 100644 --- a/CoqOfRust/core/future/mod.v +++ b/CoqOfRust/core/future/mod.v @@ -41,7 +41,7 @@ Module future. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78,7 +78,7 @@ Module future. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -146,7 +146,7 @@ Module future. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_get_context : M.IsFunction "core::future::get_context" get_context. diff --git a/CoqOfRust/core/future/pending.v b/CoqOfRust/core/future/pending.v index 035725e75..2823037ec 100644 --- a/CoqOfRust/core/future/pending.v +++ b/CoqOfRust/core/future/pending.v @@ -23,7 +23,7 @@ Module future. (Value.StructRecord "core::future::pending::Pending" [ ("_data", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_pending : M.IsFunction "core::future::pending::pending" pending. @@ -51,7 +51,7 @@ Module future. β1, [ fun γ => ltac:(M.monadic (Value.StructTuple "core::task::poll::Poll::Pending" [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99,7 +99,7 @@ Module future. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -127,7 +127,7 @@ Module future. ltac:(M.monadic (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::future::pending::pending", [ T ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/future/poll_fn.v b/CoqOfRust/core/future/poll_fn.v index d7120b6f8..69911463e 100644 --- a/CoqOfRust/core/future/poll_fn.v +++ b/CoqOfRust/core/future/poll_fn.v @@ -17,7 +17,7 @@ Module future. ltac:(M.monadic (let f := M.alloc (| f |) in Value.StructRecord "core::future::poll_fn::PollFn" [ ("f", M.read (| f |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_poll_fn : M.IsFunction "core::future::poll_fn::poll_fn" poll_fn. @@ -75,7 +75,7 @@ Module future. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -137,7 +137,7 @@ Module future. Value.Tuple [ M.read (| cx |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/future/ready.v b/CoqOfRust/core/future/ready.v index 4296549e9..e0b0045c0 100644 --- a/CoqOfRust/core/future/ready.v +++ b/CoqOfRust/core/future/ready.v @@ -41,7 +41,7 @@ Module future. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83,7 +83,7 @@ Module future. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -168,7 +168,7 @@ Module future. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -208,7 +208,7 @@ Module future. M.read (| Value.String "Called `into_inner()` on `Ready` after completion" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -229,7 +229,7 @@ Module future. Value.StructTuple "core::future::ready::Ready" [ Value.StructTuple "core::option::Option::Some" [ M.read (| t |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ready : M.IsFunction "core::future::ready::ready" ready. diff --git a/CoqOfRust/core/hash/mod.v b/CoqOfRust/core/hash/mod.v index f97c81285..7148f3c6f 100644 --- a/CoqOfRust/core/hash/mod.v +++ b/CoqOfRust/core/hash/mod.v @@ -79,7 +79,7 @@ Module hash. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_hash_slice : M.IsProvidedMethod "core::hash::Hash" "hash_slice" hash_slice. @@ -100,7 +100,7 @@ Module hash. (* Unsize *) M.pointer_coercion (M.alloc (| Value.Array [ M.read (| i |) ] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_u8 : M.IsProvidedMethod "core::hash::Hasher" "write_u8" write_u8. @@ -124,7 +124,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_u16 : M.IsProvidedMethod "core::hash::Hasher" "write_u16" write_u16. @@ -148,7 +148,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_u32 : M.IsProvidedMethod "core::hash::Hasher" "write_u32" write_u32. @@ -172,7 +172,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_u64 : M.IsProvidedMethod "core::hash::Hasher" "write_u64" write_u64. @@ -196,7 +196,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_u128 : @@ -221,7 +221,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_usize : @@ -236,7 +236,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", Self, [], "write_u8", [] |), [ M.read (| self |); M.rust_cast (M.read (| i |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_i8 : M.IsProvidedMethod "core::hash::Hasher" "write_i8" write_i8. @@ -250,7 +250,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", Self, [], "write_u16", [] |), [ M.read (| self |); M.rust_cast (M.read (| i |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_i16 : M.IsProvidedMethod "core::hash::Hasher" "write_i16" write_i16. @@ -264,7 +264,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", Self, [], "write_u32", [] |), [ M.read (| self |); M.rust_cast (M.read (| i |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_i32 : M.IsProvidedMethod "core::hash::Hasher" "write_i32" write_i32. @@ -278,7 +278,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", Self, [], "write_u64", [] |), [ M.read (| self |); M.rust_cast (M.read (| i |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_i64 : M.IsProvidedMethod "core::hash::Hasher" "write_i64" write_i64. @@ -292,7 +292,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", Self, [], "write_u128", [] |), [ M.read (| self |); M.rust_cast (M.read (| i |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_i128 : @@ -307,7 +307,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", Self, [], "write_usize", [] |), [ M.read (| self |); M.rust_cast (M.read (| i |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_isize : @@ -328,7 +328,7 @@ Module hash. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_length_prefix : @@ -357,12 +357,12 @@ Module hash. M.alloc (| M.call_closure (| M.get_trait_method (| "core::hash::Hasher", Self, [], "write_u8", [] |), - [ M.read (| self |); Value.Integer 255 ] + [ M.read (| self |); Value.Integer IntegerKind.U8 255 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_write_str : M.IsProvidedMethod "core::hash::Hasher" "write_str" write_str. @@ -386,7 +386,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "finish", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -405,7 +405,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write", [] |), [ M.read (| M.read (| self |) |); M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -424,7 +424,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u8", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -443,7 +443,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u16", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -462,7 +462,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u32", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -481,7 +481,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u64", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -500,7 +500,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u128", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -519,7 +519,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_usize", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -538,7 +538,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i8", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -557,7 +557,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i16", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -576,7 +576,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i32", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -595,7 +595,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i64", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -614,7 +614,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i128", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -633,7 +633,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_isize", [] |), [ M.read (| M.read (| self |) |); M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -652,7 +652,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_length_prefix", [] |), [ M.read (| M.read (| self |) |); M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -671,7 +671,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_str", [] |), [ M.read (| M.read (| self |) |); M.read (| s |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -731,7 +731,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_hash_one : @@ -779,7 +779,7 @@ Module hash. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -812,7 +812,7 @@ Module hash. M.get_trait_method (| "core::default::Default", H, [], "default", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -845,7 +845,7 @@ Module hash. Value.StructTuple "core::hash::BuildHasherDefault" [ Value.StructTuple "core::marker::PhantomData" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -873,7 +873,7 @@ Module hash. (Value.StructTuple "core::hash::BuildHasherDefault" [ Value.StructTuple "core::marker::PhantomData" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -901,7 +901,7 @@ Module hash. (let self := M.alloc (| self |) in let _other := M.alloc (| _other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -940,7 +940,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u8", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -996,7 +996,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1026,7 +1026,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u16", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1082,7 +1082,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1112,7 +1112,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u32", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1168,7 +1168,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1198,7 +1198,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u64", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1254,7 +1254,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1284,7 +1284,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_usize", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1340,7 +1340,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1370,7 +1370,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i8", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1426,7 +1426,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1456,7 +1456,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i16", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1512,7 +1512,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1542,7 +1542,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i32", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1598,7 +1598,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1628,7 +1628,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i64", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1684,7 +1684,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1714,7 +1714,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_isize", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1770,7 +1770,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1800,7 +1800,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u128", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1856,7 +1856,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1886,7 +1886,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_i128", [] |), [ M.read (| state |); M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1942,7 +1942,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1972,7 +1972,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u8", [] |), [ M.read (| state |); M.rust_cast (M.read (| M.read (| self |) |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2001,7 +2001,7 @@ Module hash. M.get_trait_method (| "core::hash::Hasher", H, [], "write_u32", [] |), [ M.read (| state |); M.rust_cast (M.read (| M.read (| self |) |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2036,7 +2036,7 @@ Module hash. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2065,7 +2065,7 @@ Module hash. β1, [ fun γ => ltac:(M.monadic (M.never_to_any (| M.read (| M.read (| self |) |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2087,7 +2087,7 @@ Module hash. (let self := M.alloc (| self |) in let _state := M.alloc (| _state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2133,7 +2133,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2189,7 +2189,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2254,7 +2254,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2328,7 +2328,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2411,7 +2411,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2503,7 +2503,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2604,7 +2604,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2714,7 +2714,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2833,7 +2833,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2962,7 +2962,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3100,7 +3100,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3247,7 +3247,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3296,7 +3296,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3333,7 +3333,7 @@ Module hash. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3370,7 +3370,7 @@ Module hash. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3452,7 +3452,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3534,7 +3534,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/hash/sip.v b/CoqOfRust/core/hash/sip.v index 6599561f5..6146362e9 100644 --- a/CoqOfRust/core/hash/sip.v +++ b/CoqOfRust/core/hash/sip.v @@ -47,7 +47,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90,7 +90,7 @@ Module hash. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -126,7 +126,7 @@ Module hash. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -181,7 +181,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -224,7 +224,7 @@ Module hash. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -260,7 +260,7 @@ Module hash. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -308,7 +308,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -348,7 +348,7 @@ Module hash. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -381,7 +381,7 @@ Module hash. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -512,7 +512,7 @@ Module hash. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -592,7 +592,7 @@ Module hash. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -618,7 +618,7 @@ Module hash. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -691,8 +691,12 @@ Module hash. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt (M.read (| len |)) (Value.Integer 8)) + UnOp.not (| + BinOp.lt (| + M.read (| len |), + Value.Integer IntegerKind.Usize 8 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -714,8 +718,8 @@ Module hash. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ i := M.alloc (| Value.Integer 0 |) in - let~ out := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ out := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -725,9 +729,13 @@ Module hash. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.add Integer.Usize (M.read (| i |)) (Value.Integer 3)) - (M.read (| len |)) + BinOp.lt (| + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 3 + |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -756,22 +764,22 @@ Module hash. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| i |))) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| start |), + M.read (| i |) + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u32" ] |), [] - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -780,7 +788,9 @@ Module hash. [] |), [ M.read (| buf |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -811,7 +821,10 @@ Module hash. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ data := M.copy (| M.use (M.alloc (| Value.Integer 0 |)) |) in + let~ data := + M.copy (| + M.use (M.alloc (| Value.Integer IntegerKind.U32 0 |)) + |) in let~ _ := M.alloc (| M.call_closure (| @@ -835,10 +848,7 @@ Module hash. |), [ M.read (| buf |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| i |)) + BinOp.Wrap.add (| M.read (| start |), M.read (| i |) |) ] |); M.rust_cast (M.read (| M.use (M.alloc (| data |)) |)); @@ -864,7 +874,7 @@ Module hash. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 4) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 4 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -879,19 +889,23 @@ Module hash. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.add Integer.Usize (M.read (| i |)) (Value.Integer 1)) - (M.read (| len |)) + BinOp.lt (| + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := out in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shl - (M.rust_cast + (BinOp.Wrap.shl (| + M.rust_cast (M.read (| let~ _ := M.match_operator (| @@ -914,22 +928,22 @@ Module hash. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| i |))) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| start |), + M.read (| i |) + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u16" ] |), [] - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -938,7 +952,9 @@ Module hash. [] |), [ M.read (| buf |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -969,7 +985,10 @@ Module hash. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ data := M.copy (| M.use (M.alloc (| Value.Integer 0 |)) |) in + let~ data := + M.copy (| + M.use (M.alloc (| Value.Integer IntegerKind.U16 0 |)) + |) in let~ _ := M.alloc (| M.call_closure (| @@ -993,10 +1012,10 @@ Module hash. |), [ M.read (| buf |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| i |)) + BinOp.Wrap.add (| + M.read (| start |), + M.read (| i |) + |) ] |); M.rust_cast (M.read (| M.use (M.alloc (| data |)) |)); @@ -1016,13 +1035,14 @@ Module hash. [ M.read (| data |) ] |) |) - |))) - (BinOp.Wrap.mul Integer.Usize (M.read (| i |)) (Value.Integer 8))) + |)), + BinOp.Wrap.mul (| M.read (| i |), Value.Integer IntegerKind.Usize 8 |) + |)) |) in let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 2 |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] @@ -1034,16 +1054,16 @@ Module hash. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| i |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| i |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := out in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shl - (M.rust_cast + (BinOp.Wrap.shl (| + M.rust_cast (M.read (| M.call_closure (| M.get_associated_function (| @@ -1053,20 +1073,18 @@ Module hash. |), [ M.read (| buf |); - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| i |)) + BinOp.Wrap.add (| M.read (| start |), M.read (| i |) |) ] |) - |))) - (BinOp.Wrap.mul Integer.Usize (M.read (| i |)) (Value.Integer 8))) + |)), + BinOp.Wrap.mul (| M.read (| i |), Value.Integer IntegerKind.Usize 8 |) + |)) |) in let~ _ := let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1089,8 +1107,7 @@ Module hash. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq (M.read (| i |)) (M.read (| len |))) + UnOp.not (| BinOp.eq (| M.read (| i |), M.read (| len |) |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1114,7 +1131,7 @@ Module hash. |) in out |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u8to64_le : M.IsFunction "core::hash::sip::u8to64_le" u8to64_le. @@ -1137,9 +1154,9 @@ Module hash. "new_with_keys", [] |), - [ Value.Integer 0; Value.Integer 0 ] + [ Value.Integer IntegerKind.U64 0; Value.Integer IntegerKind.U64 0 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1174,7 +1191,7 @@ Module hash. |)) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_keys : @@ -1199,9 +1216,9 @@ Module hash. "new_with_keys", [] |), - [ Value.Integer 0; Value.Integer 0 ] + [ Value.Integer IntegerKind.U64 0; Value.Integer IntegerKind.U64 0 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1232,7 +1249,7 @@ Module hash. [ M.read (| key0 |); M.read (| key1 |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_keys : @@ -1272,18 +1289,18 @@ Module hash. [ ("k0", M.read (| key0 |)); ("k1", M.read (| key1 |)); - ("length", Value.Integer 0); + ("length", Value.Integer IntegerKind.Usize 0); ("state", Value.StructRecord "core::hash::sip::State" [ - ("v0", Value.Integer 0); - ("v1", Value.Integer 0); - ("v2", Value.Integer 0); - ("v3", Value.Integer 0) + ("v0", Value.Integer IntegerKind.U64 0); + ("v1", Value.Integer IntegerKind.U64 0); + ("v2", Value.Integer IntegerKind.U64 0); + ("v3", Value.Integer IntegerKind.U64 0) ]); - ("tail", Value.Integer 0); - ("ntail", Value.Integer 0); + ("tail", Value.Integer IntegerKind.U64 0); + ("ntail", Value.Integer IntegerKind.Usize 0); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ] |) in @@ -1300,7 +1317,7 @@ Module hash. |) in state |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_keys : @@ -1331,7 +1348,7 @@ Module hash. "core::hash::sip::Hasher", "length" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| @@ -1344,7 +1361,7 @@ Module hash. "core::hash::sip::State", "v0" |), - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1352,7 +1369,7 @@ Module hash. "k0" |) |)) - (Value.Integer 8317987319222330741) + (Value.Integer IntegerKind.U64 8317987319222330741) |) in let~ _ := M.write (| @@ -1365,7 +1382,7 @@ Module hash. "core::hash::sip::State", "v1" |), - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1373,7 +1390,7 @@ Module hash. "k1" |) |)) - (Value.Integer 7237128888997146477) + (Value.Integer IntegerKind.U64 7237128888997146477) |) in let~ _ := M.write (| @@ -1386,7 +1403,7 @@ Module hash. "core::hash::sip::State", "v2" |), - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1394,7 +1411,7 @@ Module hash. "k0" |) |)) - (Value.Integer 7816392313619706465) + (Value.Integer IntegerKind.U64 7816392313619706465) |) in let~ _ := M.write (| @@ -1407,7 +1424,7 @@ Module hash. "core::hash::sip::State", "v3" |), - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1415,7 +1432,7 @@ Module hash. "k1" |) |)) - (Value.Integer 8387220255154660723) + (Value.Integer IntegerKind.U64 8387220255154660723) |) in let~ _ := M.write (| @@ -1424,11 +1441,11 @@ Module hash. "core::hash::sip::Hasher", "ntail" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reset : @@ -1473,7 +1490,7 @@ Module hash. M.read (| msg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1516,7 +1533,7 @@ Module hash. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1551,7 +1568,7 @@ Module hash. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1600,7 +1617,7 @@ Module hash. M.read (| msg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1639,7 +1656,7 @@ Module hash. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1670,7 +1687,7 @@ Module hash. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1764,11 +1781,8 @@ Module hash. "core::hash::sip::Hasher", "length" |) in - M.write (| - β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| length |)) - |) in - let~ needed := M.alloc (| Value.Integer 0 |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| length |) |) |) in + let~ needed := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1778,31 +1792,32 @@ Module hash. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::hash::sip::Hasher", "ntail" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| needed, - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 8) - (M.read (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 8, + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::hash::sip::Hasher", "ntail" |) - |)) + |) + |) |) in let~ _ := let β := @@ -1813,14 +1828,14 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shl - (M.call_closure (| + (BinOp.Wrap.shl (| + M.call_closure (| M.get_function (| "core::hash::sip::u8to64_le", [] |), [ M.read (| msg |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.call_closure (| M.get_function (| "core::cmp::min", @@ -1829,17 +1844,18 @@ Module hash. [ M.read (| length |); M.read (| needed |) ] |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 8) - (M.read (| + |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 8, + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::hash::sip::Hasher", "ntail" |) - |)))) + |) + |) + |)) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1849,7 +1865,7 @@ Module hash. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| length |)) (M.read (| needed |)) + BinOp.lt (| M.read (| length |), M.read (| needed |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1868,10 +1884,10 @@ Module hash. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| length |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| length |) + |) |) in M.return_ (| Value.Tuple [] |) |) @@ -1892,7 +1908,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -1934,7 +1950,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -1951,7 +1967,7 @@ Module hash. "core::hash::sip::Hasher", "ntail" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))) ] @@ -1960,11 +1976,11 @@ Module hash. ] |) in let~ len := + M.alloc (| BinOp.Wrap.sub (| M.read (| length |), M.read (| needed |) |) |) in + let~ left := M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| length |)) (M.read (| needed |)) + BinOp.bit_and (M.read (| len |)) (Value.Integer IntegerKind.Usize 7) |) in - let~ left := - M.alloc (| BinOp.Pure.bit_and (M.read (| len |)) (Value.Integer 7) |) in let~ i := M.copy (| needed |) in let~ _ := M.loop (| @@ -1977,12 +1993,10 @@ Module hash. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| i |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| left |))) + BinOp.lt (| + M.read (| i |), + BinOp.Wrap.sub (| M.read (| len |), M.read (| left |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2012,19 +2026,19 @@ Module hash. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + M.read (| i |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u64" ] |), [] - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2033,7 +2047,9 @@ Module hash. [] |), [ M.read (| msg |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2066,7 +2082,9 @@ Module hash. ] |) in let~ data := - M.copy (| M.use (M.alloc (| Value.Integer 0 |)) |) in + M.copy (| + M.use (M.alloc (| Value.Integer IntegerKind.U64 0 |)) + |) in let~ _ := M.alloc (| M.call_closure (| @@ -2124,7 +2142,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| mi |)) + BinOp.bit_xor (M.read (| β |)) (M.read (| mi |)) |) in let~ _ := M.alloc (| @@ -2158,13 +2176,16 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| mi |)) + BinOp.bit_xor (M.read (| β |)) (M.read (| mi |)) |) in let~ _ := let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 8) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 8 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2207,7 +2228,7 @@ Module hash. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2255,12 +2276,12 @@ Module hash. "write_u8", [] |), - [ M.read (| self |); Value.Integer 255 ] + [ M.read (| self |); Value.Integer IntegerKind.U8 255 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2296,9 +2317,9 @@ Module hash. |) in let~ b := M.alloc (| - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (BinOp.Pure.bit_and + BinOp.bit_or + (BinOp.Wrap.shl (| + BinOp.bit_and (M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| @@ -2307,8 +2328,9 @@ Module hash. "length" |) |))) - (Value.Integer 255)) - (Value.Integer 56)) + (Value.Integer IntegerKind.U64 255), + Value.Integer IntegerKind.I32 56 + |)) (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -2324,7 +2346,7 @@ Module hash. "core::hash::sip::State", "v3" |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| b |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| b |)) |) in let~ _ := M.alloc (| M.call_closure (| @@ -2339,7 +2361,7 @@ Module hash. "core::hash::sip::State", "v0" |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| b |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| b |)) |) in let~ _ := let β := M.SubPointer.get_struct_record_field (| @@ -2347,7 +2369,10 @@ Module hash. "core::hash::sip::State", "v2" |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (Value.Integer 255) |) in + M.write (| + β, + BinOp.bit_xor (M.read (| β |)) (Value.Integer IntegerKind.U64 255) + |) in let~ _ := M.alloc (| M.call_closure (| @@ -2356,9 +2381,9 @@ Module hash. |) |) in M.alloc (| - BinOp.Pure.bit_xor - (BinOp.Pure.bit_xor - (BinOp.Pure.bit_xor + BinOp.bit_xor + (BinOp.bit_xor + (BinOp.bit_xor (M.read (| M.SubPointer.get_struct_record_field (| state, @@ -2385,7 +2410,7 @@ Module hash. |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2484,7 +2509,7 @@ Module hash. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2515,9 +2540,9 @@ Module hash. "new_with_keys", [] |), - [ Value.Integer 0; Value.Integer 0 ] + [ Value.Integer IntegerKind.U64 0; Value.Integer IntegerKind.U64 0 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2553,7 +2578,7 @@ Module hash. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "Sip13Rounds" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2574,7 +2599,7 @@ Module hash. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::hash::sip::Sip13Rounds" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2592,7 +2617,7 @@ Module hash. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "core::hash::sip::Sip13Rounds" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2662,7 +2687,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -2675,7 +2700,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -2702,7 +2727,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -2750,7 +2775,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -2763,7 +2788,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -2817,7 +2842,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -2830,7 +2855,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -2884,7 +2909,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -2897,7 +2922,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -2924,14 +2949,14 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2992,7 +3017,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -3005,7 +3030,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3032,7 +3057,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -3080,7 +3105,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -3093,7 +3118,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3147,7 +3172,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -3160,7 +3185,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3214,7 +3239,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -3227,7 +3252,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3254,7 +3279,7 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -3304,7 +3329,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -3317,7 +3342,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3344,7 +3369,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -3392,7 +3417,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -3405,7 +3430,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3459,7 +3484,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -3472,7 +3497,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3526,7 +3551,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -3539,7 +3564,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3566,7 +3591,7 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -3616,7 +3641,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -3629,7 +3654,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3656,7 +3681,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -3704,7 +3729,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -3717,7 +3742,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3771,7 +3796,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -3784,7 +3809,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3838,7 +3863,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -3851,7 +3876,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -3878,14 +3903,14 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3919,7 +3944,7 @@ Module hash. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "Sip24Rounds" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3940,7 +3965,7 @@ Module hash. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::hash::sip::Sip24Rounds" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3958,7 +3983,7 @@ Module hash. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "core::hash::sip::Sip24Rounds" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4029,7 +4054,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -4042,7 +4067,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4069,7 +4094,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -4117,7 +4142,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -4130,7 +4155,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4184,7 +4209,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -4197,7 +4222,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4251,7 +4276,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -4264,7 +4289,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4291,7 +4316,7 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -4341,7 +4366,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -4354,7 +4379,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4381,7 +4406,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -4429,7 +4454,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -4442,7 +4467,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4496,7 +4521,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -4509,7 +4534,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4563,7 +4588,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -4576,7 +4601,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4603,14 +4628,14 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4672,7 +4697,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -4685,7 +4710,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4712,7 +4737,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -4760,7 +4785,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -4773,7 +4798,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4827,7 +4852,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -4840,7 +4865,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4894,7 +4919,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -4907,7 +4932,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -4934,7 +4959,7 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -4984,7 +5009,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -4997,7 +5022,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5024,7 +5049,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -5072,7 +5097,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -5085,7 +5110,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5139,7 +5164,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -5152,7 +5177,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5206,7 +5231,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -5219,7 +5244,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5246,7 +5271,7 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -5296,7 +5321,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -5309,7 +5334,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5336,7 +5361,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -5384,7 +5409,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -5397,7 +5422,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5451,7 +5476,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -5464,7 +5489,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5518,7 +5543,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -5531,7 +5556,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5558,7 +5583,7 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -5608,7 +5633,7 @@ Module hash. "v1" |) |); - Value.Integer 13 + Value.Integer IntegerKind.U32 13 ] |) |) in @@ -5621,7 +5646,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5648,7 +5673,7 @@ Module hash. "v0" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -5696,7 +5721,7 @@ Module hash. "v3" |) |); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -5709,7 +5734,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5763,7 +5788,7 @@ Module hash. "v3" |) |); - Value.Integer 21 + Value.Integer IntegerKind.U32 21 ] |) |) in @@ -5776,7 +5801,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5830,7 +5855,7 @@ Module hash. "v1" |) |); - Value.Integer 17 + Value.Integer IntegerKind.U32 17 ] |) |) in @@ -5843,7 +5868,7 @@ Module hash. |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.read (| M.SubPointer.get_struct_record_field (| @@ -5870,14 +5895,14 @@ Module hash. "v2" |) |); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/hint.v b/CoqOfRust/core/hint.v index 2ced32a29..2bbe1f2eb 100644 --- a/CoqOfRust/core/hint.v +++ b/CoqOfRust/core/hint.v @@ -52,7 +52,7 @@ Module hint. M.call_closure (| M.get_function (| "core::intrinsics::unreachable", [] |), [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_unreachable_unchecked : @@ -110,7 +110,7 @@ Module hint. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_spin_loop : M.IsFunction "core::hint::spin_loop" spin_loop. @@ -129,7 +129,7 @@ Module hint. M.get_function (| "core::intrinsics::black_box", [ T ] |), [ M.read (| dummy |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_black_box : M.IsFunction "core::hint::black_box" black_box. @@ -145,7 +145,7 @@ Module hint. ltac:(M.monadic (let value := M.alloc (| value |) in M.read (| value |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_must_use : M.IsFunction "core::hint::must_use" must_use. diff --git a/CoqOfRust/core/internal_macros.v b/CoqOfRust/core/internal_macros.v index d24d4f735..b721e6635 100644 --- a/CoqOfRust/core/internal_macros.v +++ b/CoqOfRust/core/internal_macros.v @@ -29,7 +29,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67,7 +67,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105,7 +105,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -143,7 +143,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -182,7 +182,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -221,7 +221,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -265,7 +265,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -306,7 +306,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -354,7 +354,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -404,7 +404,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -452,7 +452,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -493,7 +493,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -534,7 +534,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -582,7 +582,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -632,7 +632,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -680,7 +680,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -721,7 +721,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -762,7 +762,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -810,7 +810,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -860,7 +860,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -908,7 +908,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -949,7 +949,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -990,7 +990,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1038,7 +1038,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1088,7 +1088,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1136,7 +1136,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1177,7 +1177,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1218,7 +1218,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1266,7 +1266,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1316,7 +1316,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1364,7 +1364,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1404,7 +1404,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1446,7 +1446,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1487,7 +1487,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1535,7 +1535,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1585,7 +1585,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1633,7 +1633,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1674,7 +1674,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1715,7 +1715,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1763,7 +1763,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1813,7 +1813,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1861,7 +1861,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1902,7 +1902,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1943,7 +1943,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1991,7 +1991,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2041,7 +2041,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2089,7 +2089,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2130,7 +2130,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2171,7 +2171,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2219,7 +2219,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2268,7 +2268,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2316,7 +2316,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2357,7 +2357,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2398,7 +2398,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2446,7 +2446,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2495,7 +2495,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2543,7 +2543,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2584,7 +2584,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2625,7 +2625,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2673,7 +2673,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2722,7 +2722,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2770,7 +2770,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2811,7 +2811,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2852,7 +2852,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2900,7 +2900,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2949,7 +2949,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2997,7 +2997,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3038,7 +3038,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3079,7 +3079,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3127,7 +3127,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3176,7 +3176,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3224,7 +3224,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3264,7 +3264,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3306,7 +3306,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3347,7 +3347,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3395,7 +3395,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3444,7 +3444,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3492,7 +3492,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3533,7 +3533,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3574,7 +3574,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3622,7 +3622,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3671,7 +3671,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3719,7 +3719,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3760,7 +3760,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3801,7 +3801,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3849,7 +3849,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3898,7 +3898,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3946,7 +3946,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3987,7 +3987,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4028,7 +4028,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4076,7 +4076,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4125,7 +4125,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4173,7 +4173,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4214,7 +4214,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4255,7 +4255,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4303,7 +4303,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4352,7 +4352,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4400,7 +4400,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4441,7 +4441,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4482,7 +4482,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4530,7 +4530,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4579,7 +4579,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4627,7 +4627,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4668,7 +4668,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4709,7 +4709,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4757,7 +4757,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4806,7 +4806,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4854,7 +4854,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4895,7 +4895,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4936,7 +4936,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4984,7 +4984,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5033,7 +5033,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5081,7 +5081,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5121,7 +5121,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5163,7 +5163,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5204,7 +5204,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5252,7 +5252,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5301,7 +5301,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5349,7 +5349,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5390,7 +5390,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5431,7 +5431,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5479,7 +5479,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5528,7 +5528,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5576,7 +5576,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5617,7 +5617,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5658,7 +5658,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5706,7 +5706,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5755,7 +5755,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5803,7 +5803,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5844,7 +5844,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5885,7 +5885,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5933,7 +5933,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5982,7 +5982,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6030,7 +6030,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6071,7 +6071,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6112,7 +6112,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6160,7 +6160,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6209,7 +6209,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6257,7 +6257,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6298,7 +6298,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6339,7 +6339,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6387,7 +6387,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6436,7 +6436,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6484,7 +6484,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6525,7 +6525,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6566,7 +6566,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6614,7 +6614,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6663,7 +6663,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6711,7 +6711,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6752,7 +6752,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6793,7 +6793,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6841,7 +6841,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6890,7 +6890,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6938,7 +6938,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6978,7 +6978,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7020,7 +7020,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7061,7 +7061,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7109,7 +7109,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7158,7 +7158,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7206,7 +7206,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7247,7 +7247,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7288,7 +7288,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7336,7 +7336,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7385,7 +7385,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7433,7 +7433,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7474,7 +7474,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7515,7 +7515,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7563,7 +7563,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7612,7 +7612,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7660,7 +7660,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7701,7 +7701,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7742,7 +7742,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7790,7 +7790,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7839,7 +7839,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7887,7 +7887,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7928,7 +7928,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7969,7 +7969,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8017,7 +8017,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8066,7 +8066,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8114,7 +8114,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8155,7 +8155,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8196,7 +8196,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8244,7 +8244,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8293,7 +8293,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8341,7 +8341,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8382,7 +8382,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8423,7 +8423,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8471,7 +8471,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8520,7 +8520,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8568,7 +8568,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8609,7 +8609,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8650,7 +8650,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8698,7 +8698,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8747,7 +8747,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8795,7 +8795,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8835,7 +8835,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8877,7 +8877,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8918,7 +8918,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8966,7 +8966,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9015,7 +9015,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9063,7 +9063,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9104,7 +9104,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9145,7 +9145,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9193,7 +9193,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9242,7 +9242,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9290,7 +9290,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9331,7 +9331,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9372,7 +9372,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9420,7 +9420,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9469,7 +9469,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9517,7 +9517,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9558,7 +9558,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9599,7 +9599,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9647,7 +9647,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9696,7 +9696,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9744,7 +9744,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9785,7 +9785,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9826,7 +9826,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9874,7 +9874,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9923,7 +9923,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9971,7 +9971,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10012,7 +10012,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10053,7 +10053,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10101,7 +10101,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10150,7 +10150,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10198,7 +10198,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10239,7 +10239,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10280,7 +10280,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10328,7 +10328,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10377,7 +10377,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10425,7 +10425,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10466,7 +10466,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10507,7 +10507,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10555,7 +10555,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10604,7 +10604,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10652,7 +10652,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10692,7 +10692,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10734,7 +10734,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10775,7 +10775,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10823,7 +10823,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10872,7 +10872,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10920,7 +10920,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10961,7 +10961,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11002,7 +11002,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11050,7 +11050,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11099,7 +11099,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11147,7 +11147,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11188,7 +11188,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11229,7 +11229,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11277,7 +11277,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11326,7 +11326,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11374,7 +11374,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11415,7 +11415,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11456,7 +11456,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11504,7 +11504,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11554,7 +11554,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11602,7 +11602,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11643,7 +11643,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11684,7 +11684,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11732,7 +11732,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11782,7 +11782,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11830,7 +11830,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11871,7 +11871,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11912,7 +11912,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11960,7 +11960,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12010,7 +12010,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12058,7 +12058,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12099,7 +12099,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12140,7 +12140,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12188,7 +12188,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12238,7 +12238,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12286,7 +12286,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12327,7 +12327,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12368,7 +12368,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12416,7 +12416,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12466,7 +12466,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12514,7 +12514,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12554,7 +12554,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12596,7 +12596,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12637,7 +12637,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12685,7 +12685,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12735,7 +12735,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12783,7 +12783,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12824,7 +12824,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12865,7 +12865,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12913,7 +12913,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12963,7 +12963,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13011,7 +13011,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13052,7 +13052,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13093,7 +13093,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13141,7 +13141,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13191,7 +13191,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13239,7 +13239,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13280,7 +13280,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13321,7 +13321,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13369,7 +13369,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13418,7 +13418,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13466,7 +13466,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13507,7 +13507,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13548,7 +13548,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13596,7 +13596,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13645,7 +13645,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13693,7 +13693,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13734,7 +13734,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13775,7 +13775,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13823,7 +13823,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13872,7 +13872,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13920,7 +13920,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13961,7 +13961,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14002,7 +14002,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14050,7 +14050,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14099,7 +14099,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14147,7 +14147,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14188,7 +14188,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14229,7 +14229,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14277,7 +14277,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14326,7 +14326,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14374,7 +14374,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14414,7 +14414,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14456,7 +14456,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14497,7 +14497,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14545,7 +14545,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14594,7 +14594,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14642,7 +14642,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14683,7 +14683,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14724,7 +14724,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14772,7 +14772,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14821,7 +14821,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14869,7 +14869,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14910,7 +14910,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14951,7 +14951,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14999,7 +14999,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15048,7 +15048,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15096,7 +15096,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15137,7 +15137,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15178,7 +15178,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15226,7 +15226,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15275,7 +15275,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15323,7 +15323,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15364,7 +15364,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15405,7 +15405,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15453,7 +15453,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15502,7 +15502,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15550,7 +15550,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15591,7 +15591,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15632,7 +15632,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15680,7 +15680,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15729,7 +15729,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15777,7 +15777,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15818,7 +15818,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15859,7 +15859,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15907,7 +15907,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15956,7 +15956,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16004,7 +16004,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16045,7 +16045,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16086,7 +16086,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16134,7 +16134,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16183,7 +16183,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16231,7 +16231,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16271,7 +16271,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16313,7 +16313,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16354,7 +16354,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16402,7 +16402,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16451,7 +16451,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16499,7 +16499,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16540,7 +16540,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16581,7 +16581,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16629,7 +16629,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16678,7 +16678,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16726,7 +16726,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16767,7 +16767,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16808,7 +16808,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16856,7 +16856,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16905,7 +16905,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16953,7 +16953,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16994,7 +16994,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17035,7 +17035,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17083,7 +17083,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17132,7 +17132,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17180,7 +17180,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17221,7 +17221,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17262,7 +17262,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17310,7 +17310,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17359,7 +17359,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17407,7 +17407,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17448,7 +17448,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17489,7 +17489,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17537,7 +17537,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17586,7 +17586,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17634,7 +17634,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17675,7 +17675,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17716,7 +17716,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17764,7 +17764,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17813,7 +17813,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17861,7 +17861,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17902,7 +17902,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17943,7 +17943,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17991,7 +17991,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18040,7 +18040,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18088,7 +18088,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18128,7 +18128,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18170,7 +18170,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18211,7 +18211,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18259,7 +18259,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18308,7 +18308,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18356,7 +18356,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18397,7 +18397,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18438,7 +18438,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18486,7 +18486,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18535,7 +18535,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18583,7 +18583,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18624,7 +18624,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18665,7 +18665,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18713,7 +18713,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18762,7 +18762,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18810,7 +18810,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18851,7 +18851,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18892,7 +18892,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18940,7 +18940,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18989,7 +18989,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19037,7 +19037,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19078,7 +19078,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19119,7 +19119,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19167,7 +19167,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19216,7 +19216,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19264,7 +19264,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19305,7 +19305,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19346,7 +19346,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19394,7 +19394,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19443,7 +19443,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19491,7 +19491,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19532,7 +19532,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19573,7 +19573,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19621,7 +19621,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19670,7 +19670,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19718,7 +19718,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19759,7 +19759,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19800,7 +19800,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19848,7 +19848,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19897,7 +19897,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19945,7 +19945,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19985,7 +19985,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20027,7 +20027,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20068,7 +20068,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20116,7 +20116,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20165,7 +20165,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20213,7 +20213,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20254,7 +20254,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20295,7 +20295,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20343,7 +20343,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20392,7 +20392,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20440,7 +20440,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20481,7 +20481,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20522,7 +20522,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20570,7 +20570,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20619,7 +20619,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20667,7 +20667,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20708,7 +20708,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20749,7 +20749,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20797,7 +20797,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20846,7 +20846,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20894,7 +20894,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20935,7 +20935,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20976,7 +20976,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21024,7 +21024,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21073,7 +21073,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21121,7 +21121,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21162,7 +21162,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21203,7 +21203,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21251,7 +21251,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21300,7 +21300,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21348,7 +21348,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21389,7 +21389,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21430,7 +21430,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21478,7 +21478,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21527,7 +21527,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21575,7 +21575,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21616,7 +21616,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21657,7 +21657,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21705,7 +21705,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21754,7 +21754,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21802,7 +21802,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21842,7 +21842,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21884,7 +21884,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21925,7 +21925,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21973,7 +21973,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22022,7 +22022,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22070,7 +22070,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22111,7 +22111,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22152,7 +22152,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22200,7 +22200,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22249,7 +22249,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22297,7 +22297,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22338,7 +22338,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22379,7 +22379,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22427,7 +22427,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22476,7 +22476,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22524,7 +22524,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22564,7 +22564,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22605,7 +22605,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22646,7 +22646,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22687,7 +22687,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22728,7 +22728,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22769,7 +22769,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22813,7 +22813,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22852,7 +22852,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22894,7 +22894,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22936,7 +22936,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22977,7 +22977,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23016,7 +23016,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23058,7 +23058,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23100,7 +23100,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23141,7 +23141,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23181,7 +23181,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23223,7 +23223,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23266,7 +23266,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23307,7 +23307,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23347,7 +23347,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23389,7 +23389,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23432,7 +23432,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23473,7 +23473,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23513,7 +23513,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23555,7 +23555,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23598,7 +23598,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23639,7 +23639,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23679,7 +23679,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23721,7 +23721,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23764,7 +23764,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23805,7 +23805,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23845,7 +23845,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23887,7 +23887,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23930,7 +23930,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23971,7 +23971,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24011,7 +24011,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24053,7 +24053,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24096,7 +24096,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24137,7 +24137,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24177,7 +24177,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24219,7 +24219,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24262,7 +24262,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24303,7 +24303,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24343,7 +24343,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24385,7 +24385,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24428,7 +24428,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24469,7 +24469,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24509,7 +24509,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24551,7 +24551,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24594,7 +24594,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24635,7 +24635,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24675,7 +24675,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24717,7 +24717,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24760,7 +24760,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24801,7 +24801,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24840,7 +24840,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24882,7 +24882,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24924,7 +24924,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24965,7 +24965,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25004,7 +25004,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25046,7 +25046,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25088,7 +25088,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25129,7 +25129,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25169,7 +25169,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25211,7 +25211,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25254,7 +25254,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25295,7 +25295,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25335,7 +25335,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25377,7 +25377,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25420,7 +25420,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25461,7 +25461,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25501,7 +25501,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25543,7 +25543,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25586,7 +25586,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25627,7 +25627,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25667,7 +25667,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25709,7 +25709,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25752,7 +25752,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25793,7 +25793,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25833,7 +25833,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25875,7 +25875,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25918,7 +25918,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25959,7 +25959,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -25999,7 +25999,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26041,7 +26041,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26084,7 +26084,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26125,7 +26125,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26165,7 +26165,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26207,7 +26207,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26250,7 +26250,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26291,7 +26291,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26331,7 +26331,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26373,7 +26373,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26416,7 +26416,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26457,7 +26457,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26497,7 +26497,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26539,7 +26539,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26582,7 +26582,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26623,7 +26623,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26663,7 +26663,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26705,7 +26705,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26748,7 +26748,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26789,7 +26789,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26830,7 +26830,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26878,7 +26878,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26927,7 +26927,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -26975,7 +26975,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27016,7 +27016,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27057,7 +27057,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27105,7 +27105,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27154,7 +27154,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27202,7 +27202,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27243,7 +27243,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27284,7 +27284,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27332,7 +27332,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27381,7 +27381,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27429,7 +27429,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27470,7 +27470,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27511,7 +27511,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27559,7 +27559,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27608,7 +27608,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27656,7 +27656,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27697,7 +27697,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27738,7 +27738,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27786,7 +27786,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27835,7 +27835,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27883,7 +27883,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27923,7 +27923,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27965,7 +27965,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28006,7 +28006,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28054,7 +28054,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28103,7 +28103,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28151,7 +28151,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28192,7 +28192,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28233,7 +28233,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28281,7 +28281,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28330,7 +28330,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28378,7 +28378,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28419,7 +28419,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28460,7 +28460,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28508,7 +28508,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28557,7 +28557,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28605,7 +28605,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28645,7 +28645,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28687,7 +28687,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28727,7 +28727,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28775,7 +28775,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28823,7 +28823,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28870,7 +28870,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28911,7 +28911,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28951,7 +28951,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -28999,7 +28999,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29047,7 +29047,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29094,7 +29094,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29135,7 +29135,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29175,7 +29175,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29223,7 +29223,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29271,7 +29271,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29318,7 +29318,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29359,7 +29359,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29399,7 +29399,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29447,7 +29447,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29495,7 +29495,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29542,7 +29542,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29583,7 +29583,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29623,7 +29623,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29671,7 +29671,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29719,7 +29719,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29766,7 +29766,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29806,7 +29806,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29848,7 +29848,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29888,7 +29888,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29936,7 +29936,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -29984,7 +29984,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30031,7 +30031,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30072,7 +30072,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30112,7 +30112,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30160,7 +30160,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30208,7 +30208,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30255,7 +30255,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30296,7 +30296,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30336,7 +30336,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30384,7 +30384,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30432,7 +30432,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30479,7 +30479,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30519,7 +30519,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30561,7 +30561,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30602,7 +30602,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30650,7 +30650,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30699,7 +30699,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30747,7 +30747,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30788,7 +30788,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30829,7 +30829,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30877,7 +30877,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30926,7 +30926,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -30974,7 +30974,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31015,7 +31015,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31056,7 +31056,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31104,7 +31104,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31153,7 +31153,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31201,7 +31201,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31242,7 +31242,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31283,7 +31283,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31331,7 +31331,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31380,7 +31380,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31428,7 +31428,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31469,7 +31469,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31510,7 +31510,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31558,7 +31558,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31607,7 +31607,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31655,7 +31655,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31695,7 +31695,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31737,7 +31737,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31778,7 +31778,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31826,7 +31826,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31875,7 +31875,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31923,7 +31923,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -31964,7 +31964,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32005,7 +32005,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32053,7 +32053,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32102,7 +32102,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32150,7 +32150,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32191,7 +32191,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32232,7 +32232,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32280,7 +32280,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32329,7 +32329,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32377,7 +32377,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32417,7 +32417,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32459,7 +32459,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32500,7 +32500,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32548,7 +32548,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32597,7 +32597,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32645,7 +32645,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32686,7 +32686,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32727,7 +32727,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32775,7 +32775,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32824,7 +32824,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32872,7 +32872,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32913,7 +32913,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -32954,7 +32954,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33002,7 +33002,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33051,7 +33051,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33099,7 +33099,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33140,7 +33140,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33181,7 +33181,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33229,7 +33229,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33278,7 +33278,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33326,7 +33326,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33367,7 +33367,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33408,7 +33408,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33456,7 +33456,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33505,7 +33505,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33553,7 +33553,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33593,7 +33593,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33635,7 +33635,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33676,7 +33676,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33724,7 +33724,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33773,7 +33773,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33821,7 +33821,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33862,7 +33862,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33903,7 +33903,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -33951,7 +33951,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34000,7 +34000,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34048,7 +34048,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34089,7 +34089,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34130,7 +34130,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34178,7 +34178,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34227,7 +34227,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34275,7 +34275,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34315,7 +34315,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34357,7 +34357,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34398,7 +34398,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34446,7 +34446,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34495,7 +34495,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34543,7 +34543,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34584,7 +34584,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34625,7 +34625,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34673,7 +34673,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34722,7 +34722,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34770,7 +34770,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34811,7 +34811,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34852,7 +34852,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34900,7 +34900,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34949,7 +34949,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -34997,7 +34997,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35038,7 +35038,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35079,7 +35079,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35127,7 +35127,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35176,7 +35176,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35224,7 +35224,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35265,7 +35265,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35306,7 +35306,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35354,7 +35354,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35403,7 +35403,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35451,7 +35451,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35491,7 +35491,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35533,7 +35533,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35574,7 +35574,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35622,7 +35622,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35671,7 +35671,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35719,7 +35719,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35760,7 +35760,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35801,7 +35801,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35849,7 +35849,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35898,7 +35898,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35946,7 +35946,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -35987,7 +35987,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36028,7 +36028,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36076,7 +36076,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36125,7 +36125,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36173,7 +36173,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36213,7 +36213,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36255,7 +36255,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36296,7 +36296,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36344,7 +36344,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36393,7 +36393,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36441,7 +36441,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36482,7 +36482,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36523,7 +36523,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36571,7 +36571,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36620,7 +36620,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36668,7 +36668,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36709,7 +36709,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36750,7 +36750,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36798,7 +36798,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36847,7 +36847,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36895,7 +36895,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36936,7 +36936,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -36977,7 +36977,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37025,7 +37025,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37074,7 +37074,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37122,7 +37122,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37163,7 +37163,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37204,7 +37204,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37252,7 +37252,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37301,7 +37301,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37349,7 +37349,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37389,7 +37389,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37431,7 +37431,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37472,7 +37472,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37520,7 +37520,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37569,7 +37569,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37617,7 +37617,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37658,7 +37658,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37699,7 +37699,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37747,7 +37747,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37796,7 +37796,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37844,7 +37844,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37885,7 +37885,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37926,7 +37926,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -37974,7 +37974,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38023,7 +38023,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38071,7 +38071,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38111,7 +38111,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38153,7 +38153,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38194,7 +38194,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38242,7 +38242,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38291,7 +38291,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38339,7 +38339,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38380,7 +38380,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38421,7 +38421,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38469,7 +38469,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38518,7 +38518,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38566,7 +38566,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38607,7 +38607,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38648,7 +38648,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38696,7 +38696,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38745,7 +38745,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38793,7 +38793,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38834,7 +38834,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38875,7 +38875,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38923,7 +38923,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -38972,7 +38972,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39020,7 +39020,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39061,7 +39061,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39102,7 +39102,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39150,7 +39150,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39199,7 +39199,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39247,7 +39247,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39287,7 +39287,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39329,7 +39329,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39370,7 +39370,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39418,7 +39418,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39467,7 +39467,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39515,7 +39515,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39556,7 +39556,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39597,7 +39597,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39645,7 +39645,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39694,7 +39694,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39742,7 +39742,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39783,7 +39783,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39824,7 +39824,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39872,7 +39872,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39921,7 +39921,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -39969,7 +39969,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40009,7 +40009,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40051,7 +40051,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40091,7 +40091,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40139,7 +40139,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40187,7 +40187,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40234,7 +40234,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40275,7 +40275,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40315,7 +40315,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40363,7 +40363,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40411,7 +40411,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40458,7 +40458,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40499,7 +40499,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40539,7 +40539,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40587,7 +40587,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40635,7 +40635,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40682,7 +40682,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40723,7 +40723,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40763,7 +40763,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40811,7 +40811,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40859,7 +40859,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40906,7 +40906,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40947,7 +40947,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -40987,7 +40987,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41035,7 +41035,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41083,7 +41083,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41130,7 +41130,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41170,7 +41170,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41212,7 +41212,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41252,7 +41252,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41300,7 +41300,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41348,7 +41348,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41395,7 +41395,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41436,7 +41436,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41476,7 +41476,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41524,7 +41524,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41572,7 +41572,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41619,7 +41619,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41660,7 +41660,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41700,7 +41700,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41748,7 +41748,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41796,7 +41796,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41843,7 +41843,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41883,7 +41883,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41925,7 +41925,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41966,7 +41966,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42014,7 +42014,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42063,7 +42063,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42111,7 +42111,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42152,7 +42152,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42193,7 +42193,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42241,7 +42241,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42290,7 +42290,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42338,7 +42338,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42379,7 +42379,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42420,7 +42420,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42468,7 +42468,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42517,7 +42517,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42565,7 +42565,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42606,7 +42606,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42647,7 +42647,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42695,7 +42695,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42744,7 +42744,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42792,7 +42792,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42833,7 +42833,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42874,7 +42874,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42922,7 +42922,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -42971,7 +42971,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43019,7 +43019,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43059,7 +43059,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43101,7 +43101,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43142,7 +43142,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43190,7 +43190,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43239,7 +43239,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43287,7 +43287,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43328,7 +43328,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43369,7 +43369,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43417,7 +43417,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43466,7 +43466,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43514,7 +43514,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43555,7 +43555,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43596,7 +43596,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43644,7 +43644,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43693,7 +43693,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43741,7 +43741,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43781,7 +43781,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43823,7 +43823,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43864,7 +43864,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43912,7 +43912,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43961,7 +43961,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44009,7 +44009,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44050,7 +44050,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44091,7 +44091,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44139,7 +44139,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44188,7 +44188,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44236,7 +44236,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44277,7 +44277,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44318,7 +44318,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44366,7 +44366,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44415,7 +44415,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44463,7 +44463,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44504,7 +44504,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44545,7 +44545,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44593,7 +44593,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44642,7 +44642,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44690,7 +44690,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44731,7 +44731,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44772,7 +44772,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44820,7 +44820,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44869,7 +44869,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44917,7 +44917,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44957,7 +44957,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -44999,7 +44999,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45040,7 +45040,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45088,7 +45088,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45137,7 +45137,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45185,7 +45185,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45226,7 +45226,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45267,7 +45267,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45315,7 +45315,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45364,7 +45364,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45412,7 +45412,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45453,7 +45453,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45494,7 +45494,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45542,7 +45542,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45591,7 +45591,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45639,7 +45639,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45679,7 +45679,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45721,7 +45721,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45762,7 +45762,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45810,7 +45810,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45859,7 +45859,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45907,7 +45907,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45948,7 +45948,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45989,7 +45989,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46037,7 +46037,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46086,7 +46086,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46134,7 +46134,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46175,7 +46175,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46216,7 +46216,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46264,7 +46264,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46313,7 +46313,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46361,7 +46361,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46402,7 +46402,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46443,7 +46443,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46491,7 +46491,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46540,7 +46540,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46588,7 +46588,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46629,7 +46629,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46670,7 +46670,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46718,7 +46718,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46767,7 +46767,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46815,7 +46815,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46855,7 +46855,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46897,7 +46897,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46938,7 +46938,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -46986,7 +46986,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47035,7 +47035,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47083,7 +47083,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47124,7 +47124,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47165,7 +47165,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47213,7 +47213,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47262,7 +47262,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47310,7 +47310,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47351,7 +47351,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47392,7 +47392,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47440,7 +47440,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47489,7 +47489,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47537,7 +47537,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47577,7 +47577,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47619,7 +47619,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47660,7 +47660,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47708,7 +47708,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47757,7 +47757,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47805,7 +47805,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47846,7 +47846,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47887,7 +47887,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47935,7 +47935,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -47984,7 +47984,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48032,7 +48032,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48073,7 +48073,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48114,7 +48114,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48162,7 +48162,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48211,7 +48211,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48259,7 +48259,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48300,7 +48300,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48341,7 +48341,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48389,7 +48389,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48438,7 +48438,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48486,7 +48486,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48527,7 +48527,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48568,7 +48568,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48616,7 +48616,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48665,7 +48665,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48713,7 +48713,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48753,7 +48753,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48795,7 +48795,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48836,7 +48836,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48884,7 +48884,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48933,7 +48933,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -48981,7 +48981,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49022,7 +49022,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49063,7 +49063,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49111,7 +49111,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49160,7 +49160,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49208,7 +49208,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49249,7 +49249,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49290,7 +49290,7 @@ Module num. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49338,7 +49338,7 @@ Module num. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49387,7 +49387,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49435,7 +49435,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49475,7 +49475,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49518,7 +49518,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49557,7 +49557,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49596,7 +49596,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49635,7 +49635,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49674,7 +49674,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49713,7 +49713,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49752,7 +49752,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49791,7 +49791,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49830,7 +49830,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49869,7 +49869,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49908,7 +49908,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49947,7 +49947,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49986,7 +49986,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50025,7 +50025,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50064,7 +50064,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50103,7 +50103,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50142,7 +50142,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50181,7 +50181,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50220,7 +50220,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50259,7 +50259,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50298,7 +50298,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50337,7 +50337,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50376,7 +50376,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50415,7 +50415,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50454,7 +50454,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50493,7 +50493,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50532,7 +50532,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50571,7 +50571,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50610,7 +50610,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50649,7 +50649,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50688,7 +50688,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50727,7 +50727,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50766,7 +50766,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50805,7 +50805,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50844,7 +50844,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50883,7 +50883,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50922,7 +50922,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50961,7 +50961,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51000,7 +51000,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51039,7 +51039,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51078,7 +51078,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51117,7 +51117,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51156,7 +51156,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51195,7 +51195,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51234,7 +51234,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51273,7 +51273,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51312,7 +51312,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51351,7 +51351,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51390,7 +51390,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51429,7 +51429,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51468,7 +51468,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51507,7 +51507,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51546,7 +51546,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51585,7 +51585,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51624,7 +51624,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51663,7 +51663,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51702,7 +51702,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51741,7 +51741,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51780,7 +51780,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51819,7 +51819,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51858,7 +51858,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51897,7 +51897,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51936,7 +51936,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -51975,7 +51975,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52014,7 +52014,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52053,7 +52053,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52092,7 +52092,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52131,7 +52131,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52170,7 +52170,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52209,7 +52209,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52248,7 +52248,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52287,7 +52287,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52326,7 +52326,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52365,7 +52365,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52404,7 +52404,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52443,7 +52443,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52482,7 +52482,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52521,7 +52521,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52560,7 +52560,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52599,7 +52599,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52638,7 +52638,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52677,7 +52677,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52716,7 +52716,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52755,7 +52755,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52794,7 +52794,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52833,7 +52833,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52872,7 +52872,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52911,7 +52911,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52950,7 +52950,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -52989,7 +52989,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53028,7 +53028,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53067,7 +53067,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53106,7 +53106,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53145,7 +53145,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53184,7 +53184,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53223,7 +53223,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53262,7 +53262,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53301,7 +53301,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53340,7 +53340,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53379,7 +53379,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53418,7 +53418,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53457,7 +53457,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53496,7 +53496,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53535,7 +53535,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53574,7 +53574,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53613,7 +53613,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53652,7 +53652,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53691,7 +53691,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53730,7 +53730,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53769,7 +53769,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53808,7 +53808,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53847,7 +53847,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53886,7 +53886,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53925,7 +53925,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53964,7 +53964,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54003,7 +54003,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54042,7 +54042,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54081,7 +54081,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54120,7 +54120,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54159,7 +54159,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54198,7 +54198,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54237,7 +54237,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54276,7 +54276,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54315,7 +54315,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54354,7 +54354,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54393,7 +54393,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54432,7 +54432,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54471,7 +54471,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54510,7 +54510,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54549,7 +54549,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54588,7 +54588,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54627,7 +54627,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54666,7 +54666,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54705,7 +54705,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54744,7 +54744,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54783,7 +54783,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54822,7 +54822,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54861,7 +54861,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54900,7 +54900,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54939,7 +54939,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54978,7 +54978,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55017,7 +55017,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55056,7 +55056,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55095,7 +55095,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55134,7 +55134,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55173,7 +55173,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55212,7 +55212,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55251,7 +55251,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55290,7 +55290,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55329,7 +55329,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55368,7 +55368,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55407,7 +55407,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55446,7 +55446,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55485,7 +55485,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55524,7 +55524,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55563,7 +55563,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55602,7 +55602,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55641,7 +55641,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55680,7 +55680,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55719,7 +55719,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55758,7 +55758,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55797,7 +55797,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55836,7 +55836,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55875,7 +55875,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55914,7 +55914,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55953,7 +55953,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55992,7 +55992,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56031,7 +56031,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56070,7 +56070,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56109,7 +56109,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56148,7 +56148,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56187,7 +56187,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56226,7 +56226,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56265,7 +56265,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56304,7 +56304,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56343,7 +56343,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56382,7 +56382,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56421,7 +56421,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56460,7 +56460,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56499,7 +56499,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56538,7 +56538,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56577,7 +56577,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56616,7 +56616,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56655,7 +56655,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56694,7 +56694,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56733,7 +56733,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56772,7 +56772,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56811,7 +56811,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56850,7 +56850,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56889,7 +56889,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56928,7 +56928,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56967,7 +56967,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57006,7 +57006,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57045,7 +57045,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57084,7 +57084,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57123,7 +57123,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57162,7 +57162,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57201,7 +57201,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57240,7 +57240,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57279,7 +57279,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57318,7 +57318,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57357,7 +57357,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57396,7 +57396,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57435,7 +57435,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57474,7 +57474,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57513,7 +57513,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57552,7 +57552,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57591,7 +57591,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57630,7 +57630,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57669,7 +57669,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57701,7 +57701,7 @@ Module ops. M.get_trait_method (| "core::ops::arith::Neg", Ty.path "isize", [], "neg", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57733,7 +57733,7 @@ Module ops. M.get_trait_method (| "core::ops::arith::Neg", Ty.path "i8", [], "neg", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57765,7 +57765,7 @@ Module ops. M.get_trait_method (| "core::ops::arith::Neg", Ty.path "i16", [], "neg", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57797,7 +57797,7 @@ Module ops. M.get_trait_method (| "core::ops::arith::Neg", Ty.path "i32", [], "neg", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57829,7 +57829,7 @@ Module ops. M.get_trait_method (| "core::ops::arith::Neg", Ty.path "i64", [], "neg", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57861,7 +57861,7 @@ Module ops. M.get_trait_method (| "core::ops::arith::Neg", Ty.path "i128", [], "neg", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57893,7 +57893,7 @@ Module ops. M.get_trait_method (| "core::ops::arith::Neg", Ty.path "f32", [], "neg", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57925,7 +57925,7 @@ Module ops. M.get_trait_method (| "core::ops::arith::Neg", Ty.path "f64", [], "neg", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57967,7 +57967,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58008,7 +58008,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58049,7 +58049,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58090,7 +58090,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58131,7 +58131,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58172,7 +58172,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58213,7 +58213,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58254,7 +58254,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58295,7 +58295,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58336,7 +58336,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58377,7 +58377,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58418,7 +58418,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58459,7 +58459,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58500,7 +58500,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58541,7 +58541,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58582,7 +58582,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58623,7 +58623,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58664,7 +58664,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58705,7 +58705,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58746,7 +58746,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58787,7 +58787,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58828,7 +58828,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58869,7 +58869,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58910,7 +58910,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58951,7 +58951,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -58992,7 +58992,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59033,7 +59033,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59074,7 +59074,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59115,7 +59115,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59156,7 +59156,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59197,7 +59197,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59238,7 +59238,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59279,7 +59279,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59320,7 +59320,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59361,7 +59361,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59402,7 +59402,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59443,7 +59443,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59484,7 +59484,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59525,7 +59525,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59566,7 +59566,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59607,7 +59607,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59648,7 +59648,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59689,7 +59689,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59730,7 +59730,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59771,7 +59771,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59812,7 +59812,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59853,7 +59853,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59894,7 +59894,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59935,7 +59935,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -59976,7 +59976,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60017,7 +60017,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60058,7 +60058,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60099,7 +60099,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60140,7 +60140,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60181,7 +60181,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60222,7 +60222,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60263,7 +60263,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60304,7 +60304,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60345,7 +60345,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60386,7 +60386,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60427,7 +60427,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60468,7 +60468,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60509,7 +60509,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60550,7 +60550,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60591,7 +60591,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60632,7 +60632,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60673,7 +60673,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60714,7 +60714,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60755,7 +60755,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60796,7 +60796,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60829,7 +60829,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "bool", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60861,7 +60861,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "usize", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60893,7 +60893,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "u8", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60925,7 +60925,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "u16", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60957,7 +60957,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "u32", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -60989,7 +60989,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "u64", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61021,7 +61021,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "u128", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61053,7 +61053,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "isize", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61085,7 +61085,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "i8", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61117,7 +61117,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "i16", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61149,7 +61149,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "i32", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61181,7 +61181,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "i64", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61213,7 +61213,7 @@ Module ops. M.get_trait_method (| "core::ops::bit::Not", Ty.path "i128", [], "not", [] |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61252,7 +61252,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61291,7 +61291,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61330,7 +61330,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61369,7 +61369,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61408,7 +61408,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61447,7 +61447,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61486,7 +61486,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61525,7 +61525,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61564,7 +61564,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61603,7 +61603,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61642,7 +61642,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61681,7 +61681,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61720,7 +61720,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61759,7 +61759,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61798,7 +61798,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61837,7 +61837,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61876,7 +61876,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61915,7 +61915,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61954,7 +61954,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -61993,7 +61993,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62032,7 +62032,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62071,7 +62071,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62110,7 +62110,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62149,7 +62149,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62188,7 +62188,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62227,7 +62227,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62266,7 +62266,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62305,7 +62305,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62344,7 +62344,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62383,7 +62383,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62422,7 +62422,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62461,7 +62461,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62500,7 +62500,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62539,7 +62539,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62578,7 +62578,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62617,7 +62617,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62656,7 +62656,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62695,7 +62695,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62734,7 +62734,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62773,7 +62773,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62812,7 +62812,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62851,7 +62851,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62890,7 +62890,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62929,7 +62929,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -62968,7 +62968,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63007,7 +63007,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63046,7 +63046,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63085,7 +63085,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63124,7 +63124,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63163,7 +63163,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63202,7 +63202,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63241,7 +63241,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63280,7 +63280,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63319,7 +63319,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63358,7 +63358,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63397,7 +63397,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63436,7 +63436,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63475,7 +63475,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63514,7 +63514,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63553,7 +63553,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63592,7 +63592,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63631,7 +63631,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63670,7 +63670,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63709,7 +63709,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63748,7 +63748,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63787,7 +63787,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63826,7 +63826,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63865,7 +63865,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63904,7 +63904,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63943,7 +63943,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63982,7 +63982,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64021,7 +64021,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64060,7 +64060,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64099,7 +64099,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64138,7 +64138,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64177,7 +64177,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64216,7 +64216,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64255,7 +64255,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64294,7 +64294,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64333,7 +64333,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64372,7 +64372,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64411,7 +64411,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64450,7 +64450,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64489,7 +64489,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64528,7 +64528,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64567,7 +64567,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64606,7 +64606,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64645,7 +64645,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64684,7 +64684,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64723,7 +64723,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64762,7 +64762,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64801,7 +64801,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64840,7 +64840,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64879,7 +64879,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64918,7 +64918,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64957,7 +64957,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64996,7 +64996,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65035,7 +65035,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65074,7 +65074,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65113,7 +65113,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65152,7 +65152,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65191,7 +65191,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65230,7 +65230,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65269,7 +65269,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65308,7 +65308,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65347,7 +65347,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65386,7 +65386,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65425,7 +65425,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65464,7 +65464,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65503,7 +65503,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65542,7 +65542,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65581,7 +65581,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65620,7 +65620,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65659,7 +65659,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65698,7 +65698,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65737,7 +65737,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65776,7 +65776,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65815,7 +65815,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65854,7 +65854,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65893,7 +65893,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65932,7 +65932,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -65971,7 +65971,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66010,7 +66010,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66049,7 +66049,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66088,7 +66088,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66127,7 +66127,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66166,7 +66166,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66205,7 +66205,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66244,7 +66244,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66283,7 +66283,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66322,7 +66322,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66361,7 +66361,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66400,7 +66400,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66439,7 +66439,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66478,7 +66478,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66517,7 +66517,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66556,7 +66556,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66595,7 +66595,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66634,7 +66634,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66673,7 +66673,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66712,7 +66712,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66751,7 +66751,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66790,7 +66790,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66829,7 +66829,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66868,7 +66868,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66907,7 +66907,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66946,7 +66946,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -66985,7 +66985,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67024,7 +67024,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67063,7 +67063,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67102,7 +67102,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67141,7 +67141,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67180,7 +67180,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67219,7 +67219,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67258,7 +67258,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67297,7 +67297,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67336,7 +67336,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67375,7 +67375,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67414,7 +67414,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67453,7 +67453,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67492,7 +67492,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67531,7 +67531,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67570,7 +67570,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67609,7 +67609,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67648,7 +67648,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67687,7 +67687,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67726,7 +67726,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67765,7 +67765,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67804,7 +67804,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67843,7 +67843,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67882,7 +67882,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67921,7 +67921,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67960,7 +67960,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67999,7 +67999,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68038,7 +68038,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68077,7 +68077,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68116,7 +68116,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68155,7 +68155,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68194,7 +68194,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68233,7 +68233,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68272,7 +68272,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68311,7 +68311,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68350,7 +68350,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68389,7 +68389,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68428,7 +68428,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68467,7 +68467,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68506,7 +68506,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68545,7 +68545,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68584,7 +68584,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68623,7 +68623,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68662,7 +68662,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68701,7 +68701,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68740,7 +68740,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68779,7 +68779,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68818,7 +68818,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68857,7 +68857,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68896,7 +68896,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68935,7 +68935,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68974,7 +68974,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69013,7 +69013,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69052,7 +69052,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69091,7 +69091,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69130,7 +69130,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69169,7 +69169,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69208,7 +69208,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69247,7 +69247,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69286,7 +69286,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69325,7 +69325,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69364,7 +69364,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69403,7 +69403,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69442,7 +69442,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69481,7 +69481,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69520,7 +69520,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69559,7 +69559,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69598,7 +69598,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69637,7 +69637,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69676,7 +69676,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69715,7 +69715,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69754,7 +69754,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69793,7 +69793,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69832,7 +69832,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69871,7 +69871,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69910,7 +69910,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69949,7 +69949,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -69988,7 +69988,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70027,7 +70027,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70066,7 +70066,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70105,7 +70105,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70144,7 +70144,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70183,7 +70183,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70222,7 +70222,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70261,7 +70261,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70300,7 +70300,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70339,7 +70339,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70378,7 +70378,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70417,7 +70417,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70456,7 +70456,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70495,7 +70495,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70534,7 +70534,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70573,7 +70573,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70612,7 +70612,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70651,7 +70651,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70690,7 +70690,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70729,7 +70729,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70768,7 +70768,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70807,7 +70807,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70846,7 +70846,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70885,7 +70885,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70924,7 +70924,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70963,7 +70963,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71002,7 +71002,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71041,7 +71041,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71080,7 +71080,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71119,7 +71119,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71158,7 +71158,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71197,7 +71197,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71236,7 +71236,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71275,7 +71275,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71314,7 +71314,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71353,7 +71353,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71392,7 +71392,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71431,7 +71431,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71470,7 +71470,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71509,7 +71509,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71548,7 +71548,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71587,7 +71587,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71626,7 +71626,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71665,7 +71665,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71704,7 +71704,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71743,7 +71743,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71782,7 +71782,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71821,7 +71821,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71860,7 +71860,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71899,7 +71899,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71938,7 +71938,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71977,7 +71977,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72016,7 +72016,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72055,7 +72055,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72094,7 +72094,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72133,7 +72133,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72172,7 +72172,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72211,7 +72211,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72250,7 +72250,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72289,7 +72289,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72328,7 +72328,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72367,7 +72367,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72406,7 +72406,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72445,7 +72445,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72484,7 +72484,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72523,7 +72523,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72562,7 +72562,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72601,7 +72601,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72640,7 +72640,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72679,7 +72679,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72718,7 +72718,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72757,7 +72757,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72796,7 +72796,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72835,7 +72835,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72874,7 +72874,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72913,7 +72913,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72952,7 +72952,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72991,7 +72991,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73030,7 +73030,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73069,7 +73069,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73108,7 +73108,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73147,7 +73147,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73186,7 +73186,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73225,7 +73225,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73264,7 +73264,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73303,7 +73303,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73342,7 +73342,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73381,7 +73381,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73420,7 +73420,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73459,7 +73459,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73498,7 +73498,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73537,7 +73537,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73576,7 +73576,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73615,7 +73615,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73654,7 +73654,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73693,7 +73693,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73732,7 +73732,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73771,7 +73771,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73810,7 +73810,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73849,7 +73849,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73888,7 +73888,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73927,7 +73927,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73966,7 +73966,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74005,7 +74005,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74044,7 +74044,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74083,7 +74083,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74122,7 +74122,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74161,7 +74161,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74200,7 +74200,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74239,7 +74239,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74278,7 +74278,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74317,7 +74317,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74356,7 +74356,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74395,7 +74395,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74434,7 +74434,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74473,7 +74473,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74512,7 +74512,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74551,7 +74551,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74590,7 +74590,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74629,7 +74629,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74668,7 +74668,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74707,7 +74707,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74746,7 +74746,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74785,7 +74785,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74824,7 +74824,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74863,7 +74863,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74902,7 +74902,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74941,7 +74941,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74980,7 +74980,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75019,7 +75019,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75058,7 +75058,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75097,7 +75097,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75136,7 +75136,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75175,7 +75175,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75214,7 +75214,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75253,7 +75253,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75292,7 +75292,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75331,7 +75331,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75370,7 +75370,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75409,7 +75409,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75448,7 +75448,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75487,7 +75487,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75526,7 +75526,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75565,7 +75565,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75604,7 +75604,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75643,7 +75643,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75682,7 +75682,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75721,7 +75721,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75760,7 +75760,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75799,7 +75799,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75838,7 +75838,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75877,7 +75877,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75916,7 +75916,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75955,7 +75955,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75994,7 +75994,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76033,7 +76033,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76072,7 +76072,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76111,7 +76111,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76150,7 +76150,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76189,7 +76189,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76228,7 +76228,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76267,7 +76267,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76306,7 +76306,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76345,7 +76345,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76384,7 +76384,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76423,7 +76423,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76462,7 +76462,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76501,7 +76501,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76540,7 +76540,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76579,7 +76579,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76618,7 +76618,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76657,7 +76657,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76696,7 +76696,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76735,7 +76735,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76774,7 +76774,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76813,7 +76813,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76852,7 +76852,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76891,7 +76891,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76930,7 +76930,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76969,7 +76969,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77008,7 +77008,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77047,7 +77047,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77086,7 +77086,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77125,7 +77125,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77164,7 +77164,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77203,7 +77203,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77242,7 +77242,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77281,7 +77281,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77320,7 +77320,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77359,7 +77359,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77398,7 +77398,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77437,7 +77437,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77476,7 +77476,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77515,7 +77515,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77554,7 +77554,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77593,7 +77593,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77632,7 +77632,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77671,7 +77671,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77710,7 +77710,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77749,7 +77749,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77788,7 +77788,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77827,7 +77827,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77866,7 +77866,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77905,7 +77905,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77944,7 +77944,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77983,7 +77983,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78022,7 +78022,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78061,7 +78061,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78100,7 +78100,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78139,7 +78139,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78178,7 +78178,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78217,7 +78217,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78256,7 +78256,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78295,7 +78295,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78334,7 +78334,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78373,7 +78373,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78412,7 +78412,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78451,7 +78451,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78490,7 +78490,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78529,7 +78529,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78568,7 +78568,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78607,7 +78607,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78646,7 +78646,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78685,7 +78685,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78724,7 +78724,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78763,7 +78763,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78802,7 +78802,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78841,7 +78841,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78880,7 +78880,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78919,7 +78919,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78958,7 +78958,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78997,7 +78997,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79036,7 +79036,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79075,7 +79075,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79114,7 +79114,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79153,7 +79153,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79192,7 +79192,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79231,7 +79231,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79270,7 +79270,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79309,7 +79309,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79348,7 +79348,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79387,7 +79387,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79426,7 +79426,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79465,7 +79465,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79504,7 +79504,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79543,7 +79543,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79582,7 +79582,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79621,7 +79621,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79660,7 +79660,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79699,7 +79699,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79738,7 +79738,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79777,7 +79777,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79816,7 +79816,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79855,7 +79855,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79894,7 +79894,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79933,7 +79933,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79972,7 +79972,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80011,7 +80011,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80050,7 +80050,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80089,7 +80089,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80128,7 +80128,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80167,7 +80167,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80206,7 +80206,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80245,7 +80245,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80284,7 +80284,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80323,7 +80323,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80362,7 +80362,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80401,7 +80401,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80440,7 +80440,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80479,7 +80479,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80518,7 +80518,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80557,7 +80557,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80596,7 +80596,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80635,7 +80635,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80674,7 +80674,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80713,7 +80713,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80752,7 +80752,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80791,7 +80791,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80830,7 +80830,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80869,7 +80869,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80908,7 +80908,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80947,7 +80947,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80986,7 +80986,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81025,7 +81025,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81064,7 +81064,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81103,7 +81103,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81142,7 +81142,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81181,7 +81181,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81220,7 +81220,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81259,7 +81259,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81298,7 +81298,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81337,7 +81337,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81376,7 +81376,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81415,7 +81415,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81454,7 +81454,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81493,7 +81493,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81532,7 +81532,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81571,7 +81571,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81610,7 +81610,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81649,7 +81649,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81688,7 +81688,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81727,7 +81727,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81766,7 +81766,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81805,7 +81805,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81844,7 +81844,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81883,7 +81883,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81922,7 +81922,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81961,7 +81961,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82000,7 +82000,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82039,7 +82039,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82078,7 +82078,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82117,7 +82117,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82156,7 +82156,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82195,7 +82195,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82234,7 +82234,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82273,7 +82273,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82312,7 +82312,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82351,7 +82351,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82390,7 +82390,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82429,7 +82429,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82468,7 +82468,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82507,7 +82507,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82546,7 +82546,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82585,7 +82585,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82624,7 +82624,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82663,7 +82663,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82702,7 +82702,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82741,7 +82741,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82780,7 +82780,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82819,7 +82819,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82858,7 +82858,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82897,7 +82897,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82936,7 +82936,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82975,7 +82975,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83014,7 +83014,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83053,7 +83053,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83092,7 +83092,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83131,7 +83131,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83170,7 +83170,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83209,7 +83209,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83248,7 +83248,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83287,7 +83287,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83326,7 +83326,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83365,7 +83365,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83404,7 +83404,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83443,7 +83443,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83482,7 +83482,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83521,7 +83521,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83560,7 +83560,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83599,7 +83599,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83638,7 +83638,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83677,7 +83677,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83716,7 +83716,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83755,7 +83755,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83794,7 +83794,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83833,7 +83833,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83872,7 +83872,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83911,7 +83911,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83950,7 +83950,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -83989,7 +83989,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84028,7 +84028,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84067,7 +84067,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84106,7 +84106,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84145,7 +84145,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84184,7 +84184,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84223,7 +84223,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84262,7 +84262,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84301,7 +84301,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84340,7 +84340,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84379,7 +84379,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84418,7 +84418,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84457,7 +84457,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84496,7 +84496,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84535,7 +84535,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84574,7 +84574,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84613,7 +84613,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84652,7 +84652,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84691,7 +84691,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84730,7 +84730,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84769,7 +84769,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84808,7 +84808,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84847,7 +84847,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84886,7 +84886,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84925,7 +84925,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84964,7 +84964,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85003,7 +85003,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85042,7 +85042,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85081,7 +85081,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85120,7 +85120,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85159,7 +85159,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85198,7 +85198,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85237,7 +85237,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85276,7 +85276,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85315,7 +85315,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85354,7 +85354,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85393,7 +85393,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85432,7 +85432,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85471,7 +85471,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85510,7 +85510,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85549,7 +85549,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85588,7 +85588,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85627,7 +85627,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85666,7 +85666,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85705,7 +85705,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85744,7 +85744,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85783,7 +85783,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85822,7 +85822,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85861,7 +85861,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85900,7 +85900,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85939,7 +85939,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -85978,7 +85978,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86017,7 +86017,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86056,7 +86056,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86095,7 +86095,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86134,7 +86134,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86173,7 +86173,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86212,7 +86212,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86251,7 +86251,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86290,7 +86290,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86329,7 +86329,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86368,7 +86368,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86407,7 +86407,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86446,7 +86446,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86485,7 +86485,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86524,7 +86524,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86563,7 +86563,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86602,7 +86602,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86641,7 +86641,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86680,7 +86680,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86719,7 +86719,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86758,7 +86758,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86797,7 +86797,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86836,7 +86836,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86875,7 +86875,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86914,7 +86914,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86953,7 +86953,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86992,7 +86992,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87031,7 +87031,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87070,7 +87070,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87109,7 +87109,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87148,7 +87148,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87187,7 +87187,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87226,7 +87226,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87265,7 +87265,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87304,7 +87304,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87343,7 +87343,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87382,7 +87382,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87421,7 +87421,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87460,7 +87460,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87499,7 +87499,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87538,7 +87538,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87577,7 +87577,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87616,7 +87616,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87655,7 +87655,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87694,7 +87694,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87733,7 +87733,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87772,7 +87772,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87811,7 +87811,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87850,7 +87850,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87889,7 +87889,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87928,7 +87928,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -87967,7 +87967,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88006,7 +88006,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88045,7 +88045,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88084,7 +88084,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88123,7 +88123,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88162,7 +88162,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88201,7 +88201,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88240,7 +88240,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88279,7 +88279,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88318,7 +88318,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88357,7 +88357,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88396,7 +88396,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88435,7 +88435,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88474,7 +88474,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88513,7 +88513,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88552,7 +88552,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88591,7 +88591,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88630,7 +88630,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88669,7 +88669,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88708,7 +88708,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88747,7 +88747,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88786,7 +88786,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88825,7 +88825,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88864,7 +88864,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88903,7 +88903,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88942,7 +88942,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88981,7 +88981,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89020,7 +89020,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89059,7 +89059,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89098,7 +89098,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89137,7 +89137,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89176,7 +89176,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89215,7 +89215,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89254,7 +89254,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89293,7 +89293,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89332,7 +89332,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89371,7 +89371,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89410,7 +89410,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89449,7 +89449,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89488,7 +89488,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89527,7 +89527,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89566,7 +89566,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89605,7 +89605,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89644,7 +89644,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89683,7 +89683,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89722,7 +89722,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89761,7 +89761,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89800,7 +89800,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89839,7 +89839,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89878,7 +89878,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89917,7 +89917,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89956,7 +89956,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89995,7 +89995,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90034,7 +90034,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90073,7 +90073,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90112,7 +90112,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90151,7 +90151,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90190,7 +90190,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90229,7 +90229,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90268,7 +90268,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90307,7 +90307,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90346,7 +90346,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90385,7 +90385,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90424,7 +90424,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90463,7 +90463,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90502,7 +90502,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90541,7 +90541,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90580,7 +90580,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90619,7 +90619,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90658,7 +90658,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90697,7 +90697,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90736,7 +90736,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90775,7 +90775,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90814,7 +90814,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90853,7 +90853,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90892,7 +90892,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90931,7 +90931,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -90970,7 +90970,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91009,7 +91009,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91048,7 +91048,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91087,7 +91087,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91126,7 +91126,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91165,7 +91165,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91204,7 +91204,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91243,7 +91243,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91282,7 +91282,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91321,7 +91321,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91360,7 +91360,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91399,7 +91399,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91438,7 +91438,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91477,7 +91477,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91516,7 +91516,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91555,7 +91555,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91594,7 +91594,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91633,7 +91633,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91672,7 +91672,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91711,7 +91711,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91750,7 +91750,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91789,7 +91789,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91828,7 +91828,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91867,7 +91867,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91906,7 +91906,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91945,7 +91945,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91984,7 +91984,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92023,7 +92023,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92062,7 +92062,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92101,7 +92101,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92140,7 +92140,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92179,7 +92179,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92218,7 +92218,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92257,7 +92257,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92296,7 +92296,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92335,7 +92335,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92374,7 +92374,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92413,7 +92413,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92452,7 +92452,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92491,7 +92491,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92530,7 +92530,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92569,7 +92569,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92608,7 +92608,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92647,7 +92647,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92686,7 +92686,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92725,7 +92725,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92764,7 +92764,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92803,7 +92803,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92842,7 +92842,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92881,7 +92881,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92920,7 +92920,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92959,7 +92959,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92998,7 +92998,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93037,7 +93037,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93076,7 +93076,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93115,7 +93115,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93154,7 +93154,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93193,7 +93193,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93232,7 +93232,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93271,7 +93271,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93310,7 +93310,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93349,7 +93349,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93388,7 +93388,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93427,7 +93427,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93466,7 +93466,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93505,7 +93505,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93544,7 +93544,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93583,7 +93583,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93622,7 +93622,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93661,7 +93661,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93700,7 +93700,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93739,7 +93739,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93778,7 +93778,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93817,7 +93817,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93856,7 +93856,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93895,7 +93895,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93934,7 +93934,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93973,7 +93973,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94012,7 +94012,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94051,7 +94051,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94090,7 +94090,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94129,7 +94129,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94168,7 +94168,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94207,7 +94207,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94246,7 +94246,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94285,7 +94285,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94324,7 +94324,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94363,7 +94363,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94402,7 +94402,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94441,7 +94441,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94480,7 +94480,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94519,7 +94519,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94558,7 +94558,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94597,7 +94597,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94636,7 +94636,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94675,7 +94675,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94714,7 +94714,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94753,7 +94753,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94792,7 +94792,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94831,7 +94831,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94870,7 +94870,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94909,7 +94909,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94948,7 +94948,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94987,7 +94987,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95026,7 +95026,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95065,7 +95065,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95104,7 +95104,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95143,7 +95143,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95182,7 +95182,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95221,7 +95221,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95260,7 +95260,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95299,7 +95299,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95338,7 +95338,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95377,7 +95377,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95416,7 +95416,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95455,7 +95455,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95494,7 +95494,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95533,7 +95533,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95572,7 +95572,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95611,7 +95611,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95650,7 +95650,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95689,7 +95689,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95728,7 +95728,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95767,7 +95767,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95806,7 +95806,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95845,7 +95845,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95884,7 +95884,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95923,7 +95923,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95962,7 +95962,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96001,7 +96001,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96040,7 +96040,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96079,7 +96079,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96118,7 +96118,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96157,7 +96157,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96196,7 +96196,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96235,7 +96235,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96274,7 +96274,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96313,7 +96313,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96352,7 +96352,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96391,7 +96391,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96430,7 +96430,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96469,7 +96469,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96508,7 +96508,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96547,7 +96547,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96586,7 +96586,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96625,7 +96625,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96664,7 +96664,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96703,7 +96703,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96742,7 +96742,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96781,7 +96781,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96820,7 +96820,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96859,7 +96859,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96898,7 +96898,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96937,7 +96937,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96976,7 +96976,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97015,7 +97015,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97054,7 +97054,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97093,7 +97093,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97132,7 +97132,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97171,7 +97171,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97210,7 +97210,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97249,7 +97249,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97288,7 +97288,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97327,7 +97327,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97366,7 +97366,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97405,7 +97405,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97444,7 +97444,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97483,7 +97483,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97522,7 +97522,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97561,7 +97561,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97600,7 +97600,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97639,7 +97639,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97678,7 +97678,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97717,7 +97717,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97756,7 +97756,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97795,7 +97795,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97834,7 +97834,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97873,7 +97873,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97912,7 +97912,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97951,7 +97951,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97990,7 +97990,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98029,7 +98029,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98068,7 +98068,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98107,7 +98107,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98146,7 +98146,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98185,7 +98185,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98224,7 +98224,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98263,7 +98263,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98302,7 +98302,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98341,7 +98341,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98380,7 +98380,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98419,7 +98419,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98458,7 +98458,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98497,7 +98497,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98536,7 +98536,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98575,7 +98575,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98614,7 +98614,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98653,7 +98653,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98692,7 +98692,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98731,7 +98731,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98770,7 +98770,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98809,7 +98809,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98848,7 +98848,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98887,7 +98887,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98926,7 +98926,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98965,7 +98965,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99004,7 +99004,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99043,7 +99043,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99082,7 +99082,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99121,7 +99121,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99160,7 +99160,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99199,7 +99199,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99238,7 +99238,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99277,7 +99277,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99316,7 +99316,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99355,7 +99355,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99394,7 +99394,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99433,7 +99433,7 @@ Module ops. |), [ M.read (| self |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99472,7 +99472,7 @@ Module ops. |), [ M.read (| M.read (| self |) |); M.read (| M.read (| other |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99514,7 +99514,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99555,7 +99555,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99596,7 +99596,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99637,7 +99637,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99678,7 +99678,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99719,7 +99719,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99760,7 +99760,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99801,7 +99801,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99842,7 +99842,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99883,7 +99883,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99924,7 +99924,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99965,7 +99965,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100006,7 +100006,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100047,7 +100047,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100088,7 +100088,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100129,7 +100129,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100170,7 +100170,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100211,7 +100211,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100252,7 +100252,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100293,7 +100293,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100334,7 +100334,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100375,7 +100375,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100416,7 +100416,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100457,7 +100457,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100498,7 +100498,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100539,7 +100539,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100580,7 +100580,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100621,7 +100621,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100662,7 +100662,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100703,7 +100703,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100744,7 +100744,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100785,7 +100785,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100826,7 +100826,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100867,7 +100867,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100908,7 +100908,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100949,7 +100949,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100990,7 +100990,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101031,7 +101031,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101072,7 +101072,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101113,7 +101113,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101154,7 +101154,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101195,7 +101195,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101236,7 +101236,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101277,7 +101277,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101318,7 +101318,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101359,7 +101359,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101400,7 +101400,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101441,7 +101441,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101482,7 +101482,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101523,7 +101523,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101564,7 +101564,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101605,7 +101605,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101646,7 +101646,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101687,7 +101687,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101728,7 +101728,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101769,7 +101769,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101810,7 +101810,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101851,7 +101851,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101892,7 +101892,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101933,7 +101933,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101974,7 +101974,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102015,7 +102015,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102056,7 +102056,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102097,7 +102097,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102138,7 +102138,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102179,7 +102179,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102220,7 +102220,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102261,7 +102261,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102302,7 +102302,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102343,7 +102343,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102384,7 +102384,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102425,7 +102425,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102466,7 +102466,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102507,7 +102507,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102548,7 +102548,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102589,7 +102589,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102630,7 +102630,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102671,7 +102671,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102712,7 +102712,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102753,7 +102753,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102794,7 +102794,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102835,7 +102835,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102876,7 +102876,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102917,7 +102917,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102958,7 +102958,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102999,7 +102999,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103040,7 +103040,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103081,7 +103081,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103122,7 +103122,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103163,7 +103163,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103204,7 +103204,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103245,7 +103245,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103286,7 +103286,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103327,7 +103327,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103368,7 +103368,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103409,7 +103409,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103450,7 +103450,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103491,7 +103491,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103532,7 +103532,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103573,7 +103573,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103614,7 +103614,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103655,7 +103655,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103696,7 +103696,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103737,7 +103737,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103778,7 +103778,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103819,7 +103819,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103860,7 +103860,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103901,7 +103901,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103942,7 +103942,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -103983,7 +103983,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104024,7 +104024,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104065,7 +104065,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104106,7 +104106,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104147,7 +104147,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104188,7 +104188,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104229,7 +104229,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104270,7 +104270,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104311,7 +104311,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104352,7 +104352,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104393,7 +104393,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104434,7 +104434,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104475,7 +104475,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104516,7 +104516,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104557,7 +104557,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104598,7 +104598,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104639,7 +104639,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104680,7 +104680,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104721,7 +104721,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104762,7 +104762,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104803,7 +104803,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104844,7 +104844,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104885,7 +104885,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104926,7 +104926,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104967,7 +104967,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105008,7 +105008,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105049,7 +105049,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105090,7 +105090,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105131,7 +105131,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105172,7 +105172,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105213,7 +105213,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105254,7 +105254,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105295,7 +105295,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105336,7 +105336,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105377,7 +105377,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105418,7 +105418,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105459,7 +105459,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105500,7 +105500,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105541,7 +105541,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105582,7 +105582,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105623,7 +105623,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105664,7 +105664,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105705,7 +105705,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105746,7 +105746,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105787,7 +105787,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105828,7 +105828,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105869,7 +105869,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105910,7 +105910,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105951,7 +105951,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105992,7 +105992,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106033,7 +106033,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106074,7 +106074,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106115,7 +106115,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106156,7 +106156,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106197,7 +106197,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106238,7 +106238,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106279,7 +106279,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106320,7 +106320,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106361,7 +106361,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106402,7 +106402,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106443,7 +106443,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106484,7 +106484,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106525,7 +106525,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106566,7 +106566,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106607,7 +106607,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106648,7 +106648,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106689,7 +106689,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106730,7 +106730,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106771,7 +106771,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106812,7 +106812,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106853,7 +106853,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106894,7 +106894,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106935,7 +106935,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106976,7 +106976,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107017,7 +107017,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107058,7 +107058,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107099,7 +107099,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107140,7 +107140,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107181,7 +107181,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107222,7 +107222,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107263,7 +107263,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107304,7 +107304,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107345,7 +107345,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107386,7 +107386,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107427,7 +107427,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107468,7 +107468,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107509,7 +107509,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107550,7 +107550,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107591,7 +107591,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107632,7 +107632,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107673,7 +107673,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107714,7 +107714,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107755,7 +107755,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107796,7 +107796,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107837,7 +107837,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107878,7 +107878,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107919,7 +107919,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107960,7 +107960,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108001,7 +108001,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108042,7 +108042,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108083,7 +108083,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108124,7 +108124,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108165,7 +108165,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108206,7 +108206,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108247,7 +108247,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108288,7 +108288,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108329,7 +108329,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108370,7 +108370,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108411,7 +108411,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108452,7 +108452,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108493,7 +108493,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108534,7 +108534,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108575,7 +108575,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108616,7 +108616,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108657,7 +108657,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108698,7 +108698,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108739,7 +108739,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108780,7 +108780,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108821,7 +108821,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108862,7 +108862,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108903,7 +108903,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108944,7 +108944,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108985,7 +108985,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109026,7 +109026,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109067,7 +109067,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109108,7 +109108,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109149,7 +109149,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109190,7 +109190,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109231,7 +109231,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109272,7 +109272,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109313,7 +109313,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109354,7 +109354,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109395,7 +109395,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109436,7 +109436,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109477,7 +109477,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109518,7 +109518,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109559,7 +109559,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109600,7 +109600,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109641,7 +109641,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109682,7 +109682,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109723,7 +109723,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109764,7 +109764,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109805,7 +109805,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109846,7 +109846,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109887,7 +109887,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109928,7 +109928,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109969,7 +109969,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110010,7 +110010,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110051,7 +110051,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110092,7 +110092,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110133,7 +110133,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110174,7 +110174,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110215,7 +110215,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110256,7 +110256,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110297,7 +110297,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110338,7 +110338,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110379,7 +110379,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110420,7 +110420,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110461,7 +110461,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110502,7 +110502,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110543,7 +110543,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110584,7 +110584,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110625,7 +110625,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110666,7 +110666,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110707,7 +110707,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110748,7 +110748,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110789,7 +110789,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110830,7 +110830,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110871,7 +110871,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110912,7 +110912,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110953,7 +110953,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110994,7 +110994,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111035,7 +111035,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111076,7 +111076,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111117,7 +111117,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111158,7 +111158,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111199,7 +111199,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111240,7 +111240,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111281,7 +111281,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111322,7 +111322,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111363,7 +111363,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111404,7 +111404,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111445,7 +111445,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111486,7 +111486,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111527,7 +111527,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111568,7 +111568,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111609,7 +111609,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111650,7 +111650,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111691,7 +111691,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111732,7 +111732,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111773,7 +111773,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111814,7 +111814,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111855,7 +111855,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111896,7 +111896,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111937,7 +111937,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111978,7 +111978,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112019,7 +112019,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112060,7 +112060,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112101,7 +112101,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112142,7 +112142,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112183,7 +112183,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112224,7 +112224,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112265,7 +112265,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112306,7 +112306,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112347,7 +112347,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112388,7 +112388,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112429,7 +112429,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112470,7 +112470,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112511,7 +112511,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112552,7 +112552,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112593,7 +112593,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112634,7 +112634,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112675,7 +112675,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112716,7 +112716,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112757,7 +112757,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112798,7 +112798,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112839,7 +112839,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112880,7 +112880,7 @@ Module ops. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112929,7 +112929,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112977,7 +112977,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113025,7 +113025,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113120,7 +113120,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113168,7 +113168,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113216,7 +113216,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113272,7 +113272,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113319,7 +113319,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113366,7 +113366,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113412,7 +113412,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113459,7 +113459,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113506,7 +113506,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113552,7 +113552,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113599,7 +113599,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113646,7 +113646,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113692,7 +113692,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113739,7 +113739,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113786,7 +113786,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113832,7 +113832,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113880,7 +113880,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113928,7 +113928,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113969,14 +113969,15 @@ Module str. ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let s := M.copy (| γ0_0 |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", [] |), [ M.read (| M.read (| s |) |) ] - |)))) + |) + |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114030,7 +114031,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114084,7 +114085,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114128,18 +114129,19 @@ Module str. ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let s := M.copy (| γ0_0 |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "is_empty", [] |), [ M.read (| M.read (| s |) |) ] - |)))) + |) + |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114206,7 +114208,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114273,7 +114275,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114328,7 +114330,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114382,7 +114384,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114436,7 +114438,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/intrinsics.v b/CoqOfRust/core/intrinsics.v index 8d49755b0..621809c37 100644 --- a/CoqOfRust/core/intrinsics.v +++ b/CoqOfRust/core/intrinsics.v @@ -23,7 +23,7 @@ Module hint. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.alloc (| UnOp.Pure.not (Value.Bool false) |)) in + (let γ := M.use (M.alloc (| UnOp.not (| Value.Bool false |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -42,14 +42,17 @@ Module hint. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::hint::unreachable_unchecked::runtime" runtime. (* const fn comptime$(<$($tt)*>)?($(_:$ty),* ) {} *) Definition comptime (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_comptime : M.IsFunction "core::hint::unreachable_unchecked::comptime" comptime. End unreachable_unchecked. @@ -71,7 +74,7 @@ Module intrinsics. M.get_function (| "core::ptr::drop_in_place", [ T ] |), [ M.read (| to_drop |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_drop_in_place : M.IsFunction "core::intrinsics::drop_in_place" drop_in_place. @@ -1164,18 +1167,19 @@ Module intrinsics. ltac:(M.monadic (let ptr := M.alloc (| ptr |) in LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") [ T ], "is_null", [] |), [ M.read (| ptr |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") [ T ], "is_aligned", [] |), [ M.read (| ptr |) ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_aligned_and_not_null : @@ -1200,9 +1204,9 @@ Module intrinsics. M.copy (| M.get_constant (| "core::intrinsics::is_valid_allocation_size_discriminant" |) |) in - M.alloc (| BinOp.Pure.le (M.read (| len |)) (M.read (| max_len |)) |) + M.alloc (| BinOp.le (| M.read (| len |), M.read (| max_len |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_valid_allocation_size : @@ -1272,9 +1276,9 @@ Module intrinsics. [ M.read (| src_usize |); M.read (| dst_usize |) ] |) |) in - M.alloc (| BinOp.Pure.ge (M.read (| diff |)) (M.read (| size |)) |) + M.alloc (| BinOp.ge (| M.read (| diff |), M.read (| size |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_nonoverlapping : @@ -1372,7 +1376,7 @@ Module intrinsics. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_copy_nonoverlapping : @@ -1410,8 +1414,8 @@ Module intrinsics. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| LogicalOp.and (| M.call_closure (| M.get_function (| @@ -1439,7 +1443,8 @@ Module intrinsics. M.read (| count |) ] |))) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1459,7 +1464,7 @@ Module intrinsics. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::intrinsics::copy_nonoverlapping::runtime" runtime. @@ -1490,7 +1495,7 @@ Module intrinsics. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : @@ -1570,7 +1575,7 @@ Module intrinsics. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_copy : M.IsFunction "core::intrinsics::copy" copy. @@ -1605,8 +1610,8 @@ Module intrinsics. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", @@ -1622,7 +1627,8 @@ Module intrinsics. |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| dst |)) ] |))) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1642,7 +1648,7 @@ Module intrinsics. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::intrinsics::copy::runtime" runtime. @@ -1662,7 +1668,7 @@ Module intrinsics. (M.match_operator (| β1, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::intrinsics::copy::comptime" comptime. @@ -1732,7 +1738,7 @@ Module intrinsics. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_write_bytes : M.IsFunction "core::intrinsics::write_bytes" write_bytes. @@ -1767,14 +1773,15 @@ Module intrinsics. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", [ T ] |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| dst |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1794,7 +1801,7 @@ Module intrinsics. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::intrinsics::write_bytes::runtime" runtime. @@ -1806,7 +1813,7 @@ Module intrinsics. ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::intrinsics::write_bytes::comptime" comptime. @@ -1841,8 +1848,8 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| LogicalOp.and (| M.call_closure (| M.get_function (| @@ -1869,7 +1876,8 @@ Module ptr. M.read (| count |) ] |))) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1889,7 +1897,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::ptr::swap_nonoverlapping::runtime" runtime. @@ -1920,7 +1928,7 @@ Module ptr. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::ptr::swap_nonoverlapping::comptime" comptime. @@ -1951,14 +1959,15 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", [ T ] |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| dst |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1978,7 +1987,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::ptr::replace::runtime" runtime. @@ -1990,7 +1999,7 @@ Module ptr. ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::ptr::replace::comptime" comptime. @@ -2021,14 +2030,15 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", [ T ] |), [ M.read (| src |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2048,7 +2058,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::ptr::read::runtime" runtime. @@ -2060,7 +2070,7 @@ Module ptr. ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::ptr::read::comptime" comptime. @@ -2091,14 +2101,15 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", [ T ] |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| dst |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2118,7 +2129,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::ptr::write::runtime" runtime. @@ -2130,7 +2141,7 @@ Module ptr. ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::ptr::write::comptime" comptime. @@ -2161,14 +2172,15 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", [ T ] |), [ M.read (| src |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2188,7 +2200,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::ptr::read_volatile::runtime" runtime. @@ -2200,7 +2212,7 @@ Module ptr. ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::ptr::read_volatile::comptime" comptime. @@ -2231,14 +2243,15 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", [ T ] |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| dst |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2258,7 +2271,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::ptr::write_volatile::runtime" runtime. @@ -2270,7 +2283,7 @@ Module ptr. ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::ptr::write_volatile::comptime" comptime. @@ -2305,8 +2318,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", @@ -2322,7 +2335,8 @@ Module slice. |), [ M.read (| len |) ] |))) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2342,7 +2356,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::slice::raw::from_raw_parts::runtime" runtime. @@ -2362,7 +2376,7 @@ Module slice. (M.match_operator (| β1, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::slice::raw::from_raw_parts::comptime" comptime. @@ -2394,8 +2408,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| M.call_closure (| M.get_function (| "core::intrinsics::is_aligned_and_not_null", @@ -2411,7 +2425,8 @@ Module slice. |), [ M.read (| len |) ] |))) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2431,7 +2446,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::slice::raw::from_raw_parts_mut::runtime" runtime. @@ -2451,7 +2466,7 @@ Module slice. (M.match_operator (| β1, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : diff --git a/CoqOfRust/core/intrinsics/mir.v b/CoqOfRust/core/intrinsics/mir.v index 9c0f5c858..8faf4365f 100644 --- a/CoqOfRust/core/intrinsics/mir.v +++ b/CoqOfRust/core/intrinsics/mir.v @@ -54,7 +54,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_UnwindContinue : @@ -74,7 +74,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_UnwindUnreachable : @@ -92,7 +92,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_UnwindTerminate : @@ -110,7 +110,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_UnwindCleanup : @@ -127,7 +127,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Return : M.IsFunction "core::intrinsics::mir::Return" value_Return. @@ -144,7 +144,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Goto : M.IsFunction "core::intrinsics::mir::Goto" value_Goto. @@ -160,7 +160,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Unreachable : @@ -180,7 +180,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Drop : M.IsFunction "core::intrinsics::mir::Drop" value_Drop. @@ -199,7 +199,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Call : M.IsFunction "core::intrinsics::mir::Call" value_Call. @@ -215,7 +215,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_UnwindResume : @@ -233,7 +233,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_StorageLive : @@ -251,7 +251,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_StorageDead : @@ -269,7 +269,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Deinit : M.IsFunction "core::intrinsics::mir::Deinit" value_Deinit. @@ -286,7 +286,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Checked : M.IsFunction "core::intrinsics::mir::Checked" value_Checked. @@ -303,7 +303,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Len : M.IsFunction "core::intrinsics::mir::Len" value_Len. @@ -320,7 +320,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_CopyForDeref : @@ -338,7 +338,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Retag : M.IsFunction "core::intrinsics::mir::Retag" value_Retag. @@ -355,7 +355,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Move : M.IsFunction "core::intrinsics::mir::Move" value_Move. @@ -372,7 +372,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Static : M.IsFunction "core::intrinsics::mir::Static" value_Static. @@ -389,7 +389,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_StaticMut : @@ -407,7 +407,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Discriminant : @@ -426,7 +426,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_SetDiscriminant : @@ -445,7 +445,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Offset : M.IsFunction "core::intrinsics::mir::Offset" value_Offset. @@ -463,7 +463,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Field : M.IsFunction "core::intrinsics::mir::Field" value_Field. @@ -481,7 +481,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_Variant : M.IsFunction "core::intrinsics::mir::Variant" value_Variant. @@ -498,7 +498,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_value_CastTransmute : @@ -519,7 +519,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function___internal_make_place : @@ -538,7 +538,7 @@ Module intrinsics. [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function___debuginfo : M.IsFunction "core::intrinsics::mir::__debuginfo" __debuginfo. diff --git a/CoqOfRust/core/io/borrowed_buf.v b/CoqOfRust/core/io/borrowed_buf.v index b09555717..79d9436a8 100644 --- a/CoqOfRust/core/io/borrowed_buf.v +++ b/CoqOfRust/core/io/borrowed_buf.v @@ -115,7 +115,7 @@ Module io. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -196,12 +196,12 @@ Module io. |) ] |)); - ("filled", Value.Integer 0); + ("filled", Value.Integer IntegerKind.Usize 0); ("init", M.read (| len |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -228,9 +228,12 @@ Module io. (let buf := M.alloc (| buf |) in Value.StructRecord "core::io::borrowed_buf::BorrowedBuf" - [ ("buf", M.read (| buf |)); ("filled", Value.Integer 0); ("init", Value.Integer 0) + [ + ("buf", M.read (| buf |)); + ("filled", Value.Integer IntegerKind.Usize 0); + ("init", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -282,7 +285,7 @@ Module io. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_capacity : M.IsAssociatedFunction Self "capacity" capacity. @@ -304,7 +307,7 @@ Module io. "filled" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -326,7 +329,7 @@ Module io. "init" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_init_len : M.IsAssociatedFunction Self "init_len" init_len. @@ -371,7 +374,7 @@ Module io. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -385,7 +388,7 @@ Module io. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_filled : M.IsAssociatedFunction Self "filled" filled. @@ -430,7 +433,7 @@ Module io. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -444,7 +447,7 @@ Module io. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_filled_mut : M.IsAssociatedFunction Self "filled_mut" filled_mut. @@ -489,7 +492,7 @@ Module io. [ M.read (| self |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unfilled : M.IsAssociatedFunction Self "unfilled" unfilled. @@ -513,11 +516,11 @@ Module io. "core::io::borrowed_buf::BorrowedBuf", "filled" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : M.IsAssociatedFunction Self "clear" clear. @@ -558,7 +561,7 @@ Module io. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_init : M.IsAssociatedFunction Self "set_init" set_init. @@ -614,7 +617,7 @@ Module io. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -678,7 +681,7 @@ Module io. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reborrow : M.IsAssociatedFunction Self "reborrow" reborrow. @@ -693,9 +696,8 @@ Module io. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.path "core::io::borrowed_buf::BorrowedBuf", "capacity", @@ -710,8 +712,8 @@ Module io. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| M.SubPointer.get_struct_record_field (| @@ -723,8 +725,9 @@ Module io. "core::io::borrowed_buf::BorrowedBuf", "filled" |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_capacity : M.IsAssociatedFunction Self "capacity" capacity. @@ -739,9 +742,8 @@ Module io. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| M.SubPointer.get_struct_record_field (| @@ -753,15 +755,16 @@ Module io. "core::io::borrowed_buf::BorrowedBuf", "filled" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::io::borrowed_buf::BorrowedCursor", "start" |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_written : M.IsAssociatedFunction Self "written" written. @@ -845,7 +848,7 @@ Module io. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_init_ref : M.IsAssociatedFunction Self "init_ref" init_ref. @@ -931,7 +934,7 @@ Module io. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_init_mut : M.IsAssociatedFunction Self "init_mut" init_mut. @@ -990,7 +993,7 @@ Module io. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_uninit_mut : M.IsAssociatedFunction Self "uninit_mut" uninit_mut. @@ -1049,7 +1052,7 @@ Module io. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut : M.IsAssociatedFunction Self "as_mut" as_mut. @@ -1081,7 +1084,7 @@ Module io. "core::io::borrowed_buf::BorrowedBuf", "filled" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| n |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| n |) |) |) in let~ _ := M.write (| M.SubPointer.get_struct_record_field (| @@ -1129,7 +1132,7 @@ Module io. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_advance : M.IsAssociatedFunction Self "advance" advance. @@ -1188,7 +1191,7 @@ Module io. |), [ M.read (| uninit |) ] |); - Value.Integer 0; + Value.Integer IntegerKind.U8 0; M.call_closure (| M.get_associated_function (| Ty.apply @@ -1239,7 +1242,7 @@ Module io. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ensure_init : M.IsAssociatedFunction Self "ensure_init" ensure_init. @@ -1286,9 +1289,8 @@ Module io. "init" |) |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| M.SubPointer.get_struct_record_field (| @@ -1300,14 +1302,15 @@ Module io. "core::io::borrowed_buf::BorrowedBuf", "filled" |) - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) ] |) |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_init : M.IsAssociatedFunction Self "set_init" set_init. @@ -1344,24 +1347,26 @@ Module io. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.path "core::io::borrowed_buf::BorrowedCursor", "capacity", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1471,21 +1476,21 @@ Module io. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append : M.IsAssociatedFunction Self "append" append. diff --git a/CoqOfRust/core/iter/adapters/array_chunks.v b/CoqOfRust/core/iter/adapters/array_chunks.v index bd1b1963f..806b1feae 100644 --- a/CoqOfRust/core/iter/adapters/array_chunks.v +++ b/CoqOfRust/core/iter/adapters/array_chunks.v @@ -59,7 +59,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -116,7 +116,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -154,12 +154,14 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -203,7 +205,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -228,7 +230,7 @@ Module iter. "remainder" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_remainder : @@ -308,9 +310,8 @@ Module iter. |) in let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", I, @@ -325,10 +326,9 @@ Module iter. "iter" |) ] - |)) - (M.read (| - M.get_constant (| "core::iter::adapters::array_chunks::N" |) - |)) + |), + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) |) + |) |) in let~ remainder := M.alloc (| @@ -439,7 +439,7 @@ Module iter. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_remainder : @@ -498,7 +498,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -544,12 +544,12 @@ Module iter. M.alloc (| Value.Tuple [ - BinOp.Wrap.div - Integer.Usize - (M.read (| lower |)) - (M.read (| + BinOp.Wrap.div (| + M.read (| lower |), + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) - |)); + |) + |); M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "usize" ], @@ -573,17 +573,17 @@ Module iter. fun γ => ltac:(M.monadic (let n := M.copy (| γ |) in - BinOp.Wrap.div - Integer.Usize - (M.read (| n |)) - (M.read (| + BinOp.Wrap.div (| + M.read (| n |), + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) - |)))) + |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -592,7 +592,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -606,9 +606,8 @@ Module iter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", I, @@ -625,9 +624,10 @@ Module iter. |) |) ] - |)) - (M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -818,7 +818,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -848,7 +848,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -937,13 +937,13 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1177,7 +1177,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1231,7 +1231,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1290,9 +1290,8 @@ Module iter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", I, @@ -1307,9 +1306,10 @@ Module iter. "iter" |) ] - |)) - (M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1323,8 +1323,8 @@ Module iter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", I, @@ -1339,9 +1339,10 @@ Module iter. "iter" |) ] - |)) - (M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1412,7 +1413,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1486,7 +1487,7 @@ Module iter. ] |) |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -1498,14 +1499,12 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.Usize - (M.read (| inner_len |)) - (M.read (| i |))) - (M.read (| + BinOp.ge (| + BinOp.Wrap.sub (| M.read (| inner_len |), M.read (| i |) |), + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1538,10 +1537,10 @@ Module iter. M.read (| let~ idx := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| local |)) + BinOp.Wrap.add (| + M.read (| i |), + M.read (| local |) + |) |) in M.alloc (| M.call_closure (| @@ -1565,7 +1564,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1589,12 +1588,12 @@ Module iter. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "core::iter::adapters::array_chunks::N" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1615,7 +1614,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1656,7 +1655,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/by_ref_sized.v b/CoqOfRust/core/iter/adapters/by_ref_sized.v index d0bffef3a..3caebfb3a 100644 --- a/CoqOfRust/core/iter/adapters/by_ref_sized.v +++ b/CoqOfRust/core/iter/adapters/by_ref_sized.v @@ -43,7 +43,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91,7 +91,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -123,7 +123,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -157,7 +157,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -185,7 +185,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -244,7 +244,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -284,7 +284,7 @@ Module iter. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -338,7 +338,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -372,7 +372,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -406,7 +406,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -465,7 +465,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -505,7 +505,7 @@ Module iter. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/chain.v b/CoqOfRust/core/iter/adapters/chain.v index 51e3ac941..6766434e3 100644 --- a/CoqOfRust/core/iter/adapters/chain.v +++ b/CoqOfRust/core/iter/adapters/chain.v @@ -64,7 +64,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -117,7 +117,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -151,7 +151,7 @@ Module iter. ("a", Value.StructTuple "core::option::Option::Some" [ M.read (| a |) ]); ("b", Value.StructTuple "core::option::Option::Some" [ M.read (| b |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -321,11 +321,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -381,7 +381,7 @@ Module iter. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -418,15 +418,13 @@ Module iter. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in - M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| a_count |)) (M.read (| b_count |)) - |) + M.alloc (| BinOp.Wrap.add (| M.read (| a_count |), M.read (| b_count |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -667,7 +665,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -769,7 +767,7 @@ Module iter. |) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -966,7 +964,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1062,7 +1060,9 @@ Module iter. γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |))); fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in @@ -1203,7 +1203,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1274,7 +1274,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -1386,11 +1386,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1481,7 +1481,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1741,14 +1741,16 @@ Module iter. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1839,7 +1841,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -1950,11 +1952,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2151,7 +2153,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2247,7 +2249,9 @@ Module iter. γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |))); fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in @@ -2388,7 +2392,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2459,7 +2463,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -2571,11 +2575,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2816,7 +2820,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2918,7 +2922,7 @@ Module iter. |) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2995,7 +2999,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3145,7 +3149,7 @@ Module iter. x |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_and_then_or_clear : diff --git a/CoqOfRust/core/iter/adapters/cloned.v b/CoqOfRust/core/iter/adapters/cloned.v index 4525eb5c6..ebe53051f 100644 --- a/CoqOfRust/core/iter/adapters/cloned.v +++ b/CoqOfRust/core/iter/adapters/cloned.v @@ -37,7 +37,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82,7 +82,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112,7 +112,7 @@ Module iter. Value.StructRecord "core::iter::adapters::cloned::Cloned" [ ("it", M.read (| it |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -178,9 +178,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_clone_try_fold : @@ -233,7 +233,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -263,7 +263,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -308,7 +308,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -361,7 +361,7 @@ Module iter. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -397,7 +397,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -457,7 +457,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -502,7 +502,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -555,7 +555,7 @@ Module iter. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -603,7 +603,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -633,7 +633,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -754,7 +754,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -793,7 +793,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/copied.v b/CoqOfRust/core/iter/adapters/copied.v index 3c8ae67d5..16f6e49b0 100644 --- a/CoqOfRust/core/iter/adapters/copied.v +++ b/CoqOfRust/core/iter/adapters/copied.v @@ -37,7 +37,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82,7 +82,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112,7 +112,7 @@ Module iter. Value.StructRecord "core::iter::adapters::copied::Copied" [ ("it", M.read (| it |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -163,9 +163,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_copy_fold : M.IsFunction "core::iter::adapters::copied::copy_fold" copy_fold. @@ -217,9 +217,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_copy_try_fold : @@ -272,7 +272,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -307,7 +307,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -337,7 +337,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -382,7 +382,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -424,7 +424,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -465,7 +465,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -506,7 +506,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -538,7 +538,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -570,7 +570,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -603,7 +603,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -668,7 +668,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -713,7 +713,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -755,7 +755,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -787,7 +787,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -836,7 +836,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -866,7 +866,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -988,7 +988,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1105,13 +1105,14 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| len |)) - (M.read (| + BinOp.lt (| + M.read (| len |), + M.read (| M.get_constant (| "core::iter::adapters::copied::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1158,7 +1159,9 @@ Module iter. "core::ops::range::Range" [ ("start", - Value.Integer 0); + Value.Integer + IntegerKind.Usize + 0); ("end_", M.read (| len |)) ] ] @@ -1228,11 +1231,12 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| len |)) - (M.read (| + BinOp.lt (| + M.read (| len |), + M.read (| M.get_constant (| "core::iter::adapters::copied::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1328,7 +1332,8 @@ Module iter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer IntegerKind.Usize 0); ("end_", M.read (| len |)) ] ] @@ -1427,7 +1432,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1466,7 +1471,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/cycle.v b/CoqOfRust/core/iter/adapters/cycle.v index 14947e3c1..8756bed65 100644 --- a/CoqOfRust/core/iter/adapters/cycle.v +++ b/CoqOfRust/core/iter/adapters/cycle.v @@ -48,7 +48,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101,7 +101,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -138,7 +138,7 @@ Module iter. |)); ("iter", M.read (| iter |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -237,7 +237,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -283,7 +283,10 @@ Module iter. let γ1_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ1_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ1_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ1_0 |), + Value.Integer IntegerKind.Usize 0 + |) in let γ2_0 := M.SubPointer.get_struct_tuple_field (| γ1_1, @@ -291,17 +294,26 @@ Module iter. 0 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ2_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ2_0 |), + Value.Integer IntegerKind.Usize 0 + |) in sz)); fun γ => ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.Tuple - [ Value.Integer 0; Value.StructTuple "core::option::Option::None" [] ] + [ + Value.Integer IntegerKind.Usize 0; + Value.StructTuple "core::option::Option::None" [] + ] |))); fun γ => ltac:(M.monadic @@ -315,7 +327,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -537,7 +549,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -733,7 +745,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -840,7 +852,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0) + BinOp.gt (| + M.read (| n |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -927,8 +942,8 @@ Module iter. let rem := M.copy (| γ1_0 |) in let γ := M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", @@ -936,8 +951,9 @@ Module iter. [] |), [ M.read (| rem |) ] - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |) in let _ := M.is_constant_or_break_match (| @@ -1023,7 +1039,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/enumerate.v b/CoqOfRust/core/iter/adapters/enumerate.v index 89fd20c8e..db6da5c7c 100644 --- a/CoqOfRust/core/iter/adapters/enumerate.v +++ b/CoqOfRust/core/iter/adapters/enumerate.v @@ -54,7 +54,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -136,8 +136,8 @@ Module iter. (let iter := M.alloc (| iter |) in Value.StructRecord "core::iter::adapters::enumerate::Enumerate" - [ ("iter", M.read (| iter |)); ("count", Value.Integer 0) ])) - | _, _ => M.impossible + [ ("iter", M.read (| iter |)); ("count", Value.Integer IntegerKind.Usize 0) ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -265,7 +265,7 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -274,7 +274,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -304,7 +304,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -407,16 +407,16 @@ Module iter. |) in let~ i := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::enumerate::Enumerate", "count" |) - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |) in let~ _ := M.write (| @@ -425,7 +425,7 @@ Module iter. "core::iter::adapters::enumerate::Enumerate", "count" |), - BinOp.Wrap.add Integer.Usize (M.read (| i |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| i |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -434,7 +434,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -466,7 +466,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -528,7 +528,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -592,7 +592,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -658,17 +658,17 @@ Module iter. |) in let rem := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| n |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", [] |), [ M.read (| rem |) ] - |)) + |) + |) |))) ] |) @@ -680,13 +680,10 @@ Module iter. "core::iter::adapters::enumerate::Enumerate", "count" |) in - M.write (| - β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| advanced |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| advanced |) |) |) in remaining |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -725,21 +722,21 @@ Module iter. M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::enumerate::Enumerate", "count" |) - |)) - (M.read (| idx |)); + |), + M.read (| idx |) + |); M.read (| value |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -888,23 +885,23 @@ Module iter. [ Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::enumerate::Enumerate", "count" |) - |)) - (M.read (| len |)); + |), + M.read (| len |) + |); M.read (| a |) ] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1031,23 +1028,23 @@ Module iter. [ Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::enumerate::Enumerate", "count" |) - |)) - (M.read (| len |)); + |), + M.read (| len |) + |); M.read (| a |) ] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1084,16 +1081,15 @@ Module iter. M.read (| let~ count := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::enumerate::Enumerate", "count" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", I, @@ -1108,7 +1104,8 @@ Module iter. "iter" |) ] - |)) + |) + |) |) in M.alloc (| M.call_closure (| @@ -1134,7 +1131,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1169,16 +1166,15 @@ Module iter. M.read (| let~ count := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::enumerate::Enumerate", "count" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", I, @@ -1193,7 +1189,8 @@ Module iter. "iter" |) ] - |)) + |) + |) |) in M.alloc (| M.call_closure (| @@ -1221,7 +1218,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1255,7 +1252,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1305,7 +1302,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1335,7 +1332,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1455,7 +1452,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1535,7 +1532,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/filter.v b/CoqOfRust/core/iter/adapters/filter.v index c2b58ac40..20621c4f3 100644 --- a/CoqOfRust/core/iter/adapters/filter.v +++ b/CoqOfRust/core/iter/adapters/filter.v @@ -48,7 +48,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79,7 +79,7 @@ Module iter. Value.StructRecord "core::iter::adapters::filter::Filter" [ ("iter", M.read (| iter |)); ("predicate", M.read (| predicate |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -139,7 +139,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -236,9 +236,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_filter_fold : @@ -349,9 +349,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_filter_try_fold : @@ -400,7 +400,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -479,7 +479,7 @@ Module iter. "core::iter::adapters::filter::next_chunk::Guard" [ ("array", (* Unsize *) M.pointer_coercion array); - ("initialized", Value.Integer 0) + ("initialized", Value.Integer IntegerKind.Usize 0) ] |) in let~ result := @@ -535,10 +535,9 @@ Module iter. "core::iter::adapters::filter::next_chunk::Guard", "initialized" |), - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| idx |), + M.rust_cast (M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", @@ -562,7 +561,8 @@ Module iter. |); Value.Tuple [ element ] ] - |))) + |)) + |) |) in let~ _ := M.alloc (| @@ -612,19 +612,20 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| guard, "core::iter::adapters::filter::next_chunk::Guard", "initialized" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::iter::adapters::filter::next_chunk::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -648,7 +649,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -744,7 +745,9 @@ Module iter. M.read (| array |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| initialized |)) + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| initialized |)) ] ] |) @@ -753,7 +756,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -794,11 +797,13 @@ Module iter. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let upper := M.copy (| γ0_1 |) in - M.alloc (| Value.Tuple [ Value.Integer 0; M.read (| upper |) ] |))) + M.alloc (| + Value.Tuple [ Value.Integer IntegerKind.Usize 0; M.read (| upper |) ] + |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -858,7 +863,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -910,7 +915,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -964,7 +969,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1021,7 +1026,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1073,7 +1078,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1127,7 +1132,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1199,7 +1204,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/filter_map.v b/CoqOfRust/core/iter/adapters/filter_map.v index b0deb3cb4..7550e8289 100644 --- a/CoqOfRust/core/iter/adapters/filter_map.v +++ b/CoqOfRust/core/iter/adapters/filter_map.v @@ -48,7 +48,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79,7 +79,7 @@ Module iter. Value.StructRecord "core::iter::adapters::filter_map::FilterMap" [ ("iter", M.read (| iter |)); ("f", M.read (| f |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -139,7 +139,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -241,9 +241,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_filter_map_fold : @@ -355,9 +355,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_filter_map_try_fold : @@ -406,7 +406,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -494,7 +494,7 @@ Module iter. "core::iter::adapters::filter_map::next_chunk::Guard" [ ("array", (* Unsize *) M.pointer_coercion array); - ("initialized", Value.Integer 0) + ("initialized", Value.Integer IntegerKind.Usize 0) ] |) in let~ result := @@ -570,10 +570,9 @@ Module iter. "core::iter::adapters::filter_map::next_chunk::Guard", "initialized" |), - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| idx |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -583,7 +582,8 @@ Module iter. [] |), [ val ] - |))) + |)) + |) |) in let~ _ := let~ opt_payload_at := @@ -695,7 +695,7 @@ Module iter. [ M.read (| opt_payload_at |); M.read (| dst |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -722,19 +722,20 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| guard, "core::iter::adapters::filter_map::next_chunk::Guard", "initialized" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::iter::adapters::filter_map::next_chunk::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -758,7 +759,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -851,7 +852,9 @@ Module iter. M.read (| array |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| initialized |)) + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| initialized |)) ] ] |) @@ -860,7 +863,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -901,11 +904,13 @@ Module iter. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let upper := M.copy (| γ0_1 |) in - M.alloc (| Value.Tuple [ Value.Integer 0; M.read (| upper |) ] |))) + M.alloc (| + Value.Tuple [ Value.Integer IntegerKind.Usize 0; M.read (| upper |) ] + |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -957,7 +962,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1011,7 +1016,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1096,7 +1101,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1148,7 +1153,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1202,7 +1207,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1274,7 +1279,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/flatten.v b/CoqOfRust/core/iter/adapters/flatten.v index 6201ec2a0..3867a01b5 100644 --- a/CoqOfRust/core/iter/adapters/flatten.v +++ b/CoqOfRust/core/iter/adapters/flatten.v @@ -62,7 +62,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -111,7 +111,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -175,7 +175,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -223,7 +223,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -255,7 +255,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -296,7 +296,7 @@ Module iter. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -337,7 +337,7 @@ Module iter. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -371,7 +371,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -405,7 +405,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -439,7 +439,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -494,7 +494,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -535,7 +535,7 @@ Module iter. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -576,7 +576,7 @@ Module iter. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -610,7 +610,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -739,7 +739,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1055,7 +1055,7 @@ Module iter. [ M.read (| iter |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1115,7 +1115,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1163,7 +1163,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1209,7 +1209,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1239,7 +1239,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1278,7 +1278,7 @@ Module iter. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1317,7 +1317,7 @@ Module iter. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1349,7 +1349,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1381,7 +1381,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1413,7 +1413,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1466,7 +1466,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1505,7 +1505,7 @@ Module iter. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1544,7 +1544,7 @@ Module iter. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1576,7 +1576,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1703,7 +1703,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1746,7 +1746,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1836,7 +1836,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1897,7 +1897,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1941,7 +1941,7 @@ Module iter. ("frontiter", Value.StructTuple "core::option::Option::None" []); ("backiter", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -2084,7 +2084,7 @@ Module iter. |) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_fold : @@ -2465,7 +2465,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_try_fold : @@ -2608,7 +2608,7 @@ Module iter. |) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_rfold : @@ -2989,7 +2989,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_try_rfold : @@ -3179,7 +3179,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3253,8 +3253,10 @@ Module iter. |); Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ]; M.get_trait_method (| "core::iter::traits::iterator::Iterator", @@ -3317,10 +3319,10 @@ Module iter. |); Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] ]; M.get_trait_method (| "core::iter::traits::iterator::Iterator", @@ -3913,7 +3915,7 @@ Module iter. let _ := M.is_constant_or_break_match (| M.read (| γ1_0 |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let γ2_0 := M.SubPointer.get_struct_tuple_field (| @@ -3924,7 +3926,7 @@ Module iter. let _ := M.is_constant_or_break_match (| M.read (| γ2_0 |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let γ1_0 := M.SubPointer.get_struct_tuple_field (| @@ -3971,7 +3973,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4014,7 +4016,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4055,7 +4057,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4158,7 +4160,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4186,11 +4188,11 @@ Module iter. |), [ M.read (| self |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.get_associated_function (| Self, "count.count", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4226,7 +4228,7 @@ Module iter. M.get_associated_function (| Self, "last.last", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4328,7 +4330,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4419,7 +4421,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4463,7 +4465,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4506,7 +4508,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4547,7 +4549,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4650,7 +4652,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4712,7 +4714,7 @@ Module iter. let Self : Ty.t := Self T in match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4740,7 +4742,7 @@ Module iter. (Value.StructTuple "core::option::Option::Some" [ M.read (| M.get_constant (| "core::iter::adapters::flatten::N" |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4769,7 +4771,7 @@ Module iter. (Value.StructTuple "core::option::Option::Some" [ M.read (| M.get_constant (| "core::iter::adapters::flatten::N" |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4798,7 +4800,7 @@ Module iter. (Value.StructTuple "core::option::Option::Some" [ M.read (| M.get_constant (| "core::iter::adapters::flatten::N" |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4948,7 +4950,7 @@ Module iter. x |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_and_then_or_clear : diff --git a/CoqOfRust/core/iter/adapters/fuse.v b/CoqOfRust/core/iter/adapters/fuse.v index c7641c82f..f68422d0a 100644 --- a/CoqOfRust/core/iter/adapters/fuse.v +++ b/CoqOfRust/core/iter/adapters/fuse.v @@ -43,7 +43,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88,7 +88,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -118,7 +118,7 @@ Module iter. Value.StructRecord "core::iter::adapters::fuse::Fuse" [ ("iter", Value.StructTuple "core::option::Option::Some" [ M.read (| iter |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -180,7 +180,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -205,7 +205,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -258,7 +258,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -307,11 +307,11 @@ Module iter. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -363,14 +363,16 @@ Module iter. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -401,7 +403,7 @@ Module iter. |), [ M.read (| self |); M.read (| acc |); M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -463,7 +465,7 @@ Module iter. |) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -491,7 +493,7 @@ Module iter. |), [ M.read (| self |); M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -555,7 +557,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -604,7 +606,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -629,7 +631,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -660,7 +662,7 @@ Module iter. |), [ M.read (| self |); M.read (| acc |); M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -722,7 +724,7 @@ Module iter. |) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -750,7 +752,7 @@ Module iter. |), [ M.read (| self |); M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -819,11 +821,11 @@ Module iter. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -876,7 +878,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -919,7 +921,7 @@ Module iter. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1029,7 +1031,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1085,11 +1087,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1237,7 +1239,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1296,11 +1298,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1358,11 +1360,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1421,11 +1423,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1574,7 +1576,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1634,11 +1636,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1768,7 +1770,7 @@ Module iter. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1876,7 +1878,7 @@ Module iter. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2014,7 +2016,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2125,7 +2127,7 @@ Module iter. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2234,7 +2236,7 @@ Module iter. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2345,7 +2347,7 @@ Module iter. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2484,7 +2486,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2596,7 +2598,7 @@ Module iter. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2667,7 +2669,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2821,7 +2823,7 @@ Module iter. x |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_and_then_or_clear : diff --git a/CoqOfRust/core/iter/adapters/inspect.v b/CoqOfRust/core/iter/adapters/inspect.v index 503c91218..9ff8adeff 100644 --- a/CoqOfRust/core/iter/adapters/inspect.v +++ b/CoqOfRust/core/iter/adapters/inspect.v @@ -48,7 +48,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79,7 +79,7 @@ Module iter. Value.StructRecord "core::iter::adapters::inspect::Inspect" [ ("iter", M.read (| iter |)); ("f", M.read (| f |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -142,7 +142,7 @@ Module iter. |) in elt |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_do_inspect : @@ -202,7 +202,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -284,9 +284,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_inspect_fold : @@ -365,9 +365,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_inspect_try_fold : @@ -427,7 +427,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -457,7 +457,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -509,7 +509,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -563,7 +563,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -629,7 +629,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -681,7 +681,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -735,7 +735,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -783,7 +783,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -813,7 +813,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -884,7 +884,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/intersperse.v b/CoqOfRust/core/iter/adapters/intersperse.v index 7da647df4..6d0b3a2d6 100644 --- a/CoqOfRust/core/iter/adapters/intersperse.v +++ b/CoqOfRust/core/iter/adapters/intersperse.v @@ -65,7 +65,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -137,7 +137,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -182,7 +182,7 @@ Module iter. ("separator", M.read (| separator |)); ("needs_sep", Value.Bool false) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -328,7 +328,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -402,7 +402,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); M.read (| M.SubPointer.get_struct_record_field (| @@ -415,7 +415,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -449,7 +449,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -569,7 +569,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -649,7 +649,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -694,7 +694,7 @@ Module iter. ("separator", M.read (| separator |)); ("needs_sep", Value.Bool false) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -841,7 +841,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -892,7 +892,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -926,7 +926,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -984,7 +984,7 @@ Module iter. let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let lo := M.copy (| γ0_0 |) in let hi := M.copy (| γ0_1 |) in - let~ next_is_elem := M.alloc (| UnOp.Pure.not (M.read (| needs_sep |)) |) in + let~ next_is_elem := M.alloc (| UnOp.not (| M.read (| needs_sep |) |) |) in M.alloc (| Value.Tuple [ @@ -1050,7 +1050,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1059,7 +1059,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_intersperse_size_hint : @@ -1116,8 +1116,7 @@ Module iter. [ fun γ => ltac:(M.monadic - (let γ := - M.use (M.alloc (| UnOp.Pure.not (M.read (| needs_sep |)) |)) in + (let γ := M.use (M.alloc (| UnOp.not (| M.read (| needs_sep |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| @@ -1257,14 +1256,14 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_intersperse_fold : diff --git a/CoqOfRust/core/iter/adapters/map.v b/CoqOfRust/core/iter/adapters/map.v index 451b0c2f9..5445b79ef 100644 --- a/CoqOfRust/core/iter/adapters/map.v +++ b/CoqOfRust/core/iter/adapters/map.v @@ -48,7 +48,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79,7 +79,7 @@ Module iter. Value.StructRecord "core::iter::adapters::map::Map" [ ("iter", M.read (| iter |)); ("f", M.read (| f |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -139,7 +139,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -213,9 +213,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_map_fold : M.IsFunction "core::iter::adapters::map::map_fold" map_fold. @@ -286,9 +286,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_map_try_fold : @@ -346,7 +346,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -376,7 +376,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -428,7 +428,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -482,7 +482,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -532,7 +532,7 @@ Module iter. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -597,7 +597,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -649,7 +649,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -703,7 +703,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -751,7 +751,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -781,7 +781,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -894,7 +894,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -971,7 +971,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/map_while.v b/CoqOfRust/core/iter/adapters/map_while.v index 3fb4d6cae..8740fb417 100644 --- a/CoqOfRust/core/iter/adapters/map_while.v +++ b/CoqOfRust/core/iter/adapters/map_while.v @@ -48,7 +48,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79,7 +79,7 @@ Module iter. Value.StructRecord "core::iter::adapters::map_while::MapWhile" [ ("iter", M.read (| iter |)); ("predicate", M.read (| predicate |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -139,7 +139,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,7 +271,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -312,11 +312,13 @@ Module iter. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let upper := M.copy (| γ0_1 |) in - M.alloc (| Value.Tuple [ Value.Integer 0; M.read (| upper |) ] |))) + M.alloc (| + Value.Tuple [ Value.Integer IntegerKind.Usize 0; M.read (| upper |) ] + |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -509,7 +511,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -519,7 +521,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -573,7 +575,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -621,7 +623,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/map_windows.v b/CoqOfRust/core/iter/adapters/map_windows.v index 4cc762f73..8a35fbf57 100644 --- a/CoqOfRust/core/iter/adapters/map_windows.v +++ b/CoqOfRust/core/iter/adapters/map_windows.v @@ -85,12 +85,14 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -135,12 +137,13 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.associated ] |), [] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -153,8 +156,8 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -176,12 +179,13 @@ Module iter. "core::iter::adapters::map_windows::N" |) |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -243,7 +247,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -272,7 +276,7 @@ Module iter. ("iter", Value.StructTuple "core::option::Option::Some" [ M.read (| iter |) ]); ("buffer", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -580,7 +584,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_window : @@ -697,14 +701,14 @@ Module iter. |), [ M.read (| lo |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.call_closure (| @@ -742,19 +746,22 @@ Module iter. |), [ M.read (| hi |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)) - (Value.Integer 1) + |), + Value.Integer + IntegerKind.Usize + 1 + |) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |) @@ -767,7 +774,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size_hint : @@ -927,12 +934,15 @@ Module iter. [ Value.StructRecord "core::iter::adapters::map_windows::Buffer" - [ ("buffer", M.read (| buffer |)); ("start", Value.Integer 0) ] + [ + ("buffer", M.read (| buffer |)); + ("start", Value.Integer IntegerKind.Usize 0) + ] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_from_iter : @@ -987,7 +997,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_buffer_ptr : @@ -1042,7 +1052,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_buffer_mut_ptr : @@ -1082,30 +1092,32 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::map_windows::Buffer", "start" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |))) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| + |) + |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)))) + |) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1172,7 +1184,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_array_ref : @@ -1212,30 +1224,32 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::map_windows::Buffer", "start" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |))) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| + |) + |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)))) + |) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1306,7 +1320,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_array_mut : @@ -1407,30 +1421,32 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::map_windows::Buffer", "start" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |))) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| + |) + |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)))) + |) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1467,17 +1483,18 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::map_windows::Buffer", "start" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1511,27 +1528,27 @@ Module iter. |), [ M.read (| buffer_mut_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::map_windows::Buffer", "start" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |)); M.read (| buffer_mut_ptr |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1560,14 +1577,14 @@ Module iter. |), [ M.read (| buffer_mut_ptr |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| next |) @@ -1607,7 +1624,7 @@ Module iter. "core::iter::adapters::map_windows::Buffer", "start" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in to_drop)); fun γ => @@ -1639,20 +1656,20 @@ Module iter. |), [ M.read (| buffer_mut_ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::map_windows::Buffer", "start" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::iter::adapters::map_windows::N" |) - |)) + |) + |) ] |); M.read (| next |) @@ -1694,7 +1711,10 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in to_drop)) ] @@ -1720,7 +1740,7 @@ Module iter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : @@ -1829,7 +1849,7 @@ Module iter. |) in buffer |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1900,7 +1920,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1997,7 +2017,7 @@ Module iter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2147,7 +2167,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2175,7 +2195,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2274,7 +2294,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2335,7 +2355,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/mod.v b/CoqOfRust/core/iter/adapters/mod.v index d509673c0..86740adeb 100644 --- a/CoqOfRust/core/iter/adapters/mod.v +++ b/CoqOfRust/core/iter/adapters/mod.v @@ -104,7 +104,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_process : M.IsFunction "core::iter::adapters::try_process" try_process. @@ -160,7 +160,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -209,8 +209,10 @@ Module iter. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -240,13 +242,16 @@ Module iter. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let upper := M.copy (| γ0_1 |) in - M.alloc (| Value.Tuple [ Value.Integer 0; M.read (| upper |) ] |))) + M.alloc (| + Value.Tuple + [ Value.Integer IntegerKind.Usize 0; M.read (| upper |) ] + |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -420,13 +425,13 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -480,7 +485,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -528,7 +533,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/peekable.v b/CoqOfRust/core/iter/adapters/peekable.v index 8ce7aa5a0..ddedacd22 100644 --- a/CoqOfRust/core/iter/adapters/peekable.v +++ b/CoqOfRust/core/iter/adapters/peekable.v @@ -63,7 +63,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -116,7 +116,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -149,7 +149,7 @@ Module iter. ("iter", M.read (| iter |)); ("peeked", Value.StructTuple "core::option::Option::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -225,7 +225,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -233,7 +233,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek : @@ -310,7 +310,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -318,7 +318,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_mut : @@ -399,8 +399,8 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -419,7 +419,8 @@ Module iter. "peeked" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -454,7 +455,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_if : @@ -513,11 +514,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_if_eq : @@ -601,7 +602,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -649,7 +650,7 @@ Module iter. 0 |) in let _ := M.is_struct_tuple (| γ0_0, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -665,10 +666,9 @@ Module iter. 0 |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.call_closure (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", I, @@ -685,7 +685,8 @@ Module iter. |) |) ] - |)) + |) + |) |))); fun γ => ltac:(M.monadic @@ -713,7 +714,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -779,7 +780,10 @@ Module iter. "core::option::Option::Some", 0 |) in - let γ := M.alloc (| BinOp.Pure.eq (M.read (| n |)) (Value.Integer 0) |) in + let γ := + M.alloc (| + BinOp.eq (| M.read (| n |), Value.Integer IntegerKind.Usize 0 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in v)); @@ -812,7 +816,7 @@ Module iter. "core::iter::adapters::peekable::Peekable", "iter" |); - BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) ] |) |))); @@ -841,7 +845,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -953,7 +957,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1006,10 +1010,10 @@ Module iter. M.return_ (| Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] ] |) |) @@ -1029,11 +1033,11 @@ Module iter. "core::option::Option::Some", 0 |) in - M.alloc (| Value.Integer 1 |))); + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -1113,7 +1117,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1300,7 +1304,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1409,7 +1413,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1538,7 +1542,7 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1578,7 +1582,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1784,7 +1788,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1906,7 +1910,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1992,7 +1996,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/rev.v b/CoqOfRust/core/iter/adapters/rev.v index 993c52cae..b23482484 100644 --- a/CoqOfRust/core/iter/adapters/rev.v +++ b/CoqOfRust/core/iter/adapters/rev.v @@ -37,7 +37,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82,7 +82,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110,7 +110,7 @@ Module iter. ltac:(M.monadic (let iter := M.alloc (| iter |) in Value.StructRecord "core::iter::adapters::rev::Rev" [ ("iter", M.read (| iter |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -152,7 +152,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -182,7 +182,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -214,7 +214,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -246,7 +246,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -285,7 +285,7 @@ Module iter. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -324,7 +324,7 @@ Module iter. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -359,7 +359,7 @@ Module iter. M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -412,7 +412,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -444,7 +444,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -470,7 +470,7 @@ Module iter. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -509,7 +509,7 @@ Module iter. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -548,7 +548,7 @@ Module iter. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -583,7 +583,7 @@ Module iter. M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -634,7 +634,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -664,7 +664,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -731,7 +731,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/scan.v b/CoqOfRust/core/iter/adapters/scan.v index 55a9fd5a5..d90d20959 100644 --- a/CoqOfRust/core/iter/adapters/scan.v +++ b/CoqOfRust/core/iter/adapters/scan.v @@ -59,7 +59,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92,7 +92,7 @@ Module iter. "core::iter::adapters::scan::Scan" [ ("iter", M.read (| iter |)); ("state", M.read (| state |)); ("f", M.read (| f |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -169,7 +169,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -309,7 +309,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -350,11 +350,13 @@ Module iter. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let upper := M.copy (| γ0_1 |) in - M.alloc (| Value.Tuple [ Value.Integer 0; M.read (| upper |) ] |))) + M.alloc (| + Value.Tuple [ Value.Integer IntegerKind.Usize 0; M.read (| upper |) ] + |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -444,7 +446,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -498,7 +500,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -546,7 +548,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/skip.v b/CoqOfRust/core/iter/adapters/skip.v index 89cb31bbf..43015bf6a 100644 --- a/CoqOfRust/core/iter/adapters/skip.v +++ b/CoqOfRust/core/iter/adapters/skip.v @@ -54,7 +54,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -138,7 +138,7 @@ Module iter. Value.StructRecord "core::iter::adapters::skip::Skip" [ ("iter", M.read (| iter |)); ("n", M.read (| n |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -180,15 +180,16 @@ Module iter. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::skip::Skip", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) ] |) |)) in @@ -245,7 +246,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -288,15 +289,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::skip::Skip", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -369,10 +371,10 @@ Module iter. "core::iter::adapters::skip::Skip", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| skip |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| skip |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -475,7 +477,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -507,15 +509,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::skip::Skip", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -554,16 +557,16 @@ Module iter. "core::iter::adapters::skip::Skip", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::skip::Skip", "n" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) @@ -577,7 +580,9 @@ Module iter. |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| Value.Integer 0 |) |) + M.read (| + M.return_ (| Value.Integer IntegerKind.Usize 0 |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -608,7 +613,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -638,15 +643,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::skip::Skip", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -679,16 +685,16 @@ Module iter. "core::iter::adapters::skip::Skip", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::skip::Skip", "n" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -766,7 +772,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -882,7 +888,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -929,7 +935,7 @@ Module iter. "core::iter::adapters::skip::Skip", "n" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.match_operator (| @@ -940,7 +946,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0) + BinOp.gt (| M.read (| n |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -979,10 +985,10 @@ Module iter. "core::iter::adapters::skip::Skip", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) @@ -1040,7 +1046,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1077,15 +1083,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::skip::Skip", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1124,16 +1131,16 @@ Module iter. "core::iter::adapters::skip::Skip", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::skip::Skip", "n" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) @@ -1180,7 +1187,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1261,7 +1268,7 @@ Module iter. "core::result::Result::Ok", 0 |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -1286,22 +1293,19 @@ Module iter. |) in let~ advanced_inner := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| skip_and_advance |)) - (M.read (| remainder |)) + BinOp.Wrap.sub (| M.read (| skip_and_advance |), M.read (| remainder |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_sub", [] |), [ M.read (| advanced_inner |); M.read (| skip_inner |) ] - |)) + |) + |) |) in let~ _ := M.write (| @@ -1337,9 +1341,15 @@ Module iter. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.and (| - BinOp.Pure.eq (M.read (| remainder |)) (Value.Integer 0), + BinOp.eq (| + M.read (| remainder |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| n |), + Value.Integer IntegerKind.Usize 0 + |))) |) ] |) @@ -1378,7 +1388,7 @@ Module iter. "core::result::Result::Ok", 0 |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -1438,7 +1448,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1498,8 +1508,8 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -1511,8 +1521,9 @@ Module iter. [] |), [ self ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1540,7 +1551,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1586,7 +1597,7 @@ Module iter. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1619,7 +1630,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| len |)) (Value.Integer 0) + BinOp.gt (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1642,10 +1656,10 @@ Module iter. "core::iter::adapters::skip::Skip", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1657,7 +1671,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1712,7 +1726,10 @@ Module iter. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| n |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1772,7 +1789,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1826,7 +1843,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1895,8 +1912,8 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::result::Result") @@ -1905,7 +1922,8 @@ Module iter. [] |), [ rem ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1965,7 +1983,7 @@ Module iter. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| min |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| min |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -1973,7 +1991,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2047,7 +2065,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/skip_while.v b/CoqOfRust/core/iter/adapters/skip_while.v index 2faf91c67..032ae5c7f 100644 --- a/CoqOfRust/core/iter/adapters/skip_while.v +++ b/CoqOfRust/core/iter/adapters/skip_while.v @@ -65,7 +65,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100,7 +100,7 @@ Module iter. ("flag", Value.Bool false); ("predicate", M.read (| predicate |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -177,7 +177,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -263,7 +263,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -304,11 +304,13 @@ Module iter. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let upper := M.copy (| γ0_1 |) in - M.alloc (| Value.Tuple [ Value.Integer 0; M.read (| upper |) ] |))) + M.alloc (| + Value.Tuple [ Value.Integer IntegerKind.Usize 0; M.read (| upper |) ] + |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -347,14 +349,15 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::skip_while::SkipWhile", "flag" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -508,7 +511,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -545,14 +548,15 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::skip_while::SkipWhile", "flag" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -636,7 +640,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -710,7 +714,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/step_by.v b/CoqOfRust/core/iter/adapters/step_by.v index dbc40c24a..376d103d7 100644 --- a/CoqOfRust/core/iter/adapters/step_by.v +++ b/CoqOfRust/core/iter/adapters/step_by.v @@ -71,7 +71,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -132,7 +132,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -172,7 +172,12 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ne (M.read (| step |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| step |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -205,12 +210,13 @@ Module iter. "core::iter::adapters::step_by::StepBy" [ ("iter", M.read (| iter |)); - ("step", BinOp.Wrap.sub Integer.Usize (M.read (| step |)) (Value.Integer 1)); + ("step", + BinOp.Wrap.sub (| M.read (| step |), Value.Integer IntegerKind.Usize 1 |)); ("first_take", Value.Bool true) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -231,9 +237,8 @@ Module iter. M.read (| let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", I, @@ -248,17 +253,18 @@ Module iter. "iter" |) ] - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| + |), + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -282,7 +288,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rem |)) (Value.Integer 0) + BinOp.eq (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -297,7 +306,10 @@ Module iter. fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| rem |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 1 + |) |))) ] |))); @@ -305,7 +317,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_index : @@ -341,7 +353,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -365,7 +377,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -390,7 +402,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -420,7 +432,7 @@ Module iter. |), [ M.read (| self |); M.read (| acc |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -449,7 +461,7 @@ Module iter. |), [ M.read (| self |); M.read (| acc |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -495,7 +507,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -520,7 +532,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -550,7 +562,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -580,7 +592,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -630,7 +642,7 @@ Module iter. (let inner := M.alloc (| inner |) in let _step := M.alloc (| _step |) in M.read (| inner |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -685,7 +697,7 @@ Module iter. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.SubPointer.get_struct_record_field (| @@ -725,7 +737,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -896,7 +908,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1009,7 +1021,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| n |)) (Value.Integer 0) + BinOp.eq (| + M.read (| n |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1028,7 +1043,10 @@ Module iter. let β := n in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1036,16 +1054,16 @@ Module iter. |) in let~ step := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -1056,9 +1074,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| n |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + BinOp.eq (| + M.read (| n |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1081,10 +1100,10 @@ Module iter. "core::iter::adapters::step_by::StepBy", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| step |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| step |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1095,7 +1114,10 @@ Module iter. let β := n in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -1164,9 +1186,8 @@ Module iter. "core::iter::adapters::step_by::StepBy", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -1175,8 +1196,9 @@ Module iter. [] |), [ M.read (| mul |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) @@ -1188,28 +1210,25 @@ Module iter. |) in let~ div_n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (M.read (| n |)) + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + M.read (| n |) + |) |) in let~ div_step := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (M.read (| step |)) + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + M.read (| step |) + |) |) in let~ nth_n := M.alloc (| - BinOp.Wrap.mul Integer.Usize (M.read (| div_n |)) (M.read (| n |)) + BinOp.Wrap.mul (| M.read (| div_n |), M.read (| n |) |) |) in let~ nth_step := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| div_step |)) - (M.read (| step |)) + BinOp.Wrap.mul (| M.read (| div_step |), M.read (| step |) |) |) in let~ nth := M.copy (| @@ -1221,9 +1240,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| nth_n |)) - (M.read (| nth_step |)) + BinOp.gt (| + M.read (| nth_n |), + M.read (| nth_step |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1234,10 +1254,10 @@ Module iter. let β := step in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| div_n |)) + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| div_n |) + |) |) in nth_n)); fun γ => @@ -1246,10 +1266,10 @@ Module iter. let β := n in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| div_step |)) + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| div_step |) + |) |) in nth_step)) ] @@ -1271,10 +1291,10 @@ Module iter. "core::iter::adapters::step_by::StepBy", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| nth |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| nth |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1285,7 +1305,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1522,7 +1542,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1683,7 +1703,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1745,7 +1765,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1775,16 +1795,16 @@ Module iter. M.get_associated_function (| Ty.path "usize", "saturating_mul", [] |), [ M.read (| n |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.call_closure (| @@ -1818,7 +1838,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2012,7 +2032,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2132,7 +2152,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2204,7 +2224,7 @@ Module iter. |) in r |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2267,16 +2287,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -2303,7 +2323,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| M.read (| remaining |), Value.Integer IntegerKind.U8 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2346,7 +2366,10 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.U8 (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U8 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| val |) ] @@ -2357,7 +2380,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2395,7 +2418,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2517,7 +2540,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2683,7 +2706,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2734,16 +2757,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -2790,7 +2813,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| remaining |)) ] + [ + ("start", Value.Integer IntegerKind.U8 0); + ("end_", M.read (| remaining |)) + ] ] |) |), @@ -2873,7 +2899,7 @@ Module iter. |)) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2959,7 +2985,7 @@ Module iter. |) in r |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3022,16 +3048,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -3058,7 +3084,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| M.read (| remaining |), Value.Integer IntegerKind.U16 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3101,7 +3127,10 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.U16 (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U16 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| val |) ] @@ -3112,7 +3141,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3150,7 +3179,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3272,7 +3301,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3438,7 +3467,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3489,16 +3518,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -3545,7 +3574,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| remaining |)) ] + [ + ("start", Value.Integer IntegerKind.U16 0); + ("end_", M.read (| remaining |)) + ] ] |) |), @@ -3628,7 +3660,7 @@ Module iter. |)) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3714,7 +3746,7 @@ Module iter. |) in r |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3777,16 +3809,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -3813,7 +3845,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| M.read (| remaining |), Value.Integer IntegerKind.U32 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3856,7 +3888,10 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.U32 (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| val |) ] @@ -3867,7 +3902,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3905,7 +3940,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4027,7 +4062,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4193,7 +4228,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4244,16 +4279,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -4300,7 +4335,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| remaining |)) ] + [ + ("start", Value.Integer IntegerKind.U32 0); + ("end_", M.read (| remaining |)) + ] ] |) |), @@ -4383,7 +4421,7 @@ Module iter. |)) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4469,7 +4507,7 @@ Module iter. |) in r |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4532,16 +4570,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -4568,7 +4606,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| M.read (| remaining |), Value.Integer IntegerKind.U64 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4611,7 +4649,10 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.U64 (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U64 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| val |) ] @@ -4622,7 +4663,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4660,7 +4701,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4782,7 +4823,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4948,7 +4989,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4999,16 +5040,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -5055,7 +5096,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| remaining |)) ] + [ + ("start", Value.Integer IntegerKind.U64 0); + ("end_", M.read (| remaining |)) + ] ] |) |), @@ -5138,7 +5182,7 @@ Module iter. |)) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5224,7 +5268,7 @@ Module iter. |) in r |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5287,16 +5331,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -5323,7 +5367,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| + M.read (| remaining |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5366,7 +5413,10 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.Usize (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| val |) ] @@ -5377,7 +5427,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5413,7 +5463,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5535,7 +5585,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5701,7 +5751,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5752,16 +5802,16 @@ Module iter. [] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| M.get_constant (| "core::num::MAX" |) |) @@ -5808,7 +5858,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| remaining |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| remaining |)) + ] ] |) |), @@ -5891,7 +5944,7 @@ Module iter. |)) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5954,16 +6007,16 @@ Module iter. let~ step := M.alloc (| M.rust_cast - (BinOp.Wrap.add - Integer.Usize - (M.read (| + (BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |)) |) in let~ remaining := M.copy (| @@ -5985,7 +6038,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| M.read (| remaining |), Value.Integer IntegerKind.U8 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6012,22 +6065,25 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.U8 (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U8 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.add - Integer.U8 - (M.read (| start |)) - (BinOp.Wrap.mul - Integer.U8 - (M.read (| step |)) - (BinOp.Wrap.sub - Integer.U8 - (M.read (| remaining |)) - (Value.Integer 1))) + BinOp.Wrap.add (| + M.read (| start |), + BinOp.Wrap.mul (| + M.read (| step |), + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U8 1 + |) + |) + |) ] |))); fun γ => @@ -6036,7 +6092,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6131,7 +6187,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6298,7 +6354,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6390,7 +6446,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6438,16 +6494,16 @@ Module iter. let~ step := M.alloc (| M.rust_cast - (BinOp.Wrap.add - Integer.Usize - (M.read (| + (BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |)) |) in let~ remaining := M.copy (| @@ -6469,7 +6525,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| M.read (| remaining |), Value.Integer IntegerKind.U16 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6496,22 +6552,25 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.U16 (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U16 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.add - Integer.U16 - (M.read (| start |)) - (BinOp.Wrap.mul - Integer.U16 - (M.read (| step |)) - (BinOp.Wrap.sub - Integer.U16 - (M.read (| remaining |)) - (Value.Integer 1))) + BinOp.Wrap.add (| + M.read (| start |), + BinOp.Wrap.mul (| + M.read (| step |), + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U16 1 + |) + |) + |) ] |))); fun γ => @@ -6520,7 +6579,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6615,7 +6674,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6782,7 +6841,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6874,7 +6933,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6922,16 +6981,16 @@ Module iter. let~ step := M.alloc (| M.rust_cast - (BinOp.Wrap.add - Integer.Usize - (M.read (| + (BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |)) |) in let~ remaining := M.copy (| @@ -6953,7 +7012,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| M.read (| remaining |), Value.Integer IntegerKind.U32 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6980,22 +7039,25 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.U32 (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.add - Integer.U32 - (M.read (| start |)) - (BinOp.Wrap.mul - Integer.U32 - (M.read (| step |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| remaining |)) - (Value.Integer 1))) + BinOp.Wrap.add (| + M.read (| start |), + BinOp.Wrap.mul (| + M.read (| step |), + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.U32 1 + |) + |) + |) ] |))); fun γ => @@ -7004,7 +7066,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7099,7 +7161,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7266,7 +7328,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7358,7 +7420,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7407,16 +7469,16 @@ Module iter. M.copy (| M.use (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::step_by::StepBy", "step" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) |) in let~ remaining := @@ -7439,7 +7501,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| + M.read (| remaining |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7466,22 +7531,25 @@ Module iter. "core::ops::range::Range", "end" |), - BinOp.Wrap.sub Integer.Usize (M.read (| remaining |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| step |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| remaining |)) - (Value.Integer 1))) + BinOp.Wrap.add (| + M.read (| start |), + BinOp.Wrap.mul (| + M.read (| step |), + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.Usize 1 + |) + |) + |) ] |))); fun γ => @@ -7490,7 +7558,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7585,7 +7653,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7752,7 +7820,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7844,7 +7912,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/take.v b/CoqOfRust/core/iter/adapters/take.v index 173cb7599..afdb4b61f 100644 --- a/CoqOfRust/core/iter/adapters/take.v +++ b/CoqOfRust/core/iter/adapters/take.v @@ -54,7 +54,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -138,7 +138,7 @@ Module iter. Value.StructRecord "core::iter::adapters::take::Take" [ ("iter", M.read (| iter |)); ("n", M.read (| n |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -178,15 +178,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -199,7 +200,7 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| M.call_closure (| @@ -225,7 +226,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -258,15 +259,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -279,10 +281,10 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) + |) |) in M.alloc (| M.call_closure (| @@ -314,15 +316,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -345,16 +348,16 @@ Module iter. "core::iter::adapters::take::Take", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -365,7 +368,7 @@ Module iter. "core::iter::adapters::take::Take", "n" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -375,7 +378,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -414,15 +417,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -435,10 +439,10 @@ Module iter. M.return_ (| Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] ] |) |) @@ -505,15 +509,16 @@ Module iter. let x := M.copy (| γ0_0 |) in let γ := M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| @@ -548,7 +553,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -593,15 +598,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -670,7 +676,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -700,7 +706,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -725,7 +731,7 @@ Module iter. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -795,7 +801,7 @@ Module iter. "core::result::Result::Ok", 0 |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -819,9 +825,7 @@ Module iter. |) |) in let~ advanced := - M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| min |)) (M.read (| rem |)) - |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| min |), M.read (| rem |) |) |) in let~ _ := let β := M.SubPointer.get_struct_record_field (| @@ -829,10 +833,7 @@ Module iter. "core::iter::adapters::take::Take", "n" |) in - M.write (| - β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (M.read (| advanced |)) - |) in + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| advanced |) |) |) in M.alloc (| M.call_closure (| M.get_associated_function (| @@ -858,7 +859,7 @@ Module iter. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| advanced |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| advanced |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -866,7 +867,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -917,7 +918,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1000,15 +1001,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1032,7 +1034,7 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| M.call_closure (| @@ -1081,7 +1083,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1134,23 +1136,23 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ m := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_sub", @@ -1166,8 +1168,9 @@ Module iter. |) |) ] - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |) in let~ _ := let β := @@ -1178,10 +1181,10 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) + |) |) in M.alloc (| M.call_closure (| @@ -1213,7 +1216,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| len |)) (Value.Integer 0) + BinOp.gt (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1236,10 +1242,10 @@ Module iter. "core::iter::adapters::take::Take", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1251,7 +1257,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1290,15 +1296,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1344,15 +1351,16 @@ Module iter. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt - (M.read (| len |)) - (M.read (| + BinOp.gt (| + M.read (| len |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| @@ -1378,19 +1386,19 @@ Module iter. "core::iter::adapters::take::Take", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::take::Take", "n" |) - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) @@ -1442,7 +1450,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1480,15 +1488,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::take::Take", "n" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1523,15 +1532,16 @@ Module iter. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt - (M.read (| len |)) - (M.read (| + BinOp.gt (| + M.read (| len |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::take::Take", "n" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| @@ -1557,19 +1567,19 @@ Module iter. "core::iter::adapters::take::Take", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::iter::adapters::take::Take", "n" |) - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) @@ -1612,7 +1622,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1712,7 +1722,7 @@ Module iter. "core::result::Result::Ok", 0 |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -1737,14 +1747,11 @@ Module iter. |) in let~ advanced_by_inner := M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| advance_by |)) (M.read (| remainder |)) + BinOp.Wrap.sub (| M.read (| advance_by |), M.read (| remainder |) |) |) in let~ advanced_by := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| advanced_by_inner |)) - (M.read (| trim_inner |)) + BinOp.Wrap.sub (| M.read (| advanced_by_inner |), M.read (| trim_inner |) |) |) in let~ _ := let β := @@ -1753,10 +1760,7 @@ Module iter. "core::iter::adapters::take::Take", "n" |) in - M.write (| - β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (M.read (| advanced_by |)) - |) in + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| advanced_by |) |) |) in M.alloc (| M.call_closure (| M.get_associated_function (| @@ -1782,7 +1786,7 @@ Module iter. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| advanced_by |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| advanced_by |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -1790,7 +1794,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1919,7 +1923,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1966,7 +1970,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| remaining |)) (Value.Integer 0) + BinOp.gt (| + M.read (| remaining |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1990,10 +1997,10 @@ Module iter. "core::iter::adapters::take::Take", "iter" |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| remaining |)) - (Value.Integer 1); + BinOp.Wrap.sub (| + M.read (| remaining |), + Value.Integer IntegerKind.Usize 1 + |); M.call_closure (| M.get_associated_function (| Self, "check.spec_for_each", [] |), [ M.read (| f |) ] @@ -2006,7 +2013,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2098,7 +2105,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| end_ |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| end_ |)) + ] ] |) |), @@ -2190,7 +2200,7 @@ Module iter. |)) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2256,7 +2266,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| end_ |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| end_ |)) + ] ] |) |), @@ -2340,7 +2353,7 @@ Module iter. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/take_while.v b/CoqOfRust/core/iter/adapters/take_while.v index 4e6b8c5f3..32b74c392 100644 --- a/CoqOfRust/core/iter/adapters/take_while.v +++ b/CoqOfRust/core/iter/adapters/take_while.v @@ -65,7 +65,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100,7 +100,7 @@ Module iter. ("flag", Value.Bool false); ("predicate", M.read (| predicate |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -177,7 +177,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -375,7 +375,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -412,8 +412,10 @@ Module iter. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -443,13 +445,16 @@ Module iter. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let upper := M.copy (| γ0_1 |) in - M.alloc (| Value.Tuple [ Value.Integer 0; M.read (| upper |) ] |))) + M.alloc (| + Value.Tuple + [ Value.Integer IntegerKind.Usize 0; M.read (| upper |) ] + |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -579,7 +584,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -633,7 +638,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -707,7 +712,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/adapters/zip.v b/CoqOfRust/core/iter/adapters/zip.v index 215eaa496..fcba91348 100644 --- a/CoqOfRust/core/iter/adapters/zip.v +++ b/CoqOfRust/core/iter/adapters/zip.v @@ -106,7 +106,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -144,7 +144,7 @@ Module iter. |), [ M.read (| a |); M.read (| b |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -211,7 +211,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| n |)) (Value.Integer 0) + BinOp.eq (| + M.read (| n |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -236,10 +239,10 @@ Module iter. let β := n in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -261,7 +264,7 @@ Module iter. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_super_nth : @@ -317,7 +320,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_zip : M.IsFunction "core::iter::adapters::zip::zip" zip. @@ -350,7 +353,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -374,7 +377,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -399,7 +402,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -428,7 +431,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -458,7 +461,7 @@ Module iter. |), [ M.read (| self |); M.read (| idx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -503,7 +506,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -548,11 +551,11 @@ Module iter. [ ("a", M.read (| a |)); ("b", M.read (| b |)); - ("index", Value.Integer 0); - ("len", Value.Integer 0); - ("a_len", Value.Integer 0) + ("index", Value.Integer IntegerKind.Usize 0); + ("len", Value.Integer IntegerKind.Usize 0); + ("a_len", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -736,7 +739,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -759,7 +762,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -846,9 +849,7 @@ Module iter. ltac:(M.monadic (let γ := M.use - (M.alloc (| - BinOp.Pure.ne (M.read (| a_sz |)) (M.read (| b_sz |)) - |)) in + (M.alloc (| BinOp.ne (| M.read (| a_sz |), M.read (| b_sz |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| @@ -859,7 +860,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| a_sz |)) (M.read (| b_sz |)) + BinOp.gt (| M.read (| a_sz |), M.read (| b_sz |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -883,12 +884,12 @@ Module iter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| a_sz |)) - (M.read (| b_sz |))) + BinOp.Wrap.sub (| + M.read (| a_sz |), + M.read (| b_sz |) + |)) ] ] |) @@ -981,12 +982,12 @@ Module iter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| b_sz |)) - (M.read (| a_sz |))) + BinOp.Wrap.sub (| + M.read (| b_sz |), + M.read (| a_sz |) + |)) ] ] |) @@ -1148,7 +1149,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1342,7 +1343,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1395,7 +1396,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1424,7 +1425,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1473,11 +1474,11 @@ Module iter. [ ("a", M.read (| a |)); ("b", M.read (| b |)); - ("index", Value.Integer 0); - ("len", Value.Integer 0); - ("a_len", Value.Integer 0) + ("index", Value.Integer IntegerKind.Usize 0); + ("len", Value.Integer IntegerKind.Usize 0); + ("a_len", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1661,7 +1662,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1684,7 +1685,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1771,9 +1772,7 @@ Module iter. ltac:(M.monadic (let γ := M.use - (M.alloc (| - BinOp.Pure.ne (M.read (| a_sz |)) (M.read (| b_sz |)) - |)) in + (M.alloc (| BinOp.ne (| M.read (| a_sz |), M.read (| b_sz |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| @@ -1784,7 +1783,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| a_sz |)) (M.read (| b_sz |)) + BinOp.gt (| M.read (| a_sz |), M.read (| b_sz |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1808,12 +1807,12 @@ Module iter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| a_sz |)) - (M.read (| b_sz |))) + BinOp.Wrap.sub (| + M.read (| a_sz |), + M.read (| b_sz |) + |)) ] ] |) @@ -1906,12 +1905,12 @@ Module iter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| b_sz |)) - (M.read (| a_sz |))) + BinOp.Wrap.sub (| + M.read (| b_sz |), + M.read (| a_sz |) + |)) ] ] |) @@ -2073,7 +2072,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2137,7 +2136,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2158,16 +2157,16 @@ Module iter. M.read (| let~ idx := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "index" |) - |)) - (M.read (| idx |)) + |), + M.read (| idx |) + |) |) in M.alloc (| Value.Tuple @@ -2209,7 +2208,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2273,7 +2272,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| len |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| len |)) + ] ] |) |), @@ -2367,7 +2369,7 @@ Module iter. |)) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2445,13 +2447,13 @@ Module iter. [ ("a", M.read (| a |)); ("b", M.read (| b |)); - ("index", Value.Integer 0); + ("index", Value.Integer IntegerKind.Usize 0); ("len", M.read (| len |)); ("a_len", M.read (| a_len |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2496,21 +2498,22 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "index" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2531,7 +2534,7 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -2593,21 +2596,22 @@ Module iter. |) |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| + (BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "index" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "a_len" |) - |)))) + |) + |))) |) |)) in let _ := @@ -2632,7 +2636,10 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let β := @@ -2643,7 +2650,10 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let~ _ := @@ -2676,7 +2686,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2694,22 +2704,22 @@ Module iter. M.read (| let~ len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "index" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -2719,7 +2729,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2764,37 +2774,37 @@ Module iter. M.get_function (| "core::cmp::min", [ Ty.path "usize" ] |), [ M.read (| n |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "index" |) - |)) + |) + |) ] |) |) in let~ end_ := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "index" |) - |)) - (M.read (| delta |)) + |), + M.read (| delta |) + |) |) in let~ _ := M.loop (| @@ -2807,15 +2817,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "index" |) - |)) - (M.read (| end_ |)) + |), + M.read (| end_ |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2839,7 +2850,10 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -2943,14 +2957,11 @@ Module iter. "super_nth", [] |), - [ - M.read (| self |); - BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| delta |)) - ] + [ M.read (| self |); BinOp.Wrap.sub (| M.read (| n |), M.read (| delta |) |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3078,7 +3089,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| sz_a |)) (M.read (| sz_b |)) + BinOp.ne (| M.read (| sz_a |), M.read (| sz_b |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -3120,15 +3131,16 @@ Module iter. |) |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| sz_a |)) - (M.read (| + (BinOp.gt (| + M.read (| sz_a |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "len" |) - |)))) + |) + |))) |) |)) in let _ := @@ -3154,18 +3166,19 @@ Module iter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| sz_a |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| sz_a |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "len" |) - |))) + |) + |)) ] ] |) @@ -3223,10 +3236,12 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in let~ _ := M.alloc (| @@ -3308,18 +3323,20 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3417,15 +3434,16 @@ Module iter. |) |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| sz_b |)) - (M.read (| + (BinOp.gt (| + M.read (| sz_b |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "len" |) - |)))) + |) + |))) |) |)) in let _ := @@ -3450,18 +3468,19 @@ Module iter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| sz_b |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| sz_b |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "len" |) - |))) + |) + |)) ] ] |) @@ -3553,21 +3572,22 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "index" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::adapters::zip::Zip", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3580,7 +3600,7 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ _ := let β := @@ -3591,7 +3611,7 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in let~ i := M.copy (| @@ -3650,7 +3670,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3815,7 +3835,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3894,7 +3914,7 @@ Module iter. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3978,7 +3998,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4027,7 +4047,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4066,7 +4086,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_size : @@ -4099,7 +4119,7 @@ Module iter. |), [ M.read (| it |); M.read (| idx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_get_unchecked : @@ -4157,7 +4177,7 @@ Module iter. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4196,7 +4216,7 @@ Module iter. |), [ M.read (| self |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4299,7 +4319,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4427,7 +4447,7 @@ Module iter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| upper |)) ] ] @@ -4582,7 +4602,7 @@ Module iter. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| UnOp.Pure.not (M.read (| more |)) |)) in + M.use (M.alloc (| UnOp.not (| M.read (| more |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -4599,7 +4619,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/range.v b/CoqOfRust/core/iter/range.v index 2d7965b7a..49667c2a2 100644 --- a/CoqOfRust/core/iter/range.v +++ b/CoqOfRust/core/iter/range.v @@ -207,7 +207,7 @@ Module iter. M.read (| Value.String "overflow in `Step::forward`" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_forward : M.IsProvidedMethod "core::iter::range::Step" "forward" forward. @@ -221,7 +221,7 @@ Module iter. M.get_trait_method (| "core::iter::range::Step", Self, [], "forward", [] |), [ M.read (| start |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_forward_unchecked : @@ -252,7 +252,7 @@ Module iter. M.read (| Value.String "overflow in `Step::backward`" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_backward : @@ -267,7 +267,7 @@ Module iter. M.get_trait_method (| "core::iter::range::Step", Self, [], "backward", [] |), [ M.read (| start |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_backward_unchecked : @@ -293,7 +293,7 @@ Module iter. M.get_associated_function (| Ty.path "u8", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -312,7 +312,7 @@ Module iter. M.get_associated_function (| Ty.path "u8", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -368,10 +368,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.U8 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.U8 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -385,7 +385,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -441,10 +441,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.U8 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.U8 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -458,7 +458,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -486,9 +486,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -496,10 +497,10 @@ Module iter. "core::option::Option::Some" [ M.rust_cast - (BinOp.Wrap.sub - Integer.U8 - (M.read (| M.read (| end_ |) |)) - (M.read (| M.read (| start |) |))) + (BinOp.Wrap.sub (| + M.read (| M.read (| end_ |) |), + M.read (| M.read (| start |) |) + |)) ] |))); fun γ => @@ -508,7 +509,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -567,7 +568,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -626,7 +627,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -665,7 +666,7 @@ Module iter. M.get_associated_function (| Ty.path "i8", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -684,7 +685,7 @@ Module iter. M.get_associated_function (| Ty.path "i8", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -740,10 +741,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.I8 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I8 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -757,7 +758,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -813,10 +814,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.I8 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.I8 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -830,7 +831,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -862,9 +863,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -887,7 +889,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -956,7 +958,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| wrapped |)) (M.read (| start |)) + BinOp.ge (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -985,7 +987,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1054,7 +1056,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| wrapped |)) (M.read (| start |)) + BinOp.le (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1083,7 +1085,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1122,7 +1124,7 @@ Module iter. M.get_associated_function (| Ty.path "u16", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1141,7 +1143,7 @@ Module iter. M.get_associated_function (| Ty.path "u16", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1197,10 +1199,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.U16 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.U16 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -1214,7 +1216,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1270,10 +1272,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.U16 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.U16 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -1287,7 +1289,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1315,9 +1317,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1325,10 +1328,10 @@ Module iter. "core::option::Option::Some" [ M.rust_cast - (BinOp.Wrap.sub - Integer.U16 - (M.read (| M.read (| end_ |) |)) - (M.read (| M.read (| start |) |))) + (BinOp.Wrap.sub (| + M.read (| M.read (| end_ |) |), + M.read (| M.read (| start |) |) + |)) ] |))); fun γ => @@ -1337,7 +1340,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1396,7 +1399,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1455,7 +1458,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1494,7 +1497,7 @@ Module iter. M.get_associated_function (| Ty.path "i16", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1513,7 +1516,7 @@ Module iter. M.get_associated_function (| Ty.path "i16", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1569,10 +1572,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.I16 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I16 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -1586,7 +1589,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1642,10 +1645,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.I16 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.I16 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -1659,7 +1662,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1691,9 +1694,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1716,7 +1720,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1785,7 +1789,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| wrapped |)) (M.read (| start |)) + BinOp.ge (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1814,7 +1818,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1883,7 +1887,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| wrapped |)) (M.read (| start |)) + BinOp.le (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1912,7 +1916,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1951,7 +1955,7 @@ Module iter. M.get_associated_function (| Ty.path "u32", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1970,7 +1974,7 @@ Module iter. M.get_associated_function (| Ty.path "u32", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2026,10 +2030,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.U32 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -2043,7 +2047,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2099,10 +2103,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.U32 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -2116,7 +2120,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2144,9 +2148,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2154,10 +2159,10 @@ Module iter. "core::option::Option::Some" [ M.rust_cast - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.read (| end_ |) |)) - (M.read (| M.read (| start |) |))) + (BinOp.Wrap.sub (| + M.read (| M.read (| end_ |) |), + M.read (| M.read (| start |) |) + |)) ] |))); fun γ => @@ -2166,7 +2171,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2225,7 +2230,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2284,7 +2289,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2323,7 +2328,7 @@ Module iter. M.get_associated_function (| Ty.path "i32", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2342,7 +2347,7 @@ Module iter. M.get_associated_function (| Ty.path "i32", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2398,10 +2403,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.I32 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I32 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -2415,7 +2420,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2471,10 +2476,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.I32 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.I32 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -2488,7 +2493,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2520,9 +2525,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2545,7 +2551,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2614,7 +2620,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| wrapped |)) (M.read (| start |)) + BinOp.ge (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -2643,7 +2649,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2712,7 +2718,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| wrapped |)) (M.read (| start |)) + BinOp.le (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -2741,7 +2747,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2780,7 +2786,7 @@ Module iter. M.get_associated_function (| Ty.path "u64", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2799,7 +2805,7 @@ Module iter. M.get_associated_function (| Ty.path "u64", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2855,10 +2861,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.U64 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.U64 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -2872,7 +2878,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2928,10 +2934,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.U64 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -2945,7 +2951,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2973,9 +2979,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2983,10 +2990,10 @@ Module iter. "core::option::Option::Some" [ M.rust_cast - (BinOp.Wrap.sub - Integer.U64 - (M.read (| M.read (| end_ |) |)) - (M.read (| M.read (| start |) |))) + (BinOp.Wrap.sub (| + M.read (| M.read (| end_ |) |), + M.read (| M.read (| start |) |) + |)) ] |))); fun γ => @@ -2995,7 +3002,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3054,7 +3061,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3113,7 +3120,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3152,7 +3159,7 @@ Module iter. M.get_associated_function (| Ty.path "i64", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3171,7 +3178,7 @@ Module iter. M.get_associated_function (| Ty.path "i64", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3227,10 +3234,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.I64 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I64 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -3244,7 +3251,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3300,10 +3307,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.I64 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.I64 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -3317,7 +3324,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3349,9 +3356,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3374,7 +3382,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3443,7 +3451,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| wrapped |)) (M.read (| start |)) + BinOp.ge (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -3472,7 +3480,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3541,7 +3549,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| wrapped |)) (M.read (| start |)) + BinOp.le (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -3570,7 +3578,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3609,7 +3617,7 @@ Module iter. M.get_associated_function (| Ty.path "usize", "unchecked_add", [] |), [ M.read (| start |); M.read (| M.use n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3628,7 +3636,7 @@ Module iter. M.get_associated_function (| Ty.path "usize", "unchecked_sub", [] |), [ M.read (| start |); M.read (| M.use n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3684,10 +3692,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.Usize 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -3701,7 +3709,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3757,10 +3765,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.Usize 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -3774,7 +3782,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3802,9 +3810,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3814,10 +3823,10 @@ Module iter. M.read (| M.use (M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| M.read (| end_ |) |)) - (M.read (| M.read (| start |) |)) + BinOp.Wrap.sub (| + M.read (| M.read (| end_ |) |), + M.read (| M.read (| start |) |) + |) |)) |) ] @@ -3828,7 +3837,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3887,7 +3896,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3946,7 +3955,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3985,7 +3994,7 @@ Module iter. M.get_associated_function (| Ty.path "isize", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4004,7 +4013,7 @@ Module iter. M.get_associated_function (| Ty.path "isize", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4060,10 +4069,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.Isize - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.Isize 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -4077,7 +4086,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4133,10 +4142,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.Isize - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.Isize 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -4150,7 +4159,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4182,9 +4191,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4207,7 +4217,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4276,7 +4286,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| wrapped |)) (M.read (| start |)) + BinOp.ge (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -4305,7 +4315,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4374,7 +4384,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| wrapped |)) (M.read (| start |)) + BinOp.le (| M.read (| wrapped |), M.read (| start |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -4403,7 +4413,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4442,7 +4452,7 @@ Module iter. M.get_associated_function (| Ty.path "u128", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4461,7 +4471,7 @@ Module iter. M.get_associated_function (| Ty.path "u128", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4517,10 +4527,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.U128 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.U128 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -4534,7 +4544,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4590,10 +4600,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.U128 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.U128 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -4607,7 +4617,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4634,9 +4644,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4658,10 +4669,10 @@ Module iter. [] |), [ - BinOp.Wrap.sub - Integer.U128 - (M.read (| M.read (| end_ |) |)) - (M.read (| M.read (| start |) |)) + BinOp.Wrap.sub (| + M.read (| M.read (| end_ |) |), + M.read (| M.read (| start |) |) + |) ] |) ] @@ -4673,7 +4684,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4691,7 +4702,7 @@ Module iter. M.get_associated_function (| Ty.path "u128", "checked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4709,7 +4720,7 @@ Module iter. M.get_associated_function (| Ty.path "u128", "checked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4748,7 +4759,7 @@ Module iter. M.get_associated_function (| Ty.path "i128", "unchecked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4767,7 +4778,7 @@ Module iter. M.get_associated_function (| Ty.path "i128", "unchecked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4823,10 +4834,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.add - Integer.I128 - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I128 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -4840,7 +4851,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4896,10 +4907,10 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Wrap.sub - Integer.I128 - (M.read (| M.get_constant (| "core::num::MIN" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::MIN" |) |), + Value.Integer IntegerKind.I128 1 + |) |), [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |))); @@ -4913,7 +4924,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4945,9 +4956,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| M.read (| start |) |)) - (M.read (| M.read (| end_ |) |)) + BinOp.le (| + M.read (| M.read (| start |) |), + M.read (| M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| @@ -5003,7 +5015,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5021,7 +5033,7 @@ Module iter. M.get_associated_function (| Ty.path "i128", "checked_add", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5039,7 +5051,7 @@ Module iter. M.get_associated_function (| Ty.path "i128", "checked_sub", [] |), [ M.read (| start |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5109,7 +5121,7 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| start |)) (M.read (| end_ |)) + BinOp.le (| M.read (| start |), M.read (| end_ |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -5118,10 +5130,7 @@ Module iter. |) in let~ count := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (M.read (| end_ |)) - (M.read (| start |)) + BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -5132,13 +5141,15 @@ Module iter. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| start |)) - (Value.Integer 55296), + BinOp.lt (| + M.read (| start |), + Value.Integer IntegerKind.U32 55296 + |), ltac:(M.monadic - (BinOp.Pure.le - (Value.Integer 57344) - (M.read (| end_ |)))) + (BinOp.le (| + Value.Integer IntegerKind.U32 57344, + M.read (| end_ |) + |))) |) |)) in let _ := @@ -5168,10 +5179,10 @@ Module iter. [] |), [ - BinOp.Wrap.sub - Integer.U32 - (M.read (| count |)) - (Value.Integer 2048) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.U32 2048 + |) ] |) ] @@ -5219,7 +5230,7 @@ Module iter. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5331,9 +5342,15 @@ Module iter. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| start |)) (Value.Integer 55296), + BinOp.lt (| + M.read (| start |), + Value.Integer IntegerKind.U32 55296 + |), ltac:(M.monadic - (BinOp.Pure.le (Value.Integer 55296) (M.read (| res |)))) + (BinOp.le (| + Value.Integer IntegerKind.U32 55296, + M.read (| res |) + |))) |) |)) in let _ := @@ -5363,7 +5380,8 @@ Module iter. "forward_checked", [] |), - [ M.read (| res |); Value.Integer 2048 ] + [ M.read (| res |); Value.Integer IntegerKind.Usize 2048 + ] |) ] |) @@ -5428,10 +5446,11 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| res |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::char::methods::MAX" |) |))) + BinOp.le (| + M.read (| res |), + M.rust_cast + (M.read (| M.get_constant (| "core::char::methods::MAX" |) |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5456,7 +5475,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5564,9 +5583,15 @@ Module iter. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ge (M.read (| start |)) (Value.Integer 57344), + BinOp.ge (| + M.read (| start |), + Value.Integer IntegerKind.U32 57344 + |), ltac:(M.monadic - (BinOp.Pure.gt (Value.Integer 57344) (M.read (| res |)))) + (BinOp.gt (| + Value.Integer IntegerKind.U32 57344, + M.read (| res |) + |))) |) |)) in let _ := @@ -5596,7 +5621,8 @@ Module iter. "backward_checked", [] |), - [ M.read (| res |); Value.Integer 2048 ] + [ M.read (| res |); Value.Integer IntegerKind.Usize 2048 + ] |) ] |) @@ -5665,7 +5691,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5715,9 +5741,15 @@ Module iter. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| start |)) (Value.Integer 55296), + BinOp.lt (| + M.read (| start |), + Value.Integer IntegerKind.U32 55296 + |), ltac:(M.monadic - (BinOp.Pure.le (Value.Integer 55296) (M.read (| res |)))) + (BinOp.le (| + Value.Integer IntegerKind.U32 55296, + M.read (| res |) + |))) |) |)) in let _ := @@ -5733,7 +5765,7 @@ Module iter. "forward_unchecked", [] |), - [ M.read (| res |); Value.Integer 2048 ] + [ M.read (| res |); Value.Integer IntegerKind.Usize 2048 ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -5747,7 +5779,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5797,9 +5829,15 @@ Module iter. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ge (M.read (| start |)) (Value.Integer 57344), + BinOp.ge (| + M.read (| start |), + Value.Integer IntegerKind.U32 57344 + |), ltac:(M.monadic - (BinOp.Pure.gt (Value.Integer 57344) (M.read (| res |)))) + (BinOp.gt (| + Value.Integer IntegerKind.U32 57344, + M.read (| res |) + |))) |) |)) in let _ := @@ -5815,7 +5853,7 @@ Module iter. "backward_unchecked", [] |), - [ M.read (| res |); Value.Integer 2048 ] + [ M.read (| res |); Value.Integer IntegerKind.Usize 2048 ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -5829,7 +5867,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5910,7 +5948,7 @@ Module iter. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6023,7 +6061,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6142,7 +6180,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6196,7 +6234,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6250,7 +6288,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6331,7 +6369,7 @@ Module iter. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6382,7 +6420,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6433,7 +6471,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6478,7 +6516,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6523,7 +6561,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6604,7 +6642,7 @@ Module iter. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6655,7 +6693,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6706,7 +6744,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6751,7 +6789,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6796,7 +6834,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6900,7 +6938,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.read (| Value.String "`Step` invariants not upheld" |) @@ -6930,7 +6968,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7068,7 +7106,7 @@ Module iter. |), [ plus_n ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.read (| @@ -7112,7 +7150,7 @@ Module iter. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7206,7 +7244,7 @@ Module iter. ] |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -7282,7 +7320,7 @@ Module iter. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| taken |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| taken |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -7290,7 +7328,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7375,7 +7413,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.read (| Value.String "`Step` invariants not upheld" |) @@ -7404,7 +7442,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7531,7 +7569,10 @@ Module iter. "backward_checked", [] |), - [ M.read (| minus_n |); Value.Integer 1 ] + [ + M.read (| minus_n |); + Value.Integer IntegerKind.Usize 1 + ] |); M.read (| Value.String "`Step` invariants not upheld" @@ -7591,7 +7632,7 @@ Module iter. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7685,7 +7726,7 @@ Module iter. ] |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -7761,7 +7802,7 @@ Module iter. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| taken |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| taken |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -7769,7 +7810,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7860,7 +7901,7 @@ Module iter. "forward_unchecked", [] |), - [ M.read (| old |); Value.Integer 1 ] + [ M.read (| old |); Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| @@ -7872,7 +7913,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7983,7 +8024,10 @@ Module iter. "forward_unchecked", [] |), - [ M.read (| plus_n |); Value.Integer 1 ] + [ + M.read (| plus_n |); + Value.Integer IntegerKind.Usize 1 + ] |) |) in M.return_ (| @@ -8018,7 +8062,7 @@ Module iter. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8115,7 +8159,7 @@ Module iter. ] |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -8178,7 +8222,7 @@ Module iter. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| taken |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| taken |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -8186,7 +8230,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8255,7 +8299,7 @@ Module iter. "end" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -8278,7 +8322,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8389,7 +8433,10 @@ Module iter. "backward_unchecked", [] |), - [ M.read (| minus_n |); Value.Integer 1 ] + [ + M.read (| minus_n |); + Value.Integer IntegerKind.Usize 1 + ] |) |) in M.return_ (| @@ -8432,7 +8479,7 @@ Module iter. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8526,7 +8573,7 @@ Module iter. ] |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -8589,7 +8636,7 @@ Module iter. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| taken |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| taken |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -8597,7 +8644,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8644,7 +8691,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8735,14 +8782,16 @@ Module iter. (M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8819,11 +8868,11 @@ Module iter. ] |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8848,7 +8897,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8872,7 +8921,7 @@ Module iter. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8899,7 +8948,7 @@ Module iter. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8926,7 +8975,7 @@ Module iter. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8941,7 +8990,7 @@ Module iter. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8966,7 +9015,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9004,7 +9053,7 @@ Module iter. M.read (| idx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9469,7 +9518,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9494,7 +9543,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9519,7 +9568,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9594,7 +9643,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -9616,7 +9665,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9635,7 +9684,7 @@ Module iter. M.read (| M.get_constant (| "core::num::MAX" |) |); Value.StructTuple "core::option::Option::None" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9686,13 +9735,13 @@ Module iter. M.get_trait_method (| "core::clone::Clone", A, [], "clone", [] |), [ plus_n ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| plus_n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9867,7 +9916,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.read (| Value.String "`Step` invariants not upheld" |) @@ -9923,7 +9972,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10080,7 +10129,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.read (| Value.String "`Step` invariants not upheld" |) @@ -10343,7 +10392,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10469,7 +10518,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.read (| Value.String "`Step` invariants not upheld" |) @@ -10525,7 +10574,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10682,7 +10731,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.read (| Value.String "`Step` invariants not upheld" |) @@ -10945,7 +10994,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11084,7 +11133,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -11137,7 +11186,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11287,7 +11336,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -11547,7 +11596,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11666,7 +11715,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -11719,7 +11768,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11869,7 +11918,7 @@ Module iter. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -12129,7 +12178,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12175,7 +12224,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12225,10 +12274,10 @@ Module iter. M.return_ (| Value.Tuple [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.StructTuple "core::option::Option::Some" - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] ] |) |) @@ -12280,7 +12329,7 @@ Module iter. "saturating_add", [] |), - [ M.read (| hint |); Value.Integer 1 ] + [ M.read (| hint |); Value.Integer IntegerKind.Usize 1 ] |); M.call_closure (| M.get_associated_function (| @@ -12288,7 +12337,7 @@ Module iter. "checked_add", [] |), - [ M.read (| hint |); Value.Integer 1 ] + [ M.read (| hint |); Value.Integer IntegerKind.Usize 1 ] |) ] |))); @@ -12306,7 +12355,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12350,7 +12399,9 @@ Module iter. let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 0 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.Usize 0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] @@ -12414,11 +12465,14 @@ Module iter. "checked_add", [] |), - [ M.read (| steps |); Value.Integer 1 ] + [ + M.read (| steps |); + Value.Integer IntegerKind.Usize 1 + ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -12428,7 +12482,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12603,7 +12657,7 @@ Module iter. |), [ plus_n ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -12699,7 +12753,7 @@ Module iter. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12730,7 +12784,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12784,7 +12838,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12808,7 +12862,7 @@ Module iter. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12835,7 +12889,7 @@ Module iter. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12862,7 +12916,7 @@ Module iter. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12877,7 +12931,7 @@ Module iter. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12927,7 +12981,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13105,7 +13159,7 @@ Module iter. |), [ minus_n ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -13201,7 +13255,7 @@ Module iter. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13232,7 +13286,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13286,7 +13340,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/empty.v b/CoqOfRust/core/iter/sources/empty.v index 1c5f033ac..56c884be8 100644 --- a/CoqOfRust/core/iter/sources/empty.v +++ b/CoqOfRust/core/iter/sources/empty.v @@ -16,7 +16,7 @@ Module iter. (Value.StructTuple "core::iter::sources::empty::Empty" [ Value.StructTuple "core::marker::PhantomData" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_empty : M.IsFunction "core::iter::sources::empty::empty" empty. @@ -63,7 +63,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94,7 +94,7 @@ Module iter. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -110,10 +110,12 @@ Module iter. (let self := M.alloc (| self |) in Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -146,7 +148,7 @@ Module iter. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -173,8 +175,8 @@ Module iter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - Value.Integer 0)) - | _, _ => M.impossible + Value.Integer IntegerKind.Usize 0)) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -230,7 +232,7 @@ Module iter. Value.StructTuple "core::iter::sources::empty::Empty" [ Value.StructTuple "core::marker::PhantomData" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -259,7 +261,7 @@ Module iter. (Value.StructTuple "core::iter::sources::empty::Empty" [ Value.StructTuple "core::marker::PhantomData" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/from_coroutine.v b/CoqOfRust/core/iter/sources/from_coroutine.v index a367dab98..c46c2ab82 100644 --- a/CoqOfRust/core/iter/sources/from_coroutine.v +++ b/CoqOfRust/core/iter/sources/from_coroutine.v @@ -17,7 +17,7 @@ Module iter. Value.StructTuple "core::iter::sources::from_coroutine::FromCoroutine" [ M.read (| coroutine |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_coroutine : @@ -55,7 +55,7 @@ Module iter. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -143,7 +143,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -191,7 +191,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/from_fn.v b/CoqOfRust/core/iter/sources/from_fn.v index e20faf7b3..b2110c3c9 100644 --- a/CoqOfRust/core/iter/sources/from_fn.v +++ b/CoqOfRust/core/iter/sources/from_fn.v @@ -18,7 +18,7 @@ Module iter. ltac:(M.monadic (let f := M.alloc (| f |) in Value.StructTuple "core::iter::sources::from_fn::FromFn" [ M.read (| f |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_fn : M.IsFunction "core::iter::sources::from_fn::from_fn" from_fn. @@ -55,7 +55,7 @@ Module iter. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102,7 +102,7 @@ Module iter. Value.Tuple [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -150,7 +150,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/once.v b/CoqOfRust/core/iter/sources/once.v index eb89ecf39..682111c3d 100644 --- a/CoqOfRust/core/iter/sources/once.v +++ b/CoqOfRust/core/iter/sources/once.v @@ -29,7 +29,7 @@ Module iter. [ Value.StructTuple "core::option::Option::Some" [ M.read (| value |) ] ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_once : M.IsFunction "core::iter::sources::once::once" once. @@ -73,7 +73,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -118,7 +118,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -164,7 +164,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -194,7 +194,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -242,7 +242,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -285,7 +285,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/once_with.v b/CoqOfRust/core/iter/sources/once_with.v index 21aa49ba9..bf2cf5ea6 100644 --- a/CoqOfRust/core/iter/sources/once_with.v +++ b/CoqOfRust/core/iter/sources/once_with.v @@ -17,7 +17,7 @@ Module iter. Value.StructRecord "core::iter::sources::once_with::OnceWith" [ ("gen", Value.StructTuple "core::option::Option::Some" [ M.read (| gen |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_once_with : M.IsFunction "core::iter::sources::once_with::once_with" once_with. @@ -61,7 +61,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -144,7 +144,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,7 +271,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -312,7 +312,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -354,7 +354,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -408,7 +408,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/repeat.v b/CoqOfRust/core/iter/sources/repeat.v index 75dcfdcb3..4c6ba4347 100644 --- a/CoqOfRust/core/iter/sources/repeat.v +++ b/CoqOfRust/core/iter/sources/repeat.v @@ -17,7 +17,7 @@ Module iter. Value.StructRecord "core::iter::sources::repeat::Repeat" [ ("element", M.read (| elt |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_repeat : M.IsFunction "core::iter::sources::repeat::repeat" repeat. @@ -55,7 +55,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100,7 +100,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -144,7 +144,7 @@ Module iter. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -163,7 +163,7 @@ Module iter. M.read (| M.get_constant (| "core::num::MAX" |) |); Value.StructTuple "core::option::Option::None" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -192,7 +192,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -233,7 +233,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -250,7 +250,7 @@ Module iter. M.never_to_any (| M.read (| M.loop (| ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -267,7 +267,7 @@ Module iter. M.never_to_any (| M.read (| M.loop (| ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -317,7 +317,7 @@ Module iter. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -346,7 +346,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -387,7 +387,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/repeat_n.v b/CoqOfRust/core/iter/sources/repeat_n.v index a292b6a48..e4212c73a 100644 --- a/CoqOfRust/core/iter/sources/repeat_n.v +++ b/CoqOfRust/core/iter/sources/repeat_n.v @@ -44,7 +44,9 @@ Module iter. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| count |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| count |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -68,7 +70,7 @@ Module iter. [ ("element", M.read (| element |)); ("count", M.read (| count |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_repeat_n : M.IsFunction "core::iter::sources::repeat_n::repeat_n" repeat_n. @@ -133,7 +135,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -186,7 +188,7 @@ Module iter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -229,15 +231,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::sources::repeat_n::RepeatN", "count" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -248,7 +251,7 @@ Module iter. "core::iter::sources::repeat_n::RepeatN", "count" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.StructTuple @@ -276,7 +279,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_element : @@ -313,7 +316,7 @@ Module iter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -367,15 +370,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::sources::repeat_n::RepeatN", "count" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -403,7 +407,7 @@ Module iter. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple @@ -418,15 +422,16 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::iter::sources::repeat_n::RepeatN", "count" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -491,7 +496,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -528,7 +533,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -572,9 +577,7 @@ Module iter. ltac:(M.monadic (let γ := M.use - (M.alloc (| - BinOp.Pure.ge (M.read (| skip |)) (M.read (| len |)) - |)) in + (M.alloc (| BinOp.ge (| M.read (| skip |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -599,7 +602,7 @@ Module iter. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| skip |)) (M.read (| len |)) |)) in + (M.alloc (| BinOp.gt (| M.read (| skip |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -612,12 +615,7 @@ Module iter. "new_unchecked", [] |), - [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| skip |)) - (M.read (| len |)) - ] + [ BinOp.Wrap.sub (| M.read (| skip |), M.read (| len |) |) ] |) ] |))); @@ -630,7 +628,7 @@ Module iter. "core::iter::sources::repeat_n::RepeatN", "count" |), - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| skip |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| skip |) |) |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] @@ -638,7 +636,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -660,7 +658,7 @@ Module iter. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -684,7 +682,7 @@ Module iter. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -726,7 +724,7 @@ Module iter. "count" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -763,7 +761,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -788,7 +786,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -813,7 +811,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/repeat_with.v b/CoqOfRust/core/iter/sources/repeat_with.v index d058ffdf2..92e55f787 100644 --- a/CoqOfRust/core/iter/sources/repeat_with.v +++ b/CoqOfRust/core/iter/sources/repeat_with.v @@ -17,7 +17,7 @@ Module iter. Value.StructRecord "core::iter::sources::repeat_with::RepeatWith" [ ("repeater", M.read (| repeater |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_repeat_with : @@ -69,7 +69,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -116,7 +116,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -167,7 +167,7 @@ Module iter. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -186,7 +186,7 @@ Module iter. M.read (| M.get_constant (| "core::num::MAX" |) |); Value.StructTuple "core::option::Option::None" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -317,7 +317,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/sources/successors.v b/CoqOfRust/core/iter/sources/successors.v index 9400c91cf..cbe09ca6a 100644 --- a/CoqOfRust/core/iter/sources/successors.v +++ b/CoqOfRust/core/iter/sources/successors.v @@ -24,7 +24,7 @@ Module iter. Value.StructRecord "core::iter::sources::successors::Successors" [ ("next", M.read (| first |)); ("succ", M.read (| succ |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_successors : @@ -80,7 +80,7 @@ Module iter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -220,7 +220,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -262,21 +262,26 @@ Module iter. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple - [ Value.Integer 1; Value.StructTuple "core::option::Option::None" [] ] + [ + Value.Integer IntegerKind.Usize 1; + Value.StructTuple "core::option::Option::None" [] + ] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -358,7 +363,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/traits/accum.v b/CoqOfRust/core/iter/traits/accum.v index e2c618ddb..67eaa9a0d 100644 --- a/CoqOfRust/core/iter/traits/accum.v +++ b/CoqOfRust/core/iter/traits/accum.v @@ -40,7 +40,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I8 0; M.closure (fun γ => ltac:(M.monadic @@ -59,19 +59,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I8 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112,7 +109,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I8 1; M.closure (fun γ => ltac:(M.monadic @@ -131,19 +128,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I8 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -186,7 +180,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I8 0; M.closure (fun γ => ltac:(M.monadic @@ -219,11 +213,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -266,7 +260,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I8 1; M.closure (fun γ => ltac:(M.monadic @@ -299,11 +293,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -344,7 +338,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I16 0; M.closure (fun γ => ltac:(M.monadic @@ -363,19 +357,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I16 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -416,7 +407,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I16 1; M.closure (fun γ => ltac:(M.monadic @@ -435,19 +426,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I16 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -490,7 +478,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I16 0; M.closure (fun γ => ltac:(M.monadic @@ -523,11 +511,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -570,7 +558,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I16 1; M.closure (fun γ => ltac:(M.monadic @@ -603,11 +591,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -648,7 +636,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I32 0; M.closure (fun γ => ltac:(M.monadic @@ -667,19 +655,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I32 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -720,7 +705,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I32 1; M.closure (fun γ => ltac:(M.monadic @@ -739,19 +724,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -794,7 +776,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I32 0; M.closure (fun γ => ltac:(M.monadic @@ -827,11 +809,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -874,7 +856,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I32 1; M.closure (fun γ => ltac:(M.monadic @@ -907,11 +889,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -952,7 +934,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I64 0; M.closure (fun γ => ltac:(M.monadic @@ -971,19 +953,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I64 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1024,7 +1003,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I64 1; M.closure (fun γ => ltac:(M.monadic @@ -1043,19 +1022,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I64 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1098,7 +1074,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I64 0; M.closure (fun γ => ltac:(M.monadic @@ -1131,11 +1107,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1178,7 +1154,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I64 1; M.closure (fun γ => ltac:(M.monadic @@ -1211,11 +1187,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1256,7 +1232,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I128 0; M.closure (fun γ => ltac:(M.monadic @@ -1275,19 +1251,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.I128 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1328,7 +1301,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I128 1; M.closure (fun γ => ltac:(M.monadic @@ -1347,19 +1320,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I128 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1402,7 +1372,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.I128 0; M.closure (fun γ => ltac:(M.monadic @@ -1435,11 +1405,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1482,7 +1452,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.I128 1; M.closure (fun γ => ltac:(M.monadic @@ -1515,11 +1485,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1560,7 +1530,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.Isize 0; M.closure (fun γ => ltac:(M.monadic @@ -1579,19 +1549,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Isize - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1632,7 +1599,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.Isize 1; M.closure (fun γ => ltac:(M.monadic @@ -1651,19 +1618,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.Isize - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1706,7 +1670,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.Isize 0; M.closure (fun γ => ltac:(M.monadic @@ -1739,11 +1703,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1786,7 +1750,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.Isize 1; M.closure (fun γ => ltac:(M.monadic @@ -1819,11 +1783,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1864,7 +1828,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U8 0; M.closure (fun γ => ltac:(M.monadic @@ -1883,19 +1847,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U8 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1936,7 +1897,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U8 1; M.closure (fun γ => ltac:(M.monadic @@ -1955,19 +1916,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U8 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2010,7 +1968,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U8 0; M.closure (fun γ => ltac:(M.monadic @@ -2043,11 +2001,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2090,7 +2048,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U8 1; M.closure (fun γ => ltac:(M.monadic @@ -2123,11 +2081,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2168,7 +2126,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U16 0; M.closure (fun γ => ltac:(M.monadic @@ -2187,19 +2145,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U16 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2240,7 +2195,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U16 1; M.closure (fun γ => ltac:(M.monadic @@ -2259,19 +2214,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U16 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2314,7 +2266,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U16 0; M.closure (fun γ => ltac:(M.monadic @@ -2347,11 +2299,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2394,7 +2346,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U16 1; M.closure (fun γ => ltac:(M.monadic @@ -2427,11 +2379,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2472,7 +2424,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U32 0; M.closure (fun γ => ltac:(M.monadic @@ -2491,19 +2443,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U32 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2544,7 +2493,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U32 1; M.closure (fun γ => ltac:(M.monadic @@ -2563,19 +2512,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U32 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2618,7 +2564,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U32 0; M.closure (fun γ => ltac:(M.monadic @@ -2651,11 +2597,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2698,7 +2644,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U32 1; M.closure (fun γ => ltac:(M.monadic @@ -2731,11 +2677,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2776,7 +2722,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U64 0; M.closure (fun γ => ltac:(M.monadic @@ -2795,19 +2741,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U64 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2848,7 +2791,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U64 1; M.closure (fun γ => ltac:(M.monadic @@ -2867,19 +2810,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U64 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2922,7 +2862,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U64 0; M.closure (fun γ => ltac:(M.monadic @@ -2955,11 +2895,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3002,7 +2942,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U64 1; M.closure (fun γ => ltac:(M.monadic @@ -3035,11 +2975,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3080,7 +3020,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U128 0; M.closure (fun γ => ltac:(M.monadic @@ -3099,19 +3039,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.U128 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3152,7 +3089,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U128 1; M.closure (fun γ => ltac:(M.monadic @@ -3171,19 +3108,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U128 - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3226,7 +3160,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.U128 0; M.closure (fun γ => ltac:(M.monadic @@ -3259,11 +3193,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3306,7 +3240,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.U128 1; M.closure (fun γ => ltac:(M.monadic @@ -3339,11 +3273,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3384,7 +3318,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.closure (fun γ => ltac:(M.monadic @@ -3403,19 +3337,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3456,7 +3387,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.closure (fun γ => ltac:(M.monadic @@ -3475,19 +3406,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3530,7 +3458,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.closure (fun γ => ltac:(M.monadic @@ -3563,11 +3491,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3610,7 +3538,7 @@ Module iter. |), [ M.read (| iter |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.closure (fun γ => ltac:(M.monadic @@ -3643,11 +3571,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3697,7 +3625,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I8 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -3736,11 +3666,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3790,7 +3720,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I8 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -3829,11 +3761,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3886,7 +3818,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I8 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -3929,11 +3863,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3992,7 +3926,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I8 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -4035,11 +3971,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4095,7 +4031,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I16 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -4134,11 +4072,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4188,7 +4126,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I16 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -4227,11 +4167,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4284,7 +4224,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I16 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -4327,11 +4269,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4390,7 +4332,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I16 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -4433,11 +4377,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4493,7 +4437,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I32 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -4532,11 +4478,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4586,7 +4532,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I32 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -4625,11 +4573,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4682,7 +4630,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I32 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -4725,11 +4675,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4788,7 +4738,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I32 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -4831,11 +4783,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4891,7 +4843,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I64 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -4930,11 +4884,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4984,7 +4938,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I64 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -5023,11 +4979,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5080,7 +5036,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I64 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -5123,11 +5081,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5186,7 +5144,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I64 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -5229,11 +5189,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5289,7 +5249,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I128 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -5328,11 +5290,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5382,7 +5344,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I128 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -5421,11 +5385,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5481,7 +5445,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I128 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -5524,11 +5490,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5590,7 +5556,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I128 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -5633,11 +5601,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5693,7 +5661,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Isize 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -5732,11 +5702,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5786,7 +5756,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Isize 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -5825,11 +5797,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5885,7 +5857,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Isize 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -5928,11 +5902,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5994,7 +5968,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Isize 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -6037,11 +6013,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6097,7 +6073,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U8 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -6136,11 +6114,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6190,7 +6168,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U8 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -6229,11 +6209,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6286,7 +6266,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U8 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -6329,11 +6311,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6392,7 +6374,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U8 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -6435,11 +6419,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6495,7 +6479,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U16 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -6534,11 +6520,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6588,7 +6574,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U16 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -6627,11 +6615,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6684,7 +6672,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U16 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -6727,11 +6717,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6790,7 +6780,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U16 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -6833,11 +6825,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6893,7 +6885,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U32 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -6932,11 +6926,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6986,7 +6980,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U32 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -7025,11 +7021,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7082,7 +7078,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U32 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -7125,11 +7123,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7188,7 +7186,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U32 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -7231,11 +7231,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7291,7 +7291,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U64 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -7330,11 +7332,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7384,7 +7386,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U64 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -7423,11 +7427,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7480,7 +7484,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U64 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -7523,11 +7529,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7586,7 +7592,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U64 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -7629,11 +7637,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7689,7 +7697,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U128 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -7728,11 +7738,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7782,7 +7792,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U128 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -7821,11 +7833,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7881,7 +7893,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U128 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -7924,11 +7938,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7990,7 +8004,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U128 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -8033,11 +8049,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8093,7 +8109,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Usize 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -8132,11 +8150,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8186,7 +8204,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Usize 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -8225,11 +8245,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8285,7 +8305,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Usize 0 ]; M.closure (fun γ => ltac:(M.monadic @@ -8328,11 +8350,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8394,7 +8416,9 @@ Module iter. |), [ M.read (| iter |); - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 1 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Usize 1 ]; M.closure (fun γ => ltac:(M.monadic @@ -8437,11 +8461,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8507,19 +8531,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8579,19 +8600,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8667,11 +8685,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8747,11 +8765,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8811,19 +8829,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8883,19 +8898,16 @@ Module iter. fun γ => ltac:(M.monadic (let b := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| a |)) - (M.read (| b |)))) + BinOp.Wrap.mul (| M.read (| a |), M.read (| b |) |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8971,11 +8983,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9051,11 +9063,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9143,11 +9155,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9237,11 +9249,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9331,11 +9343,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9425,11 +9437,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/traits/collect.v b/CoqOfRust/core/iter/traits/collect.v index 11a8b60cf..d751904fa 100644 --- a/CoqOfRust/core/iter/traits/collect.v +++ b/CoqOfRust/core/iter/traits/collect.v @@ -31,7 +31,7 @@ Module iter. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75,7 +75,7 @@ Module iter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_extend_one : @@ -93,7 +93,7 @@ Module iter. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_extend_reserve : @@ -140,7 +140,7 @@ Module iter. M.get_function (| "core::mem::drop", [ Ty.tuple [] ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn extend_one(&mut self, _item: ()) {} *) @@ -151,7 +151,7 @@ Module iter. (let self := M.alloc (| self |) in let _item := M.alloc (| _item |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -252,9 +252,10 @@ Module iter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| lower_bound |)) - (Value.Integer 0) + BinOp.gt (| + M.read (| lower_bound |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -317,7 +318,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -368,7 +369,7 @@ Module iter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -423,7 +424,7 @@ Module iter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/traits/double_ended.v b/CoqOfRust/core/iter/traits/double_ended.v index 2a2322e35..adf4696b0 100644 --- a/CoqOfRust/core/iter/traits/double_ended.v +++ b/CoqOfRust/core/iter/traits/double_ended.v @@ -30,7 +30,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| n |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| n |)) + ] ] |) |), @@ -128,10 +131,10 @@ Module iter. [] |), [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (M.read (| i |)) + BinOp.Wrap.sub (| + M.read (| n |), + M.read (| i |) + |) ] |) ] @@ -152,7 +155,7 @@ Module iter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_advance_back_by : @@ -234,7 +237,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_nth_back : @@ -386,7 +389,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_try_rfold : @@ -464,7 +467,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_rfold : @@ -509,7 +512,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_rfind : @@ -540,7 +543,7 @@ Module iter. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -565,7 +568,7 @@ Module iter. |), [ M.read (| M.read (| self |) |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -590,7 +593,7 @@ Module iter. |), [ M.read (| M.read (| self |) |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -619,7 +622,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -649,7 +652,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -757,7 +760,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -918,7 +921,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -988,7 +991,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1018,7 +1021,7 @@ Module iter. |), [ M.read (| M.read (| self |) |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/traits/exact_size.v b/CoqOfRust/core/iter/traits/exact_size.v index 413941082..0b67fd436 100644 --- a/CoqOfRust/core/iter/traits/exact_size.v +++ b/CoqOfRust/core/iter/traits/exact_size.v @@ -60,8 +60,8 @@ Module iter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -77,7 +77,8 @@ Module iter. |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -128,7 +129,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_len : @@ -138,8 +139,8 @@ Module iter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Self, @@ -148,9 +149,10 @@ Module iter. [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_is_empty : @@ -184,7 +186,7 @@ Module iter. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -208,7 +210,7 @@ Module iter. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/traits/iterator.v b/CoqOfRust/core/iter/traits/iterator.v index 496484425..1984292fd 100644 --- a/CoqOfRust/core/iter/traits/iterator.v +++ b/CoqOfRust/core/iter/traits/iterator.v @@ -11,7 +11,7 @@ Module iter. ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function__assert_is_object_safe : @@ -28,7 +28,7 @@ Module iter. M.get_function (| "core::array::iter_next_chunk", [ Ty.associated; Self ] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_next_chunk : @@ -38,8 +38,12 @@ Module iter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - Value.Tuple [ Value.Integer 0; Value.StructTuple "core::option::Option::None" [] ])) - | _, _ => M.impossible + Value.Tuple + [ + Value.Integer IntegerKind.Usize 0; + Value.StructTuple "core::option::Option::None" [] + ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_size_hint : @@ -62,7 +66,7 @@ Module iter. |), [ M.read (| self |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.closure (fun γ => ltac:(M.monadic @@ -80,19 +84,19 @@ Module iter. [ fun γ => ltac:(M.monadic - (BinOp.Wrap.add - Integer.Usize - (M.read (| count |)) - (Value.Integer 1))) + (BinOp.Wrap.add (| + M.read (| count |), + Value.Integer IntegerKind.Usize 1 + |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_count : @@ -121,7 +125,7 @@ Module iter. M.get_associated_function (| Self, "some.last", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_last : @@ -150,7 +154,10 @@ Module iter. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| n |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| n |)) + ] ] |) |), @@ -248,10 +255,10 @@ Module iter. [] |), [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (M.read (| i |)) + BinOp.Wrap.sub (| + M.read (| n |), + M.read (| i |) + |) ] |) ] @@ -272,7 +279,7 @@ Module iter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_advance_by : @@ -382,7 +389,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_nth : @@ -401,7 +408,7 @@ Module iter. |), [ M.read (| self |); M.read (| step |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_step_by : @@ -432,7 +439,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_chain : @@ -463,7 +470,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_zip : @@ -482,7 +489,7 @@ Module iter. |), [ M.read (| self |); M.read (| separator |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_intersperse : @@ -503,7 +510,7 @@ Module iter. |), [ M.read (| self |); M.read (| separator |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_intersperse_with : @@ -525,7 +532,7 @@ Module iter. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_map : @@ -559,7 +566,7 @@ Module iter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_for_each : @@ -578,7 +585,7 @@ Module iter. |), [ M.read (| self |); M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_filter : @@ -597,7 +604,7 @@ Module iter. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_filter_map : @@ -615,7 +622,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_enumerate : @@ -633,7 +640,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_peekable : @@ -652,7 +659,7 @@ Module iter. |), [ M.read (| self |); M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_skip_while : @@ -671,7 +678,7 @@ Module iter. |), [ M.read (| self |); M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_take_while : @@ -690,7 +697,7 @@ Module iter. |), [ M.read (| self |); M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_map_while : @@ -709,7 +716,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_skip : @@ -728,7 +735,7 @@ Module iter. |), [ M.read (| self |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_take : @@ -748,7 +755,7 @@ Module iter. |), [ M.read (| self |); M.read (| initial_state |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_scan : @@ -767,7 +774,7 @@ Module iter. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_flat_map : @@ -785,7 +792,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_flatten : @@ -804,7 +811,7 @@ Module iter. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_map_windows : @@ -822,7 +829,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_fuse : @@ -841,7 +848,7 @@ Module iter. |), [ M.read (| self |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_inspect : @@ -852,7 +859,7 @@ Module iter. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_by_ref : @@ -872,7 +879,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_collect : @@ -943,11 +950,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_try_collect : @@ -974,7 +981,7 @@ Module iter. |) in M.alloc (| M.read (| collection |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_collect_into : @@ -1022,7 +1029,7 @@ Module iter. |) in M.alloc (| Value.Tuple [ M.read (| left |); M.read (| right |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_partition : @@ -1040,7 +1047,7 @@ Module iter. ltac:(M.monadic (let predicate := M.alloc (| γ |) in M.read (| - let~ true_count := M.alloc (| Value.Integer 0 |) in + let~ true_count := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -1125,10 +1132,10 @@ Module iter. let β := true_count in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1158,7 +1165,7 @@ Module iter. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_partition_in_place : @@ -1184,8 +1191,8 @@ Module iter. [ self; predicate ] |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Self, @@ -1194,9 +1201,10 @@ Module iter. [ P ] |), [ self; M.read (| predicate |) ] - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_is_partitioned : @@ -1348,7 +1356,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_try_fold : @@ -1376,7 +1384,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_try_for_each : @@ -1451,7 +1459,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_fold : @@ -1556,7 +1564,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_reduce : @@ -1686,7 +1694,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_try_reduce : @@ -1744,7 +1752,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_all : @@ -1802,7 +1810,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_any : @@ -1847,7 +1855,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_find : @@ -1888,7 +1896,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_find_map : @@ -1960,7 +1968,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_try_find : @@ -1996,7 +2004,7 @@ Module iter. |), [ M.read (| self |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.call_closure (| M.get_associated_function (| Self, "check.position", [] |), [ M.read (| predicate |) ] @@ -2005,7 +2013,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_position : @@ -2067,7 +2075,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_rposition : @@ -2097,7 +2105,7 @@ Module iter. M.get_trait_method (| "core::cmp::Ord", Ty.associated, [], "cmp", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_max : @@ -2127,7 +2135,7 @@ Module iter. M.get_trait_method (| "core::cmp::Ord", Ty.associated, [], "cmp", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_min : @@ -2254,7 +2262,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_max_by_key : @@ -2281,7 +2289,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_max_by : @@ -2408,7 +2416,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_min_by_key : @@ -2435,7 +2443,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_min_by : @@ -2453,7 +2461,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_rev : @@ -2492,7 +2500,7 @@ Module iter. |) in unzipped |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_unzip : @@ -2510,7 +2518,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_copied : @@ -2528,7 +2536,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_cloned : @@ -2546,7 +2554,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_cycle : @@ -2564,7 +2572,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_array_chunks : @@ -2584,7 +2592,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_sum : @@ -2604,7 +2612,7 @@ Module iter. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_product : @@ -2663,11 +2671,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_cmp : @@ -2730,7 +2738,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_cmp_by : @@ -2789,11 +2797,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_partial_cmp : @@ -2865,7 +2873,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_partial_cmp_by : @@ -2922,11 +2930,11 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_eq : @@ -2999,7 +3007,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_eq_by : @@ -3010,8 +3018,8 @@ Module iter. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Self, @@ -3020,8 +3028,9 @@ Module iter. [ I ] |), [ M.read (| self |); M.read (| other |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_ne : @@ -3060,7 +3069,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_lt : @@ -3111,14 +3120,14 @@ Module iter. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_le : @@ -3157,7 +3166,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_gt : @@ -3209,14 +3218,14 @@ Module iter. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_ge : @@ -3252,7 +3261,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_is_sorted : @@ -3321,7 +3330,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_is_sorted_by : @@ -3353,7 +3362,7 @@ Module iter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_is_sorted_by_key : @@ -3402,7 +3411,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod___iterator_get_unchecked : @@ -3546,7 +3555,7 @@ Module iter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_iter_compare : @@ -3672,9 +3681,9 @@ Module iter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_compare : @@ -3712,7 +3721,7 @@ Module iter. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3736,7 +3745,7 @@ Module iter. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3761,7 +3770,7 @@ Module iter. |), [ M.read (| M.read (| self |) |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3780,7 +3789,7 @@ Module iter. M.get_trait_method (| "core::iter::traits::iterator::Iterator", I, [], "nth", [] |), [ M.read (| M.read (| self |) |); M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3809,7 +3818,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3839,7 +3848,7 @@ Module iter. |), [ M.read (| self |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3949,7 +3958,7 @@ Module iter. |) in accum |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4110,7 +4119,7 @@ Module iter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4180,7 +4189,7 @@ Module iter. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4210,7 +4219,7 @@ Module iter. |), [ M.read (| M.read (| self |) |); M.read (| init |); M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/iter/traits/unchecked_iterator.v b/CoqOfRust/core/iter/traits/unchecked_iterator.v index 4a6d4fd83..599faea18 100644 --- a/CoqOfRust/core/iter/traits/unchecked_iterator.v +++ b/CoqOfRust/core/iter/traits/unchecked_iterator.v @@ -36,7 +36,7 @@ Module iter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_next_unchecked : diff --git a/CoqOfRust/core/marker.v b/CoqOfRust/core/marker.v index e6da7c389..a04fb1cd2 100644 --- a/CoqOfRust/core/marker.v +++ b/CoqOfRust/core/marker.v @@ -749,7 +749,7 @@ Module marker. (let self := M.alloc (| self |) in let β1 := M.alloc (| β1 |) in M.match_operator (| β1, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -777,7 +777,7 @@ Module marker. (let self := M.alloc (| self |) in let _other := M.alloc (| _other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -815,7 +815,7 @@ Module marker. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -843,7 +843,7 @@ Module marker. (let self := M.alloc (| self |) in let _other := M.alloc (| _other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -882,7 +882,7 @@ Module marker. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| (* Expected a function name *) M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -907,7 +907,7 @@ Module marker. match τ, α with | [], [] => ltac:(M.monadic (M.read (| (* Expected a function name *) M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1045,7 +1045,7 @@ Module marker. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "PhantomPinned" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1063,7 +1063,7 @@ Module marker. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "core::marker::PhantomPinned" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1095,7 +1095,7 @@ Module marker. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1127,7 +1127,7 @@ Module marker. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1161,7 +1161,7 @@ Module marker. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1183,7 +1183,7 @@ Module marker. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1207,7 +1207,7 @@ Module marker. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1229,7 +1229,7 @@ Module marker. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/mem/manually_drop.v b/CoqOfRust/core/mem/manually_drop.v index 8ab388a9b..d435d4f21 100644 --- a/CoqOfRust/core/mem/manually_drop.v +++ b/CoqOfRust/core/mem/manually_drop.v @@ -49,7 +49,7 @@ Module mem. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94,7 +94,7 @@ Module mem. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -125,7 +125,7 @@ Module mem. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -177,7 +177,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -219,7 +219,7 @@ Module mem. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -259,7 +259,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -298,7 +298,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -333,7 +333,7 @@ Module mem. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -363,7 +363,7 @@ Module mem. Value.StructRecord "core::mem::manually_drop::ManuallyDrop" [ ("value", M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -388,7 +388,7 @@ Module mem. "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -418,7 +418,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take : @@ -448,7 +448,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drop : @@ -480,7 +480,7 @@ Module mem. "core::mem::manually_drop::ManuallyDrop", "value" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -513,7 +513,7 @@ Module mem. "core::mem::manually_drop::ManuallyDrop", "value" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/mem/maybe_uninit.v b/CoqOfRust/core/mem/maybe_uninit.v index b90d738d6..6a3a18c73 100644 --- a/CoqOfRust/core/mem/maybe_uninit.v +++ b/CoqOfRust/core/mem/maybe_uninit.v @@ -35,7 +35,7 @@ Module mem. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -76,7 +76,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -116,7 +116,7 @@ Module mem. [ M.read (| val |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -136,7 +136,7 @@ Module mem. (Value.StructRecord "core::mem::maybe_uninit::MaybeUninit" [ ("uninit", Value.Tuple []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_uninit : @@ -183,7 +183,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_uninit_array : @@ -232,14 +232,14 @@ Module mem. |), [ u ] |); - Value.Integer 0; - Value.Integer 1 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.Usize 1 ] |) |) in u |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_zeroed : @@ -284,7 +284,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write : @@ -304,7 +304,7 @@ Module mem. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -324,7 +324,7 @@ Module mem. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_ptr : @@ -374,7 +374,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init : @@ -421,7 +421,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init_read : @@ -455,7 +455,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init_drop : @@ -497,7 +497,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init_ref : @@ -539,7 +539,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_assume_init_mut : @@ -591,7 +591,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_array_assume_init : @@ -614,7 +614,7 @@ Module mem. ltac:(M.monadic (let slice := M.alloc (| slice |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| slice |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_assume_init_ref : @@ -635,7 +635,7 @@ Module mem. ltac:(M.monadic (let slice := M.alloc (| slice |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| slice |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_assume_init_mut : @@ -664,7 +664,7 @@ Module mem. |), [ M.read (| this |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_as_ptr : @@ -693,7 +693,7 @@ Module mem. |), [ M.read (| this |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_as_mut_ptr : @@ -765,7 +765,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_slice : @@ -869,10 +869,12 @@ Module mem. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -964,7 +966,10 @@ Module mem. M.alloc (| Value.StructRecord "core::mem::maybe_uninit::write_slice_cloned::Guard" - [ ("slice", M.read (| this |)); ("initialized", Value.Integer 0) ] + [ + ("slice", M.read (| this |)); + ("initialized", Value.Integer IntegerKind.Usize 0) + ] |) in let~ _ := M.use @@ -981,7 +986,10 @@ Module mem. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| len |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| len |)) + ] ] |) |), @@ -1072,10 +1080,10 @@ Module mem. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -1109,7 +1117,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_slice_cloned : @@ -1148,7 +1156,7 @@ Module mem. M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes : @@ -1190,7 +1198,7 @@ Module mem. M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes_mut : @@ -1248,7 +1256,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_as_bytes : @@ -1306,7 +1314,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_as_bytes_mut : @@ -1346,7 +1354,7 @@ Module mem. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transpose : @@ -1386,7 +1394,7 @@ Module mem. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transpose : diff --git a/CoqOfRust/core/mem/mod.v b/CoqOfRust/core/mem/mod.v index fe2241c60..2cdb1ca88 100644 --- a/CoqOfRust/core/mem/mod.v +++ b/CoqOfRust/core/mem/mod.v @@ -27,7 +27,7 @@ Module mem. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_forget : M.IsFunction "core::mem::forget" forget. @@ -46,7 +46,7 @@ Module mem. M.get_function (| "core::intrinsics::forget", [ T ] |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_forget_unsized : M.IsFunction "core::mem::forget_unsized" forget_unsized. @@ -60,8 +60,8 @@ Module mem. match τ, α with | [ T ], [] => ltac:(M.monadic - (M.read (| (* thir failed to compile: Any { .. } *) M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + (M.call_closure (| M.get_function (| "core::intrinsics::size_of", [ T ] |), [] |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_size_of : M.IsFunction "core::mem::size_of" size_of. @@ -81,7 +81,7 @@ Module mem. M.get_function (| "core::intrinsics::size_of_val", [ T ] |), [ M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_size_of_val : M.IsFunction "core::mem::size_of_val" size_of_val. @@ -101,7 +101,7 @@ Module mem. M.get_function (| "core::intrinsics::size_of_val", [ T ] |), [ M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_size_of_val_raw : M.IsFunction "core::mem::size_of_val_raw" size_of_val_raw. @@ -116,7 +116,7 @@ Module mem. | [ T ], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::intrinsics::min_align_of", [ T ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_min_align_of : M.IsFunction "core::mem::min_align_of" min_align_of. @@ -136,7 +136,7 @@ Module mem. M.get_function (| "core::intrinsics::min_align_of_val", [ T ] |), [ M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_min_align_of_val : M.IsFunction "core::mem::min_align_of_val" min_align_of_val. @@ -151,7 +151,7 @@ Module mem. | [ T ], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::intrinsics::min_align_of", [ T ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_align_of : M.IsFunction "core::mem::align_of" align_of. @@ -171,7 +171,7 @@ Module mem. M.get_function (| "core::intrinsics::min_align_of_val", [ T ] |), [ M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_align_of_val : M.IsFunction "core::mem::align_of_val" align_of_val. @@ -191,7 +191,7 @@ Module mem. M.get_function (| "core::intrinsics::min_align_of_val", [ T ] |), [ M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_align_of_val_raw : M.IsFunction "core::mem::align_of_val_raw" align_of_val_raw. @@ -206,7 +206,7 @@ Module mem. | [ T ], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::intrinsics::needs_drop", [ T ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_needs_drop : M.IsFunction "core::mem::needs_drop" needs_drop. @@ -252,7 +252,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_zeroed : M.IsFunction "core::mem::zeroed" zeroed. @@ -303,7 +303,7 @@ Module mem. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.alloc (| UnOp.Pure.not (Value.Bool false) |)) in + (let γ := M.use (M.alloc (| UnOp.not (| Value.Bool false |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -322,8 +322,8 @@ Module mem. |), [ val ] |); - Value.Integer 1; - Value.Integer 1 + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -342,7 +342,7 @@ Module mem. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_uninitialized : M.IsFunction "core::mem::uninitialized" uninitialized. @@ -394,18 +394,19 @@ Module mem. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.gt (| + BinOp.Wrap.div (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::align_of", [ T ] |), [] - |))) - (Value.Integer 4) + |) + |), + Value.Integer IntegerKind.Usize 4 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -415,7 +416,11 @@ Module mem. M.return_ (| M.call_closure (| M.get_function (| "core::ptr::swap_nonoverlapping", [ T ] |), - [ M.read (| x |); M.read (| y |); Value.Integer 1 ] + [ + M.read (| x |); + M.read (| y |); + Value.Integer IntegerKind.Usize 1 + ] |) |) |) @@ -434,7 +439,7 @@ Module mem. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_swap : M.IsFunction "core::mem::swap" swap. @@ -498,7 +503,7 @@ Module mem. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_swap_simple : M.IsFunction "core::mem::swap_simple" swap_simple. @@ -523,7 +528,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_take : M.IsFunction "core::mem::take" take. @@ -567,7 +572,7 @@ Module mem. |) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_replace : M.IsFunction "core::mem::replace" replace. @@ -579,7 +584,7 @@ Module mem. ltac:(M.monadic (let _x := M.alloc (| _x |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_drop : M.IsFunction "core::mem::drop" drop. @@ -595,7 +600,7 @@ Module mem. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| M.read (| x |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_copy : M.IsFunction "core::mem::copy" copy. @@ -635,16 +640,18 @@ Module mem. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Src ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Dst ] |), [] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -687,15 +694,16 @@ Module mem. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_function (| "core::mem::align_of", [ Dst ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::align_of", [ Src ] |), [] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -715,7 +723,7 @@ Module mem. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_transmute_copy : M.IsFunction "core::mem::transmute_copy" transmute_copy. @@ -754,7 +762,7 @@ Module mem. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -802,7 +810,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -854,7 +862,7 @@ Module mem. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -912,7 +920,7 @@ Module mem. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -942,7 +950,7 @@ Module mem. [ M.read (| v |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_discriminant : M.IsFunction "core::mem::discriminant" discriminant. @@ -957,7 +965,7 @@ Module mem. | [ T ], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::intrinsics::variant_count", [ T ] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_variant_count : M.IsFunction "core::mem::variant_count" variant_count. diff --git a/CoqOfRust/core/mem/transmutability.v b/CoqOfRust/core/mem/transmutability.v index 54e3a668a..a57d5e999 100644 --- a/CoqOfRust/core/mem/transmutability.v +++ b/CoqOfRust/core/mem/transmutability.v @@ -43,73 +43,77 @@ Module mem. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::mem::transmutability::Assume", "alignment" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::mem::transmutability::Assume", "alignment" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::mem::transmutability::Assume", "lifetimes" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::mem::transmutability::Assume", "lifetimes" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::mem::transmutability::Assume", "safety" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::mem::transmutability::Assume", "safety" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::mem::transmutability::Assume", "validity" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::mem::transmutability::Assume", "validity" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -146,7 +150,7 @@ Module mem. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -173,7 +177,7 @@ Module mem. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -250,7 +254,7 @@ Module mem. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -445,7 +449,7 @@ Module mem. |))) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_and : M.IsAssociatedFunction Self "and" and. @@ -479,14 +483,15 @@ Module mem. |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| other_assumptions, "core::mem::transmutability::Assume", "alignment" |) - |)))) + |) + |))) |)); ("lifetimes", LogicalOp.and (| @@ -498,14 +503,15 @@ Module mem. |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| other_assumptions, "core::mem::transmutability::Assume", "lifetimes" |) - |)))) + |) + |))) |)); ("safety", LogicalOp.and (| @@ -517,14 +523,15 @@ Module mem. |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| other_assumptions, "core::mem::transmutability::Assume", "safety" |) - |)))) + |) + |))) |)); ("validity", LogicalOp.and (| @@ -536,17 +543,18 @@ Module mem. |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| other_assumptions, "core::mem::transmutability::Assume", "validity" |) - |)))) + |) + |))) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_but_not : M.IsAssociatedFunction Self "but_not" but_not. @@ -577,7 +585,7 @@ Module mem. |), [ M.read (| self |); M.read (| other_assumptions |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -614,7 +622,7 @@ Module mem. |), [ M.read (| self |); M.read (| other_assumptions |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/net/display_buffer.v b/CoqOfRust/core/net/display_buffer.v index e5f1461aa..ae361ceea 100644 --- a/CoqOfRust/core/net/display_buffer.v +++ b/CoqOfRust/core/net/display_buffer.v @@ -41,9 +41,9 @@ Module net. |), [] |)); - ("len", Value.Integer 0) + ("len", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -117,7 +117,7 @@ Module net. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -192,23 +192,23 @@ Module net. |) |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::net::display_buffer::DisplayBuffer", "len" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| bytes |) ] - |))) + |) + |)) ] ] |) @@ -242,17 +242,17 @@ Module net. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| bytes |) ] - |)) + |) + |) |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] @@ -267,7 +267,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/net/ip_addr.v b/CoqOfRust/core/net/ip_addr.v index 32ccbaa2c..45fc20d34 100644 --- a/CoqOfRust/core/net/ip_addr.v +++ b/CoqOfRust/core/net/ip_addr.v @@ -56,7 +56,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -100,7 +100,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -156,7 +156,7 @@ Module net. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -242,7 +242,7 @@ Module net. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -337,7 +337,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -463,7 +463,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -602,7 +602,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -646,7 +646,7 @@ Module net. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -699,7 +699,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -736,7 +736,7 @@ Module net. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -775,7 +775,7 @@ Module net. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -819,7 +819,7 @@ Module net. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -872,7 +872,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -909,7 +909,7 @@ Module net. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -948,7 +948,7 @@ Module net. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1057,9 +1057,9 @@ Module net. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1091,7 +1091,7 @@ Module net. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1113,7 +1113,7 @@ Module net. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1152,7 +1152,7 @@ Module net. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1249,7 +1249,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1323,7 +1323,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unspecified : @@ -1389,7 +1389,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_loopback : M.IsAssociatedFunction Self "is_loopback" is_loopback. @@ -1454,7 +1454,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_global : M.IsAssociatedFunction Self "is_global" is_global. @@ -1519,7 +1519,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_multicast : @@ -1585,7 +1585,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_documentation : @@ -1651,7 +1651,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_benchmarking : @@ -1685,7 +1685,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ipv4 : M.IsAssociatedFunction Self "is_ipv4" is_ipv4. @@ -1718,7 +1718,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ipv6 : M.IsAssociatedFunction Self "is_ipv6" is_ipv6. @@ -1773,7 +1773,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_canonical : @@ -1802,14 +1802,15 @@ Module net. ("octets", Value.Array [ M.read (| a |); M.read (| b |); M.read (| c |); M.read (| d |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. (* pub const BITS: u32 = 32; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 32 |))). + Definition value_BITS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 32 |))). Axiom AssociatedConstant_value_BITS : M.IsAssociatedConstant Self "value_BITS" value_BITS. @@ -1835,7 +1836,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_bits : M.IsAssociatedFunction Self "to_bits" to_bits. @@ -1859,7 +1860,7 @@ Module net. [ M.read (| bits |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bits : M.IsAssociatedFunction Self "from_bits" from_bits. @@ -1872,7 +1873,12 @@ Module net. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv4Addr", "new", [] |), - [ Value.Integer 127; Value.Integer 0; Value.Integer 0; Value.Integer 1 ] + [ + Value.Integer IntegerKind.U8 127; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1 + ] |) |))). @@ -1887,7 +1893,12 @@ Module net. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv4Addr", "new", [] |), - [ Value.Integer 0; Value.Integer 0; Value.Integer 0; Value.Integer 0 ] + [ + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 + ] |) |))). @@ -1902,7 +1913,12 @@ Module net. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv4Addr", "new", [] |), - [ Value.Integer 255; Value.Integer 255; Value.Integer 255; Value.Integer 255 ] + [ + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255 + ] |) |))). @@ -1926,7 +1942,7 @@ Module net. "octets" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_octets : M.IsAssociatedFunction Self "octets" octets. @@ -1941,8 +1957,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u32", "from_be_bytes", [] |), [ M.read (| @@ -1953,9 +1969,10 @@ Module net. |) |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unspecified : @@ -1971,8 +1988,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -1984,11 +2001,12 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 127))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U8 127 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_loopback : M.IsAssociatedFunction Self "is_loopback" is_loopback. @@ -2026,7 +2044,10 @@ Module net. (let γ0_0 := M.SubPointer.get_slice_index (| γ, 0 |) in let γ0_rest := M.SubPointer.get_slice_rest (| γ, 1, 0 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 10 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U8 10 + |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic @@ -2034,11 +2055,20 @@ Module net. let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in let γ0_rest := M.SubPointer.get_slice_rest (| γ, 2, 0 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 172 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U8 172 + |) in let b := M.copy (| γ0_1 |) in - let γ := M.alloc (| BinOp.Pure.ge (M.read (| b |)) (Value.Integer 16) |) in + let γ := + M.alloc (| + BinOp.ge (| M.read (| b |), Value.Integer IntegerKind.U8 16 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let γ := M.alloc (| BinOp.Pure.le (M.read (| b |)) (Value.Integer 31) |) in + let γ := + M.alloc (| + BinOp.le (| M.read (| b |), Value.Integer IntegerKind.U8 31 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Bool true |))); fun γ => @@ -2047,15 +2077,21 @@ Module net. let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in let γ0_rest := M.SubPointer.get_slice_rest (| γ, 2, 0 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 192 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U8 192 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 168 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U8 168 + |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_private : M.IsAssociatedFunction Self "is_private" is_private. @@ -2089,15 +2125,21 @@ Module net. let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in let γ0_rest := M.SubPointer.get_slice_rest (| γ, 2, 0 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 169 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U8 169 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 254 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U8 254 + |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_link_local : @@ -2123,8 +2165,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (LogicalOp.or (| + UnOp.not (| + LogicalOp.or (| LogicalOp.or (| LogicalOp.or (| LogicalOp.or (| @@ -2133,8 +2175,8 @@ Module net. LogicalOp.or (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -2146,10 +2188,11 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U8 0 + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| @@ -2193,8 +2236,8 @@ Module net. ltac:(M.monadic (LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -2206,13 +2249,14 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 192), + |), + Value.Integer IntegerKind.U8 192 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -2224,14 +2268,15 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U8 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -2243,10 +2288,11 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U8 0 + |))) |))) |), ltac:(M.monadic @@ -2288,8 +2334,9 @@ Module net. |), [ M.read (| self |) ] |))) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_global : M.IsAssociatedFunction Self "is_global" is_global. @@ -2305,8 +2352,8 @@ Module net. ltac:(M.monadic (let self := M.alloc (| self |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -2318,13 +2365,14 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 100), + |), + Value.Integer IntegerKind.U8 100 + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Pure.bit_and + (BinOp.eq (| + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.alloc (| @@ -2337,13 +2385,14 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) |)) - (Value.Integer 192)) - (Value.Integer 64))) + (Value.Integer IntegerKind.U8 192), + Value.Integer IntegerKind.U8 64 + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_shared : M.IsAssociatedFunction Self "is_shared" is_shared. @@ -2359,8 +2408,8 @@ Module net. ltac:(M.monadic (let self := M.alloc (| self |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -2372,13 +2421,14 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 198), + |), + Value.Integer IntegerKind.U8 198 + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Pure.bit_and + (BinOp.eq (| + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.alloc (| @@ -2391,13 +2441,14 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) |)) - (Value.Integer 254)) - (Value.Integer 18))) + (Value.Integer IntegerKind.U8 254), + Value.Integer IntegerKind.U8 18 + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_benchmarking : @@ -2414,8 +2465,8 @@ Module net. ltac:(M.monadic (let self := M.alloc (| self |) in LogicalOp.and (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.alloc (| @@ -2428,23 +2479,25 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |)) - (Value.Integer 240)) - (Value.Integer 240), + (Value.Integer IntegerKind.U8 240), + Value.Integer IntegerKind.U8 240 + |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv4Addr", "is_broadcast", [] |), [ M.read (| self |) ] - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_reserved : M.IsAssociatedFunction Self "is_reserved" is_reserved. @@ -2460,8 +2513,8 @@ Module net. ltac:(M.monadic (let self := M.alloc (| self |) in LogicalOp.and (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -2473,13 +2526,14 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 224), + |), + Value.Integer IntegerKind.U8 224 + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -2491,12 +2545,13 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 239))) + |), + Value.Integer IntegerKind.U8 239 + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_multicast : @@ -2512,8 +2567,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u32", "from_be_bytes", [] |), [ M.call_closure (| @@ -2525,8 +2580,8 @@ Module net. [ M.read (| self |) ] |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "u32", "from_be_bytes", [] |), [ M.call_closure (| @@ -2538,8 +2593,9 @@ Module net. [ M.get_constant (| "core::net::ip_addr::BROADCAST" |) ] |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_broadcast : @@ -2582,17 +2638,17 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 192 + Value.Integer IntegerKind.U8 192 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 0 + Value.Integer IntegerKind.U8 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), - Value.Integer 2 + Value.Integer IntegerKind.U8 2 |) in Value.Tuple [])); fun γ => @@ -2604,17 +2660,17 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 198 + Value.Integer IntegerKind.U8 198 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 51 + Value.Integer IntegerKind.U8 51 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), - Value.Integer 100 + Value.Integer IntegerKind.U8 100 |) in Value.Tuple [])); fun γ => @@ -2626,17 +2682,17 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 203 + Value.Integer IntegerKind.U8 203 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 0 + Value.Integer IntegerKind.U8 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), - Value.Integer 113 + Value.Integer IntegerKind.U8 113 |) in Value.Tuple [])) ], @@ -2645,14 +2701,14 @@ Module net. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_documentation : @@ -2699,18 +2755,18 @@ Module net. ("octets", Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; M.read (| a |); M.read (| b |); M.read (| c |); @@ -2721,7 +2777,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ipv6_compatible : @@ -2768,18 +2824,18 @@ Module net. ("octets", Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 255; - Value.Integer 255; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; M.read (| a |); M.read (| b |); M.read (| c |); @@ -2790,7 +2846,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ipv6_mapped : @@ -2865,7 +2921,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2900,7 +2956,7 @@ Module net. |), [ M.read (| self |); M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2925,7 +2981,7 @@ Module net. ltac:(M.monadic (let ipv4 := M.alloc (| ipv4 |) in Value.StructTuple "core::net::ip_addr::IpAddr::V4" [ M.read (| ipv4 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2950,7 +3006,7 @@ Module net. ltac:(M.monadic (let ipv6 := M.alloc (| ipv6 |) in Value.StructTuple "core::net::ip_addr::IpAddr::V6" [ M.read (| ipv6 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3093,7 +3149,7 @@ Module net. [ M.SubPointer.get_array_field (| octets, - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) ] |); @@ -3106,7 +3162,7 @@ Module net. [ M.SubPointer.get_array_field (| octets, - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) ] |); @@ -3119,7 +3175,7 @@ Module net. [ M.SubPointer.get_array_field (| octets, - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) ] |); @@ -3132,7 +3188,7 @@ Module net. [ M.SubPointer.get_array_field (| octets, - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) ] |) @@ -3209,7 +3265,7 @@ Module net. [ M.SubPointer.get_array_field (| octets, - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) ] |); @@ -3222,7 +3278,7 @@ Module net. [ M.SubPointer.get_array_field (| octets, - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) ] |); @@ -3235,7 +3291,7 @@ Module net. [ M.SubPointer.get_array_field (| octets, - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) ] |); @@ -3248,7 +3304,7 @@ Module net. [ M.SubPointer.get_array_field (| octets, - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) ] |) @@ -3280,7 +3336,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3315,7 +3371,7 @@ Module net. |), [ M.read (| self |); M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3382,7 +3438,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3449,7 +3505,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3488,7 +3544,7 @@ Module net. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3559,7 +3615,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3630,7 +3686,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3676,7 +3732,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3704,7 +3760,7 @@ Module net. M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv4Addr", "to_bits", [] |), [ M.read (| ip |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3736,7 +3792,7 @@ Module net. |), [ M.read (| ip |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3761,7 +3817,7 @@ Module net. ltac:(M.monadic (let octets := M.alloc (| octets |) in Value.StructRecord "core::net::ip_addr::Ipv4Addr" [ ("octets", M.read (| octets |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3799,7 +3855,7 @@ Module net. [ M.read (| octets |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3832,7 +3888,7 @@ Module net. [ M.read (| octets |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3934,14 +3990,15 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. (* pub const BITS: u32 = 128; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 128 |))). + Definition value_BITS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 128 |))). Axiom AssociatedConstant_value_BITS : M.IsAssociatedConstant Self "value_BITS" value_BITS. @@ -3967,7 +4024,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_bits : M.IsAssociatedFunction Self "to_bits" to_bits. @@ -3991,7 +4048,7 @@ Module net. [ M.read (| bits |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bits : M.IsAssociatedFunction Self "from_bits" from_bits. @@ -4005,14 +4062,14 @@ Module net. M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "new", [] |), [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 1 + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 1 ] |) |))). @@ -4029,14 +4086,14 @@ Module net. M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "new", [] |), [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 0 ] |) |))). @@ -4148,7 +4205,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_segments : M.IsAssociatedFunction Self "segments" segments. @@ -4163,8 +4220,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "from_be_bytes", [] |), [ M.call_closure (| @@ -4176,8 +4233,8 @@ Module net. [ M.read (| self |) ] |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "u128", "from_be_bytes", [] |), [ M.call_closure (| @@ -4189,8 +4246,9 @@ Module net. [ M.get_constant (| "core::net::ip_addr::UNSPECIFIED" |) ] |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unspecified : @@ -4206,8 +4264,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "from_be_bytes", [] |), [ M.call_closure (| @@ -4219,8 +4277,8 @@ Module net. [ M.read (| self |) ] |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "u128", "from_be_bytes", [] |), [ M.call_closure (| @@ -4232,8 +4290,9 @@ Module net. [ M.get_constant (| "core::net::ip_addr::LOCALHOST" |) ] |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_loopback : M.IsAssociatedFunction Self "is_loopback" is_loopback. @@ -4272,8 +4331,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (LogicalOp.or (| + UnOp.not (| + LogicalOp.or (| LogicalOp.or (| LogicalOp.or (| LogicalOp.or (| @@ -4326,32 +4385,32 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_3 |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_4 |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_5 |), - Value.Integer 65535 + Value.Integer IntegerKind.U16 65535 |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -4386,17 +4445,17 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 100 + Value.Integer IntegerKind.U16 100 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 65435 + Value.Integer IntegerKind.U16 65435 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), - Value.Integer 1 + Value.Integer IntegerKind.U16 1 |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -4431,22 +4490,22 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 256 + Value.Integer IntegerKind.U16 256 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_3 |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -4482,12 +4541,15 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 8193 + Value.Integer IntegerKind.U16 8193 |) in let b := M.copy (| γ0_1 |) in let γ := M.alloc (| - BinOp.Pure.lt (M.read (| b |)) (Value.Integer 512) + BinOp.lt (| + M.read (| b |), + Value.Integer IntegerKind.U16 512 + |) |) in let _ := M.is_constant_or_break_match (| @@ -4500,13 +4562,13 @@ Module net. |) |), ltac:(M.monadic - (UnOp.Pure.not - (LogicalOp.or (| + (UnOp.not (| + LogicalOp.or (| LogicalOp.or (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "from_be_bytes", @@ -4522,11 +4584,14 @@ Module net. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 42540488241204005274814694018844196865), + |), + Value.Integer + IntegerKind.U128 + 42540488241204005274814694018844196865 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.call_closure (| + (BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "from_be_bytes", @@ -4542,8 +4607,11 @@ Module net. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 42540488241204005274814694018844196866))) + |), + Value.Integer + IntegerKind.U128 + 42540488241204005274814694018844196866 + |))) |), ltac:(M.monadic (M.read (| @@ -4580,12 +4648,12 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 8193 + Value.Integer IntegerKind.U16 8193 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 3 + Value.Integer IntegerKind.U16 3 |) in M.alloc (| Value.Bool true |))); fun γ => @@ -4622,17 +4690,17 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 8193 + Value.Integer IntegerKind.U16 8193 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 4 + Value.Integer IntegerKind.U16 4 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), - Value.Integer 274 + Value.Integer IntegerKind.U16 274 |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -4667,12 +4735,15 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 8193 + Value.Integer IntegerKind.U16 8193 |) in let b := M.copy (| γ0_1 |) in let γ := M.alloc (| - BinOp.Pure.ge (M.read (| b |)) (Value.Integer 32) + BinOp.ge (| + M.read (| b |), + Value.Integer IntegerKind.U16 32 + |) |) in let _ := M.is_constant_or_break_match (| @@ -4681,7 +4752,10 @@ Module net. |) in let γ := M.alloc (| - BinOp.Pure.le (M.read (| b |)) (Value.Integer 47) + BinOp.le (| + M.read (| b |), + Value.Integer IntegerKind.U16 47 + |) |) in let _ := M.is_constant_or_break_match (| @@ -4693,7 +4767,8 @@ Module net. ] |) |))) - |)))) + |) + |))) |))) |), ltac:(M.monadic @@ -4725,8 +4800,9 @@ Module net. |), [ M.read (| self |) ] |))) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_global : M.IsAssociatedFunction Self "is_global" is_global. @@ -4741,8 +4817,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.alloc (| @@ -4755,12 +4831,13 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |)) - (Value.Integer 65024)) - (Value.Integer 64512))) - | _, _ => M.impossible + (Value.Integer IntegerKind.U16 65024), + Value.Integer IntegerKind.U16 64512 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unique_local : @@ -4776,16 +4853,17 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "is_multicast", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unicast : M.IsAssociatedFunction Self "is_unicast" is_unicast. @@ -4800,8 +4878,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.alloc (| @@ -4814,12 +4892,13 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |)) - (Value.Integer 65472)) - (Value.Integer 65152))) - | _, _ => M.impossible + (Value.Integer IntegerKind.U16 65472), + Value.Integer IntegerKind.U16 65152 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unicast_link_local : @@ -4836,8 +4915,8 @@ Module net. ltac:(M.monadic (let self := M.alloc (| self |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -4849,13 +4928,14 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 8193), + |), + Value.Integer IntegerKind.U16 8193 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -4867,12 +4947,13 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.Integer 3512))) + |), + Value.Integer IntegerKind.U16 3512 + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_documentation : @@ -4890,8 +4971,8 @@ Module net. (let self := M.alloc (| self |) in LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -4903,13 +4984,14 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (Value.Integer 8193), + |), + Value.Integer IntegerKind.U16 8193 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -4921,14 +5003,15 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.Integer 2))) + |), + Value.Integer IntegerKind.U16 2 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.alloc (| M.call_closure (| @@ -4940,12 +5023,13 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U16 0 + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_benchmarking : @@ -4982,72 +5066,78 @@ Module net. [ M.read (| self |) ] |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "is_loopback", [] |), [ M.read (| self |) ] - |)))) + |) + |))) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "is_unicast_link_local", [] |), [ M.read (| self |) ] - |)))) + |) + |))) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "is_unique_local", [] |), [ M.read (| self |) ] - |)))) + |) + |))) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "is_unspecified", [] |), [ M.read (| self |) ] - |)))) + |) + |))) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "is_documentation", [] |), [ M.read (| self |) ] - |)))) + |) + |))) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "is_benchmarking", [] |), [ M.read (| self |) ] - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_unicast_global : @@ -5097,7 +5187,7 @@ Module net. let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.alloc (| @@ -5110,10 +5200,10 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |)) - (Value.Integer 15) + (Value.Integer IntegerKind.U16 15) |), [ fun γ => @@ -5121,7 +5211,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 1 + Value.Integer IntegerKind.U16 1 |) in M.alloc (| Value.StructTuple @@ -5137,7 +5227,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 2 + Value.Integer IntegerKind.U16 2 |) in M.alloc (| Value.StructTuple @@ -5153,7 +5243,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 3 + Value.Integer IntegerKind.U16 3 |) in M.alloc (| Value.StructTuple @@ -5169,7 +5259,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 4 + Value.Integer IntegerKind.U16 4 |) in M.alloc (| Value.StructTuple @@ -5185,7 +5275,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 5 + Value.Integer IntegerKind.U16 5 |) in M.alloc (| Value.StructTuple @@ -5201,7 +5291,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 8 + Value.Integer IntegerKind.U16 8 |) in M.alloc (| Value.StructTuple @@ -5217,7 +5307,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 14 + Value.Integer IntegerKind.U16 14 |) in M.alloc (| Value.StructTuple @@ -5239,7 +5329,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_multicast_scope : @@ -5255,8 +5345,8 @@ Module net. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.alloc (| @@ -5269,12 +5359,13 @@ Module net. [ M.read (| self |) ] |) |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |)) - (Value.Integer 65280)) - (Value.Integer 65280))) - | _, _ => M.impossible + (Value.Integer IntegerKind.U16 65280), + Value.Integer IntegerKind.U16 65280 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_multicast : @@ -5327,29 +5418,65 @@ Module net. let γ0_14 := M.SubPointer.get_slice_index (| γ, 14 |) in let γ0_15 := M.SubPointer.get_slice_index (| γ, 15 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_2 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_2 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_3 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_3 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_4 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_4 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_5 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_5 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_6 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_6 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_7 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_7 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_8 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_8 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_9 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_9 |), + Value.Integer IntegerKind.U8 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_10 |), Value.Integer 255 |) in + M.is_constant_or_break_match (| + M.read (| γ0_10 |), + Value.Integer IntegerKind.U8 255 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_11 |), Value.Integer 255 |) in + M.is_constant_or_break_match (| + M.read (| γ0_11 |), + Value.Integer IntegerKind.U8 255 + |) in let a := M.copy (| γ0_12 |) in let b := M.copy (| γ0_13 |) in let c := M.copy (| γ0_14 |) in @@ -5374,7 +5501,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ipv4_mapped : @@ -5422,15 +5549,30 @@ Module net. let γ0_6 := M.SubPointer.get_slice_index (| γ, 6 |) in let γ0_7 := M.SubPointer.get_slice_index (| γ, 7 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U16 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U16 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_2 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_2 |), + Value.Integer IntegerKind.U16 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_3 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_3 |), + Value.Integer IntegerKind.U16 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_4 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_4 |), + Value.Integer IntegerKind.U16 0 + |) in M.find_or_pattern (| γ0_5, [ @@ -5439,7 +5581,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in Value.Tuple [])); fun γ => @@ -5447,7 +5589,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 65535 + Value.Integer IntegerKind.U16 65535 |) in Value.Tuple [])) ], @@ -5520,7 +5662,7 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -5529,7 +5671,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ipv4 : M.IsAssociatedFunction Self "to_ipv4" to_ipv4. @@ -5595,7 +5737,7 @@ Module net. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_canonical : @@ -5618,7 +5760,7 @@ Module net. "octets" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_octets : M.IsAssociatedFunction Self "octets" octets. @@ -5983,11 +6125,14 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| segment - |)) - (Value.Integer 0) + |), + Value.Integer + IntegerKind.U16 + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6005,16 +6150,18 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| current, "core::net::ip_addr::fmt::Span", "len" |) - |)) - (Value.Integer - 0) + |), + Value.Integer + IntegerKind.Usize + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6052,10 +6199,12 @@ Module net. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in M.match_operator (| M.alloc (| @@ -6067,21 +6216,22 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| current, "core::net::ip_addr::fmt::Span", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| longest, "core::net::ip_addr::fmt::Span", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6143,15 +6293,16 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| zeroes, "core::net::ip_addr::fmt::Span", "len" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6377,22 +6528,22 @@ Module net. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| zeroes, "core::net::ip_addr::fmt::Span", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| zeroes, "core::net::ip_addr::fmt::Span", "len" |) - |))) + |) + |)) ] ] |) @@ -6514,7 +6665,7 @@ Module net. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6549,7 +6700,7 @@ Module net. |), [ M.read (| self |); M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6616,7 +6767,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6683,7 +6834,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6722,7 +6873,7 @@ Module net. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6793,7 +6944,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6864,7 +7015,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6920,7 +7071,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6948,7 +7099,7 @@ Module net. M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "to_bits", [] |), [ M.read (| ip |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6980,7 +7131,7 @@ Module net. |), [ M.read (| ip |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7005,7 +7156,7 @@ Module net. ltac:(M.monadic (let octets := M.alloc (| octets |) in Value.StructRecord "core::net::ip_addr::Ipv6Addr" [ ("octets", M.read (| octets |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7074,7 +7225,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7113,7 +7264,7 @@ Module net. [ M.read (| segments |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7207,7 +7358,7 @@ Module net. let~ _ := M.write (| M.read (| octet |), - UnOp.Pure.not (M.read (| M.read (| octet |) |)) + UnOp.not (| M.read (| M.read (| octet |) |) |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -7218,7 +7369,7 @@ Module net. |)) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7256,7 +7407,7 @@ Module net. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7351,7 +7502,7 @@ Module net. let~ _ := M.write (| M.read (| octet |), - UnOp.Pure.not (M.read (| M.read (| octet |) |)) + UnOp.not (| M.read (| M.read (| octet |) |) |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -7362,7 +7513,7 @@ Module net. |)) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7400,7 +7551,7 @@ Module net. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7544,7 +7695,7 @@ Module net. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7585,7 +7736,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7631,7 +7782,7 @@ Module net. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7677,7 +7828,7 @@ Module net. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7726,7 +7877,7 @@ Module net. |) in lhs |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7774,7 +7925,7 @@ Module net. |) in lhs |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7919,7 +8070,7 @@ Module net. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7960,7 +8111,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8006,7 +8157,7 @@ Module net. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8052,7 +8203,7 @@ Module net. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8101,7 +8252,7 @@ Module net. |) in lhs |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8149,7 +8300,7 @@ Module net. |) in lhs |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8294,7 +8445,7 @@ Module net. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8335,7 +8486,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8381,7 +8532,7 @@ Module net. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8427,7 +8578,7 @@ Module net. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8476,7 +8627,7 @@ Module net. |) in lhs |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8524,7 +8675,7 @@ Module net. |) in lhs |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8669,7 +8820,7 @@ Module net. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8710,7 +8861,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8756,7 +8907,7 @@ Module net. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8802,7 +8953,7 @@ Module net. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8851,7 +9002,7 @@ Module net. |) in lhs |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8899,7 +9050,7 @@ Module net. |) in lhs |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/net/parser.v b/CoqOfRust/core/net/parser.v index f7f46bc8c..d651f7232 100644 --- a/CoqOfRust/core/net/parser.v +++ b/CoqOfRust/core/net/parser.v @@ -11,7 +11,8 @@ Module net. (* const ZERO: Self = 0; *) (* Ty.path "u8" *) - Definition value_ZERO : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_ZERO : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). (* fn checked_mul(&self, other: u32) -> Option { @@ -116,7 +117,7 @@ Module net. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -222,7 +223,7 @@ Module net. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -243,7 +244,8 @@ Module net. (* const ZERO: Self = 0; *) (* Ty.path "u16" *) - Definition value_ZERO : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_ZERO : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))). (* fn checked_mul(&self, other: u32) -> Option { @@ -348,7 +350,7 @@ Module net. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -454,7 +456,7 @@ Module net. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -475,7 +477,8 @@ Module net. (* const ZERO: Self = 0; *) (* Ty.path "u32" *) - Definition value_ZERO : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_ZERO : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))). (* fn checked_mul(&self, other: u32) -> Option { @@ -580,7 +583,7 @@ Module net. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -686,7 +689,7 @@ Module net. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -724,7 +727,7 @@ Module net. ltac:(M.monadic (let input := M.alloc (| input |) in Value.StructRecord "core::net::parser::Parser" [ ("state", M.read (| input |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -808,7 +811,7 @@ Module net. |) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_atomically : @@ -898,7 +901,7 @@ Module net. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse_with : M.IsAssociatedFunction Self "parse_with" parse_with. @@ -968,11 +971,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek_char : M.IsAssociatedFunction Self "peek_char" peek_char. @@ -1076,11 +1079,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_char : M.IsAssociatedFunction Self "read_char" read_char. @@ -1167,9 +1170,10 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| c |)) - (M.read (| target |)) + BinOp.eq (| + M.read (| c |), + M.read (| target |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1193,17 +1197,17 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_given_char : @@ -1266,9 +1270,10 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| index |)) - (Value.Integer 0) + BinOp.gt (| + M.read (| index |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1377,11 +1382,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_separator : @@ -1461,7 +1466,8 @@ Module net. "core::net::parser::ReadNumberHelper::ZERO" |) |) in - let~ digit_count := M.alloc (| Value.Integer 0 |) in + let~ digit_count := + M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ has_leading_zero := M.alloc (| M.call_closure (| @@ -1660,8 +1666,8 @@ Module net. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -1843,10 +1849,10 @@ Module net. let β := digit_count in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1869,9 +1875,10 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| digit_count |)) - (M.read (| max_digits |)) + BinOp.gt (| + M.read (| digit_count |), + M.read (| max_digits |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1925,9 +1932,10 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| digit_count |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| digit_count |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1949,15 +1957,17 @@ Module net. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - UnOp.Pure.not - (M.read (| allow_zero_prefix |)), + UnOp.not (| + M.read (| allow_zero_prefix |) + |), ltac:(M.monadic (M.read (| has_leading_zero |))) |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| digit_count |)) - (Value.Integer 1))) + (BinOp.gt (| + M.read (| digit_count |), + Value.Integer IntegerKind.Usize 1 + |))) |) |)) in let _ := @@ -1984,11 +1994,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_number : M.IsAssociatedFunction Self "read_number" read_number. @@ -2044,7 +2054,8 @@ Module net. ltac:(M.monadic (let p := M.copy (| γ |) in M.read (| - let~ groups := M.alloc (| repeat (Value.Integer 0) 4 |) in + let~ groups := + M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |) in let~ _ := M.use (M.match_operator (| @@ -2234,11 +2245,13 @@ Module net. p |); Value.Integer + IntegerKind.U32 10; Value.StructTuple "core::option::Option::Some" [ Value.Integer + IntegerKind.Usize 3 ]; Value.Bool @@ -2248,8 +2261,8 @@ Module net. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -2344,11 +2357,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_ipv4_addr : @@ -2455,7 +2468,8 @@ Module net. ltac:(M.monadic (let p := M.copy (| γ |) in M.read (| - let~ head := M.alloc (| repeat (Value.Integer 0) 8 |) in + let~ head := + M.alloc (| repeat (Value.Integer IntegerKind.U16 0) 8 |) in M.match_operator (| M.alloc (| M.call_closure (| @@ -2483,9 +2497,10 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| head_size |)) - (Value.Integer 8) + BinOp.eq (| + M.read (| head_size |), + Value.Integer IntegerKind.Usize 8 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2706,16 +2721,19 @@ Module net. val)) ] |) in - let~ tail := M.alloc (| repeat (Value.Integer 0) 7 |) in + let~ tail := + M.alloc (| + repeat (Value.Integer IntegerKind.U16 0) 7 + |) in let~ limit := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 8) - (BinOp.Wrap.add - Integer.Usize - (M.read (| head_size |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 8, + BinOp.Wrap.add (| + M.read (| head_size |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in M.match_operator (| M.alloc (| @@ -2791,11 +2809,16 @@ Module net. "core::ops::range::Range" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 8) - (M.read (| tail_size |))); - ("end_", Value.Integer 8) + BinOp.Wrap.sub (| + Value.Integer + IntegerKind.Usize + 8, + M.read (| tail_size |) + |)); + ("end_", + Value.Integer + IntegerKind.Usize + 8) ] ] |); @@ -2853,11 +2876,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_ipv6_addr : @@ -2949,11 +2972,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_ip_addr : @@ -3080,7 +3103,7 @@ Module net. |), [ M.read (| p |); - Value.Integer 10; + Value.Integer IntegerKind.U32 10; Value.StructTuple "core::option::Option::None" []; Value.Bool true ] @@ -3089,11 +3112,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_port : M.IsAssociatedFunction Self "read_port" read_port. @@ -3219,7 +3242,7 @@ Module net. |), [ M.read (| p |); - Value.Integer 10; + Value.Integer IntegerKind.U32 10; Value.StructTuple "core::option::Option::None" []; Value.Bool true ] @@ -3228,11 +3251,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_scope_id : @@ -3456,11 +3479,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_socket_addr_v4 : @@ -3686,7 +3709,7 @@ Module net. |), [ M.read (| p |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U32 0 ] |) |) in @@ -3857,7 +3880,7 @@ Module net. [ M.read (| ip |); M.read (| port |); - Value.Integer 0; + Value.Integer IntegerKind.U32 0; M.read (| scope_id |) ] |) @@ -3866,11 +3889,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_socket_addr_v6 : @@ -3967,11 +3990,11 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_socket_addr : @@ -4034,12 +4057,12 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); Value.StructTuple "core::net::parser::AddrKind::Ip" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse_ascii : M.IsAssociatedFunction Self "parse_ascii" parse_ascii. @@ -4074,7 +4097,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4113,16 +4136,17 @@ Module net. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| b |) ] - |)) - (Value.Integer 15) + |), + Value.Integer IntegerKind.Usize 15 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4190,7 +4214,7 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); Value.StructTuple "core::net::parser::AddrKind::Ipv4" [] ] @@ -4199,7 +4223,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse_ascii : M.IsAssociatedFunction Self "parse_ascii" parse_ascii. @@ -4234,7 +4258,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4302,12 +4326,12 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); Value.StructTuple "core::net::parser::AddrKind::Ipv6" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse_ascii : M.IsAssociatedFunction Self "parse_ascii" parse_ascii. @@ -4342,7 +4366,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4410,12 +4434,12 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); Value.StructTuple "core::net::parser::AddrKind::SocketV4" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse_ascii : M.IsAssociatedFunction Self "parse_ascii" parse_ascii. @@ -4450,7 +4474,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4518,12 +4542,12 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); Value.StructTuple "core::net::parser::AddrKind::SocketV6" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse_ascii : M.IsAssociatedFunction Self "parse_ascii" parse_ascii. @@ -4558,7 +4582,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4626,12 +4650,12 @@ Module net. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)); Value.StructTuple "core::net::parser::AddrKind::Socket" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse_ascii : M.IsAssociatedFunction Self "parse_ascii" parse_ascii. @@ -4666,7 +4690,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4774,7 +4798,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4831,7 +4855,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4884,9 +4908,9 @@ Module net. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4918,7 +4942,7 @@ Module net. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4967,7 +4991,7 @@ Module net. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5007,7 +5031,7 @@ Module net. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5060,7 +5084,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5097,7 +5121,7 @@ Module net. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5139,7 +5163,7 @@ Module net. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5209,7 +5233,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/net/socket_addr.v b/CoqOfRust/core/net/socket_addr.v index 0779669c4..36d0f9370 100644 --- a/CoqOfRust/core/net/socket_addr.v +++ b/CoqOfRust/core/net/socket_addr.v @@ -56,7 +56,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111,7 +111,7 @@ Module net. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -197,7 +197,7 @@ Module net. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -241,7 +241,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -337,7 +337,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -463,7 +463,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -602,7 +602,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -653,7 +653,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -697,7 +697,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -753,23 +753,24 @@ Module net. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::net::socket_addr::SocketAddrV4", "port" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::net::socket_addr::SocketAddrV4", "port" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -843,7 +844,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -929,7 +930,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -985,7 +986,7 @@ Module net. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1049,7 +1050,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1100,7 +1101,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1158,57 +1159,60 @@ Module net. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::net::socket_addr::SocketAddrV6", "port" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::net::socket_addr::SocketAddrV6", "port" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::net::socket_addr::SocketAddrV6", "flowinfo" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::net::socket_addr::SocketAddrV6", "flowinfo" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::net::socket_addr::SocketAddrV6", "scope_id" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::net::socket_addr::SocketAddrV6", "scope_id" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1351,7 +1355,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1521,7 +1525,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1605,7 +1609,7 @@ Module net. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1679,7 +1683,11 @@ Module net. "new", [] |), - [ M.read (| a |); M.read (| port |); Value.Integer 0; Value.Integer 0 + [ + M.read (| a |); + M.read (| port |); + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0 ] |) ] @@ -1687,7 +1695,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1762,7 +1770,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ip : M.IsAssociatedFunction Self "ip" ip. @@ -1875,7 +1883,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_ip : M.IsAssociatedFunction Self "set_ip" set_ip. @@ -1938,7 +1946,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_port : M.IsAssociatedFunction Self "port" port. @@ -2002,7 +2010,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_port : M.IsAssociatedFunction Self "set_port" set_port. @@ -2034,7 +2042,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ipv4 : M.IsAssociatedFunction Self "is_ipv4" is_ipv4. @@ -2066,7 +2074,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ipv6 : M.IsAssociatedFunction Self "is_ipv6" is_ipv6. @@ -2089,7 +2097,7 @@ Module net. Value.StructRecord "core::net::socket_addr::SocketAddrV4" [ ("ip", M.read (| ip |)); ("port", M.read (| port |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -2109,7 +2117,7 @@ Module net. "core::net::socket_addr::SocketAddrV4", "ip" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ip : M.IsAssociatedFunction Self "ip" ip. @@ -2137,7 +2145,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_ip : M.IsAssociatedFunction Self "set_ip" set_ip. @@ -2159,7 +2167,7 @@ Module net. "port" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_port : M.IsAssociatedFunction Self "port" port. @@ -2187,7 +2195,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_port : M.IsAssociatedFunction Self "set_port" set_port. @@ -2217,7 +2225,7 @@ Module net. ("flowinfo", M.read (| flowinfo |)); ("scope_id", M.read (| scope_id |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -2237,7 +2245,7 @@ Module net. "core::net::socket_addr::SocketAddrV6", "ip" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ip : M.IsAssociatedFunction Self "ip" ip. @@ -2265,7 +2273,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_ip : M.IsAssociatedFunction Self "set_ip" set_ip. @@ -2287,7 +2295,7 @@ Module net. "port" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_port : M.IsAssociatedFunction Self "port" port. @@ -2315,7 +2323,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_port : M.IsAssociatedFunction Self "set_port" set_port. @@ -2337,7 +2345,7 @@ Module net. "flowinfo" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flowinfo : M.IsAssociatedFunction Self "flowinfo" flowinfo. @@ -2365,7 +2373,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_flowinfo : @@ -2388,7 +2396,7 @@ Module net. "scope_id" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_scope_id : M.IsAssociatedFunction Self "scope_id" scope_id. @@ -2416,7 +2424,7 @@ Module net. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_scope_id : @@ -2437,7 +2445,7 @@ Module net. ltac:(M.monadic (let sock4 := M.alloc (| sock4 |) in Value.StructTuple "core::net::socket_addr::SocketAddr::V4" [ M.read (| sock4 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2462,7 +2470,7 @@ Module net. ltac:(M.monadic (let sock6 := M.alloc (| sock6 |) in Value.StructTuple "core::net::socket_addr::SocketAddr::V6" [ M.read (| sock6 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2507,7 +2515,7 @@ Module net. M.read (| M.SubPointer.get_tuple_field (| pieces, 1 |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2585,7 +2593,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2620,7 +2628,7 @@ Module net. |), [ M.read (| self |); M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2913,7 +2921,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2948,7 +2956,7 @@ Module net. |), [ M.read (| self |); M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3062,7 +3070,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 0 + Value.Integer IntegerKind.U32 0 |) in M.alloc (| M.call_closure (| @@ -3282,7 +3290,7 @@ Module net. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 0 + Value.Integer IntegerKind.U32 0 |) in M.alloc (| M.call_closure (| @@ -3493,7 +3501,7 @@ Module net. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3528,7 +3536,7 @@ Module net. |), [ M.read (| self |); M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/num/bignum.v b/CoqOfRust/core/num/bignum.v index acb953afb..f7dc7168c 100644 --- a/CoqOfRust/core/num/bignum.v +++ b/CoqOfRust/core/num/bignum.v @@ -29,29 +29,30 @@ Module num. M.read (| let~ v := M.alloc (| - BinOp.Wrap.add - Integer.U16 - (BinOp.Wrap.add - Integer.U16 - (BinOp.Wrap.mul - Integer.U16 - (M.rust_cast (M.read (| self |))) - (M.rust_cast (M.read (| other |)))) - (M.rust_cast (M.read (| other2 |)))) - (M.rust_cast (M.read (| carry |))) + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| self |)), + M.rust_cast (M.read (| other |)) + |), + M.rust_cast (M.read (| other2 |)) + |), + M.rust_cast (M.read (| carry |)) + |) |) in M.alloc (| Value.Tuple [ M.rust_cast - (BinOp.Wrap.shr - (M.read (| v |)) - (M.read (| M.get_constant (| "core::num::BITS" |) |))); + (BinOp.Wrap.shr (| + M.read (| v |), + M.read (| M.get_constant (| "core::num::BITS" |) |) + |)); M.rust_cast (M.read (| v |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -89,8 +90,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt (M.read (| borrow |)) (M.read (| other |))) + UnOp.not (| + BinOp.lt (| M.read (| borrow |), M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -118,22 +120,23 @@ Module num. |) in let~ lhs := M.alloc (| - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (M.rust_cast (M.read (| borrow |))) - (M.read (| M.get_constant (| "core::num::BITS" |) |))) + BinOp.bit_or + (BinOp.Wrap.shl (| + M.rust_cast (M.read (| borrow |)), + M.read (| M.get_constant (| "core::num::BITS" |) |) + |)) (M.rust_cast (M.read (| self |))) |) in let~ rhs := M.alloc (| M.rust_cast (M.read (| other |)) |) in M.alloc (| Value.Tuple [ - M.rust_cast (BinOp.Wrap.div Integer.U16 (M.read (| lhs |)) (M.read (| rhs |))); - M.rust_cast (BinOp.Wrap.rem Integer.U16 (M.read (| lhs |)) (M.read (| rhs |))) + M.rust_cast (BinOp.Wrap.div (| M.read (| lhs |), M.read (| rhs |) |)); + M.rust_cast (BinOp.Wrap.rem (| M.read (| lhs |), M.read (| rhs |) |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -171,29 +174,30 @@ Module num. M.read (| let~ v := M.alloc (| - BinOp.Wrap.add - Integer.U32 - (BinOp.Wrap.add - Integer.U32 - (BinOp.Wrap.mul - Integer.U32 - (M.rust_cast (M.read (| self |))) - (M.rust_cast (M.read (| other |)))) - (M.rust_cast (M.read (| other2 |)))) - (M.rust_cast (M.read (| carry |))) + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| self |)), + M.rust_cast (M.read (| other |)) + |), + M.rust_cast (M.read (| other2 |)) + |), + M.rust_cast (M.read (| carry |)) + |) |) in M.alloc (| Value.Tuple [ M.rust_cast - (BinOp.Wrap.shr - (M.read (| v |)) - (M.read (| M.get_constant (| "core::num::BITS" |) |))); + (BinOp.Wrap.shr (| + M.read (| v |), + M.read (| M.get_constant (| "core::num::BITS" |) |) + |)); M.rust_cast (M.read (| v |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -231,8 +235,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt (M.read (| borrow |)) (M.read (| other |))) + UnOp.not (| + BinOp.lt (| M.read (| borrow |), M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -260,22 +265,23 @@ Module num. |) in let~ lhs := M.alloc (| - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (M.rust_cast (M.read (| borrow |))) - (M.read (| M.get_constant (| "core::num::BITS" |) |))) + BinOp.bit_or + (BinOp.Wrap.shl (| + M.rust_cast (M.read (| borrow |)), + M.read (| M.get_constant (| "core::num::BITS" |) |) + |)) (M.rust_cast (M.read (| self |))) |) in let~ rhs := M.alloc (| M.rust_cast (M.read (| other |)) |) in M.alloc (| Value.Tuple [ - M.rust_cast (BinOp.Wrap.div Integer.U32 (M.read (| lhs |)) (M.read (| rhs |))); - M.rust_cast (BinOp.Wrap.rem Integer.U32 (M.read (| lhs |)) (M.read (| rhs |))) + M.rust_cast (BinOp.Wrap.div (| M.read (| lhs |), M.read (| rhs |) |)); + M.rust_cast (BinOp.Wrap.rem (| M.read (| lhs |), M.read (| rhs |) |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -313,29 +319,30 @@ Module num. M.read (| let~ v := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (M.rust_cast (M.read (| self |))) - (M.rust_cast (M.read (| other |)))) - (M.rust_cast (M.read (| other2 |)))) - (M.rust_cast (M.read (| carry |))) + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| self |)), + M.rust_cast (M.read (| other |)) + |), + M.rust_cast (M.read (| other2 |)) + |), + M.rust_cast (M.read (| carry |)) + |) |) in M.alloc (| Value.Tuple [ M.rust_cast - (BinOp.Wrap.shr - (M.read (| v |)) - (M.read (| M.get_constant (| "core::num::BITS" |) |))); + (BinOp.Wrap.shr (| + M.read (| v |), + M.read (| M.get_constant (| "core::num::BITS" |) |) + |)); M.rust_cast (M.read (| v |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -373,8 +380,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt (M.read (| borrow |)) (M.read (| other |))) + UnOp.not (| + BinOp.lt (| M.read (| borrow |), M.read (| other |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -402,22 +410,23 @@ Module num. |) in let~ lhs := M.alloc (| - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (M.rust_cast (M.read (| borrow |))) - (M.read (| M.get_constant (| "core::num::BITS" |) |))) + BinOp.bit_or + (BinOp.Wrap.shl (| + M.rust_cast (M.read (| borrow |)), + M.read (| M.get_constant (| "core::num::BITS" |) |) + |)) (M.rust_cast (M.read (| self |))) |) in let~ rhs := M.alloc (| M.rust_cast (M.read (| other |)) |) in M.alloc (| Value.Tuple [ - M.rust_cast (BinOp.Wrap.div Integer.U64 (M.read (| lhs |)) (M.read (| rhs |))); - M.rust_cast (BinOp.Wrap.rem Integer.U64 (M.read (| lhs |)) (M.read (| rhs |))) + M.rust_cast (BinOp.Wrap.div (| M.read (| lhs |), M.read (| rhs |) |)); + M.rust_cast (BinOp.Wrap.rem (| M.read (| lhs |), M.read (| rhs |) |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -438,9 +447,12 @@ Module num. (M.alloc (| Value.Array [ - Value.Tuple [ Value.Integer 125; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 15625; Value.Integer 6 ]; - Value.Tuple [ Value.Integer 1220703125; Value.Integer 13 ] + Value.Tuple + [ Value.Integer IntegerKind.U64 125; Value.Integer IntegerKind.Usize 3 ]; + Value.Tuple + [ Value.Integer IntegerKind.U64 15625; Value.Integer IntegerKind.Usize 6 ]; + Value.Tuple + [ Value.Integer IntegerKind.U64 1220703125; Value.Integer IntegerKind.Usize 13 ] ] |))). @@ -470,19 +482,22 @@ Module num. ltac:(M.monadic (let v := M.alloc (| v |) in M.read (| - let~ base := M.alloc (| repeat (Value.Integer 0) 40 |) in + let~ base := M.alloc (| repeat (Value.Integer IntegerKind.U32 0) 40 |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| base, M.alloc (| Value.Integer 0 |) |), + M.SubPointer.get_array_field (| + base, + M.alloc (| Value.Integer IntegerKind.Usize 0 |) + |), M.read (| v |) |) in M.alloc (| Value.StructRecord "core::num::bignum::Big32x40" - [ ("size", Value.Integer 1); ("base", M.read (| base |)) ] + [ ("size", Value.Integer IntegerKind.Usize 1); ("base", M.read (| base |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_small : M.IsAssociatedFunction Self "from_small" from_small. @@ -505,8 +520,8 @@ Module num. ltac:(M.monadic (let v := M.alloc (| v |) in M.read (| - let~ base := M.alloc (| repeat (Value.Integer 0) 40 |) in - let~ sz := M.alloc (| Value.Integer 0 |) in + let~ base := M.alloc (| repeat (Value.Integer IntegerKind.U32 0) 40 |) in + let~ sz := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -517,7 +532,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| v |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.gt (| M.read (| v |), Value.Integer IntegerKind.U64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -529,15 +546,19 @@ Module num. let β := v in M.write (| β, - BinOp.Wrap.shr - (M.read (| β |)) - (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.Wrap.shr (| + M.read (| β |), + M.read (| M.get_constant (| "core::num::BITS" |) |) + |) |) in let~ _ := let β := sz in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -560,7 +581,7 @@ Module num. [ ("size", M.read (| sz |)); ("base", M.read (| base |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_u64 : M.IsAssociatedFunction Self "from_u64" from_u64. @@ -603,7 +624,7 @@ Module num. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_digits : M.IsAssociatedFunction Self "digits" digits. @@ -625,19 +646,13 @@ Module num. M.read (| let~ digitbits := M.alloc (| M.rust_cast (M.read (| M.get_constant (| "core::num::BITS" |) |)) |) in - let~ d := - M.alloc (| - BinOp.Wrap.div Integer.Usize (M.read (| i |)) (M.read (| digitbits |)) - |) in - let~ b := - M.alloc (| - BinOp.Wrap.rem Integer.Usize (M.read (| i |)) (M.read (| digitbits |)) - |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| i |), M.read (| digitbits |) |) |) in + let~ b := M.alloc (| BinOp.Wrap.rem (| M.read (| i |), M.read (| digitbits |) |) |) in M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr - (M.read (| + (BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -646,12 +661,13 @@ Module num. |), d |) - |)) - (M.read (| b |))) - (Value.Integer 1)) + |), + M.read (| b |) + |)) + (Value.Integer IntegerKind.U32 1)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_bit : M.IsAssociatedFunction Self "get_bit" get_bit. @@ -711,14 +727,14 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let v := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| v |)) (Value.Integer 0))) + BinOp.eq (| M.read (| v |), Value.Integer IntegerKind.U32 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_zero : M.IsAssociatedFunction Self "is_zero" is_zero. @@ -793,10 +809,13 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0))) + BinOp.ne (| + M.read (| x |), + Value.Integer IntegerKind.U32 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -814,15 +833,10 @@ Module num. |) in let msd := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (M.read (| msd |)) - (M.read (| digitbits |))) - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| M.read (| msd |), M.read (| digitbits |) |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "u32", "ilog2", [] |), [ @@ -830,14 +844,16 @@ Module num. M.SubPointer.get_array_field (| M.read (| digits |), msd |) |) ] - |)))) - (Value.Integer 1) + |)) + |), + Value.Integer IntegerKind.Usize 1 + |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bit_length : M.IsAssociatedFunction Self "bit_length" bit_length. @@ -1078,13 +1094,13 @@ Module num. |), sz |), - Value.Integer 1 + Value.Integer IntegerKind.U32 1 |) in let~ _ := let β := sz in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1101,7 +1117,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add : M.IsAssociatedFunction Self "add" add. @@ -1142,7 +1158,7 @@ Module num. "core::num::bignum::Big32x40", "base" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |); M.read (| other |); @@ -1165,11 +1181,11 @@ Module num. "core::num::bignum::Big32x40", "base" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.read (| v |) |) in - let~ i := M.alloc (| Value.Integer 1 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -1203,7 +1219,7 @@ Module num. i |) |); - Value.Integer 0; + Value.Integer IntegerKind.U32 0; M.read (| carry |) ] |) @@ -1232,10 +1248,10 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -1265,15 +1281,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| i |)) - (M.read (| + BinOp.gt (| + M.read (| i |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::bignum::Big32x40", "size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1297,7 +1314,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add_small : M.IsAssociatedFunction Self "add_small" add_small. @@ -1490,7 +1507,7 @@ Module num. |), [ M.read (| M.read (| a |) |); - UnOp.Pure.not (M.read (| M.read (| b |) |)); + UnOp.not (| M.read (| M.read (| b |) |) |); M.read (| noborrow |) ] |) @@ -1522,7 +1539,7 @@ Module num. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.alloc (| UnOp.Pure.not (M.read (| noborrow |)) |)) in + (let γ := M.use (M.alloc (| UnOp.not (| M.read (| noborrow |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1547,7 +1564,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sub : M.IsAssociatedFunction Self "sub" sub. @@ -1584,7 +1601,7 @@ Module num. "size" |) |) in - let~ carry := M.alloc (| Value.Integer 0 |) in + let~ carry := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := M.use (M.match_operator (| @@ -1706,7 +1723,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| carry |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.gt (| M.read (| carry |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -1725,7 +1744,7 @@ Module num. let β := sz in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1742,7 +1761,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_small : M.IsAssociatedFunction Self "mul_small" mul_small. @@ -1796,13 +1815,9 @@ Module num. let~ digitbits := M.alloc (| M.rust_cast (M.read (| M.get_constant (| "core::num::BITS" |) |)) |) in let~ digits := - M.alloc (| - BinOp.Wrap.div Integer.Usize (M.read (| bits |)) (M.read (| digitbits |)) - |) in + M.alloc (| BinOp.Wrap.div (| M.read (| bits |), M.read (| digitbits |) |) |) in let~ bits := - M.alloc (| - BinOp.Wrap.rem Integer.Usize (M.read (| bits |)) (M.read (| digitbits |)) - |) in + M.alloc (| BinOp.Wrap.rem (| M.read (| bits |), M.read (| digitbits |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1812,7 +1827,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.lt (M.read (| digits |)) (Value.Integer 40)) + UnOp.not (| + BinOp.lt (| + M.read (| digits |), + Value.Integer IntegerKind.Usize 40 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1845,8 +1865,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.apply @@ -1896,10 +1916,10 @@ Module num. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 40) - (M.read (| digits |))) + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 40, + M.read (| digits |) + |)) ] ] |) @@ -1919,15 +1939,17 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let v := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| v |)) - (Value.Integer 0))) + BinOp.eq (| + M.read (| v |), + Value.Integer IntegerKind.U32 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1972,13 +1994,16 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| bits |)) (Value.Integer 0), + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| + M.read (| bits |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| + (BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1986,22 +2011,25 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (Value.Integer 40) - (M.read (| digits |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 40, + M.read (| digits |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| digitbits |)) - (M.read (| bits |)))) - (Value.Integer 0))) - |)) + |), + BinOp.Wrap.sub (| + M.read (| digitbits |), + M.read (| bits |) + |) + |), + Value.Integer IntegerKind.U32 0 + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2055,7 +2083,7 @@ Module num. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -2122,10 +2150,10 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| digits |)) + BinOp.Wrap.add (| + M.read (| i |), + M.read (| digits |) + |) |) |), M.read (| @@ -2161,7 +2189,10 @@ Module num. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| digits |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| digits |)) + ] ] |) |), @@ -2214,7 +2245,7 @@ Module num. |), i |), - Value.Integer 0 + Value.Integer IntegerKind.U32 0 |) in M.alloc (| Value.Tuple [] |))) ] @@ -2225,16 +2256,16 @@ Module num. |)) in let~ sz := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::bignum::Big32x40", "size" |) - |)) - (M.read (| digits |)) + |), + M.read (| digits |) + |) |) in let~ _ := M.match_operator (| @@ -2244,14 +2275,16 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| bits |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.gt (| M.read (| bits |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ last := M.copy (| sz |) in let~ overflow := M.alloc (| - BinOp.Wrap.shr - (M.read (| + BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -2259,17 +2292,15 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| last |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| last |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| digitbits |)) - (M.read (| bits |))) + |), + BinOp.Wrap.sub (| M.read (| digitbits |), M.read (| bits |) |) + |) |) in let~ _ := M.match_operator (| @@ -2280,7 +2311,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| overflow |)) (Value.Integer 0) + BinOp.gt (| + M.read (| overflow |), + Value.Integer IntegerKind.U32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2303,10 +2337,10 @@ Module num. let β := sz in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -2346,10 +2380,10 @@ Module num. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| digits |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| digits |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| last |)) ] ] @@ -2413,9 +2447,9 @@ Module num. |), i |), - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (M.read (| + BinOp.bit_or + (BinOp.Wrap.shl (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -2424,10 +2458,11 @@ Module num. |), i |) - |)) - (M.read (| bits |))) - (BinOp.Wrap.shr - (M.read (| + |), + M.read (| bits |) + |)) + (BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -2435,17 +2470,18 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| digitbits |)) - (M.read (| bits |)))) + |), + BinOp.Wrap.sub (| + M.read (| digitbits |), + M.read (| bits |) + |) + |)) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2464,7 +2500,7 @@ Module num. |), digits |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| bits |)) |) in + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| bits |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] @@ -2480,7 +2516,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_pow2 : M.IsAssociatedFunction Self "mul_pow2" mul_pow2. @@ -2556,7 +2592,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| e |)) (M.read (| small_e |)) + BinOp.ge (| M.read (| e |), M.read (| small_e |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -2578,10 +2614,7 @@ Module num. let β := e in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| small_e |)) + BinOp.Wrap.sub (| M.read (| β |), M.read (| small_e |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2600,7 +2633,7 @@ Module num. ] |))) |) in - let~ rest_power := M.alloc (| Value.Integer 1 |) in + let~ rest_power := M.alloc (| Value.Integer IntegerKind.U32 1 |) in let~ _ := M.use (M.match_operator (| @@ -2616,7 +2649,10 @@ Module num. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| e |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| e |)) + ] ] |) |), @@ -2665,10 +2701,10 @@ Module num. let β := rest_power in M.write (| β, - BinOp.Wrap.mul - Integer.U32 - (M.read (| β |)) - (Value.Integer 5) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.U32 5 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2692,7 +2728,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_pow5 : M.IsAssociatedFunction Self "mul_pow5" mul_pow5. @@ -2744,7 +2780,7 @@ Module num. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in M.read (| - let~ ret := M.alloc (| repeat (Value.Integer 0) 40 |) in + let~ ret := M.alloc (| repeat (Value.Integer IntegerKind.U32 0) 40 |) in let~ retsz := M.copy (| M.match_operator (| @@ -2755,22 +2791,23 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::bignum::Big32x40", "size" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u32" ], "len", [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2833,7 +2870,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_digits : M.IsAssociatedFunction Self "mul_digits" mul_digits. @@ -2870,7 +2907,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| other |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| M.read (| other |), Value.Integer IntegerKind.U32 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2893,7 +2932,7 @@ Module num. "size" |) |) in - let~ borrow := M.alloc (| Value.Integer 0 |) in + let~ borrow := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := M.use (M.match_operator (| @@ -3038,7 +3077,7 @@ Module num. |)) in M.alloc (| Value.Tuple [ M.read (| self |); M.read (| borrow |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_rem_small : @@ -3098,16 +3137,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::num::bignum::Big32x40", "is_zero", [] |), [ M.read (| d |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3199,7 +3240,10 @@ Module num. |) in let digit := M.copy (| γ0_0 |) in let~ _ := - M.write (| M.read (| digit |), Value.Integer 0 |) in + M.write (| + M.read (| digit |), + Value.Integer IntegerKind.U32 0 + |) in M.alloc (| Value.Tuple [] |))) ] |) in @@ -3282,7 +3326,10 @@ Module num. |) in let digit := M.copy (| γ0_0 |) in let~ _ := - M.write (| M.read (| digit |), Value.Integer 0 |) in + M.write (| + M.read (| digit |), + Value.Integer IntegerKind.U32 0 + |) in M.alloc (| Value.Tuple [] |))) ] |) in @@ -3312,7 +3359,7 @@ Module num. "core::num::bignum::Big32x40", "size" |), - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 |) in let~ q_is_zero := M.alloc (| Value.Bool true |) in let~ end_ := @@ -3352,7 +3399,10 @@ Module num. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| end_ |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| end_ |)) + ] ] |) ] @@ -3409,7 +3459,7 @@ Module num. "mul_pow2", [] |), - [ M.read (| r |); Value.Integer 1 ] + [ M.read (| r |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -3420,11 +3470,11 @@ Module num. "core::num::bignum::Big32x40", "base" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.rust_cast (M.call_closure (| @@ -3486,17 +3536,17 @@ Module num. |) in let~ digit_idx := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| i |)) - (M.read (| digitbits |)) + BinOp.Wrap.div (| + M.read (| i |), + M.read (| digitbits |) + |) |) in let~ bit_idx := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.read (| i |)) - (M.read (| digitbits |)) + BinOp.Wrap.rem (| + M.read (| i |), + M.read (| digitbits |) + |) |) in let~ _ := M.match_operator (| @@ -3517,10 +3567,10 @@ Module num. "core::num::bignum::Big32x40", "size" |), - BinOp.Wrap.add - Integer.Usize - (M.read (| digit_idx |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| digit_idx |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -3545,11 +3595,12 @@ Module num. |) in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| bit_idx |))) + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.read (| bit_idx |) + |)) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -3579,8 +3630,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.apply @@ -3656,15 +3707,17 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let d := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| d |)) - (Value.Integer 0))) + BinOp.eq (| + M.read (| d |), + Value.Integer IntegerKind.U32 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3709,8 +3762,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.apply @@ -3786,15 +3839,17 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let d := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| d |)) - (Value.Integer 0))) + BinOp.eq (| + M.read (| d |), + Value.Integer IntegerKind.U32 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3823,7 +3878,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_rem : M.IsAssociatedFunction Self "div_rem" div_rem. @@ -3888,7 +3943,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3934,7 +3989,7 @@ Module num. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4131,7 +4186,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4175,7 +4230,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4220,22 +4275,23 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::bignum::Big32x40", "size" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); fun γ => ltac:(M.monadic (M.SubPointer.get_struct_record_field (| @@ -4248,10 +4304,10 @@ Module num. |) in let~ digitlen := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.rust_cast (M.read (| M.get_constant (| "core::num::BITS" |) |))) - (Value.Integer 4) + BinOp.Wrap.div (| + M.rust_cast (M.read (| M.get_constant (| "core::num::BITS" |) |)), + Value.Integer IntegerKind.Usize 4 + |) |) in let~ _ := M.match_operator (| @@ -4304,10 +4360,10 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| sz |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| sz |), + Value.Integer IntegerKind.Usize 1 + |) |) |) ] @@ -4326,12 +4382,12 @@ Module num. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 4; + Value.Integer IntegerKind.U32 4; Value.StructTuple "core::fmt::rt::Count::Implied" []; @@ -4457,10 +4513,10 @@ Module num. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| sz |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| sz |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -4592,18 +4648,26 @@ Module num. [] |), [ - Value.Integer 0; + Value.Integer + IntegerKind.Usize + 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 8; + Value.Integer + IntegerKind.U32 + 8; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Param" - [ Value.Integer 1 ] + [ + Value.Integer + IntegerKind.Usize + 1 + ] ] |) ] @@ -4688,7 +4752,7 @@ Module num. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4724,19 +4788,22 @@ Module num. ltac:(M.monadic (let v := M.alloc (| v |) in M.read (| - let~ base := M.alloc (| repeat (Value.Integer 0) 3 |) in + let~ base := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 3 |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| base, M.alloc (| Value.Integer 0 |) |), + M.SubPointer.get_array_field (| + base, + M.alloc (| Value.Integer IntegerKind.Usize 0 |) + |), M.read (| v |) |) in M.alloc (| Value.StructRecord "core::num::bignum::tests::Big8x3" - [ ("size", Value.Integer 1); ("base", M.read (| base |)) ] + [ ("size", Value.Integer IntegerKind.Usize 1); ("base", M.read (| base |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_small : M.IsAssociatedFunction Self "from_small" from_small. @@ -4759,8 +4826,8 @@ Module num. ltac:(M.monadic (let v := M.alloc (| v |) in M.read (| - let~ base := M.alloc (| repeat (Value.Integer 0) 3 |) in - let~ sz := M.alloc (| Value.Integer 0 |) in + let~ base := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 3 |) in + let~ sz := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4772,7 +4839,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| v |)) (Value.Integer 0) + BinOp.gt (| M.read (| v |), Value.Integer IntegerKind.U64 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -4788,15 +4855,19 @@ Module num. let β := v in M.write (| β, - BinOp.Wrap.shr - (M.read (| β |)) - (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.Wrap.shr (| + M.read (| β |), + M.read (| M.get_constant (| "core::num::BITS" |) |) + |) |) in let~ _ := let β := sz in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4821,7 +4892,7 @@ Module num. [ ("size", M.read (| sz |)); ("base", M.read (| base |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_u64 : M.IsAssociatedFunction Self "from_u64" from_u64. @@ -4864,7 +4935,7 @@ Module num. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_digits : M.IsAssociatedFunction Self "digits" digits. @@ -4887,18 +4958,14 @@ Module num. let~ digitbits := M.alloc (| M.rust_cast (M.read (| M.get_constant (| "core::num::BITS" |) |)) |) in let~ d := - M.alloc (| - BinOp.Wrap.div Integer.Usize (M.read (| i |)) (M.read (| digitbits |)) - |) in + M.alloc (| BinOp.Wrap.div (| M.read (| i |), M.read (| digitbits |) |) |) in let~ b := - M.alloc (| - BinOp.Wrap.rem Integer.Usize (M.read (| i |)) (M.read (| digitbits |)) - |) in + M.alloc (| BinOp.Wrap.rem (| M.read (| i |), M.read (| digitbits |) |) |) in M.use (M.alloc (| - BinOp.Pure.bit_and - (BinOp.Wrap.shr - (M.read (| + BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -4907,12 +4974,13 @@ Module num. |), d |) - |)) - (M.read (| b |))) - (Value.Integer 1) + |), + M.read (| b |) + |)) + (Value.Integer IntegerKind.U8 1) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_bit : M.IsAssociatedFunction Self "get_bit" get_bit. @@ -4972,14 +5040,14 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let v := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| v |)) (Value.Integer 0))) + BinOp.eq (| M.read (| v |), Value.Integer IntegerKind.U8 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_zero : M.IsAssociatedFunction Self "is_zero" is_zero. @@ -5054,10 +5122,13 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0))) + BinOp.ne (| + M.read (| x |), + Value.Integer IntegerKind.U8 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5075,15 +5146,10 @@ Module num. |) in let msd := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (M.read (| msd |)) - (M.read (| digitbits |))) - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| M.read (| msd |), M.read (| digitbits |) |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "u8", "ilog2", [] |), [ @@ -5091,14 +5157,16 @@ Module num. M.SubPointer.get_array_field (| M.read (| digits |), msd |) |) ] - |)))) - (Value.Integer 1) + |)) + |), + Value.Integer IntegerKind.Usize 1 + |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bit_length : M.IsAssociatedFunction Self "bit_length" bit_length. @@ -5342,13 +5410,13 @@ Module num. |), sz |), - Value.Integer 1 + Value.Integer IntegerKind.U8 1 |) in let~ _ := let β := sz in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -5365,7 +5433,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add : M.IsAssociatedFunction Self "add" add. @@ -5406,7 +5474,7 @@ Module num. "core::num::bignum::tests::Big8x3", "base" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |); M.read (| other |); @@ -5429,11 +5497,11 @@ Module num. "core::num::bignum::tests::Big8x3", "base" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.read (| v |) |) in - let~ i := M.alloc (| Value.Integer 1 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -5467,7 +5535,7 @@ Module num. i |) |); - Value.Integer 0; + Value.Integer IntegerKind.U8 0; M.read (| carry |) ] |) @@ -5497,10 +5565,10 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -5530,15 +5598,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| i |)) - (M.read (| + BinOp.gt (| + M.read (| i |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::bignum::tests::Big8x3", "size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5562,7 +5631,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add_small : M.IsAssociatedFunction Self "add_small" add_small. @@ -5758,7 +5827,7 @@ Module num. |), [ M.read (| M.read (| a |) |); - UnOp.Pure.not (M.read (| M.read (| b |) |)); + UnOp.not (| M.read (| M.read (| b |) |) |); M.read (| noborrow |) ] |) @@ -5791,7 +5860,7 @@ Module num. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.alloc (| UnOp.Pure.not (M.read (| noborrow |)) |)) in + (let γ := M.use (M.alloc (| UnOp.not (| M.read (| noborrow |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -5816,7 +5885,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sub : M.IsAssociatedFunction Self "sub" sub. @@ -5853,7 +5922,7 @@ Module num. "size" |) |) in - let~ carry := M.alloc (| Value.Integer 0 |) in + let~ carry := M.alloc (| Value.Integer IntegerKind.U8 0 |) in let~ _ := M.use (M.match_operator (| @@ -5979,7 +6048,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| carry |)) (Value.Integer 0) + BinOp.gt (| M.read (| carry |), Value.Integer IntegerKind.U8 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5999,7 +6068,7 @@ Module num. let β := sz in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -6016,7 +6085,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_small : M.IsAssociatedFunction Self "mul_small" mul_small. @@ -6070,13 +6139,9 @@ Module num. let~ digitbits := M.alloc (| M.rust_cast (M.read (| M.get_constant (| "core::num::BITS" |) |)) |) in let~ digits := - M.alloc (| - BinOp.Wrap.div Integer.Usize (M.read (| bits |)) (M.read (| digitbits |)) - |) in + M.alloc (| BinOp.Wrap.div (| M.read (| bits |), M.read (| digitbits |) |) |) in let~ bits := - M.alloc (| - BinOp.Wrap.rem Integer.Usize (M.read (| bits |)) (M.read (| digitbits |)) - |) in + M.alloc (| BinOp.Wrap.rem (| M.read (| bits |), M.read (| digitbits |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6086,8 +6151,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt (M.read (| digits |)) (Value.Integer 3)) + UnOp.not (| + BinOp.lt (| + M.read (| digits |), + Value.Integer IntegerKind.Usize 3 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6120,8 +6189,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.apply @@ -6172,10 +6241,10 @@ Module num. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 3) - (M.read (| digits |))) + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 3, + M.read (| digits |) + |)) ] ] |) @@ -6195,15 +6264,18 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let v := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| v |)) - (Value.Integer 0))) + BinOp.eq (| + M.read (| v |), + Value.Integer IntegerKind.U8 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6248,13 +6320,16 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| bits |)) (Value.Integer 0), + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| + M.read (| bits |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| + (BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -6262,22 +6337,25 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (Value.Integer 3) - (M.read (| digits |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 3, + M.read (| digits |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| digitbits |)) - (M.read (| bits |)))) - (Value.Integer 0))) - |)) + |), + BinOp.Wrap.sub (| + M.read (| digitbits |), + M.read (| bits |) + |) + |), + Value.Integer IntegerKind.U8 0 + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6331,7 +6409,7 @@ Module num. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -6401,10 +6479,10 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| digits |)) + BinOp.Wrap.add (| + M.read (| i |), + M.read (| digits |) + |) |) |), M.read (| @@ -6440,7 +6518,10 @@ Module num. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| digits |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| digits |)) + ] ] |) |), @@ -6496,7 +6577,7 @@ Module num. |), i |), - Value.Integer 0 + Value.Integer IntegerKind.U8 0 |) in M.alloc (| Value.Tuple [] |))) ] @@ -6507,16 +6588,16 @@ Module num. |)) in let~ sz := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::bignum::tests::Big8x3", "size" |) - |)) - (M.read (| digits |)) + |), + M.read (| digits |) + |) |) in let~ _ := M.match_operator (| @@ -6526,14 +6607,16 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| bits |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.gt (| M.read (| bits |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ last := M.copy (| sz |) in let~ overflow := M.alloc (| - BinOp.Wrap.shr - (M.read (| + BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -6541,17 +6624,15 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| last |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| last |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| digitbits |)) - (M.read (| bits |))) + |), + BinOp.Wrap.sub (| M.read (| digitbits |), M.read (| bits |) |) + |) |) in let~ _ := M.match_operator (| @@ -6562,7 +6643,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| overflow |)) (Value.Integer 0) + BinOp.gt (| + M.read (| overflow |), + Value.Integer IntegerKind.U8 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6585,10 +6669,10 @@ Module num. let β := sz in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -6628,10 +6712,10 @@ Module num. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| digits |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| digits |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.read (| last |)) ] ] @@ -6695,9 +6779,9 @@ Module num. |), i |), - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (M.read (| + BinOp.bit_or + (BinOp.Wrap.shl (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -6706,10 +6790,11 @@ Module num. |), i |) - |)) - (M.read (| bits |))) - (BinOp.Wrap.shr - (M.read (| + |), + M.read (| bits |) + |)) + (BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -6717,17 +6802,20 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| i |), + Value.Integer + IntegerKind.Usize + 1 + |) |) |) - |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| digitbits |)) - (M.read (| bits |)))) + |), + BinOp.Wrap.sub (| + M.read (| digitbits |), + M.read (| bits |) + |) + |)) |) in M.alloc (| Value.Tuple [] |))) ] @@ -6746,7 +6834,10 @@ Module num. |), digits |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| bits |)) |) in + M.write (| + β, + BinOp.Wrap.shl (| M.read (| β |), M.read (| bits |) |) + |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] @@ -6762,7 +6853,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_pow2 : M.IsAssociatedFunction Self "mul_pow2" mul_pow2. @@ -6838,7 +6929,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| e |)) (M.read (| small_e |)) + BinOp.ge (| M.read (| e |), M.read (| small_e |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -6860,10 +6951,7 @@ Module num. let β := e in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| small_e |)) + BinOp.Wrap.sub (| M.read (| β |), M.read (| small_e |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -6882,7 +6970,7 @@ Module num. ] |))) |) in - let~ rest_power := M.alloc (| Value.Integer 1 |) in + let~ rest_power := M.alloc (| Value.Integer IntegerKind.U8 1 |) in let~ _ := M.use (M.match_operator (| @@ -6900,7 +6988,10 @@ Module num. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| e |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| e |)) + ] ] |) |), @@ -6949,10 +7040,10 @@ Module num. let β := rest_power in M.write (| β, - BinOp.Wrap.mul - Integer.U8 - (M.read (| β |)) - (Value.Integer 5) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.U8 5 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -6976,7 +7067,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_pow5 : M.IsAssociatedFunction Self "mul_pow5" mul_pow5. @@ -7028,7 +7119,7 @@ Module num. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in M.read (| - let~ ret := M.alloc (| repeat (Value.Integer 0) 3 |) in + let~ ret := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 3 |) in let~ retsz := M.copy (| M.match_operator (| @@ -7039,22 +7130,23 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::bignum::tests::Big8x3", "size" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7117,7 +7209,7 @@ Module num. |) in M.alloc (| M.read (| self |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_digits : M.IsAssociatedFunction Self "mul_digits" mul_digits. @@ -7154,7 +7246,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| other |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| M.read (| other |), Value.Integer IntegerKind.U8 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7177,7 +7271,7 @@ Module num. "size" |) |) in - let~ borrow := M.alloc (| Value.Integer 0 |) in + let~ borrow := M.alloc (| Value.Integer IntegerKind.U8 0 |) in let~ _ := M.use (M.match_operator (| @@ -7325,7 +7419,7 @@ Module num. |)) in M.alloc (| Value.Tuple [ M.read (| self |); M.read (| borrow |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_rem_small : @@ -7385,16 +7479,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::num::bignum::tests::Big8x3", "is_zero", [] |), [ M.read (| d |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7489,7 +7585,10 @@ Module num. |) in let digit := M.copy (| γ0_0 |) in let~ _ := - M.write (| M.read (| digit |), Value.Integer 0 |) in + M.write (| + M.read (| digit |), + Value.Integer IntegerKind.U8 0 + |) in M.alloc (| Value.Tuple [] |))) ] |) in @@ -7575,7 +7674,10 @@ Module num. |) in let digit := M.copy (| γ0_0 |) in let~ _ := - M.write (| M.read (| digit |), Value.Integer 0 |) in + M.write (| + M.read (| digit |), + Value.Integer IntegerKind.U8 0 + |) in M.alloc (| Value.Tuple [] |))) ] |) in @@ -7605,7 +7707,7 @@ Module num. "core::num::bignum::tests::Big8x3", "size" |), - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 |) in let~ q_is_zero := M.alloc (| Value.Bool true |) in let~ end_ := @@ -7645,7 +7747,10 @@ Module num. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| end_ |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| end_ |)) + ] ] |) ] @@ -7705,7 +7810,8 @@ Module num. "mul_pow2", [] |), - [ M.read (| r |); Value.Integer 1 ] + [ M.read (| r |); Value.Integer IntegerKind.Usize 1 + ] |) |) in let~ _ := @@ -7716,11 +7822,11 @@ Module num. "core::num::bignum::tests::Big8x3", "base" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.use @@ -7790,17 +7896,17 @@ Module num. |) in let~ digit_idx := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| i |)) - (M.read (| digitbits |)) + BinOp.Wrap.div (| + M.read (| i |), + M.read (| digitbits |) + |) |) in let~ bit_idx := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.read (| i |)) - (M.read (| digitbits |)) + BinOp.Wrap.rem (| + M.read (| i |), + M.read (| digitbits |) + |) |) in let~ _ := M.match_operator (| @@ -7821,10 +7927,10 @@ Module num. "core::num::bignum::tests::Big8x3", "size" |), - BinOp.Wrap.add - Integer.Usize - (M.read (| digit_idx |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| digit_idx |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -7849,11 +7955,12 @@ Module num. |) in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| bit_idx |))) + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U8 1, + M.read (| bit_idx |) + |)) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -7884,8 +7991,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.apply @@ -7962,15 +8069,18 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let d := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| d |)) - (Value.Integer 0))) + BinOp.eq (| + M.read (| d |), + Value.Integer IntegerKind.U8 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8015,8 +8125,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", Ty.apply @@ -8093,15 +8203,18 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let d := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| d |)) - (Value.Integer 0))) + BinOp.eq (| + M.read (| d |), + Value.Integer IntegerKind.U8 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8130,7 +8243,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_rem : M.IsAssociatedFunction Self "div_rem" div_rem. @@ -8195,7 +8308,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8241,7 +8354,7 @@ Module num. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8438,7 +8551,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8482,7 +8595,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8527,22 +8640,23 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::bignum::tests::Big8x3", "size" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); fun γ => ltac:(M.monadic (M.SubPointer.get_struct_record_field (| @@ -8555,10 +8669,10 @@ Module num. |) in let~ digitlen := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.rust_cast (M.read (| M.get_constant (| "core::num::BITS" |) |))) - (Value.Integer 4) + BinOp.Wrap.div (| + M.rust_cast (M.read (| M.get_constant (| "core::num::BITS" |) |)), + Value.Integer IntegerKind.Usize 4 + |) |) in let~ _ := M.match_operator (| @@ -8613,10 +8727,10 @@ Module num. "base" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| sz |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| sz |), + Value.Integer IntegerKind.Usize 1 + |) |) |) ] @@ -8635,12 +8749,12 @@ Module num. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 4; + Value.Integer IntegerKind.U32 4; Value.StructTuple "core::fmt::rt::Count::Implied" []; @@ -8768,10 +8882,10 @@ Module num. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| sz |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| sz |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -8907,18 +9021,26 @@ Module num. [] |), [ - Value.Integer 0; + Value.Integer + IntegerKind.Usize + 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 8; + Value.Integer + IntegerKind.U32 + 8; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Param" - [ Value.Integer 1 ] + [ + Value.Integer + IntegerKind.Usize + 1 + ] ] |) ] @@ -9004,7 +9126,7 @@ Module num. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/num/dec2flt/common.v b/CoqOfRust/core/num/dec2flt/common.v index b2425c435..061b6f16d 100644 --- a/CoqOfRust/core/num/dec2flt/common.v +++ b/CoqOfRust/core/num/dec2flt/common.v @@ -23,7 +23,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ tmp := M.alloc (| repeat (Value.Integer 0) 8 |) in + let~ tmp := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 8 |) in let~ _ := M.alloc (| M.call_closure (| @@ -46,7 +46,7 @@ Module num. M.read (| self |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 8) ] + [ ("end_", Value.Integer IntegerKind.Usize 8) ] ] |) ] @@ -59,7 +59,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -90,7 +90,9 @@ Module num. |), [ M.read (| self |); - Value.StructRecord "core::ops::range::RangeTo" [ ("end_", Value.Integer 8) ] + Value.StructRecord + "core::ops::range::RangeTo" + [ ("end_", Value.Integer IntegerKind.Usize 8) ] ] |); (* Unsize *) @@ -103,7 +105,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -117,9 +119,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub - Integer.Isize - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -127,8 +128,8 @@ Module num. [] |), [ M.read (| other |) ] - |))) - (M.rust_cast + |)), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -136,8 +137,9 @@ Module num. [] |), [ M.read (| self |) ] - |))))) - | _, _ => M.impossible + |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -200,7 +202,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| c |)) (Value.Integer 10) + BinOp.lt (| + M.read (| c |), + Value.Integer IntegerKind.U8 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -247,7 +252,7 @@ Module num. |) in M.alloc (| M.read (| s |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -281,25 +286,26 @@ Module num. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), - [ M.read (| v |); Value.Integer 5063812098665367110 ] + [ M.read (| v |); Value.Integer IntegerKind.U64 5063812098665367110 ] |) |) in let~ b := M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_sub", [] |), - [ M.read (| v |); Value.Integer 3472328296227680304 ] + [ M.read (| v |); Value.Integer IntegerKind.U64 3472328296227680304 ] |) |) in M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and - (BinOp.Pure.bit_or (M.read (| a |)) (M.read (| b |))) - (Value.Integer 9259542123273814144)) - (Value.Integer 0) + BinOp.eq (| + BinOp.bit_and + (BinOp.bit_or (M.read (| a |)) (M.read (| b |))) + (Value.Integer IntegerKind.U64 9259542123273814144), + Value.Integer IntegerKind.U64 0 + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_8digits : M.IsFunction "core::num::dec2flt::common::is_8digits" is_8digits. @@ -350,7 +356,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -394,7 +400,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -427,39 +433,41 @@ Module num. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::common::BiasedFp", "f" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::dec2flt::common::BiasedFp", "f" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::common::BiasedFp", "e" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::dec2flt::common::BiasedFp", "e" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -503,7 +511,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -549,7 +557,7 @@ Module num. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -575,8 +583,8 @@ Module num. (let e := M.alloc (| e |) in Value.StructRecord "core::num::dec2flt::common::BiasedFp" - [ ("f", Value.Integer 0); ("e", M.read (| e |)) ])) - | _, _ => M.impossible + [ ("f", Value.Integer IntegerKind.U64 0); ("e", M.read (| e |)) ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_zero_pow2 : M.IsAssociatedFunction Self "zero_pow2" zero_pow2. diff --git a/CoqOfRust/core/num/dec2flt/decimal.v b/CoqOfRust/core/num/dec2flt/decimal.v index c3a761dfa..03c7ed7a6 100644 --- a/CoqOfRust/core/num/dec2flt/decimal.v +++ b/CoqOfRust/core/num/dec2flt/decimal.v @@ -92,7 +92,7 @@ Module num. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -118,12 +118,12 @@ Module num. (Value.StructRecord "core::num::dec2flt::decimal::Decimal" [ - ("num_digits", Value.Integer 0); - ("decimal_point", Value.Integer 0); + ("num_digits", Value.Integer IntegerKind.Usize 0); + ("decimal_point", Value.Integer IntegerKind.I32 0); ("truncated", Value.Bool false); - ("digits", repeat (Value.Integer 0) 768) + ("digits", repeat (Value.Integer IntegerKind.U8 0) 768) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -140,9 +140,7 @@ Module num. (* pub const MAX_DIGITS: usize = 768; *) (* Ty.path "usize" *) Definition value_MAX_DIGITS : Value.t := - M.run - ltac:(M.monadic - (* thir failed to compile: Any { .. } *) (M.alloc (| Value.Tuple [] |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 768 |))). Axiom AssociatedConstant_value_MAX_DIGITS : M.IsAssociatedConstant Self "value_MAX_DIGITS" value_MAX_DIGITS. @@ -150,7 +148,7 @@ Module num. (* pub const MAX_DIGITS_WITHOUT_OVERFLOW: usize = 19; *) (* Ty.path "usize" *) Definition value_MAX_DIGITS_WITHOUT_OVERFLOW : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 19 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 19 |))). Axiom AssociatedConstant_value_MAX_DIGITS_WITHOUT_OVERFLOW : M.IsAssociatedConstant @@ -161,7 +159,7 @@ Module num. (* pub const DECIMAL_POINT_RANGE: i32 = 2047; *) (* Ty.path "i32" *) Definition value_DECIMAL_POINT_RANGE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2047 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 2047 |))). Axiom AssociatedConstant_value_DECIMAL_POINT_RANGE : M.IsAssociatedConstant Self "value_DECIMAL_POINT_RANGE" value_DECIMAL_POINT_RANGE. @@ -190,17 +188,18 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::MAX_DIGITS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -233,11 +232,11 @@ Module num. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_add_digit : @@ -282,20 +281,22 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::MAX_DIGITS" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -333,18 +334,19 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -352,20 +354,21 @@ Module num. "digits" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U8 0 + |))) |) |)) in let _ := @@ -379,7 +382,10 @@ Module num. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -397,7 +403,7 @@ Module num. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim : M.IsAssociatedFunction Self "trim" trim. @@ -448,25 +454,27 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| + (BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.I32 0 + |))) |) |)) in let _ := @@ -475,7 +483,9 @@ Module num. Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 0 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U64 0 |) |) + |) |))); fun γ => ltac:(M.monadic @@ -487,15 +497,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (Value.Integer 18) + |), + Value.Integer IntegerKind.I32 18 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -505,7 +516,9 @@ Module num. M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Integer 18446744073709551615 |) + M.return_ (| + Value.Integer IntegerKind.U64 18446744073709551615 + |) |) |) |))); @@ -525,7 +538,7 @@ Module num. |) |)) |) in - let~ n := M.alloc (| Value.Integer 0 |) in + let~ n := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ _ := M.use (M.match_operator (| @@ -541,7 +554,10 @@ Module num. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| dp |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| dp |)) + ] ] |) |), @@ -591,10 +607,10 @@ Module num. let β := n in M.write (| β, - BinOp.Wrap.mul - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -604,15 +620,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| i |)) - (M.read (| + BinOp.lt (| + M.read (| i |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -623,10 +640,9 @@ Module num. let β := n in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| @@ -636,7 +652,8 @@ Module num. |), i |) - |))) + |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -659,15 +676,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| dp |)) - (M.read (| + BinOp.lt (| + M.read (| dp |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -677,8 +695,8 @@ Module num. let~ _ := M.write (| round_up, - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -687,8 +705,9 @@ Module num. |), dp |) - |)) - (Value.Integer 5) + |), + Value.Integer IntegerKind.U8 5 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -699,8 +718,8 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -709,21 +728,23 @@ Module num. |), dp |) - |)) - (Value.Integer 5), + |), + Value.Integer IntegerKind.U8 5 + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.add - Integer.Usize - (M.read (| dp |)) - (Value.Integer 1)) - (M.read (| + (BinOp.eq (| + BinOp.Wrap.add (| + M.read (| dp |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)))) + |) + |))) |) |)) in let _ := @@ -743,11 +764,14 @@ Module num. |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.ne (M.read (| dp |)) (Value.Integer 0), + BinOp.ne (| + M.read (| dp |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (BinOp.Pure.bit_and - (Value.Integer 1) + (BinOp.ne (| + BinOp.bit_and + (Value.Integer IntegerKind.U8 1) (M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| @@ -756,14 +780,15 @@ Module num. "digits" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| dp |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| dp |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |))) - (Value.Integer 0))) + |)), + Value.Integer IntegerKind.U8 0 + |))) |))) |) |))); @@ -789,7 +814,10 @@ Module num. let β := n in M.write (| β, - BinOp.Wrap.add Integer.U64 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U64 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -798,7 +826,7 @@ Module num. n |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_round : M.IsAssociatedFunction Self "round" round. @@ -862,15 +890,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -903,18 +932,18 @@ Module num. |) in let~ write_index := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (M.read (| num_new_digits |)) + |), + M.read (| num_new_digits |) + |) |) in - let~ n := M.alloc (| Value.Integer 0 |) in + let~ n := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -926,7 +955,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| read_index |)) (Value.Integer 0) + BinOp.ne (| + M.read (| read_index |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -937,29 +969,28 @@ Module num. let β := read_index in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let β := write_index in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (BinOp.Wrap.shl - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.shl (| + M.rust_cast (M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| @@ -969,22 +1000,27 @@ Module num. |), read_index |) - |))) - (M.read (| shift |))) + |)), + M.read (| shift |) + |) + |) |) in let~ quotient := M.alloc (| - BinOp.Wrap.div Integer.U64 (M.read (| n |)) (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| n |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ remainder := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| n |)) - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 10) - (M.read (| quotient |))) + BinOp.Wrap.sub (| + M.read (| n |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 10, + M.read (| quotient |) + |) + |) |) in let~ _ := M.match_operator (| @@ -995,13 +1031,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| write_index |)) - (M.read (| + BinOp.lt (| + M.read (| write_index |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::MAX_DIGITS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1031,9 +1068,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| remainder |)) - (Value.Integer 0) + BinOp.gt (| + M.read (| remainder |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1085,7 +1123,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0) + BinOp.gt (| + M.read (| n |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1096,24 +1137,27 @@ Module num. let β := write_index in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ quotient := M.alloc (| - BinOp.Wrap.div Integer.U64 (M.read (| n |)) (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| n |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ remainder := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| n |)) - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 10) - (M.read (| quotient |))) + BinOp.Wrap.sub (| + M.read (| n |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 10, + M.read (| quotient |) + |) + |) |) in let~ _ := M.match_operator (| @@ -1124,13 +1168,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| write_index |)) - (M.read (| + BinOp.lt (| + M.read (| write_index |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::MAX_DIGITS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1160,9 +1205,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| remainder |)) - (Value.Integer 0) + BinOp.gt (| + M.read (| remainder |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1212,7 +1258,7 @@ Module num. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| num_new_digits |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| num_new_digits |) |) |) in let~ _ := M.match_operator (| @@ -1223,19 +1269,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::MAX_DIGITS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1266,10 +1313,10 @@ Module num. |) in M.write (| β, - BinOp.Wrap.add - Integer.I32 - (M.read (| β |)) - (M.rust_cast (M.read (| num_new_digits |))) + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.read (| num_new_digits |)) + |) |) in let~ _ := M.alloc (| @@ -1285,7 +1332,7 @@ Module num. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_left_shift : M.IsAssociatedFunction Self "left_shift" left_shift. @@ -1348,9 +1395,9 @@ Module num. M.catch_return (| ltac:(M.monadic (M.read (| - let~ read_index := M.alloc (| Value.Integer 0 |) in - let~ write_index := M.alloc (| Value.Integer 0 |) in - let~ n := M.alloc (| Value.Integer 0 |) in + let~ read_index := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ write_index := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ n := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -1362,9 +1409,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr (M.read (| n |)) (M.read (| shift |))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| M.read (| n |), M.read (| shift |) |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1379,15 +1427,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| read_index |)) - (M.read (| + BinOp.lt (| + M.read (| read_index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1397,13 +1446,12 @@ Module num. let~ _ := M.write (| n, - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 10) - (M.read (| n |))) - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 10, + M.read (| n |) + |), + M.rust_cast (M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| @@ -1413,16 +1461,17 @@ Module num. |), read_index |) - |))) + |)) + |) |) in let~ _ := let β := read_index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1435,9 +1484,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| n |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| n |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1465,13 +1515,15 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| n |)) - (M.read (| - shift - |))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| n |), + M.read (| shift |) + |), + Value.Integer + IntegerKind.U64 + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1482,19 +1534,23 @@ Module num. let β := n in M.write (| β, - BinOp.Wrap.mul - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer + IntegerKind.U64 + 10 + |) |) in let~ _ := let β := read_index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in M.alloc (| Value.Tuple [] @@ -1554,13 +1610,13 @@ Module num. |) in M.write (| β, - BinOp.Wrap.sub - Integer.I32 - (M.read (| β |)) - (BinOp.Wrap.sub - Integer.I32 - (M.rust_cast (M.read (| read_index |))) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.sub (| + M.rust_cast (M.read (| read_index |)), + Value.Integer IntegerKind.I32 1 + |) + |) |) in let~ _ := M.match_operator (| @@ -1571,22 +1627,22 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (UnOp.Panic.neg (| - Integer.I32, + |), + UnOp.neg (| M.read (| M.get_constant (| "core::num::dec2flt::decimal::DECIMAL_POINT_RANGE" |) |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1603,7 +1659,7 @@ Module num. "core::num::dec2flt::decimal::Decimal", "num_digits" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| @@ -1612,7 +1668,7 @@ Module num. "core::num::dec2flt::decimal::Decimal", "decimal_point" |), - Value.Integer 0 + Value.Integer IntegerKind.I32 0 |) in let~ _ := M.write (| @@ -1632,10 +1688,10 @@ Module num. |) in let~ mask := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.shl (Value.Integer 1) (M.read (| shift |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, M.read (| shift |) |), + Value.Integer IntegerKind.U64 1 + |) |) in let~ _ := M.loop (| @@ -1648,15 +1704,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| read_index |)) - (M.read (| + BinOp.lt (| + M.read (| read_index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1666,18 +1723,17 @@ Module num. let~ new_digit := M.alloc (| M.rust_cast - (BinOp.Wrap.shr (M.read (| n |)) (M.read (| shift |))) + (BinOp.Wrap.shr (| M.read (| n |), M.read (| shift |) |)) |) in let~ _ := M.write (| n, - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 10) - (BinOp.Pure.bit_and (M.read (| n |)) (M.read (| mask |)))) - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 10, + BinOp.bit_and (M.read (| n |)) (M.read (| mask |)) + |), + M.rust_cast (M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| @@ -1687,16 +1743,17 @@ Module num. |), read_index |) - |))) + |)) + |) |) in let~ _ := let β := read_index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -1714,10 +1771,10 @@ Module num. let β := write_index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1747,7 +1804,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0) + BinOp.gt (| + M.read (| n |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1757,15 +1817,15 @@ Module num. let~ new_digit := M.alloc (| M.rust_cast - (BinOp.Wrap.shr (M.read (| n |)) (M.read (| shift |))) + (BinOp.Wrap.shr (| M.read (| n |), M.read (| shift |) |)) |) in let~ _ := M.write (| n, - BinOp.Wrap.mul - Integer.U64 - (Value.Integer 10) - (BinOp.Pure.bit_and (M.read (| n |)) (M.read (| mask |))) + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 10, + BinOp.bit_and (M.read (| n |)) (M.read (| mask |)) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1775,13 +1835,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| write_index |)) - (M.read (| + BinOp.lt (| + M.read (| write_index |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::MAX_DIGITS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1804,10 +1865,10 @@ Module num. let β := write_index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1820,9 +1881,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_digit |)) - (Value.Integer 0) + BinOp.gt (| + M.read (| new_digit |), + Value.Integer IntegerKind.U8 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1884,7 +1946,7 @@ Module num. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_right_shift : @@ -2019,7 +2081,7 @@ Module num. let _ := M.is_constant_or_break_match (| M.read (| γ1_0 |), - Value.Integer 48 + Value.Integer IntegerKind.U8 48 |) in let s_next := M.copy (| γ1_1 |) in let~ _ := M.write (| s, M.read (| s_next |) |) in @@ -2073,7 +2135,7 @@ Module num. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2105,7 +2167,10 @@ Module num. let γ1_1 := M.SubPointer.get_tuple_field (| γ0_0, 1 |) in let γ1_0 := M.read (| γ1_0 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ1_0 |), Value.Integer 46 |) in + M.is_constant_or_break_match (| + M.read (| γ1_0 |), + Value.Integer IntegerKind.U8 46 + |) in let s_next := M.copy (| γ1_1 |) in let~ _ := M.write (| s, M.read (| s_next |) |) in let~ first := M.copy (| s |) in @@ -2118,15 +2183,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2165,7 +2231,7 @@ Module num. let _ := M.is_constant_or_break_match (| M.read (| γ1_0 |), - Value.Integer 48 + Value.Integer IntegerKind.U8 48 |) in let s_next := M.copy (| γ1_1 |) in let~ _ := M.write (| s, M.read (| s_next |) |) in @@ -2203,33 +2269,35 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| s |) ] - |)) - (Value.Integer 8), + |), + Value.Integer IntegerKind.Usize 8 + |), ltac:(M.monadic - (BinOp.Pure.lt - (BinOp.Wrap.add - Integer.Usize - (M.read (| + (BinOp.lt (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (Value.Integer 8)) - (M.read (| + |), + Value.Integer IntegerKind.Usize 8 + |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::MAX_DIGITS" |) - |)))) + |) + |))) |) |)) in let _ := @@ -2259,14 +2327,15 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::num::dec2flt::common::is_8digits", [] |), [ M.read (| v |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2322,10 +2391,10 @@ Module num. ] ] |); - BinOp.Wrap.sub - Integer.U64 - (M.read (| v |)) - (Value.Integer 3472328296227680304) + BinOp.Wrap.sub (| + M.read (| v |), + Value.Integer IntegerKind.U64 3472328296227680304 + |) ] |) |) in @@ -2338,10 +2407,10 @@ Module num. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 8) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 8 + |) |) in let~ _ := M.write (| @@ -2362,7 +2431,7 @@ Module num. M.read (| s |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 8) ] + [ ("start", Value.Integer IntegerKind.Usize 8) ] ] |) |) in @@ -2419,7 +2488,7 @@ Module num. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2431,9 +2500,8 @@ Module num. "core::num::dec2flt::decimal::Decimal", "decimal_point" |), - BinOp.Wrap.sub - Integer.I32 - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -2441,8 +2509,8 @@ Module num. [] |), [ M.read (| s |) ] - |))) - (M.rust_cast + |)), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -2450,7 +2518,8 @@ Module num. [] |), [ M.read (| first |) ] - |))) + |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -2465,19 +2534,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ n_trailing_zeros := M.alloc (| Value.Integer 0 |) in + let~ n_trailing_zeros := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.use (M.match_operator (| @@ -2533,9 +2603,8 @@ Module num. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2544,8 +2613,8 @@ Module num. [] |), [ M.read (| start |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2554,7 +2623,8 @@ Module num. [] |), [ M.read (| s |) ] - |))) + |) + |)) ] ] |) @@ -2620,9 +2690,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)) + BinOp.eq (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2633,10 +2704,10 @@ Module num. let β := n_trailing_zeros in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2649,11 +2720,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| c |)) - (M.read (| + BinOp.ne (| + M.read (| c |), + M.read (| UnsupportedLiteral - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2687,10 +2759,10 @@ Module num. |) in M.write (| β, - BinOp.Wrap.add - Integer.I32 - (M.read (| β |)) - (M.rust_cast (M.read (| n_trailing_zeros |))) + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.read (| n_trailing_zeros |)) + |) |) in let~ _ := let β := @@ -2701,10 +2773,7 @@ Module num. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| n_trailing_zeros |)) + BinOp.Wrap.sub (| M.read (| β |), M.read (| n_trailing_zeros |) |) |) in let~ _ := let β := @@ -2715,17 +2784,17 @@ Module num. |) in M.write (| β, - BinOp.Wrap.add - Integer.I32 - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |))) + |)) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -2735,19 +2804,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::MAX_DIGITS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2818,13 +2888,15 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (M.read (| ch |)) - (M.read (| UnsupportedLiteral |)), + BinOp.eq (| + M.read (| ch |), + M.read (| UnsupportedLiteral |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| ch |)) - (M.read (| UnsupportedLiteral |)))) + (BinOp.eq (| + M.read (| ch |), + M.read (| UnsupportedLiteral |) + |))) |) |)) in let _ := @@ -2865,9 +2937,10 @@ Module num. let~ _ := M.write (| neg_exp, - BinOp.Pure.eq - (M.read (| ch |)) - (M.read (| UnsupportedLiteral |)) + BinOp.eq (| + M.read (| ch |), + M.read (| UnsupportedLiteral |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -2878,13 +2951,15 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (M.read (| ch |)) - (M.read (| UnsupportedLiteral |)), + BinOp.eq (| + M.read (| ch |), + M.read (| UnsupportedLiteral |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| ch |)) - (M.read (| UnsupportedLiteral |)))) + (BinOp.eq (| + M.read (| ch |), + M.read (| UnsupportedLiteral |) + |))) |) |)) in let _ := @@ -2901,7 +2976,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ exp_num := M.alloc (| Value.Integer 0 |) in + let~ exp_num := M.alloc (| Value.Integer IntegerKind.I32 0 |) in let~ _ := M.alloc (| M.call_closure (| @@ -2935,9 +3010,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| exp_num |)) - (Value.Integer 65536) + BinOp.lt (| + M.read (| exp_num |), + Value.Integer + IntegerKind.I32 + 65536 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2947,14 +3025,16 @@ Module num. let~ _ := M.write (| exp_num, - BinOp.Wrap.add - Integer.I32 - (BinOp.Wrap.mul - Integer.I32 - (Value.Integer 10) - (M.read (| exp_num |))) - (M.rust_cast - (M.read (| digit |))) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer + IntegerKind.I32 + 10, + M.read (| exp_num |) + |), + M.rust_cast + (M.read (| digit |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2965,7 +3045,7 @@ Module num. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2979,10 +3059,9 @@ Module num. |) in M.write (| β, - BinOp.Wrap.add - Integer.I32 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -2994,16 +3073,12 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.alloc (| - UnOp.Panic.neg (| - Integer.I32, - M.read (| exp_num |) - |) - |))); + M.alloc (| UnOp.neg (| M.read (| exp_num |) |) |))); fun γ => ltac:(M.monadic exp_num) ] |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -3095,7 +3170,7 @@ Module num. |), i |), - Value.Integer 0 + Value.Integer IntegerKind.U8 0 |) in M.alloc (| Value.Tuple [] |))) ] @@ -3106,7 +3181,7 @@ Module num. |)) in d |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_decimal : @@ -3203,7 +3278,10 @@ Module num. (M.read (| let~ _ := let β := shift in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (Value.Integer 63) |) in + M.write (| + β, + BinOp.bit_and (M.read (| β |)) (Value.Integer IntegerKind.Usize 63) + |) in let~ x_a := M.copy (| M.SubPointer.get_array_field (| @@ -3220,21 +3298,24 @@ Module num. "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE" |), M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| shift |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| shift |), Value.Integer IntegerKind.Usize 1 |) |) |) |) in let~ num_new_digits := M.alloc (| - M.rust_cast (BinOp.Wrap.shr (M.read (| x_a |)) (Value.Integer 11)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| x_a |), Value.Integer IntegerKind.I32 11 |)) |) in let~ pow5_a := M.alloc (| - M.rust_cast (BinOp.Pure.bit_and (Value.Integer 2047) (M.read (| x_a |))) + M.rust_cast + (BinOp.bit_and (Value.Integer IntegerKind.U16 2047) (M.read (| x_a |))) |) in let~ pow5_b := M.alloc (| - M.rust_cast (BinOp.Pure.bit_and (Value.Integer 2047) (M.read (| x_b |))) + M.rust_cast + (BinOp.bit_and (Value.Integer IntegerKind.U16 2047) (M.read (| x_b |))) |) in let~ pow5 := M.alloc (| @@ -3307,10 +3388,7 @@ Module num. |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| pow5_b |)) - (M.read (| pow5_a |)) + BinOp.Wrap.sub (| M.read (| pow5_b |), M.read (| pow5_a |) |) ] |) ] @@ -3381,15 +3459,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| i |)) - (M.read (| + BinOp.ge (| + M.read (| i |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3400,10 +3479,10 @@ Module num. M.never_to_any (| M.read (| M.return_ (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| num_new_digits |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| num_new_digits |), + Value.Integer IntegerKind.Usize 1 + |) |) |) |) @@ -3418,8 +3497,8 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| d |), @@ -3428,8 +3507,9 @@ Module num. |), i |) - |)) - (M.read (| p5 |)) + |), + M.read (| p5 |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3451,8 +3531,8 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| M.read (| d |), @@ -3461,8 +3541,9 @@ Module num. |), i |) - |)) - (M.read (| p5 |)) + |), + M.read (| p5 |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3473,12 +3554,14 @@ Module num. M.never_to_any (| M.read (| M.return_ (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| num_new_digits - |)) - (Value.Integer 1) + |), + Value.Integer + IntegerKind.Usize + 1 + |) |) |) |) @@ -3511,7 +3594,7 @@ Module num. num_new_digits |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_number_of_digits_decimal_left_shift : @@ -3526,71 +3609,71 @@ Module num. (M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 2048; - Value.Integer 2049; - Value.Integer 2051; - Value.Integer 4102; - Value.Integer 4105; - Value.Integer 4109; - Value.Integer 6162; - Value.Integer 6167; - Value.Integer 6173; - Value.Integer 8228; - Value.Integer 8235; - Value.Integer 8243; - Value.Integer 8252; - Value.Integer 10310; - Value.Integer 10320; - Value.Integer 10331; - Value.Integer 12391; - Value.Integer 12403; - Value.Integer 12416; - Value.Integer 14478; - Value.Integer 14492; - Value.Integer 14507; - Value.Integer 14523; - Value.Integer 16588; - Value.Integer 16605; - Value.Integer 16623; - Value.Integer 18690; - Value.Integer 18709; - Value.Integer 18729; - Value.Integer 20798; - Value.Integer 20819; - Value.Integer 20841; - Value.Integer 20864; - Value.Integer 22936; - Value.Integer 22960; - Value.Integer 22985; - Value.Integer 25059; - Value.Integer 25085; - Value.Integer 25112; - Value.Integer 27188; - Value.Integer 27216; - Value.Integer 27245; - Value.Integer 27275; - Value.Integer 29354; - Value.Integer 29385; - Value.Integer 29417; - Value.Integer 31498; - Value.Integer 31531; - Value.Integer 31565; - Value.Integer 33648; - Value.Integer 33683; - Value.Integer 33719; - Value.Integer 33756; - Value.Integer 35842; - Value.Integer 35880; - Value.Integer 35919; - Value.Integer 38007; - Value.Integer 38047; - Value.Integer 38088; - Value.Integer 40178; - Value.Integer 1308; - Value.Integer 1308; - Value.Integer 1308; - Value.Integer 1308 + Value.Integer IntegerKind.U16 0; + Value.Integer IntegerKind.U16 2048; + Value.Integer IntegerKind.U16 2049; + Value.Integer IntegerKind.U16 2051; + Value.Integer IntegerKind.U16 4102; + Value.Integer IntegerKind.U16 4105; + Value.Integer IntegerKind.U16 4109; + Value.Integer IntegerKind.U16 6162; + Value.Integer IntegerKind.U16 6167; + Value.Integer IntegerKind.U16 6173; + Value.Integer IntegerKind.U16 8228; + Value.Integer IntegerKind.U16 8235; + Value.Integer IntegerKind.U16 8243; + Value.Integer IntegerKind.U16 8252; + Value.Integer IntegerKind.U16 10310; + Value.Integer IntegerKind.U16 10320; + Value.Integer IntegerKind.U16 10331; + Value.Integer IntegerKind.U16 12391; + Value.Integer IntegerKind.U16 12403; + Value.Integer IntegerKind.U16 12416; + Value.Integer IntegerKind.U16 14478; + Value.Integer IntegerKind.U16 14492; + Value.Integer IntegerKind.U16 14507; + Value.Integer IntegerKind.U16 14523; + Value.Integer IntegerKind.U16 16588; + Value.Integer IntegerKind.U16 16605; + Value.Integer IntegerKind.U16 16623; + Value.Integer IntegerKind.U16 18690; + Value.Integer IntegerKind.U16 18709; + Value.Integer IntegerKind.U16 18729; + Value.Integer IntegerKind.U16 20798; + Value.Integer IntegerKind.U16 20819; + Value.Integer IntegerKind.U16 20841; + Value.Integer IntegerKind.U16 20864; + Value.Integer IntegerKind.U16 22936; + Value.Integer IntegerKind.U16 22960; + Value.Integer IntegerKind.U16 22985; + Value.Integer IntegerKind.U16 25059; + Value.Integer IntegerKind.U16 25085; + Value.Integer IntegerKind.U16 25112; + Value.Integer IntegerKind.U16 27188; + Value.Integer IntegerKind.U16 27216; + Value.Integer IntegerKind.U16 27245; + Value.Integer IntegerKind.U16 27275; + Value.Integer IntegerKind.U16 29354; + Value.Integer IntegerKind.U16 29385; + Value.Integer IntegerKind.U16 29417; + Value.Integer IntegerKind.U16 31498; + Value.Integer IntegerKind.U16 31531; + Value.Integer IntegerKind.U16 31565; + Value.Integer IntegerKind.U16 33648; + Value.Integer IntegerKind.U16 33683; + Value.Integer IntegerKind.U16 33719; + Value.Integer IntegerKind.U16 33756; + Value.Integer IntegerKind.U16 35842; + Value.Integer IntegerKind.U16 35880; + Value.Integer IntegerKind.U16 35919; + Value.Integer IntegerKind.U16 38007; + Value.Integer IntegerKind.U16 38047; + Value.Integer IntegerKind.U16 38088; + Value.Integer IntegerKind.U16 40178; + Value.Integer IntegerKind.U16 1308; + Value.Integer IntegerKind.U16 1308; + Value.Integer IntegerKind.U16 1308; + Value.Integer IntegerKind.U16 1308 ] |))). @@ -3600,1314 +3683,1314 @@ Module num. (M.alloc (| Value.Array [ - Value.Integer 5; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 9; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 9; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 9; - Value.Integer 7; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 4; - Value.Integer 8; - Value.Integer 8; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 4; - Value.Integer 4; - Value.Integer 1; - Value.Integer 4; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 0; - Value.Integer 7; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 6; - Value.Integer 1; - Value.Integer 0; - Value.Integer 3; - Value.Integer 5; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 0; - Value.Integer 5; - Value.Integer 1; - Value.Integer 7; - Value.Integer 5; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 5; - Value.Integer 2; - Value.Integer 5; - Value.Integer 8; - Value.Integer 7; - Value.Integer 8; - Value.Integer 9; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 7; - Value.Integer 6; - Value.Integer 2; - Value.Integer 9; - Value.Integer 3; - Value.Integer 9; - Value.Integer 4; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 8; - Value.Integer 1; - Value.Integer 4; - Value.Integer 6; - Value.Integer 9; - Value.Integer 7; - Value.Integer 2; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 9; - Value.Integer 0; - Value.Integer 7; - Value.Integer 3; - Value.Integer 4; - Value.Integer 8; - Value.Integer 6; - Value.Integer 3; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 9; - Value.Integer 5; - Value.Integer 3; - Value.Integer 6; - Value.Integer 7; - Value.Integer 4; - Value.Integer 3; - Value.Integer 1; - Value.Integer 6; - Value.Integer 4; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 4; - Value.Integer 7; - Value.Integer 6; - Value.Integer 8; - Value.Integer 3; - Value.Integer 7; - Value.Integer 1; - Value.Integer 5; - Value.Integer 8; - Value.Integer 2; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 3; - Value.Integer 8; - Value.Integer 4; - Value.Integer 1; - Value.Integer 8; - Value.Integer 5; - Value.Integer 7; - Value.Integer 9; - Value.Integer 1; - Value.Integer 0; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 9; - Value.Integer 2; - Value.Integer 0; - Value.Integer 9; - Value.Integer 2; - Value.Integer 8; - Value.Integer 9; - Value.Integer 5; - Value.Integer 5; - Value.Integer 0; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 5; - Value.Integer 9; - Value.Integer 6; - Value.Integer 0; - Value.Integer 4; - Value.Integer 6; - Value.Integer 4; - Value.Integer 4; - Value.Integer 7; - Value.Integer 7; - Value.Integer 5; - Value.Integer 3; - Value.Integer 9; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 9; - Value.Integer 8; - Value.Integer 0; - Value.Integer 2; - Value.Integer 3; - Value.Integer 2; - Value.Integer 2; - Value.Integer 3; - Value.Integer 8; - Value.Integer 7; - Value.Integer 6; - Value.Integer 9; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 4; - Value.Integer 9; - Value.Integer 0; - Value.Integer 1; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 9; - Value.Integer 3; - Value.Integer 8; - Value.Integer 4; - Value.Integer 7; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 7; - Value.Integer 4; - Value.Integer 5; - Value.Integer 0; - Value.Integer 5; - Value.Integer 8; - Value.Integer 0; - Value.Integer 5; - Value.Integer 9; - Value.Integer 6; - Value.Integer 9; - Value.Integer 2; - Value.Integer 3; - Value.Integer 8; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 7; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 9; - Value.Integer 0; - Value.Integer 2; - Value.Integer 9; - Value.Integer 8; - Value.Integer 4; - Value.Integer 6; - Value.Integer 1; - Value.Integer 9; - Value.Integer 1; - Value.Integer 4; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 8; - Value.Integer 6; - Value.Integer 2; - Value.Integer 6; - Value.Integer 4; - Value.Integer 5; - Value.Integer 1; - Value.Integer 4; - Value.Integer 9; - Value.Integer 2; - Value.Integer 3; - Value.Integer 0; - Value.Integer 9; - Value.Integer 5; - Value.Integer 7; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 9; - Value.Integer 3; - Value.Integer 1; - Value.Integer 3; - Value.Integer 2; - Value.Integer 2; - Value.Integer 5; - Value.Integer 7; - Value.Integer 4; - Value.Integer 6; - Value.Integer 1; - Value.Integer 5; - Value.Integer 4; - Value.Integer 7; - Value.Integer 8; - Value.Integer 5; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 4; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 6; - Value.Integer 1; - Value.Integer 2; - Value.Integer 8; - Value.Integer 7; - Value.Integer 3; - Value.Integer 0; - Value.Integer 7; - Value.Integer 7; - Value.Integer 3; - Value.Integer 9; - Value.Integer 2; - Value.Integer 5; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 3; - Value.Integer 2; - Value.Integer 8; - Value.Integer 3; - Value.Integer 0; - Value.Integer 6; - Value.Integer 4; - Value.Integer 3; - Value.Integer 6; - Value.Integer 5; - Value.Integer 3; - Value.Integer 8; - Value.Integer 6; - Value.Integer 9; - Value.Integer 6; - Value.Integer 2; - Value.Integer 8; - Value.Integer 9; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 6; - Value.Integer 4; - Value.Integer 1; - Value.Integer 5; - Value.Integer 3; - Value.Integer 2; - Value.Integer 1; - Value.Integer 8; - Value.Integer 2; - Value.Integer 6; - Value.Integer 9; - Value.Integer 3; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 4; - Value.Integer 4; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 5; - Value.Integer 8; - Value.Integer 2; - Value.Integer 0; - Value.Integer 7; - Value.Integer 6; - Value.Integer 6; - Value.Integer 0; - Value.Integer 9; - Value.Integer 1; - Value.Integer 3; - Value.Integer 4; - Value.Integer 6; - Value.Integer 7; - Value.Integer 4; - Value.Integer 0; - Value.Integer 7; - Value.Integer 2; - Value.Integer 2; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 9; - Value.Integer 1; - Value.Integer 0; - Value.Integer 3; - Value.Integer 8; - Value.Integer 3; - Value.Integer 0; - Value.Integer 4; - Value.Integer 5; - Value.Integer 6; - Value.Integer 7; - Value.Integer 3; - Value.Integer 3; - Value.Integer 7; - Value.Integer 0; - Value.Integer 3; - Value.Integer 6; - Value.Integer 1; - Value.Integer 3; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 4; - Value.Integer 5; - Value.Integer 5; - Value.Integer 1; - Value.Integer 9; - Value.Integer 1; - Value.Integer 5; - Value.Integer 2; - Value.Integer 2; - Value.Integer 8; - Value.Integer 3; - Value.Integer 6; - Value.Integer 6; - Value.Integer 8; - Value.Integer 5; - Value.Integer 1; - Value.Integer 8; - Value.Integer 0; - Value.Integer 6; - Value.Integer 6; - Value.Integer 4; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 7; - Value.Integer 2; - Value.Integer 7; - Value.Integer 5; - Value.Integer 9; - Value.Integer 5; - Value.Integer 7; - Value.Integer 6; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 8; - Value.Integer 3; - Value.Integer 4; - Value.Integer 2; - Value.Integer 5; - Value.Integer 9; - Value.Integer 0; - Value.Integer 3; - Value.Integer 3; - Value.Integer 2; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 6; - Value.Integer 3; - Value.Integer 7; - Value.Integer 9; - Value.Integer 7; - Value.Integer 8; - Value.Integer 8; - Value.Integer 0; - Value.Integer 7; - Value.Integer 0; - Value.Integer 9; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 9; - Value.Integer 5; - Value.Integer 1; - Value.Integer 6; - Value.Integer 6; - Value.Integer 0; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 8; - Value.Integer 9; - Value.Integer 8; - Value.Integer 9; - Value.Integer 4; - Value.Integer 0; - Value.Integer 3; - Value.Integer 5; - Value.Integer 4; - Value.Integer 5; - Value.Integer 8; - Value.Integer 5; - Value.Integer 6; - Value.Integer 4; - Value.Integer 7; - Value.Integer 5; - Value.Integer 8; - Value.Integer 3; - Value.Integer 0; - Value.Integer 0; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 9; - Value.Integer 0; - Value.Integer 9; - Value.Integer 4; - Value.Integer 9; - Value.Integer 4; - Value.Integer 7; - Value.Integer 0; - Value.Integer 1; - Value.Integer 7; - Value.Integer 7; - Value.Integer 2; - Value.Integer 9; - Value.Integer 2; - Value.Integer 8; - Value.Integer 2; - Value.Integer 3; - Value.Integer 7; - Value.Integer 9; - Value.Integer 1; - Value.Integer 5; - Value.Integer 0; - Value.Integer 3; - Value.Integer 9; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 4; - Value.Integer 5; - Value.Integer 4; - Value.Integer 7; - Value.Integer 4; - Value.Integer 7; - Value.Integer 3; - Value.Integer 5; - Value.Integer 0; - Value.Integer 8; - Value.Integer 8; - Value.Integer 6; - Value.Integer 4; - Value.Integer 6; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 8; - Value.Integer 9; - Value.Integer 5; - Value.Integer 7; - Value.Integer 5; - Value.Integer 1; - Value.Integer 9; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 2; - Value.Integer 7; - Value.Integer 3; - Value.Integer 7; - Value.Integer 3; - Value.Integer 6; - Value.Integer 7; - Value.Integer 5; - Value.Integer 4; - Value.Integer 4; - Value.Integer 3; - Value.Integer 2; - Value.Integer 3; - Value.Integer 2; - Value.Integer 0; - Value.Integer 5; - Value.Integer 9; - Value.Integer 4; - Value.Integer 7; - Value.Integer 8; - Value.Integer 7; - Value.Integer 5; - Value.Integer 9; - Value.Integer 7; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 6; - Value.Integer 8; - Value.Integer 6; - Value.Integer 8; - Value.Integer 3; - Value.Integer 7; - Value.Integer 7; - Value.Integer 2; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 6; - Value.Integer 0; - Value.Integer 2; - Value.Integer 9; - Value.Integer 7; - Value.Integer 3; - Value.Integer 9; - Value.Integer 3; - Value.Integer 7; - Value.Integer 9; - Value.Integer 8; - Value.Integer 8; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 5; - Value.Integer 6; - Value.Integer 8; - Value.Integer 4; - Value.Integer 3; - Value.Integer 4; - Value.Integer 1; - Value.Integer 8; - Value.Integer 8; - Value.Integer 6; - Value.Integer 0; - Value.Integer 8; - Value.Integer 0; - Value.Integer 8; - Value.Integer 0; - Value.Integer 1; - Value.Integer 4; - Value.Integer 8; - Value.Integer 6; - Value.Integer 9; - Value.Integer 6; - Value.Integer 8; - Value.Integer 9; - Value.Integer 9; - Value.Integer 4; - Value.Integer 1; - Value.Integer 4; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 8; - Value.Integer 4; - Value.Integer 2; - Value.Integer 1; - Value.Integer 7; - Value.Integer 0; - Value.Integer 9; - Value.Integer 4; - Value.Integer 3; - Value.Integer 0; - Value.Integer 4; - Value.Integer 0; - Value.Integer 4; - Value.Integer 0; - Value.Integer 0; - Value.Integer 7; - Value.Integer 4; - Value.Integer 3; - Value.Integer 4; - Value.Integer 8; - Value.Integer 4; - Value.Integer 4; - Value.Integer 9; - Value.Integer 7; - Value.Integer 0; - Value.Integer 7; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 1; - Value.Integer 0; - Value.Integer 8; - Value.Integer 5; - Value.Integer 4; - Value.Integer 7; - Value.Integer 1; - Value.Integer 5; - Value.Integer 2; - Value.Integer 0; - Value.Integer 2; - Value.Integer 0; - Value.Integer 0; - Value.Integer 3; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 8; - Value.Integer 5; - Value.Integer 3; - Value.Integer 5; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 7; - Value.Integer 1; - Value.Integer 0; - Value.Integer 5; - Value.Integer 4; - Value.Integer 2; - Value.Integer 7; - Value.Integer 3; - Value.Integer 5; - Value.Integer 7; - Value.Integer 6; - Value.Integer 0; - Value.Integer 1; - Value.Integer 0; - Value.Integer 0; - Value.Integer 1; - Value.Integer 8; - Value.Integer 5; - Value.Integer 8; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 2; - Value.Integer 6; - Value.Integer 7; - Value.Integer 5; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 5; - Value.Integer 5; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 3; - Value.Integer 6; - Value.Integer 7; - Value.Integer 8; - Value.Integer 8; - Value.Integer 0; - Value.Integer 0; - Value.Integer 5; - Value.Integer 0; - Value.Integer 0; - Value.Integer 9; - Value.Integer 2; - Value.Integer 9; - Value.Integer 3; - Value.Integer 5; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 1; - Value.Integer 3; - Value.Integer 3; - Value.Integer 7; - Value.Integer 8; - Value.Integer 9; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 7; - Value.Integer 7; - Value.Integer 6; - Value.Integer 3; - Value.Integer 5; - Value.Integer 6; - Value.Integer 8; - Value.Integer 3; - Value.Integer 9; - Value.Integer 4; - Value.Integer 0; - Value.Integer 0; - Value.Integer 2; - Value.Integer 5; - Value.Integer 0; - Value.Integer 4; - Value.Integer 6; - Value.Integer 4; - Value.Integer 6; - Value.Integer 7; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 0; - Value.Integer 6; - Value.Integer 6; - Value.Integer 8; - Value.Integer 9; - Value.Integer 4; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 8; - Value.Integer 8; - Value.Integer 8; - Value.Integer 1; - Value.Integer 7; - Value.Integer 8; - Value.Integer 4; - Value.Integer 1; - Value.Integer 9; - Value.Integer 7; - Value.Integer 0; - Value.Integer 0; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 3; - Value.Integer 2; - Value.Integer 3; - Value.Integer 3; - Value.Integer 8; - Value.Integer 9; - Value.Integer 0; - Value.Integer 5; - Value.Integer 3; - Value.Integer 3; - Value.Integer 4; - Value.Integer 4; - Value.Integer 7; - Value.Integer 2; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 4; - Value.Integer 4; - Value.Integer 4; - Value.Integer 0; - Value.Integer 8; - Value.Integer 9; - Value.Integer 2; - Value.Integer 0; - Value.Integer 9; - Value.Integer 8; - Value.Integer 5; - Value.Integer 0; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 6; - Value.Integer 9; - Value.Integer 4; - Value.Integer 5; - Value.Integer 2; - Value.Integer 6; - Value.Integer 6; - Value.Integer 7; - Value.Integer 2; - Value.Integer 3; - Value.Integer 6; - Value.Integer 3; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 0; - Value.Integer 4; - Value.Integer 4; - Value.Integer 6; - Value.Integer 0; - Value.Integer 4; - Value.Integer 9; - Value.Integer 2; - Value.Integer 5; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 3; - Value.Integer 0; - Value.Integer 8; - Value.Integer 0; - Value.Integer 8; - Value.Integer 4; - Value.Integer 7; - Value.Integer 2; - Value.Integer 6; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 6; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 6; - Value.Integer 4; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 0; - Value.Integer 2; - Value.Integer 2; - Value.Integer 3; - Value.Integer 0; - Value.Integer 2; - Value.Integer 4; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 5; - Value.Integer 4; - Value.Integer 0; - Value.Integer 4; - Value.Integer 2; - Value.Integer 3; - Value.Integer 6; - Value.Integer 3; - Value.Integer 1; - Value.Integer 6; - Value.Integer 6; - Value.Integer 8; - Value.Integer 0; - Value.Integer 9; - Value.Integer 0; - Value.Integer 8; - Value.Integer 2; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 5; - Value.Integer 5; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 7; - Value.Integer 8; - Value.Integer 2; - Value.Integer 7; - Value.Integer 0; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 5; - Value.Integer 8; - Value.Integer 3; - Value.Integer 4; - Value.Integer 0; - Value.Integer 4; - Value.Integer 5; - Value.Integer 4; - Value.Integer 1; - Value.Integer 0; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 7; - Value.Integer 7; - Value.Integer 5; - Value.Integer 5; - Value.Integer 5; - Value.Integer 7; - Value.Integer 5; - Value.Integer 6; - Value.Integer 1; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 8; - Value.Integer 9; - Value.Integer 1; - Value.Integer 3; - Value.Integer 5; - Value.Integer 1; - Value.Integer 0; - Value.Integer 5; - Value.Integer 9; - Value.Integer 0; - Value.Integer 7; - Value.Integer 9; - Value.Integer 1; - Value.Integer 7; - Value.Integer 0; - Value.Integer 2; - Value.Integer 2; - Value.Integer 7; - Value.Integer 0; - Value.Integer 5; - Value.Integer 0; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 3; - Value.Integer 8; - Value.Integer 7; - Value.Integer 7; - Value.Integer 7; - Value.Integer 8; - Value.Integer 7; - Value.Integer 8; - Value.Integer 0; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 4; - Value.Integer 4; - Value.Integer 5; - Value.Integer 6; - Value.Integer 7; - Value.Integer 5; - Value.Integer 5; - Value.Integer 2; - Value.Integer 9; - Value.Integer 5; - Value.Integer 3; - Value.Integer 9; - Value.Integer 5; - Value.Integer 8; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 5; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 9; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 6; - Value.Integer 9; - Value.Integer 3; - Value.Integer 8; - Value.Integer 8; - Value.Integer 9; - Value.Integer 3; - Value.Integer 9; - Value.Integer 0; - Value.Integer 3; - Value.Integer 9; - Value.Integer 0; - Value.Integer 7; - Value.Integer 2; - Value.Integer 2; - Value.Integer 8; - Value.Integer 3; - Value.Integer 7; - Value.Integer 7; - Value.Integer 6; - Value.Integer 4; - Value.Integer 7; - Value.Integer 6; - Value.Integer 9; - Value.Integer 7; - Value.Integer 9; - Value.Integer 2; - Value.Integer 5; - Value.Integer 5; - Value.Integer 6; - Value.Integer 7; - Value.Integer 6; - Value.Integer 2; - Value.Integer 6; - Value.Integer 9; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 3; - Value.Integer 4; - Value.Integer 6; - Value.Integer 9; - Value.Integer 4; - Value.Integer 4; - Value.Integer 6; - Value.Integer 9; - Value.Integer 5; - Value.Integer 1; - Value.Integer 9; - Value.Integer 5; - Value.Integer 3; - Value.Integer 6; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 8; - Value.Integer 8; - Value.Integer 8; - Value.Integer 2; - Value.Integer 3; - Value.Integer 8; - Value.Integer 4; - Value.Integer 8; - Value.Integer 9; - Value.Integer 6; - Value.Integer 2; - Value.Integer 7; - Value.Integer 8; - Value.Integer 3; - Value.Integer 8; - Value.Integer 1; - Value.Integer 3; - Value.Integer 4; - Value.Integer 7; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 7; - Value.Integer 3; - Value.Integer 4; - Value.Integer 7; - Value.Integer 2; - Value.Integer 3; - Value.Integer 4; - Value.Integer 7; - Value.Integer 5; - Value.Integer 9; - Value.Integer 7; - Value.Integer 6; - Value.Integer 8; - Value.Integer 0; - Value.Integer 7; - Value.Integer 0; - Value.Integer 9; - Value.Integer 4; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 9; - Value.Integer 2; - Value.Integer 4; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 3; - Value.Integer 9; - Value.Integer 1; - Value.Integer 9; - Value.Integer 0; - Value.Integer 6; - Value.Integer 7; - Value.Integer 3; - Value.Integer 8; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 8; - Value.Integer 6; - Value.Integer 7; - Value.Integer 3; - Value.Integer 6; - Value.Integer 1; - Value.Integer 7; - Value.Integer 3; - Value.Integer 7; - Value.Integer 9; - Value.Integer 8; - Value.Integer 8; - Value.Integer 4; - Value.Integer 0; - Value.Integer 3; - Value.Integer 5; - Value.Integer 4; - Value.Integer 7; - Value.Integer 2; - Value.Integer 0; - Value.Integer 5; - Value.Integer 9; - Value.Integer 6; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 0; - Value.Integer 6; - Value.Integer 9; - Value.Integer 5; - Value.Integer 9; - Value.Integer 5; - Value.Integer 3; - Value.Integer 3; - Value.Integer 6; - Value.Integer 9; - Value.Integer 1; - Value.Integer 4; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 5 + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5 ] |))). End number_of_digits_decimal_left_shift. diff --git a/CoqOfRust/core/num/dec2flt/float.v b/CoqOfRust/core/num/dec2flt/float.v index 74f1e4c85..e6d908515 100644 --- a/CoqOfRust/core/num/dec2flt/float.v +++ b/CoqOfRust/core/num/dec2flt/float.v @@ -30,67 +30,62 @@ Module num. Definition value_NEG_NAN : Value.t := M.run ltac:(M.monadic - (M.alloc (| - UnOp.Panic.neg (| - Integer.Usize, - M.read (| M.get_constant (| "core::f32::NAN" |) |) - |) - |))). + (M.alloc (| UnOp.neg (| M.read (| M.get_constant (| "core::f32::NAN" |) |) |) |))). (* const MANTISSA_EXPLICIT_BITS: usize = 23; *) (* Ty.path "usize" *) Definition value_MANTISSA_EXPLICIT_BITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 23 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 23 |))). (* const MIN_EXPONENT_ROUND_TO_EVEN: i32 = -17; *) (* Ty.path "i32" *) Definition value_MIN_EXPONENT_ROUND_TO_EVEN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-17) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-17) |))). (* const MAX_EXPONENT_ROUND_TO_EVEN: i32 = 10; *) (* Ty.path "i32" *) Definition value_MAX_EXPONENT_ROUND_TO_EVEN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 10 |))). (* const MIN_EXPONENT_FAST_PATH: i64 = -10; *) (* Ty.path "i64" *) Definition value_MIN_EXPONENT_FAST_PATH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-10) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 (-10) |))). (* const MAX_EXPONENT_FAST_PATH: i64 = 10; *) (* Ty.path "i64" *) Definition value_MAX_EXPONENT_FAST_PATH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 10 |))). (* const MAX_EXPONENT_DISGUISED_FAST_PATH: i64 = 17; *) (* Ty.path "i64" *) Definition value_MAX_EXPONENT_DISGUISED_FAST_PATH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 17 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 17 |))). (* const MINIMUM_EXPONENT: i32 = -127; *) (* Ty.path "i32" *) Definition value_MINIMUM_EXPONENT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-127) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-127) |))). (* const INFINITE_POWER: i32 = 0xFF; *) (* Ty.path "i32" *) Definition value_INFINITE_POWER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 255 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 255 |))). (* const SIGN_INDEX: usize = 31; *) (* Ty.path "usize" *) Definition value_SIGN_INDEX : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 31 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 31 |))). (* const SMALLEST_POWER_OF_TEN: i32 = -65; *) (* Ty.path "i32" *) Definition value_SMALLEST_POWER_OF_TEN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-65) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-65) |))). (* const LARGEST_POWER_OF_TEN: i32 = 38; *) (* Ty.path "i32" *) Definition value_LARGEST_POWER_OF_TEN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 38 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 38 |))). (* fn from_u64(v: u64) -> Self { @@ -122,14 +117,16 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| v |)) - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| v |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -158,7 +155,7 @@ Module num. |) in M.alloc (| M.rust_cast (M.read (| v |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -173,9 +170,12 @@ Module num. (let v := M.alloc (| v |) in M.call_closure (| M.get_associated_function (| Ty.path "f32", "from_bits", [] |), - [ M.rust_cast (BinOp.Pure.bit_and (M.read (| v |)) (Value.Integer 4294967295)) ] + [ + M.rust_cast + (BinOp.bit_and (M.read (| v |)) (Value.Integer IntegerKind.U64 4294967295)) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -194,10 +194,12 @@ Module num. M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::num::dec2flt::float::pow10_fast_path::TABLE" |), - M.alloc (| BinOp.Pure.bit_and (M.read (| exponent |)) (Value.Integer 15) |) + M.alloc (| + BinOp.bit_and (M.read (| exponent |)) (Value.Integer IntegerKind.Usize 15) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -235,23 +237,27 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr (M.read (| bits |)) (Value.Integer 31)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| bits |), + Value.Integer IntegerKind.I32 31 + |), + Value.Integer IntegerKind.U32 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer (-1) |))) + M.alloc (| Value.Integer IntegerKind.I8 1 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I8 (-1) |))) ] |) |) in let~ exponent := M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| bits |)) (Value.Integer 23)) - (Value.Integer 255)) + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| bits |), Value.Integer IntegerKind.I32 23 |)) + (Value.Integer IntegerKind.U32 255)) |) in let~ mantissa := M.copy (| @@ -263,21 +269,29 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| exponent |)) (Value.Integer 0) + BinOp.eq (| + M.read (| exponent |), + Value.Integer IntegerKind.I16 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.shl - (BinOp.Pure.bit_and (M.read (| bits |)) (Value.Integer 8388607)) - (Value.Integer 1) + BinOp.Wrap.shl (| + BinOp.bit_and + (M.read (| bits |)) + (Value.Integer IntegerKind.U32 8388607), + Value.Integer IntegerKind.I32 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Pure.bit_or - (BinOp.Pure.bit_and (M.read (| bits |)) (Value.Integer 8388607)) - (Value.Integer 8388608) + BinOp.bit_or + (BinOp.bit_and + (M.read (| bits |)) + (Value.Integer IntegerKind.U32 8388607)) + (Value.Integer IntegerKind.U32 8388608) |))) ] |) @@ -286,10 +300,13 @@ Module num. let β := exponent in M.write (| β, - BinOp.Wrap.sub - Integer.I16 - (M.read (| β |)) - (BinOp.Wrap.add Integer.I16 (Value.Integer 127) (Value.Integer 23)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + Value.Integer IntegerKind.I16 127, + Value.Integer IntegerKind.I16 23 + |) + |) |) in M.alloc (| Value.Tuple @@ -297,7 +314,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -314,7 +331,7 @@ Module num. M.get_associated_function (| Ty.path "f32", "classify", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -373,67 +390,62 @@ Module num. Definition value_NEG_NAN : Value.t := M.run ltac:(M.monadic - (M.alloc (| - UnOp.Panic.neg (| - Integer.Usize, - M.read (| M.get_constant (| "core::f64::NAN" |) |) - |) - |))). + (M.alloc (| UnOp.neg (| M.read (| M.get_constant (| "core::f64::NAN" |) |) |) |))). (* const MANTISSA_EXPLICIT_BITS: usize = 52; *) (* Ty.path "usize" *) Definition value_MANTISSA_EXPLICIT_BITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 52 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 52 |))). (* const MIN_EXPONENT_ROUND_TO_EVEN: i32 = -4; *) (* Ty.path "i32" *) Definition value_MIN_EXPONENT_ROUND_TO_EVEN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-4) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-4) |))). (* const MAX_EXPONENT_ROUND_TO_EVEN: i32 = 23; *) (* Ty.path "i32" *) Definition value_MAX_EXPONENT_ROUND_TO_EVEN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 23 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 23 |))). (* const MIN_EXPONENT_FAST_PATH: i64 = -22; *) (* Ty.path "i64" *) Definition value_MIN_EXPONENT_FAST_PATH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-22) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 (-22) |))). (* const MAX_EXPONENT_FAST_PATH: i64 = 22; *) (* Ty.path "i64" *) Definition value_MAX_EXPONENT_FAST_PATH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 22 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 22 |))). (* const MAX_EXPONENT_DISGUISED_FAST_PATH: i64 = 37; *) (* Ty.path "i64" *) Definition value_MAX_EXPONENT_DISGUISED_FAST_PATH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 37 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 37 |))). (* const MINIMUM_EXPONENT: i32 = -1023; *) (* Ty.path "i32" *) Definition value_MINIMUM_EXPONENT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-1023) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-1023) |))). (* const INFINITE_POWER: i32 = 0x7FF; *) (* Ty.path "i32" *) Definition value_INFINITE_POWER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2047 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 2047 |))). (* const SIGN_INDEX: usize = 63; *) (* Ty.path "usize" *) Definition value_SIGN_INDEX : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 63 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 63 |))). (* const SMALLEST_POWER_OF_TEN: i32 = -342; *) (* Ty.path "i32" *) Definition value_SMALLEST_POWER_OF_TEN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-342) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-342) |))). (* const LARGEST_POWER_OF_TEN: i32 = 308; *) (* Ty.path "i32" *) Definition value_LARGEST_POWER_OF_TEN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 308 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 308 |))). (* fn from_u64(v: u64) -> Self { @@ -465,14 +477,16 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| v |)) - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| v |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -501,7 +515,7 @@ Module num. |) in M.alloc (| M.rust_cast (M.read (| v |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -518,7 +532,7 @@ Module num. M.get_associated_function (| Ty.path "f64", "from_bits", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -538,10 +552,12 @@ Module num. M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::num::dec2flt::float::pow10_fast_path::TABLE" |), - M.alloc (| BinOp.Pure.bit_and (M.read (| exponent |)) (Value.Integer 31) |) + M.alloc (| + BinOp.bit_and (M.read (| exponent |)) (Value.Integer IntegerKind.Usize 31) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -582,23 +598,27 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr (M.read (| bits |)) (Value.Integer 63)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| bits |), + Value.Integer IntegerKind.I32 63 + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer (-1) |))) + M.alloc (| Value.Integer IntegerKind.I8 1 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I8 (-1) |))) ] |) |) in let~ exponent := M.alloc (| M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| bits |)) (Value.Integer 52)) - (Value.Integer 2047)) + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| bits |), Value.Integer IntegerKind.I32 52 |)) + (Value.Integer IntegerKind.U64 2047)) |) in let~ mantissa := M.copy (| @@ -610,25 +630,29 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| exponent |)) (Value.Integer 0) + BinOp.eq (| + M.read (| exponent |), + Value.Integer IntegerKind.I16 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.shl - (BinOp.Pure.bit_and + BinOp.Wrap.shl (| + BinOp.bit_and (M.read (| bits |)) - (Value.Integer 4503599627370495)) - (Value.Integer 1) + (Value.Integer IntegerKind.U64 4503599627370495), + Value.Integer IntegerKind.I32 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Pure.bit_or - (BinOp.Pure.bit_and + BinOp.bit_or + (BinOp.bit_and (M.read (| bits |)) - (Value.Integer 4503599627370495)) - (Value.Integer 4503599627370496) + (Value.Integer IntegerKind.U64 4503599627370495)) + (Value.Integer IntegerKind.U64 4503599627370496) |))) ] |) @@ -637,16 +661,19 @@ Module num. let β := exponent in M.write (| β, - BinOp.Wrap.sub - Integer.I16 - (M.read (| β |)) - (BinOp.Wrap.add Integer.I16 (Value.Integer 1023) (Value.Integer 52)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + Value.Integer IntegerKind.I16 1023, + Value.Integer IntegerKind.I16 52 + |) + |) |) in M.alloc (| Value.Tuple [ M.read (| mantissa |); M.read (| exponent |); M.read (| sign |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -663,7 +690,7 @@ Module num. M.get_associated_function (| Ty.path "f64", "classify", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/num/dec2flt/fpu.v b/CoqOfRust/core/num/dec2flt/fpu.v index 6a290719c..4d9a28501 100644 --- a/CoqOfRust/core/num/dec2flt/fpu.v +++ b/CoqOfRust/core/num/dec2flt/fpu.v @@ -9,7 +9,7 @@ Module num. Definition set_precision (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [ T ], [] => ltac:(M.monadic (Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_set_precision : diff --git a/CoqOfRust/core/num/dec2flt/lemire.v b/CoqOfRust/core/num/dec2flt/lemire.v index 1ae82ce65..35c09d806 100644 --- a/CoqOfRust/core/num/dec2flt/lemire.v +++ b/CoqOfRust/core/num/dec2flt/lemire.v @@ -112,7 +112,7 @@ Module num. "zero_pow2", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.I32 0 ] |) |) in let~ fp_inf := @@ -140,7 +140,7 @@ Module num. "zero_pow2", [] |), - [ Value.Integer (-1) ] + [ Value.Integer IntegerKind.I32 (-1) ] |) |) in let~ _ := @@ -153,16 +153,17 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq (M.read (| w |)) (Value.Integer 0), + BinOp.eq (| M.read (| w |), Value.Integer IntegerKind.U64 0 |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| q |)) - (M.rust_cast + (BinOp.lt (| + M.read (| q |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::SMALLEST_POWER_OF_TEN" |) - |))))) + |)) + |))) |) |)) in let _ := @@ -180,14 +181,15 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| q |)) - (M.rust_cast + BinOp.gt (| + M.read (| q |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::LARGEST_POWER_OF_TEN" |) - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -213,7 +215,7 @@ Module num. |) in let~ _ := let β := w in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| lz |)) |) in + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| lz |) |) |) in M.match_operator (| M.alloc (| M.call_closure (| @@ -224,14 +226,14 @@ Module num. [ M.read (| q |); M.read (| w |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) ] |) |), @@ -251,9 +253,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| lo |)) - (Value.Integer 18446744073709551615) + BinOp.eq (| + M.read (| lo |), + Value.Integer IntegerKind.U64 18446744073709551615 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -263,9 +266,15 @@ Module num. let~ inside_safe_exponent := M.alloc (| LogicalOp.and (| - BinOp.Pure.ge (M.read (| q |)) (Value.Integer (-27)), + BinOp.ge (| + M.read (| q |), + Value.Integer IntegerKind.I64 (-27) + |), ltac:(M.monadic - (BinOp.Pure.le (M.read (| q |)) (Value.Integer 55))) + (BinOp.le (| + M.read (| q |), + Value.Integer IntegerKind.I64 55 + |))) |) |) in M.match_operator (| @@ -276,7 +285,7 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (M.read (| inside_safe_exponent |)) + UnOp.not (| M.read (| inside_safe_exponent |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -296,47 +305,52 @@ Module num. |) in let~ upperbit := M.alloc (| - M.rust_cast (BinOp.Wrap.shr (M.read (| hi |)) (Value.Integer 63)) + M.rust_cast + (BinOp.Wrap.shr (| + M.read (| hi |), + Value.Integer IntegerKind.I32 63 + |)) |) in let~ mantissa := M.alloc (| - BinOp.Wrap.shr - (M.read (| hi |)) - (BinOp.Wrap.sub - Integer.I32 - (BinOp.Wrap.sub - Integer.I32 - (BinOp.Wrap.add - Integer.I32 - (M.read (| upperbit |)) - (Value.Integer 64)) - (M.rust_cast + BinOp.Wrap.shr (| + M.read (| hi |), + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.read (| upperbit |), + Value.Integer IntegerKind.I32 64 + |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |)))) - (Value.Integer 3)) + |)) + |), + Value.Integer IntegerKind.I32 3 + |) + |) |) in let~ power2 := M.alloc (| - BinOp.Wrap.sub - Integer.I32 - (BinOp.Wrap.sub - Integer.I32 - (BinOp.Wrap.add - Integer.I32 - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.call_closure (| M.get_function (| "core::num::dec2flt::lemire::power", [] |), [ M.rust_cast (M.read (| q |)) ] - |)) - (M.read (| upperbit |))) - (M.rust_cast (M.read (| lz |)))) - (M.read (| + |), + M.read (| upperbit |) + |), + M.rust_cast (M.read (| lz |)) + |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" |) - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -347,7 +361,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| power2 |)) (Value.Integer 0) + BinOp.le (| + M.read (| power2 |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -366,15 +383,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.add - Integer.I32 - (UnOp.Panic.neg (| - Integer.I32, - M.read (| power2 |) - |)) - (Value.Integer 1)) - (Value.Integer 64) + BinOp.ge (| + BinOp.Wrap.add (| + UnOp.neg (| M.read (| power2 |) |), + Value.Integer IntegerKind.I32 1 + |), + Value.Integer IntegerKind.I32 64 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -396,46 +411,49 @@ Module num. let β := mantissa in M.write (| β, - BinOp.Wrap.shr - (M.read (| β |)) - (BinOp.Wrap.add - Integer.I32 - (UnOp.Panic.neg (| - Integer.I32, - M.read (| power2 |) - |)) - (Value.Integer 1)) + BinOp.Wrap.shr (| + M.read (| β |), + BinOp.Wrap.add (| + UnOp.neg (| M.read (| power2 |) |), + Value.Integer IntegerKind.I32 1 + |) + |) |) in let~ _ := let β := mantissa in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (BinOp.Pure.bit_and + BinOp.Wrap.add (| + M.read (| β |), + BinOp.bit_and (M.read (| mantissa |)) - (Value.Integer 1)) + (Value.Integer IntegerKind.U64 1) + |) |) in let~ _ := let β := mantissa in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := M.write (| power2, M.rust_cast - (BinOp.Pure.ge - (M.read (| mantissa |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| + (BinOp.ge (| + M.read (| mantissa |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |)))) + |) + |) + |)) |) in M.return_ (| Value.StructRecord @@ -464,54 +482,62 @@ Module num. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.le (M.read (| lo |)) (Value.Integer 1), + BinOp.le (| + M.read (| lo |), + Value.Integer IntegerKind.U64 1 + |), ltac:(M.monadic - (BinOp.Pure.ge - (M.read (| q |)) - (M.rust_cast + (BinOp.ge (| + M.read (| q |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MIN_EXPONENT_ROUND_TO_EVEN" |) - |))))) + |)) + |))) |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| q |)) - (M.rust_cast + (BinOp.le (| + M.read (| q |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_ROUND_TO_EVEN" |) - |))))) + |)) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Pure.bit_and + (BinOp.eq (| + BinOp.bit_and (M.read (| mantissa |)) - (Value.Integer 3)) - (Value.Integer 1))) + (Value.Integer IntegerKind.U64 3), + Value.Integer IntegerKind.U64 1 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.shl - (M.read (| mantissa |)) - (BinOp.Wrap.sub - Integer.I32 - (BinOp.Wrap.sub - Integer.I32 - (BinOp.Wrap.add - Integer.I32 - (M.read (| upperbit |)) - (Value.Integer 64)) - (M.rust_cast + (BinOp.eq (| + BinOp.Wrap.shl (| + M.read (| mantissa |), + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.read (| upperbit |), + Value.Integer IntegerKind.I32 64 + |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |)))) - (Value.Integer 3))) - (M.read (| hi |)))) + |)) + |), + Value.Integer IntegerKind.I32 3 + |) + |), + M.read (| hi |) + |))) |) |)) in let _ := @@ -523,9 +549,9 @@ Module num. let β := mantissa in M.write (| β, - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| β |)) - (UnOp.Pure.not (Value.Integer 1)) + (UnOp.not (| Value.Integer IntegerKind.U64 1 |)) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -535,14 +561,19 @@ Module num. let β := mantissa in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (BinOp.Pure.bit_and (M.read (| mantissa |)) (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| β |), + BinOp.bit_and + (M.read (| mantissa |)) + (Value.Integer IntegerKind.U64 1) + |) |) in let~ _ := let β := mantissa in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.shr (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) + |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -552,15 +583,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| mantissa |)) - (BinOp.Wrap.shl - (Value.Integer 2) - (M.read (| + BinOp.ge (| + M.read (| mantissa |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 2, + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -570,22 +603,23 @@ Module num. let~ _ := M.write (| mantissa, - BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |)) + |) + |) |) in let~ _ := let β := power2 in M.write (| β, - BinOp.Wrap.add - Integer.I32 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -595,16 +629,18 @@ Module num. let β := mantissa in M.write (| β, - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| β |)) - (UnOp.Pure.not - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| + (UnOp.not (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |)))) + |) + |) + |)) |) in let~ _ := M.match_operator (| @@ -615,13 +651,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| power2 |)) - (M.read (| + BinOp.ge (| + M.read (| power2 |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::INFINITE_POWER" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -645,7 +682,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_compute_float : @@ -661,19 +698,23 @@ Module num. | [], [ q ] => ltac:(M.monadic (let q := M.alloc (| q |) in - BinOp.Wrap.add - Integer.I32 - (BinOp.Wrap.shr - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + M.call_closure (| M.get_associated_function (| Ty.path "i32", "wrapping_mul", [] |), [ M.read (| q |); - BinOp.Wrap.add Integer.I32 (Value.Integer 152170) (Value.Integer 65536) + BinOp.Wrap.add (| + Value.Integer IntegerKind.I32 152170, + Value.Integer IntegerKind.I32 65536 + |) ] - |)) - (Value.Integer 16)) - (Value.Integer 63))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.I32 16 + |), + Value.Integer IntegerKind.I32 63 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_power : M.IsFunction "core::num::dec2flt::lemire::power" power. @@ -693,20 +734,18 @@ Module num. M.read (| let~ r := M.alloc (| - BinOp.Wrap.mul - Integer.U128 - (M.rust_cast (M.read (| a |))) - (M.rust_cast (M.read (| b |))) + BinOp.Wrap.mul (| M.rust_cast (M.read (| a |)), M.rust_cast (M.read (| b |)) |) |) in M.alloc (| Value.Tuple [ M.rust_cast (M.read (| r |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| r |)) (Value.Integer 64)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| r |), Value.Integer IntegerKind.I32 64 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_full_multiplication : @@ -774,15 +813,17 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.read (| q |)) - (M.rust_cast + UnOp.not (| + BinOp.ge (| + M.read (| q |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE" |) - |)))) + |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -827,15 +868,17 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| q |)) - (M.rust_cast + UnOp.not (| + BinOp.le (| + M.read (| q |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::table::LARGEST_POWER_OF_FIVE" |) - |)))) + |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -880,10 +923,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| precision |)) - (Value.Integer 64)) + UnOp.not (| + BinOp.le (| + M.read (| precision |), + Value.Integer IntegerKind.Usize 64 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -919,29 +964,35 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| precision |)) (Value.Integer 64) + BinOp.lt (| + M.read (| precision |), + Value.Integer IntegerKind.Usize 64 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.shr - (Value.Integer 18446744073709551615) - (M.read (| precision |)) + BinOp.Wrap.shr (| + Value.Integer IntegerKind.U64 18446744073709551615, + M.read (| precision |) + |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 18446744073709551615 |))) + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.U64 18446744073709551615 |))) ] |) |) in let~ index := M.alloc (| M.rust_cast - (BinOp.Wrap.sub - Integer.I64 - (M.read (| q |)) - (M.rust_cast + (BinOp.Wrap.sub (| + M.read (| q |), + M.rust_cast (M.read (| M.get_constant (| "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE" |) - |)))) + |)) + |)) |) in M.match_operator (| M.SubPointer.get_array_field (| @@ -981,11 +1032,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| first_hi |)) - (M.read (| mask |))) - (M.read (| mask |)) + (M.read (| mask |)), + M.read (| mask |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1033,9 +1085,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| second_hi |)) - (M.read (| first_lo |)) + BinOp.gt (| + M.read (| second_hi |), + M.read (| first_lo |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1046,10 +1099,10 @@ Module num. let β := first_hi in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U64 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1070,7 +1123,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_compute_product_approx : diff --git a/CoqOfRust/core/num/dec2flt/mod.v b/CoqOfRust/core/num/dec2flt/mod.v index d5628482b..44c6d4354 100644 --- a/CoqOfRust/core/num/dec2flt/mod.v +++ b/CoqOfRust/core/num/dec2flt/mod.v @@ -23,7 +23,7 @@ Module num. M.get_function (| "core::num::dec2flt::dec2flt", [ Ty.path "f32" ] |), [ M.read (| src |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55,7 +55,7 @@ Module num. M.get_function (| "core::num::dec2flt::dec2flt", [ Ty.path "f64" ] |), [ M.read (| src |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -105,7 +105,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -146,7 +146,7 @@ Module num. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -199,7 +199,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -236,7 +236,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -309,7 +309,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -352,7 +352,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -405,9 +405,9 @@ Module num. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -439,7 +439,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -490,7 +490,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -532,7 +532,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -555,7 +555,7 @@ Module num. (Value.StructRecord "core::num::dec2flt::ParseFloatError" [ ("kind", Value.StructTuple "core::num::dec2flt::FloatErrorKind::Empty" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_pfe_empty : M.IsFunction "core::num::dec2flt::pfe_empty" pfe_empty. @@ -572,7 +572,7 @@ Module num. (Value.StructRecord "core::num::dec2flt::ParseFloatError" [ ("kind", Value.StructTuple "core::num::dec2flt::FloatErrorKind::Invalid" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_pfe_invalid : M.IsFunction "core::num::dec2flt::pfe_invalid" pfe_invalid. @@ -602,22 +602,23 @@ Module num. let β := word in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shl - (M.rust_cast + (BinOp.Wrap.shl (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| x, "core::num::dec2flt::common::BiasedFp", "e" |) - |))) - (M.read (| + |)), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |))) + |) + |)) |) in M.alloc (| M.call_closure (| @@ -632,7 +633,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_biased_fp_to_float : @@ -749,7 +750,7 @@ Module num. |) |) in let~ negative := - M.alloc (| BinOp.Pure.eq (M.read (| c |)) (M.read (| UnsupportedLiteral |)) |) in + M.alloc (| BinOp.eq (| M.read (| c |), M.read (| UnsupportedLiteral |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -760,11 +761,12 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq (M.read (| c |)) (M.read (| UnsupportedLiteral |)), + BinOp.eq (| M.read (| c |), M.read (| UnsupportedLiteral |) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)))) + (BinOp.eq (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |))) |) |)) in let _ := @@ -788,7 +790,7 @@ Module num. M.read (| s |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) |) in @@ -999,15 +1001,16 @@ Module num. |) |), ltac:(M.monadic - (BinOp.Pure.ge - (M.read (| + (BinOp.ge (| + M.read (| M.SubPointer.get_struct_record_field (| fp, "core::num::dec2flt::common::BiasedFp", "e" |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.I32 0 + |))) |), ltac:(M.monadic (M.call_closure (| @@ -1034,16 +1037,16 @@ Module num. "exponent" |) |); - BinOp.Wrap.add - Integer.U64 - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| num, "core::num::dec2flt::number::Number", "mantissa" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U64 1 + |) ] |) |) @@ -1060,7 +1063,7 @@ Module num. "core::num::dec2flt::common::BiasedFp", "e" |), - Value.Integer (-1) + Value.Integer IntegerKind.I32 (-1) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1075,15 +1078,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| fp, "core::num::dec2flt::common::BiasedFp", "e" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1139,7 +1143,7 @@ Module num. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| float |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_dec2flt : M.IsFunction "core::num::dec2flt::dec2flt" dec2flt. diff --git a/CoqOfRust/core/num/dec2flt/number.v b/CoqOfRust/core/num/dec2flt/number.v index a70d8c87c..dee14547e 100644 --- a/CoqOfRust/core/num/dec2flt/number.v +++ b/CoqOfRust/core/num/dec2flt/number.v @@ -10,22 +10,22 @@ Module num. (M.alloc (| Value.Array [ - Value.Integer 1; - Value.Integer 10; - Value.Integer 100; - Value.Integer 1000; - Value.Integer 10000; - Value.Integer 100000; - Value.Integer 1000000; - Value.Integer 10000000; - Value.Integer 100000000; - Value.Integer 1000000000; - Value.Integer 10000000000; - Value.Integer 100000000000; - Value.Integer 1000000000000; - Value.Integer 10000000000000; - Value.Integer 100000000000000; - Value.Integer 1000000000000000 + Value.Integer IntegerKind.U64 1; + Value.Integer IntegerKind.U64 10; + Value.Integer IntegerKind.U64 100; + Value.Integer IntegerKind.U64 1000; + Value.Integer IntegerKind.U64 10000; + Value.Integer IntegerKind.U64 100000; + Value.Integer IntegerKind.U64 1000000; + Value.Integer IntegerKind.U64 10000000; + Value.Integer IntegerKind.U64 100000000; + Value.Integer IntegerKind.U64 1000000000; + Value.Integer IntegerKind.U64 10000000000; + Value.Integer IntegerKind.U64 100000000000; + Value.Integer IntegerKind.U64 1000000000000; + Value.Integer IntegerKind.U64 10000000000000; + Value.Integer IntegerKind.U64 100000000000000; + Value.Integer IntegerKind.U64 1000000000000000 ] |))). @@ -71,7 +71,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -148,7 +148,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -215,7 +215,7 @@ Module num. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -250,73 +250,77 @@ Module num. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "exponent" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::dec2flt::number::Number", "exponent" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "mantissa" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::dec2flt::number::Number", "mantissa" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "negative" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::dec2flt::number::Number", "negative" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "many_digits" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::dec2flt::number::Number", "many_digits" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -367,7 +371,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -398,60 +402,64 @@ Module num. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MIN_EXPONENT_FAST_PATH" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "exponent" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "exponent" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_DISGUISED_FAST_PATH" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "mantissa" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH" |) - |)))) + |) + |))) |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "many_digits" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_fast_path : @@ -541,19 +549,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "exponent" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_FAST_PATH" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -589,15 +598,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "exponent" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -625,8 +635,7 @@ Module num. |), [ M.rust_cast - (UnOp.Panic.neg (| - Integer.I64, + (UnOp.neg (| M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -681,20 +690,20 @@ Module num. ltac:(M.monadic (let~ shift := M.alloc (| - BinOp.Wrap.sub - Integer.I64 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::dec2flt::number::Number", "exponent" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_FAST_PATH" |) - |)) + |) + |) |) in let~ mantissa := M.copy (| @@ -799,13 +808,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| mantissa |)) - (M.read (| + BinOp.gt (| + M.read (| mantissa |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -916,7 +926,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_fast_path : diff --git a/CoqOfRust/core/num/dec2flt/parse.v b/CoqOfRust/core/num/dec2flt/parse.v index 93367f944..66de812bd 100644 --- a/CoqOfRust/core/num/dec2flt/parse.v +++ b/CoqOfRust/core/num/dec2flt/parse.v @@ -5,7 +5,7 @@ Module num. Module dec2flt. Module parse. Definition value_MIN_19DIGIT_INT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000000000000000000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000000000000000000 |))). (* fn parse_8digits(mut v: u64) -> u64 { @@ -29,22 +29,25 @@ Module num. let β := v in M.write (| β, - BinOp.Wrap.sub Integer.U64 (M.read (| β |)) (Value.Integer 3472328296227680304) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.U64 3472328296227680304 + |) |) in let~ _ := M.write (| v, - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul Integer.U64 (M.read (| v |)) (Value.Integer 10)) - (BinOp.Wrap.shr (M.read (| v |)) (Value.Integer 8)) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| M.read (| v |), Value.Integer IntegerKind.U64 10 |), + BinOp.Wrap.shr (| M.read (| v |), Value.Integer IntegerKind.I32 8 |) + |) |) in let~ v1 := M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_mul", [] |), [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| v |)) (M.read (| M.get_constant (| "core::num::dec2flt::parse::parse_8digits::MASK" |) @@ -60,8 +63,8 @@ Module num. M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_mul", [] |), [ - BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| v |)) (Value.Integer 16)) + BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| v |), Value.Integer IntegerKind.I32 16 |)) (M.read (| M.get_constant (| "core::num::dec2flt::parse::parse_8digits::MASK" |) |)); @@ -74,15 +77,16 @@ Module num. M.alloc (| M.rust_cast (M.rust_cast - (BinOp.Wrap.shr - (M.call_closure (| + (BinOp.Wrap.shr (| + M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ M.read (| v1 |); M.read (| v2 |) ] - |)) - (Value.Integer 32))) + |), + Value.Integer IntegerKind.I32 32 + |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_8digits : @@ -90,13 +94,13 @@ Module num. Module parse_8digits. Definition value_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1095216660735 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1095216660735 |))). Definition value_MUL1 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4294967296000100 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967296000100 |))). Definition value_MUL2 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 42949672960001 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 42949672960001 |))). End parse_8digits. (* @@ -138,16 +142,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| s |) ] - |)) - (Value.Integer 8) + |), + Value.Integer IntegerKind.Usize 8 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -201,7 +206,10 @@ Module num. "wrapping_mul", [] |), - [ M.read (| x |); Value.Integer 100000000 ] + [ + M.read (| x |); + Value.Integer IntegerKind.U64 100000000 + ] |); M.call_closure (| M.get_function (| @@ -232,7 +240,7 @@ Module num. M.read (| s |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 8) ] + [ ("start", Value.Integer IntegerKind.Usize 8) ] ] |) |) in @@ -298,7 +306,10 @@ Module num. "wrapping_mul", [] |), - [ M.read (| x |); Value.Integer 10 ] + [ + M.read (| x |); + Value.Integer IntegerKind.U64 10 + ] |); M.rust_cast (M.read (| digit |)) ] @@ -308,14 +319,14 @@ Module num. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [ M.read (| s |); M.read (| x |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_parse_digits : @@ -364,13 +375,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.read (| x |) |)) - (M.read (| + BinOp.lt (| + M.read (| M.read (| x |) |), + M.read (| M.get_constant (| "core::num::dec2flt::parse::MIN_19DIGIT_INT" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -407,9 +419,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| digit |)) - (Value.Integer 10) + BinOp.lt (| + M.read (| digit |), + Value.Integer IntegerKind.U8 10 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -419,13 +432,13 @@ Module num. let~ _ := M.write (| M.read (| x |), - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (M.read (| M.read (| x |) |)) - (Value.Integer 10)) - (M.rust_cast (M.read (| digit |))) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.read (| M.read (| x |) |), + Value.Integer IntegerKind.U64 10 + |), + M.rust_cast (M.read (| digit |)) + |) |) in let~ _ := M.write (| s, M.read (| s_next |) |) in M.alloc (| Value.Tuple [] |))); @@ -458,7 +471,7 @@ Module num. let~ _ := M.write (| M.read (| s_ref |), M.read (| s |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_parse_19digits : @@ -498,7 +511,7 @@ Module num. ltac:(M.monadic (let s_ref := M.alloc (| s_ref |) in M.read (| - let~ exponent := M.alloc (| Value.Integer 0 |) in + let~ exponent := M.alloc (| Value.Integer IntegerKind.I64 0 |) in let~ negative := M.alloc (| Value.Bool false |) in let~ s := M.copy (| M.read (| s_ref |) |) in let~ _ := @@ -532,7 +545,7 @@ Module num. let~ _ := M.write (| negative, - BinOp.Pure.eq (M.read (| c |)) (M.read (| UnsupportedLiteral |)) + BinOp.eq (| M.read (| c |), M.read (| UnsupportedLiteral |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -543,13 +556,15 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)), + BinOp.eq (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)))) + (BinOp.eq (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |))) |) |)) in let _ := @@ -649,9 +664,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| exponent |)) - (Value.Integer 65536) + BinOp.lt (| + M.read (| exponent |), + Value.Integer + IntegerKind.I64 + 65536 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -661,13 +679,13 @@ Module num. let~ _ := M.write (| exponent, - BinOp.Wrap.add - Integer.I64 - (BinOp.Wrap.mul - Integer.I64 - (Value.Integer 10) - (M.read (| exponent |))) - (M.rust_cast (M.read (| digit |))) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.I64 10, + M.read (| exponent |) + |), + M.rust_cast (M.read (| digit |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -678,7 +696,7 @@ Module num. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -697,7 +715,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ UnOp.Panic.neg (| Integer.I64, M.read (| exponent |) |) ] + [ UnOp.neg (| M.read (| exponent |) |) ] |))); fun γ => ltac:(M.monadic @@ -715,7 +733,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_scientific : @@ -830,16 +848,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "is_empty", [] |), [ M.read (| s |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -865,7 +885,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ mantissa := M.alloc (| Value.Integer 0 |) in + let~ mantissa := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ start := M.copy (| s |) in let~ tmp := M.alloc (| @@ -894,8 +914,8 @@ Module num. [ M.read (| s |); M.read (| start |) ] |) |) in - let~ n_after_dot := M.alloc (| Value.Integer 0 |) in - let~ exponent := M.alloc (| Value.Integer 0 |) in + let~ n_after_dot := M.alloc (| Value.Integer IntegerKind.Isize 0 |) in + let~ exponent := M.alloc (| Value.Integer IntegerKind.I64 0 |) in let~ int_end := M.copy (| s |) in let~ _ := M.match_operator (| @@ -926,7 +946,7 @@ Module num. let _ := M.is_constant_or_break_match (| M.read (| γ1_0 |), - Value.Integer 46 + Value.Integer IntegerKind.U8 46 |) in let s_next := M.copy (| γ1_1 |) in let~ _ := M.write (| s, M.read (| s_next |) |) in @@ -968,8 +988,7 @@ Module num. let~ _ := M.write (| exponent, - M.rust_cast - (UnOp.Panic.neg (| Integer.Isize, M.read (| n_after_dot |) |)) + M.rust_cast (UnOp.neg (| M.read (| n_after_dot |) |)) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -979,7 +998,7 @@ Module num. let β := n_digits in M.write (| β, - BinOp.Wrap.add Integer.Isize (M.read (| β |)) (M.read (| n_after_dot |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| n_after_dot |) |) |) in let~ _ := M.match_operator (| @@ -990,7 +1009,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| n_digits |)) (Value.Integer 0) + BinOp.eq (| + M.read (| n_digits |), + Value.Integer IntegerKind.Isize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1004,7 +1026,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ exp_number := M.alloc (| Value.Integer 0 |) in + let~ exp_number := M.alloc (| Value.Integer IntegerKind.I64 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1042,13 +1064,15 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)), + BinOp.eq (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)))) + (BinOp.eq (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |))) |) |)) in let _ := @@ -1146,10 +1170,7 @@ Module num. let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.I64 - (M.read (| β |)) - (M.read (| exp_number |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| exp_number |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1181,7 +1202,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| n_digits |)) (Value.Integer 19) + BinOp.le (| + M.read (| n_digits |), + Value.Integer IntegerKind.Isize 19 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1216,7 +1240,7 @@ Module num. let β := n_digits in M.write (| β, - BinOp.Wrap.sub Integer.Isize (M.read (| β |)) (Value.Integer 19) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Isize 19 |) |) in let~ many_digits := M.alloc (| Value.Bool false |) in let~ p := M.copy (| start |) in @@ -1259,13 +1283,15 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)), + BinOp.eq (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)))) + (BinOp.eq (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |))) |) |)) in let _ := @@ -1277,10 +1303,9 @@ Module num. let β := n_digits in M.write (| β, - BinOp.Wrap.sub - Integer.Isize - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.sub (| + M.read (| β |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "u8", @@ -1289,12 +1314,13 @@ Module num. |), [ M.read (| c |); - BinOp.Wrap.sub - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| UnsupportedLiteral |), + Value.Integer IntegerKind.U8 1 + |) ] - |))) + |)) + |) |) in let~ _ := M.write (| p, M.read (| p_next |) |) in M.alloc (| Value.Tuple [] |))); @@ -1330,12 +1356,15 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| n_digits |)) (Value.Integer 0) + BinOp.gt (| + M.read (| n_digits |), + Value.Integer IntegerKind.Isize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| many_digits, Value.Bool true |) in - let~ _ := M.write (| mantissa, Value.Integer 0 |) in + let~ _ := M.write (| mantissa, Value.Integer IntegerKind.U64 0 |) in let~ s := M.copy (| start |) in let~ _ := M.alloc (| @@ -1360,13 +1389,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| mantissa |)) - (M.read (| + BinOp.ge (| + M.read (| mantissa |), + M.read (| M.get_constant (| "core::num::dec2flt::parse::MIN_19DIGIT_INT" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1406,7 +1436,8 @@ Module num. M.read (| s |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) + ] ] |) |) in @@ -1422,8 +1453,7 @@ Module num. |) |) in M.alloc (| - UnOp.Panic.neg (| - Integer.Isize, + UnOp.neg (| M.call_closure (| M.get_trait_method (| "core::num::dec2flt::common::ByteSlice", @@ -1444,10 +1474,7 @@ Module num. let β := exponent in M.write (| β, - BinOp.Wrap.add - Integer.I64 - (M.read (| β |)) - (M.read (| exp_number |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| exp_number |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1473,7 +1500,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_partial_number : @@ -1531,16 +1558,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| rest |)) - (M.call_closure (| + BinOp.eq (| + M.read (| rest |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| s |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1567,7 +1595,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_number : @@ -1639,16 +1667,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| s |) ] - |)) - (Value.Integer 8) + |), + Value.Integer IntegerKind.Usize 8 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1666,7 +1695,7 @@ Module num. [ M.read (| s |) ] |) |) in - let~ _ := M.write (| len, Value.Integer 8 |) in + let~ _ := M.write (| len, Value.Integer IntegerKind.Usize 8 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -1678,16 +1707,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| s |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1700,7 +1730,7 @@ Module num. (M.read (| M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |)) |) in @@ -1710,7 +1740,7 @@ Module num. (M.read (| M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) |)) |) in @@ -1720,20 +1750,27 @@ Module num. (M.read (| M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) |)) |) in let~ _ := M.write (| register, - BinOp.Pure.bit_or - (BinOp.Pure.bit_or - (BinOp.Wrap.shl (M.read (| c |)) (Value.Integer 16)) - (BinOp.Wrap.shl (M.read (| b |)) (Value.Integer 8))) + BinOp.bit_or + (BinOp.bit_or + (BinOp.Wrap.shl (| + M.read (| c |), + Value.Integer IntegerKind.I32 16 + |)) + (BinOp.Wrap.shl (| + M.read (| b |), + Value.Integer IntegerKind.I32 8 + |))) (M.read (| a |)) |) in - let~ _ := M.write (| len, Value.Integer 3 |) in + let~ _ := + M.write (| len, Value.Integer IntegerKind.Usize 3 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -1754,7 +1791,9 @@ Module num. let β := register in M.write (| β, - BinOp.Pure.bit_and (M.read (| β |)) (Value.Integer 16131858542891098079) + BinOp.bit_and + (M.read (| β |)) + (Value.Integer IntegerKind.U64 16131858542891098079) |) in let~ float := M.copy (| @@ -1768,12 +1807,12 @@ Module num. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 4607561 + Value.Integer IntegerKind.U64 4607561 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 3 + Value.Integer IntegerKind.Usize 3 |) in M.get_constant (| "core::num::dec2flt::float::RawFloat::INFINITY" @@ -1785,12 +1824,12 @@ Module num. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 6436850368004902473 + Value.Integer IntegerKind.U64 6436850368004902473 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 8 + Value.Integer IntegerKind.Usize 8 |) in M.get_constant (| "core::num::dec2flt::float::RawFloat::INFINITY" @@ -1802,12 +1841,12 @@ Module num. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 5128526 + Value.Integer IntegerKind.U64 5128526 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 3 + Value.Integer IntegerKind.Usize 3 |) in M.get_constant (| "core::num::dec2flt::float::RawFloat::NAN" |))); fun γ => @@ -1857,7 +1896,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_inf_nan : @@ -1865,13 +1904,13 @@ Module num. Module parse_inf_nan. Definition value_INF_3 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4607561 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4607561 |))). Definition value_INF_8 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 6436850368004902473 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6436850368004902473 |))). Definition value_NAN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 5128526 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5128526 |))). End parse_inf_nan. End parse. End dec2flt. diff --git a/CoqOfRust/core/num/dec2flt/slow.v b/CoqOfRust/core/num/dec2flt/slow.v index 41be7666a..ff52f0e37 100644 --- a/CoqOfRust/core/num/dec2flt/slow.v +++ b/CoqOfRust/core/num/dec2flt/slow.v @@ -121,13 +121,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| n |)) - (M.read (| + BinOp.lt (| + M.read (| n |), + M.read (| M.get_constant (| "core::num::dec2flt::slow::parse_long_mantissa::NUM_POWERS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -155,7 +156,7 @@ Module num. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ fp_zero := @@ -166,7 +167,7 @@ Module num. "zero_pow2", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.I32 0 ] |) |) in let~ fp_inf := @@ -203,25 +204,27 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "num_digits" |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| + (BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (Value.Integer (-324)))) + |), + Value.Integer IntegerKind.I32 (-324) + |))) |) |)) in let _ := @@ -239,15 +242,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (Value.Integer 310) + |), + Value.Integer IntegerKind.I32 310 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -264,7 +268,7 @@ Module num. |))) ] |) in - let~ exp2 := M.alloc (| Value.Integer 0 |) in + let~ exp2 := M.alloc (| Value.Integer IntegerKind.I32 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -276,15 +280,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -337,22 +342,22 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (UnOp.Panic.neg (| - Integer.I32, + |), + UnOp.neg (| M.read (| M.get_constant (| "core::num::dec2flt::decimal::DECIMAL_POINT_RANGE" |) |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -371,10 +376,10 @@ Module num. let β := exp2 in M.write (| β, - BinOp.Wrap.add - Integer.I32 - (M.read (| β |)) - (M.rust_cast (M.read (| shift |))) + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.read (| shift |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -404,15 +409,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -429,15 +435,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -451,7 +458,7 @@ Module num. "core::num::dec2flt::decimal::Decimal", "digits" |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), [ fun γ => @@ -459,9 +466,10 @@ Module num. (let digit := M.copy (| γ |) in let γ := M.alloc (| - BinOp.Pure.ge - (M.read (| digit |)) - (Value.Integer 5) + BinOp.ge (| + M.read (| digit |), + Value.Integer IntegerKind.U8 5 + |) |) in let _ := M.is_constant_or_break_match (| @@ -481,7 +489,7 @@ Module num. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 0 + Value.Integer IntegerKind.U8 0 |) in Value.Tuple [])); fun γ => @@ -489,7 +497,7 @@ Module num. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 1 + Value.Integer IntegerKind.U8 1 |) in Value.Tuple [])) ], @@ -499,13 +507,19 @@ Module num. match γ with | [] => ltac:(M.monadic - (M.alloc (| Value.Integer 2 |))) + (M.alloc (| + Value.Integer IntegerKind.Usize 2 + |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |))); fun γ => - ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + ltac:(M.monadic + (M.alloc (| + Value.Integer IntegerKind.Usize 1 + |))) ] |))); fun γ => @@ -526,8 +540,7 @@ Module num. Value.Tuple [ M.rust_cast - (UnOp.Panic.neg (| - Integer.I32, + (UnOp.neg (| M.read (| M.SubPointer.get_struct_record_field (| d, @@ -563,19 +576,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| d, "core::num::dec2flt::decimal::Decimal", "decimal_point" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::decimal::DECIMAL_POINT_RANGE" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -594,10 +608,10 @@ Module num. let β := exp2 in M.write (| β, - BinOp.Wrap.sub - Integer.I32 - (M.read (| β |)) - (M.rust_cast (M.read (| shift |))) + BinOp.Wrap.sub (| + M.read (| β |), + M.rust_cast (M.read (| shift |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -620,7 +634,7 @@ Module num. let β := exp2 in M.write (| β, - BinOp.Wrap.sub Integer.I32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) |) in let~ _ := M.loop (| @@ -633,16 +647,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (BinOp.Wrap.add - Integer.I32 - (M.read (| + BinOp.gt (| + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" |) - |)) - (Value.Integer 1)) - (M.read (| exp2 |)) + |), + Value.Integer IntegerKind.I32 1 + |), + M.read (| exp2 |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -652,17 +667,17 @@ Module num. let~ n := M.alloc (| M.rust_cast - (BinOp.Wrap.sub - Integer.I32 - (BinOp.Wrap.add - Integer.I32 - (M.read (| + (BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" |) - |)) - (Value.Integer 1)) - (M.read (| exp2 |))) + |), + Value.Integer IntegerKind.I32 1 + |), + M.read (| exp2 |) + |)) |) in let~ _ := M.match_operator (| @@ -673,13 +688,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| n |)) - (M.read (| + BinOp.gt (| + M.read (| n |), + M.read (| M.get_constant (| "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -714,10 +730,10 @@ Module num. let β := exp2 in M.write (| β, - BinOp.Wrap.add - Integer.I32 - (M.read (| β |)) - (M.rust_cast (M.read (| n |))) + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.read (| n |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -745,20 +761,21 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.I32 - (M.read (| exp2 |)) - (M.read (| + BinOp.ge (| + BinOp.Wrap.sub (| + M.read (| exp2 |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" |) - |))) - (M.read (| + |) + |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::INFINITE_POWER" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -778,14 +795,14 @@ Module num. |), [ d; - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -809,18 +826,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| mantissa |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.ge (| + M.read (| mantissa |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |)) - (Value.Integer 1))) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -832,14 +851,14 @@ Module num. "right_shift", [] |), - [ d; Value.Integer 1 ] + [ d; Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := let β := exp2 in M.write (| β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) |) in let~ _ := M.write (| @@ -861,20 +880,21 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.I32 - (M.read (| exp2 |)) - (M.read (| + BinOp.ge (| + BinOp.Wrap.sub (| + M.read (| exp2 |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" |) - |))) - (M.read (| + |) + |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::INFINITE_POWER" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -894,14 +914,14 @@ Module num. |) in let~ power2 := M.alloc (| - BinOp.Wrap.sub - Integer.I32 - (M.read (| exp2 |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| exp2 |), + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" |) - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -912,15 +932,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| mantissa |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| + BinOp.lt (| + M.read (| mantissa |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -928,7 +950,7 @@ Module num. let β := power2 in M.write (| β, - BinOp.Wrap.sub Integer.I32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -938,18 +960,19 @@ Module num. let β := mantissa in M.write (| β, - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| β |)) - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| + (BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| M.get_constant (| "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" |) - |))) - (Value.Integer 1)) + |) + |), + Value.Integer IntegerKind.U64 1 + |)) |) in M.alloc (| Value.StructRecord @@ -958,7 +981,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_long_mantissa : @@ -966,10 +989,10 @@ Module num. Module parse_long_mantissa. Definition value_MAX_SHIFT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 60 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 60 |))). Definition value_NUM_POWERS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 19 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 19 |))). Definition value_POWERS : Value.t := M.run @@ -977,25 +1000,25 @@ Module num. (M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 3; - Value.Integer 6; - Value.Integer 9; - Value.Integer 13; - Value.Integer 16; - Value.Integer 19; - Value.Integer 23; - Value.Integer 26; - Value.Integer 29; - Value.Integer 33; - Value.Integer 36; - Value.Integer 39; - Value.Integer 43; - Value.Integer 46; - Value.Integer 49; - Value.Integer 53; - Value.Integer 56; - Value.Integer 59 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 59 ] |))). End parse_long_mantissa. diff --git a/CoqOfRust/core/num/dec2flt/table.v b/CoqOfRust/core/num/dec2flt/table.v index e2fc88fe8..30cdfbf13 100644 --- a/CoqOfRust/core/num/dec2flt/table.v +++ b/CoqOfRust/core/num/dec2flt/table.v @@ -5,27 +5,27 @@ Module num. Module dec2flt. Module table. Definition value_SMALLEST_POWER_OF_FIVE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-342) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-342) |))). Definition value_LARGEST_POWER_OF_FIVE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 308 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 308 |))). Definition value_N_POWERS_OF_FIVE : Value.t := M.run ltac:(M.monadic (M.alloc (| M.rust_cast - (BinOp.Wrap.add - Integer.I32 - (BinOp.Wrap.sub - Integer.I32 - (M.read (| + (BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::dec2flt::table::LARGEST_POWER_OF_FIVE" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE" |) - |))) - (Value.Integer 1)) + |) + |), + Value.Integer IntegerKind.I32 1 + |)) |))). Definition value_POWER_OF_FIVE_128 : Value.t := @@ -36,1279 +36,3260 @@ Module num. Value.Array [ Value.Tuple - [ Value.Integer 17218479456385750618; Value.Integer 1242899115359157055 ]; - Value.Tuple - [ Value.Integer 10761549660241094136; Value.Integer 5388497965526861063 ]; - Value.Tuple - [ Value.Integer 13451937075301367670; Value.Integer 6735622456908576329 ]; - Value.Tuple - [ Value.Integer 16814921344126709587; Value.Integer 17642900107990496220 ]; - Value.Tuple - [ Value.Integer 10509325840079193492; Value.Integer 8720969558280366185 ]; - Value.Tuple - [ Value.Integer 13136657300098991865; Value.Integer 10901211947850457732 ]; - Value.Tuple - [ Value.Integer 16420821625123739831; Value.Integer 18238200953240460069 ]; - Value.Tuple - [ Value.Integer 10263013515702337394; Value.Integer 18316404623416369399 ]; - Value.Tuple - [ Value.Integer 12828766894627921743; Value.Integer 13672133742415685941 ]; - Value.Tuple - [ Value.Integer 16035958618284902179; Value.Integer 12478481159592219522 ]; - Value.Tuple - [ Value.Integer 10022474136428063862; Value.Integer 5493207715531443249 ]; - Value.Tuple - [ Value.Integer 12528092670535079827; Value.Integer 16089881681269079869 ]; - Value.Tuple - [ Value.Integer 15660115838168849784; Value.Integer 15500666083158961933 ]; - Value.Tuple - [ Value.Integer 9787572398855531115; Value.Integer 9687916301974351208 ]; - Value.Tuple - [ Value.Integer 12234465498569413894; Value.Integer 7498209359040551106 ]; - Value.Tuple - [ Value.Integer 15293081873211767368; Value.Integer 149389661945913074 ]; - Value.Tuple - [ Value.Integer 9558176170757354605; Value.Integer 93368538716195671 ]; - Value.Tuple - [ Value.Integer 11947720213446693256; Value.Integer 4728396691822632493 ]; - Value.Tuple - [ Value.Integer 14934650266808366570; Value.Integer 5910495864778290617 ]; - Value.Tuple - [ Value.Integer 9334156416755229106; Value.Integer 8305745933913819539 ]; - Value.Tuple - [ Value.Integer 11667695520944036383; Value.Integer 1158810380537498616 ]; - Value.Tuple - [ Value.Integer 14584619401180045478; Value.Integer 15283571030954036982 ]; - Value.Tuple - [ Value.Integer 18230774251475056848; Value.Integer 9881091751837770420 ]; - Value.Tuple - [ Value.Integer 11394233907171910530; Value.Integer 6175682344898606512 ]; - Value.Tuple - [ Value.Integer 14242792383964888162; Value.Integer 16942974967978033949 ]; - Value.Tuple - [ Value.Integer 17803490479956110203; Value.Integer 11955346673117766628 ]; - Value.Tuple - [ Value.Integer 11127181549972568877; Value.Integer 5166248661484910190 ]; - Value.Tuple - [ Value.Integer 13908976937465711096; Value.Integer 11069496845283525642 ]; - Value.Tuple - [ Value.Integer 17386221171832138870; Value.Integer 13836871056604407053 ]; - Value.Tuple - [ Value.Integer 10866388232395086794; Value.Integer 4036358391950366504 ]; - Value.Tuple - [ Value.Integer 13582985290493858492; Value.Integer 14268820026792733938 ]; - Value.Tuple - [ Value.Integer 16978731613117323115; Value.Integer 17836025033490917422 ]; - Value.Tuple - [ Value.Integer 10611707258198326947; Value.Integer 8841672636718129437 ]; - Value.Tuple - [ Value.Integer 13264634072747908684; Value.Integer 6440404777470273892 ]; - Value.Tuple - [ Value.Integer 16580792590934885855; Value.Integer 8050505971837842365 ]; - Value.Tuple - [ Value.Integer 10362995369334303659; Value.Integer 11949095260039733334 ]; - Value.Tuple - [ Value.Integer 12953744211667879574; Value.Integer 10324683056622278764 ]; - Value.Tuple - [ Value.Integer 16192180264584849468; Value.Integer 3682481783923072647 ]; - Value.Tuple - [ Value.Integer 10120112665365530917; Value.Integer 11524923151806696212 ]; - Value.Tuple - [ Value.Integer 12650140831706913647; Value.Integer 571095884476206553 ]; - Value.Tuple - [ Value.Integer 15812676039633642058; Value.Integer 14548927910877421904 ]; - Value.Tuple - [ Value.Integer 9882922524771026286; Value.Integer 13704765962725776594 ]; - Value.Tuple - [ Value.Integer 12353653155963782858; Value.Integer 7907585416552444934 ]; - Value.Tuple - [ Value.Integer 15442066444954728573; Value.Integer 661109733835780360 ]; - Value.Tuple - [ Value.Integer 9651291528096705358; Value.Integer 2719036592861056677 ]; - Value.Tuple - [ Value.Integer 12064114410120881697; Value.Integer 12622167777931096654 ]; - Value.Tuple - [ Value.Integer 15080143012651102122; Value.Integer 1942651667131707105 ]; - Value.Tuple - [ Value.Integer 9425089382906938826; Value.Integer 5825843310384704845 ]; - Value.Tuple - [ Value.Integer 11781361728633673532; Value.Integer 16505676174835656864 ]; - Value.Tuple - [ Value.Integer 14726702160792091916; Value.Integer 2185351144835019464 ]; - Value.Tuple - [ Value.Integer 18408377700990114895; Value.Integer 2731688931043774330 ]; - Value.Tuple - [ Value.Integer 11505236063118821809; Value.Integer 8624834609543440812 ]; - Value.Tuple - [ Value.Integer 14381545078898527261; Value.Integer 15392729280356688919 ]; - Value.Tuple - [ Value.Integer 17976931348623159077; Value.Integer 5405853545163697437 ]; - Value.Tuple - [ Value.Integer 11235582092889474423; Value.Integer 5684501474941004850 ]; - Value.Tuple - [ Value.Integer 14044477616111843029; Value.Integer 2493940825248868159 ]; - Value.Tuple - [ Value.Integer 17555597020139803786; Value.Integer 7729112049988473103 ]; - Value.Tuple - [ Value.Integer 10972248137587377366; Value.Integer 9442381049670183593 ]; - Value.Tuple - [ Value.Integer 13715310171984221708; Value.Integer 2579604275232953683 ]; - Value.Tuple - [ Value.Integer 17144137714980277135; Value.Integer 3224505344041192104 ]; - Value.Tuple - [ Value.Integer 10715086071862673209; Value.Integer 8932844867666826921 ]; - Value.Tuple - [ Value.Integer 13393857589828341511; Value.Integer 15777742103010921555 ]; - Value.Tuple - [ Value.Integer 16742321987285426889; Value.Integer 15110491610336264040 ]; - Value.Tuple - [ Value.Integer 10463951242053391806; Value.Integer 2526528228819083169 ]; - Value.Tuple - [ Value.Integer 13079939052566739757; Value.Integer 12381532322878629770 ]; - Value.Tuple - [ Value.Integer 16349923815708424697; Value.Integer 1641857348316123500 ]; - Value.Tuple - [ Value.Integer 10218702384817765435; Value.Integer 12555375888766046947 ]; - Value.Tuple - [ Value.Integer 12773377981022206794; Value.Integer 11082533842530170780 ]; - Value.Tuple - [ Value.Integer 15966722476277758493; Value.Integer 4629795266307937667 ]; - Value.Tuple - [ Value.Integer 9979201547673599058; Value.Integer 5199465050656154994 ]; - Value.Tuple - [ Value.Integer 12474001934591998822; Value.Integer 15722703350174969551 ]; - Value.Tuple - [ Value.Integer 15592502418239998528; Value.Integer 10430007150863936130 ]; - Value.Tuple - [ Value.Integer 9745314011399999080; Value.Integer 6518754469289960081 ]; - Value.Tuple - [ Value.Integer 12181642514249998850; Value.Integer 8148443086612450102 ]; - Value.Tuple - [ Value.Integer 15227053142812498563; Value.Integer 962181821410786819 ]; - Value.Tuple - [ Value.Integer 9516908214257811601; Value.Integer 16742264702877599426 ]; - Value.Tuple - [ Value.Integer 11896135267822264502; Value.Integer 7092772823314835570 ]; - Value.Tuple - [ Value.Integer 14870169084777830627; Value.Integer 18089338065998320271 ]; - Value.Tuple - [ Value.Integer 9293855677986144142; Value.Integer 8999993282035256217 ]; - Value.Tuple - [ Value.Integer 11617319597482680178; Value.Integer 2026619565689294464 ]; - Value.Tuple - [ Value.Integer 14521649496853350222; Value.Integer 11756646493966393888 ]; - Value.Tuple - [ Value.Integer 18152061871066687778; Value.Integer 5472436080603216552 ]; - Value.Tuple - [ Value.Integer 11345038669416679861; Value.Integer 8031958568804398249 ]; - Value.Tuple - [ Value.Integer 14181298336770849826; Value.Integer 14651634229432885715 ]; - Value.Tuple - [ Value.Integer 17726622920963562283; Value.Integer 9091170749936331336 ]; - Value.Tuple - [ Value.Integer 11079139325602226427; Value.Integer 3376138709496513133 ]; - Value.Tuple - [ Value.Integer 13848924157002783033; Value.Integer 18055231442152805128 ]; - Value.Tuple - [ Value.Integer 17311155196253478792; Value.Integer 8733981247408842698 ]; - Value.Tuple - [ Value.Integer 10819471997658424245; Value.Integer 5458738279630526686 ]; - Value.Tuple - [ Value.Integer 13524339997073030306; Value.Integer 11435108867965546262 ]; - Value.Tuple - [ Value.Integer 16905424996341287883; Value.Integer 5070514048102157020 ]; - Value.Tuple - [ Value.Integer 10565890622713304927; Value.Integer 863228270850154185 ]; - Value.Tuple - [ Value.Integer 13207363278391631158; Value.Integer 14914093393844856443 ]; - Value.Tuple - [ Value.Integer 16509204097989538948; Value.Integer 9419244705451294746 ]; - Value.Tuple - [ Value.Integer 10318252561243461842; Value.Integer 15110399977761835024 ]; - Value.Tuple - [ Value.Integer 12897815701554327303; Value.Integer 9664627935347517973 ]; - Value.Tuple - [ Value.Integer 16122269626942909129; Value.Integer 7469098900757009562 ]; - Value.Tuple - [ Value.Integer 10076418516839318205; Value.Integer 16197401859041600736 ]; - Value.Tuple - [ Value.Integer 12595523146049147757; Value.Integer 6411694268519837208 ]; - Value.Tuple - [ Value.Integer 15744403932561434696; Value.Integer 12626303854077184414 ]; - Value.Tuple - [ Value.Integer 9840252457850896685; Value.Integer 7891439908798240259 ]; - Value.Tuple - [ Value.Integer 12300315572313620856; Value.Integer 14475985904425188227 ]; - Value.Tuple - [ Value.Integer 15375394465392026070; Value.Integer 18094982380531485284 ]; - Value.Tuple - [ Value.Integer 9609621540870016294; Value.Integer 6697677969404790399 ]; - Value.Tuple - [ Value.Integer 12012026926087520367; Value.Integer 17595469498610763806 ]; - Value.Tuple - [ Value.Integer 15015033657609400459; Value.Integer 17382650854836066854 ]; - Value.Tuple - [ Value.Integer 9384396036005875287; Value.Integer 8558313775058847832 ]; - Value.Tuple - [ Value.Integer 11730495045007344109; Value.Integer 6086206200396171886 ]; - Value.Tuple - [ Value.Integer 14663118806259180136; Value.Integer 12219443768922602761 ]; - Value.Tuple - [ Value.Integer 18328898507823975170; Value.Integer 15274304711153253452 ]; - Value.Tuple - [ Value.Integer 11455561567389984481; Value.Integer 14158126462898171311 ]; - Value.Tuple - [ Value.Integer 14319451959237480602; Value.Integer 3862600023340550427 ]; - Value.Tuple - [ Value.Integer 17899314949046850752; Value.Integer 14051622066030463842 ]; - Value.Tuple - [ Value.Integer 11187071843154281720; Value.Integer 8782263791269039901 ]; - Value.Tuple - [ Value.Integer 13983839803942852150; Value.Integer 10977829739086299876 ]; - Value.Tuple - [ Value.Integer 17479799754928565188; Value.Integer 4498915137003099037 ]; - Value.Tuple - [ Value.Integer 10924874846830353242; Value.Integer 12035193997481712706 ]; - Value.Tuple - [ Value.Integer 13656093558537941553; Value.Integer 5820620459997365075 ]; - Value.Tuple - [ Value.Integer 17070116948172426941; Value.Integer 11887461593424094248 ]; - Value.Tuple - [ Value.Integer 10668823092607766838; Value.Integer 9735506505103752857 ]; - Value.Tuple - [ Value.Integer 13336028865759708548; Value.Integer 2946011094524915263 ]; - Value.Tuple - [ Value.Integer 16670036082199635685; Value.Integer 3682513868156144079 ]; - Value.Tuple - [ Value.Integer 10418772551374772303; Value.Integer 4607414176811284001 ]; - Value.Tuple - [ Value.Integer 13023465689218465379; Value.Integer 1147581702586717097 ]; - Value.Tuple - [ Value.Integer 16279332111523081723; Value.Integer 15269535183515560084 ]; - Value.Tuple - [ Value.Integer 10174582569701926077; Value.Integer 7237616480483531100 ]; - Value.Tuple - [ Value.Integer 12718228212127407596; Value.Integer 13658706619031801779 ]; - Value.Tuple - [ Value.Integer 15897785265159259495; Value.Integer 17073383273789752224 ]; - Value.Tuple - [ Value.Integer 9936115790724537184; Value.Integer 17588393573759676996 ]; - Value.Tuple - [ Value.Integer 12420144738405671481; Value.Integer 3538747893490044629 ]; - Value.Tuple - [ Value.Integer 15525180923007089351; Value.Integer 9035120885289943691 ]; - Value.Tuple - [ Value.Integer 9703238076879430844; Value.Integer 12564479580947296663 ]; - Value.Tuple - [ Value.Integer 12129047596099288555; Value.Integer 15705599476184120828 ]; - Value.Tuple - [ Value.Integer 15161309495124110694; Value.Integer 15020313326802763131 ]; - Value.Tuple - [ Value.Integer 9475818434452569184; Value.Integer 4776009810824339053 ]; - Value.Tuple - [ Value.Integer 11844773043065711480; Value.Integer 5970012263530423816 ]; - Value.Tuple - [ Value.Integer 14805966303832139350; Value.Integer 7462515329413029771 ]; - Value.Tuple - [ Value.Integer 9253728939895087094; Value.Integer 52386062455755702 ]; - Value.Tuple - [ Value.Integer 11567161174868858867; Value.Integer 9288854614924470436 ]; - Value.Tuple - [ Value.Integer 14458951468586073584; Value.Integer 6999382250228200141 ]; - Value.Tuple - [ Value.Integer 18073689335732591980; Value.Integer 8749227812785250177 ]; - Value.Tuple - [ Value.Integer 11296055834832869987; Value.Integer 14691639419845557168 ]; - Value.Tuple - [ Value.Integer 14120069793541087484; Value.Integer 13752863256379558556 ]; - Value.Tuple - [ Value.Integer 17650087241926359355; Value.Integer 17191079070474448196 ]; - Value.Tuple - [ Value.Integer 11031304526203974597; Value.Integer 8438581409832836170 ]; - Value.Tuple - [ Value.Integer 13789130657754968246; Value.Integer 15159912780718433117 ]; - Value.Tuple - [ Value.Integer 17236413322193710308; Value.Integer 9726518939043265588 ]; - Value.Tuple - [ Value.Integer 10772758326371068942; Value.Integer 15302446373756816800 ]; - Value.Tuple - [ Value.Integer 13465947907963836178; Value.Integer 9904685930341245193 ]; - Value.Tuple - [ Value.Integer 16832434884954795223; Value.Integer 3157485376071780683 ]; - Value.Tuple - [ Value.Integer 10520271803096747014; Value.Integer 8890957387685944783 ]; - Value.Tuple - [ Value.Integer 13150339753870933768; Value.Integer 1890324697752655170 ]; - Value.Tuple - [ Value.Integer 16437924692338667210; Value.Integer 2362905872190818963 ]; - Value.Tuple - [ Value.Integer 10273702932711667006; Value.Integer 6088502188546649756 ]; - Value.Tuple - [ Value.Integer 12842128665889583757; Value.Integer 16833999772538088003 ]; - Value.Tuple - [ Value.Integer 16052660832361979697; Value.Integer 7207441660390446292 ]; - Value.Tuple - [ Value.Integer 10032913020226237310; Value.Integer 16033866083812498692 ]; - Value.Tuple - [ Value.Integer 12541141275282796638; Value.Integer 10818960567910847557 ]; - Value.Tuple - [ Value.Integer 15676426594103495798; Value.Integer 4300328673033783639 ]; - Value.Tuple - [ Value.Integer 9797766621314684873; Value.Integer 16522763475928278486 ]; - Value.Tuple - [ Value.Integer 12247208276643356092; Value.Integer 6818396289628184396 ]; - Value.Tuple - [ Value.Integer 15309010345804195115; Value.Integer 8522995362035230495 ]; - Value.Tuple - [ Value.Integer 9568131466127621947; Value.Integer 3021029092058325107 ]; - Value.Tuple - [ Value.Integer 11960164332659527433; Value.Integer 17611344420355070096 ]; - Value.Tuple - [ Value.Integer 14950205415824409292; Value.Integer 8179122470161673908 ]; - Value.Tuple - [ Value.Integer 9343878384890255807; Value.Integer 14335323580705822000 ]; - Value.Tuple - [ Value.Integer 11679847981112819759; Value.Integer 13307468457454889596 ]; - Value.Tuple - [ Value.Integer 14599809976391024699; Value.Integer 12022649553391224092 ]; - Value.Tuple - [ Value.Integer 18249762470488780874; Value.Integer 10416625923311642211 ]; - Value.Tuple - [ Value.Integer 11406101544055488046; Value.Integer 11122077220497164286 ]; - Value.Tuple - [ Value.Integer 14257626930069360058; Value.Integer 4679224488766679549 ]; - Value.Tuple - [ Value.Integer 17822033662586700072; Value.Integer 15072402647813125244 ]; - Value.Tuple - [ Value.Integer 11138771039116687545; Value.Integer 9420251654883203278 ]; - Value.Tuple - [ Value.Integer 13923463798895859431; Value.Integer 16387000587031392001 ]; - Value.Tuple - [ Value.Integer 17404329748619824289; Value.Integer 15872064715361852097 ]; - Value.Tuple - [ Value.Integer 10877706092887390181; Value.Integer 3002511419460075705 ]; - Value.Tuple - [ Value.Integer 13597132616109237726; Value.Integer 8364825292752482535 ]; - Value.Tuple - [ Value.Integer 16996415770136547158; Value.Integer 1232659579085827361 ]; - Value.Tuple - [ Value.Integer 10622759856335341973; Value.Integer 14605470292210805812 ]; - Value.Tuple - [ Value.Integer 13278449820419177467; Value.Integer 4421779809981343554 ]; - Value.Tuple - [ Value.Integer 16598062275523971834; Value.Integer 915538744049291538 ]; - Value.Tuple - [ Value.Integer 10373788922202482396; Value.Integer 5183897733458195115 ]; - Value.Tuple - [ Value.Integer 12967236152753102995; Value.Integer 6479872166822743894 ]; - Value.Tuple - [ Value.Integer 16209045190941378744; Value.Integer 3488154190101041964 ]; - Value.Tuple - [ Value.Integer 10130653244338361715; Value.Integer 2180096368813151227 ]; - Value.Tuple - [ Value.Integer 12663316555422952143; Value.Integer 16560178516298602746 ]; - Value.Tuple - [ Value.Integer 15829145694278690179; Value.Integer 16088537126945865529 ]; - Value.Tuple - [ Value.Integer 9893216058924181362; Value.Integer 7749492695127472003 ]; - Value.Tuple - [ Value.Integer 12366520073655226703; Value.Integer 463493832054564196 ]; - Value.Tuple - [ Value.Integer 15458150092069033378; Value.Integer 14414425345350368957 ]; - Value.Tuple - [ Value.Integer 9661343807543145861; Value.Integer 13620701859271368502 ]; - Value.Tuple - [ Value.Integer 12076679759428932327; Value.Integer 3190819268807046916 ]; - Value.Tuple - [ Value.Integer 15095849699286165408; Value.Integer 17823582141290972357 ]; - Value.Tuple - [ Value.Integer 9434906062053853380; Value.Integer 11139738838306857723 ]; - Value.Tuple - [ Value.Integer 11793632577567316725; Value.Integer 13924673547883572154 ]; - Value.Tuple - [ Value.Integer 14742040721959145907; Value.Integer 3570783879572301480 ]; - Value.Tuple - [ Value.Integer 18427550902448932383; Value.Integer 18298537904747540562 ]; - Value.Tuple - [ Value.Integer 11517219314030582739; Value.Integer 18354115218108294707 ]; - Value.Tuple - [ Value.Integer 14396524142538228424; Value.Integer 18330958004207980480 ]; - Value.Tuple - [ Value.Integer 17995655178172785531; Value.Integer 4466953431550423984 ]; - Value.Tuple - [ Value.Integer 11247284486357990957; Value.Integer 486002885505321038 ]; - Value.Tuple - [ Value.Integer 14059105607947488696; Value.Integer 5219189625309039202 ]; - Value.Tuple - [ Value.Integer 17573882009934360870; Value.Integer 6523987031636299002 ]; - Value.Tuple - [ Value.Integer 10983676256208975543; Value.Integer 17912549950054850588 ]; - Value.Tuple - [ Value.Integer 13729595320261219429; Value.Integer 17779001419141175331 ]; - Value.Tuple - [ Value.Integer 17161994150326524287; Value.Integer 8388693718644305452 ]; - Value.Tuple - [ Value.Integer 10726246343954077679; Value.Integer 12160462601793772764 ]; - Value.Tuple - [ Value.Integer 13407807929942597099; Value.Integer 10588892233814828051 ]; - Value.Tuple - [ Value.Integer 16759759912428246374; Value.Integer 8624429273841147159 ]; - Value.Tuple - [ Value.Integer 10474849945267653984; Value.Integer 778582277723329070 ]; - Value.Tuple - [ Value.Integer 13093562431584567480; Value.Integer 973227847154161338 ]; - Value.Tuple - [ Value.Integer 16366953039480709350; Value.Integer 1216534808942701673 ]; - Value.Tuple - [ Value.Integer 10229345649675443343; Value.Integer 14595392310871352257 ]; - Value.Tuple - [ Value.Integer 12786682062094304179; Value.Integer 13632554370161802418 ]; - Value.Tuple - [ Value.Integer 15983352577617880224; Value.Integer 12429006944274865118 ]; - Value.Tuple - [ Value.Integer 9989595361011175140; Value.Integer 7768129340171790699 ]; - Value.Tuple - [ Value.Integer 12486994201263968925; Value.Integer 9710161675214738374 ]; - Value.Tuple - [ Value.Integer 15608742751579961156; Value.Integer 16749388112445810871 ]; - Value.Tuple - [ Value.Integer 9755464219737475723; Value.Integer 1244995533423855986 ]; - Value.Tuple - [ Value.Integer 12194330274671844653; Value.Integer 15391302472061983695 ]; - Value.Tuple - [ Value.Integer 15242912843339805817; Value.Integer 5404070034795315907 ]; - Value.Tuple - [ Value.Integer 9526820527087378635; Value.Integer 14906758817815542202 ]; - Value.Tuple - [ Value.Integer 11908525658859223294; Value.Integer 14021762503842039848 ]; - Value.Tuple - [ Value.Integer 14885657073574029118; Value.Integer 8303831092947774002 ]; - Value.Tuple - [ Value.Integer 9303535670983768199; Value.Integer 578208414664970847 ]; - Value.Tuple - [ Value.Integer 11629419588729710248; Value.Integer 14557818573613377271 ]; - Value.Tuple - [ Value.Integer 14536774485912137810; Value.Integer 18197273217016721589 ]; - Value.Tuple - [ Value.Integer 18170968107390172263; Value.Integer 13523219484416126178 ]; - Value.Tuple - [ Value.Integer 11356855067118857664; Value.Integer 15369541205401160717 ]; - Value.Tuple - [ Value.Integer 14196068833898572081; Value.Integer 765182433041899281 ]; - Value.Tuple - [ Value.Integer 17745086042373215101; Value.Integer 5568164059729762005 ]; - Value.Tuple - [ Value.Integer 11090678776483259438; Value.Integer 5785945546544795205 ]; - Value.Tuple - [ Value.Integer 13863348470604074297; Value.Integer 16455803970035769814 ]; - Value.Tuple - [ Value.Integer 17329185588255092872; Value.Integer 6734696907262548556 ]; - Value.Tuple - [ Value.Integer 10830740992659433045; Value.Integer 4209185567039092847 ]; - Value.Tuple - [ Value.Integer 13538426240824291306; Value.Integer 9873167977226253963 ]; - Value.Tuple - [ Value.Integer 16923032801030364133; Value.Integer 3118087934678041646 ]; - Value.Tuple - [ Value.Integer 10576895500643977583; Value.Integer 4254647968387469981 ]; - Value.Tuple - [ Value.Integer 13221119375804971979; Value.Integer 706623942056949572 ]; - Value.Tuple - [ Value.Integer 16526399219756214973; Value.Integer 14718337982853350677 ]; - Value.Tuple - [ Value.Integer 10328999512347634358; Value.Integer 11504804248497038125 ]; - Value.Tuple - [ Value.Integer 12911249390434542948; Value.Integer 5157633273766521849 ]; - Value.Tuple - [ Value.Integer 16139061738043178685; Value.Integer 6447041592208152311 ]; - Value.Tuple - [ Value.Integer 10086913586276986678; Value.Integer 6335244004343789146 ]; - Value.Tuple - [ Value.Integer 12608641982846233347; Value.Integer 17142427042284512241 ]; - Value.Tuple - [ Value.Integer 15760802478557791684; Value.Integer 16816347784428252397 ]; - Value.Tuple - [ Value.Integer 9850501549098619803; Value.Integer 1286845328412881940 ]; - Value.Tuple - [ Value.Integer 12313126936373274753; Value.Integer 15443614715798266137 ]; - Value.Tuple - [ Value.Integer 15391408670466593442; Value.Integer 5469460339465668959 ]; - Value.Tuple - [ Value.Integer 9619630419041620901; Value.Integer 8030098730593431003 ]; - Value.Tuple - [ Value.Integer 12024538023802026126; Value.Integer 14649309431669176658 ]; - Value.Tuple - [ Value.Integer 15030672529752532658; Value.Integer 9088264752731695015 ]; - Value.Tuple - [ Value.Integer 9394170331095332911; Value.Integer 10291851488884697288 ]; - Value.Tuple - [ Value.Integer 11742712913869166139; Value.Integer 8253128342678483706 ]; - Value.Tuple - [ Value.Integer 14678391142336457674; Value.Integer 5704724409920716729 ]; - Value.Tuple - [ Value.Integer 18347988927920572092; Value.Integer 16354277549255671720 ]; - Value.Tuple - [ Value.Integer 11467493079950357558; Value.Integer 998051431430019017 ]; - Value.Tuple - [ Value.Integer 14334366349937946947; Value.Integer 10470936326142299579 ]; - Value.Tuple - [ Value.Integer 17917957937422433684; Value.Integer 8476984389250486570 ]; - Value.Tuple - [ Value.Integer 11198723710889021052; Value.Integer 14521487280136329914 ]; - Value.Tuple - [ Value.Integer 13998404638611276315; Value.Integer 18151859100170412392 ]; - Value.Tuple - [ Value.Integer 17498005798264095394; Value.Integer 18078137856785627587 ]; - Value.Tuple - [ Value.Integer 10936253623915059621; Value.Integer 15910522178918405146 ]; - Value.Tuple - [ Value.Integer 13670317029893824527; Value.Integer 6053094668365842720 ]; - Value.Tuple - [ Value.Integer 17087896287367280659; Value.Integer 2954682317029915496 ]; - Value.Tuple - [ Value.Integer 10679935179604550411; Value.Integer 17987577512639554849 ]; - Value.Tuple - [ Value.Integer 13349918974505688014; Value.Integer 17872785872372055657 ]; - Value.Tuple - [ Value.Integer 16687398718132110018; Value.Integer 13117610303610293764 ]; - Value.Tuple - [ Value.Integer 10429624198832568761; Value.Integer 12810192458183821506 ]; - Value.Tuple - [ Value.Integer 13037030248540710952; Value.Integer 2177682517447613171 ]; - Value.Tuple - [ Value.Integer 16296287810675888690; Value.Integer 2722103146809516464 ]; - Value.Tuple - [ Value.Integer 10185179881672430431; Value.Integer 6313000485183335694 ]; - Value.Tuple - [ Value.Integer 12731474852090538039; Value.Integer 3279564588051781713 ]; - Value.Tuple - [ Value.Integer 15914343565113172548; Value.Integer 17934513790346890853 ]; - Value.Tuple - [ Value.Integer 9946464728195732843; Value.Integer 1985699082112030975 ]; - Value.Tuple - [ Value.Integer 12433080910244666053; Value.Integer 16317181907922202431 ]; - Value.Tuple - [ Value.Integer 15541351137805832567; Value.Integer 6561419329620589327 ]; - Value.Tuple - [ Value.Integer 9713344461128645354; Value.Integer 11018416108653950185 ]; - Value.Tuple - [ Value.Integer 12141680576410806693; Value.Integer 4549648098962661924 ]; - Value.Tuple - [ Value.Integer 15177100720513508366; Value.Integer 10298746142130715309 ]; - Value.Tuple - [ Value.Integer 9485687950320942729; Value.Integer 1825030320404309164 ]; - Value.Tuple - [ Value.Integer 11857109937901178411; Value.Integer 6892973918932774359 ]; - Value.Tuple - [ Value.Integer 14821387422376473014; Value.Integer 4004531380238580045 ]; - Value.Tuple - [ Value.Integer 9263367138985295633; Value.Integer 16337890167931276240 ]; - Value.Tuple - [ Value.Integer 11579208923731619542; Value.Integer 6587304654631931588 ]; - Value.Tuple - [ Value.Integer 14474011154664524427; Value.Integer 17457502855144690293 ]; - Value.Tuple - [ Value.Integer 18092513943330655534; Value.Integer 17210192550503474962 ]; - Value.Tuple - [ Value.Integer 11307821214581659709; Value.Integer 6144684325637283947 ]; - Value.Tuple - [ Value.Integer 14134776518227074636; Value.Integer 12292541425473992838 ]; - Value.Tuple - [ Value.Integer 17668470647783843295; Value.Integer 15365676781842491048 ]; - Value.Tuple - [ Value.Integer 11042794154864902059; Value.Integer 16521077016292638761 ]; - Value.Tuple - [ Value.Integer 13803492693581127574; Value.Integer 16039660251938410547 ]; - Value.Tuple - [ Value.Integer 17254365866976409468; Value.Integer 10826203278068237376 ]; - Value.Tuple - [ Value.Integer 10783978666860255917; Value.Integer 15989749085647424168 ]; - Value.Tuple - [ Value.Integer 13479973333575319897; Value.Integer 6152128301777116498 ]; - Value.Tuple - [ Value.Integer 16849966666969149871; Value.Integer 12301846395648783526 ]; - Value.Tuple - [ Value.Integer 10531229166855718669; Value.Integer 14606183024921571560 ]; - Value.Tuple - [ Value.Integer 13164036458569648337; Value.Integer 4422670725869800738 ]; - Value.Tuple - [ Value.Integer 16455045573212060421; Value.Integer 10140024425764638826 ]; - Value.Tuple - [ Value.Integer 10284403483257537763; Value.Integer 8643358275316593218 ]; - Value.Tuple - [ Value.Integer 12855504354071922204; Value.Integer 6192511825718353619 ]; - Value.Tuple - [ Value.Integer 16069380442589902755; Value.Integer 7740639782147942024 ]; - Value.Tuple - [ Value.Integer 10043362776618689222; Value.Integer 2532056854628769813 ]; - Value.Tuple - [ Value.Integer 12554203470773361527; Value.Integer 12388443105140738074 ]; - Value.Tuple - [ Value.Integer 15692754338466701909; Value.Integer 10873867862998534689 ]; - Value.Tuple - [ Value.Integer 9807971461541688693; Value.Integer 9102010423587778132 ]; - Value.Tuple - [ Value.Integer 12259964326927110866; Value.Integer 15989199047912110569 ]; - Value.Tuple - [ Value.Integer 15324955408658888583; Value.Integer 10763126773035362404 ]; - Value.Tuple - [ Value.Integer 9578097130411805364; Value.Integer 13644483260788183358 ]; - Value.Tuple - [ Value.Integer 11972621413014756705; Value.Integer 17055604075985229198 ]; - Value.Tuple - [ Value.Integer 14965776766268445882; Value.Integer 7484447039699372786 ]; - Value.Tuple - [ Value.Integer 9353610478917778676; Value.Integer 9289465418239495895 ]; - Value.Tuple - [ Value.Integer 11692013098647223345; Value.Integer 11611831772799369869 ]; - Value.Tuple - [ Value.Integer 14615016373309029182; Value.Integer 679731660717048624 ]; - Value.Tuple - [ Value.Integer 18268770466636286477; Value.Integer 10073036612751086588 ]; - Value.Tuple - [ Value.Integer 11417981541647679048; Value.Integer 8601490892183123070 ]; - Value.Tuple - [ Value.Integer 14272476927059598810; Value.Integer 10751863615228903838 ]; - Value.Tuple - [ Value.Integer 17840596158824498513; Value.Integer 4216457482181353989 ]; - Value.Tuple - [ Value.Integer 11150372599265311570; Value.Integer 14164500972431816003 ]; - Value.Tuple - [ Value.Integer 13937965749081639463; Value.Integer 8482254178684994196 ]; - Value.Tuple - [ Value.Integer 17422457186352049329; Value.Integer 5991131704928854841 ]; - Value.Tuple - [ Value.Integer 10889035741470030830; Value.Integer 15273672361649004036 ]; - Value.Tuple - [ Value.Integer 13611294676837538538; Value.Integer 9868718415206479237 ]; - Value.Tuple - [ Value.Integer 17014118346046923173; Value.Integer 3112525982153323238 ]; - Value.Tuple - [ Value.Integer 10633823966279326983; Value.Integer 4251171748059520976 ]; - Value.Tuple - [ Value.Integer 13292279957849158729; Value.Integer 702278666647013315 ]; - Value.Tuple - [ Value.Integer 16615349947311448411; Value.Integer 5489534351736154548 ]; - Value.Tuple - [ Value.Integer 10384593717069655257; Value.Integer 1125115960621402641 ]; - Value.Tuple - [ Value.Integer 12980742146337069071; Value.Integer 6018080969204141205 ]; - Value.Tuple - [ Value.Integer 16225927682921336339; Value.Integer 2910915193077788602 ]; - Value.Tuple - [ Value.Integer 10141204801825835211; Value.Integer 17960223060169475540 ]; - Value.Tuple - [ Value.Integer 12676506002282294014; Value.Integer 17838592806784456521 ]; - Value.Tuple - [ Value.Integer 15845632502852867518; Value.Integer 13074868971625794844 ]; - Value.Tuple - [ Value.Integer 9903520314283042199; Value.Integer 3560107088838733873 ]; - Value.Tuple - [ Value.Integer 12379400392853802748; Value.Integer 18285191916330581054 ]; - Value.Tuple - [ Value.Integer 15474250491067253436; Value.Integer 4409745821703674701 ]; - Value.Tuple - [ Value.Integer 9671406556917033397; Value.Integer 11979463175419572496 ]; - Value.Tuple - [ Value.Integer 12089258196146291747; Value.Integer 1139270913992301908 ]; - Value.Tuple - [ Value.Integer 15111572745182864683; Value.Integer 15259146697772541097 ]; - Value.Tuple - [ Value.Integer 9444732965739290427; Value.Integer 7231123676894144234 ]; - Value.Tuple - [ Value.Integer 11805916207174113034; Value.Integer 4427218577690292388 ]; - Value.Tuple - [ Value.Integer 14757395258967641292; Value.Integer 14757395258967641293 ]; - Value.Tuple [ Value.Integer 9223372036854775808; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 11529215046068469760; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 14411518807585587200; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 18014398509481984000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 11258999068426240000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 14073748835532800000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 17592186044416000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 10995116277760000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 13743895347200000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 17179869184000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 10737418240000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 13421772800000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 16777216000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 10485760000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 13107200000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 16384000000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 10240000000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 12800000000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 16000000000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 10000000000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 12500000000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 15625000000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 9765625000000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 12207031250000000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 15258789062500000000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 9536743164062500000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 11920928955078125000; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 14901161193847656250; Value.Integer 0 ]; - Value.Tuple - [ Value.Integer 9313225746154785156; Value.Integer 4611686018427387904 ]; - Value.Tuple - [ Value.Integer 11641532182693481445; Value.Integer 5764607523034234880 ]; - Value.Tuple - [ Value.Integer 14551915228366851806; Value.Integer 11817445422220181504 ]; - Value.Tuple - [ Value.Integer 18189894035458564758; Value.Integer 5548434740920451072 ]; - Value.Tuple - [ Value.Integer 11368683772161602973; Value.Integer 17302829768357445632 ]; - Value.Tuple - [ Value.Integer 14210854715202003717; Value.Integer 7793479155164643328 ]; - Value.Tuple - [ Value.Integer 17763568394002504646; Value.Integer 14353534962383192064 ]; - Value.Tuple - [ Value.Integer 11102230246251565404; Value.Integer 4359273333062107136 ]; - Value.Tuple - [ Value.Integer 13877787807814456755; Value.Integer 5449091666327633920 ]; - Value.Tuple - [ Value.Integer 17347234759768070944; Value.Integer 2199678564482154496 ]; - Value.Tuple - [ Value.Integer 10842021724855044340; Value.Integer 1374799102801346560 ]; - Value.Tuple - [ Value.Integer 13552527156068805425; Value.Integer 1718498878501683200 ]; - Value.Tuple - [ Value.Integer 16940658945086006781; Value.Integer 6759809616554491904 ]; - Value.Tuple - [ Value.Integer 10587911840678754238; Value.Integer 6530724019560251392 ]; - Value.Tuple - [ Value.Integer 13234889800848442797; Value.Integer 17386777061305090048 ]; - Value.Tuple - [ Value.Integer 16543612251060553497; Value.Integer 7898413271349198848 ]; - Value.Tuple - [ Value.Integer 10339757656912845935; Value.Integer 16465723340661719040 ]; - Value.Tuple - [ Value.Integer 12924697071141057419; Value.Integer 15970468157399760896 ]; - Value.Tuple - [ Value.Integer 16155871338926321774; Value.Integer 15351399178322313216 ]; - Value.Tuple - [ Value.Integer 10097419586828951109; Value.Integer 4982938468024057856 ]; - Value.Tuple - [ Value.Integer 12621774483536188886; Value.Integer 10840359103457460224 ]; - Value.Tuple - [ Value.Integer 15777218104420236108; Value.Integer 4327076842467049472 ]; - Value.Tuple - [ Value.Integer 9860761315262647567; Value.Integer 11927795063396681728 ]; - Value.Tuple - [ Value.Integer 12325951644078309459; Value.Integer 10298057810818464256 ]; - Value.Tuple - [ Value.Integer 15407439555097886824; Value.Integer 8260886245095692416 ]; - Value.Tuple - [ Value.Integer 9629649721936179265; Value.Integer 5163053903184807760 ]; - Value.Tuple - [ Value.Integer 12037062152420224081; Value.Integer 11065503397408397604 ]; - Value.Tuple - [ Value.Integer 15046327690525280101; Value.Integer 18443565265187884909 ]; - Value.Tuple - [ Value.Integer 9403954806578300063; Value.Integer 13833071299956122020 ]; - Value.Tuple - [ Value.Integer 11754943508222875079; Value.Integer 12679653106517764621 ]; - Value.Tuple - [ Value.Integer 14693679385278593849; Value.Integer 11237880364719817872 ]; - Value.Tuple - [ Value.Integer 18367099231598242312; Value.Integer 212292400617608628 ]; - Value.Tuple - [ Value.Integer 11479437019748901445; Value.Integer 132682750386005392 ]; - Value.Tuple - [ Value.Integer 14349296274686126806; Value.Integer 4777539456409894645 ]; - Value.Tuple - [ Value.Integer 17936620343357658507; Value.Integer 15195296357367144114 ]; - Value.Tuple - [ Value.Integer 11210387714598536567; Value.Integer 7191217214140771119 ]; - Value.Tuple - [ Value.Integer 14012984643248170709; Value.Integer 4377335499248575995 ]; - Value.Tuple - [ Value.Integer 17516230804060213386; Value.Integer 10083355392488107898 ]; - Value.Tuple - [ Value.Integer 10947644252537633366; Value.Integer 10913783138732455340 ]; - Value.Tuple - [ Value.Integer 13684555315672041708; Value.Integer 4418856886560793367 ]; - Value.Tuple - [ Value.Integer 17105694144590052135; Value.Integer 5523571108200991709 ]; - Value.Tuple - [ Value.Integer 10691058840368782584; Value.Integer 10369760970266701674 ]; - Value.Tuple - [ Value.Integer 13363823550460978230; Value.Integer 12962201212833377092 ]; - Value.Tuple - [ Value.Integer 16704779438076222788; Value.Integer 6979379479186945558 ]; - Value.Tuple - [ Value.Integer 10440487148797639242; Value.Integer 13585484211346616781 ]; - Value.Tuple - [ Value.Integer 13050608935997049053; Value.Integer 7758483227328495169 ]; - Value.Tuple - [ Value.Integer 16313261169996311316; Value.Integer 14309790052588006865 ]; - Value.Tuple - [ Value.Integer 10195788231247694572; Value.Integer 18166990819722280098 ]; - Value.Tuple - [ Value.Integer 12744735289059618216; Value.Integer 4261994450943298507 ]; - Value.Tuple - [ Value.Integer 15930919111324522770; Value.Integer 5327493063679123134 ]; - Value.Tuple - [ Value.Integer 9956824444577826731; Value.Integer 7941369183226839863 ]; - Value.Tuple - [ Value.Integer 12446030555722283414; Value.Integer 5315025460606161924 ]; - Value.Tuple - [ Value.Integer 15557538194652854267; Value.Integer 15867153862612478214 ]; - Value.Tuple - [ Value.Integer 9723461371658033917; Value.Integer 7611128154919104931 ]; - Value.Tuple - [ Value.Integer 12154326714572542396; Value.Integer 14125596212076269068 ]; - Value.Tuple - [ Value.Integer 15192908393215677995; Value.Integer 17656995265095336336 ]; - Value.Tuple - [ Value.Integer 9495567745759798747; Value.Integer 8729779031470891258 ]; - Value.Tuple - [ Value.Integer 11869459682199748434; Value.Integer 6300537770911226168 ]; - Value.Tuple - [ Value.Integer 14836824602749685542; Value.Integer 17099044250493808518 ]; - Value.Tuple - [ Value.Integer 9273015376718553464; Value.Integer 6075216638131242420 ]; - Value.Tuple - [ Value.Integer 11591269220898191830; Value.Integer 7594020797664053025 ]; - Value.Tuple - [ Value.Integer 14489086526122739788; Value.Integer 269153960225290473 ]; - Value.Tuple - [ Value.Integer 18111358157653424735; Value.Integer 336442450281613091 ]; - Value.Tuple - [ Value.Integer 11319598848533390459; Value.Integer 7127805559067090038 ]; - Value.Tuple - [ Value.Integer 14149498560666738074; Value.Integer 4298070930406474644 ]; - Value.Tuple - [ Value.Integer 17686873200833422592; Value.Integer 14595960699862869113 ]; - Value.Tuple - [ Value.Integer 11054295750520889120; Value.Integer 9122475437414293195 ]; - Value.Tuple - [ Value.Integer 13817869688151111400; Value.Integer 11403094296767866494 ]; - Value.Tuple - [ Value.Integer 17272337110188889250; Value.Integer 14253867870959833118 ]; - Value.Tuple - [ Value.Integer 10795210693868055781; Value.Integer 13520353437777283602 ]; - Value.Tuple - [ Value.Integer 13494013367335069727; Value.Integer 3065383741939440791 ]; - Value.Tuple - [ Value.Integer 16867516709168837158; Value.Integer 17666787732706464701 ]; - Value.Tuple - [ Value.Integer 10542197943230523224; Value.Integer 6430056314514152534 ]; - Value.Tuple - [ Value.Integer 13177747429038154030; Value.Integer 8037570393142690668 ]; - Value.Tuple - [ Value.Integer 16472184286297692538; Value.Integer 823590954573587527 ]; - Value.Tuple - [ Value.Integer 10295115178936057836; Value.Integer 5126430365035880108 ]; - Value.Tuple - [ Value.Integer 12868893973670072295; Value.Integer 6408037956294850135 ]; - Value.Tuple - [ Value.Integer 16086117467087590369; Value.Integer 3398361426941174765 ]; - Value.Tuple - [ Value.Integer 10053823416929743980; Value.Integer 13653190937906703988 ]; - Value.Tuple - [ Value.Integer 12567279271162179975; Value.Integer 17066488672383379985 ]; - Value.Tuple - [ Value.Integer 15709099088952724969; Value.Integer 16721424822051837077 ]; - Value.Tuple - [ Value.Integer 9818186930595453106; Value.Integer 3533361486141316317 ]; - Value.Tuple - [ Value.Integer 12272733663244316382; Value.Integer 13640073894531421205 ]; - Value.Tuple - [ Value.Integer 15340917079055395478; Value.Integer 7826720331309500698 ]; - Value.Tuple - [ Value.Integer 9588073174409622174; Value.Integer 280014188641050032 ]; - Value.Tuple - [ Value.Integer 11985091468012027717; Value.Integer 9573389772656088348 ]; - Value.Tuple - [ Value.Integer 14981364335015034646; Value.Integer 16578423234247498339 ]; - Value.Tuple - [ Value.Integer 9363352709384396654; Value.Integer 5749828502977298558 ]; - Value.Tuple - [ Value.Integer 11704190886730495817; Value.Integer 16410657665576399005 ]; - Value.Tuple - [ Value.Integer 14630238608413119772; Value.Integer 6678264026688335045 ]; - Value.Tuple - [ Value.Integer 18287798260516399715; Value.Integer 8347830033360418806 ]; - Value.Tuple - [ Value.Integer 11429873912822749822; Value.Integer 2911550761636567802 ]; - Value.Tuple - [ Value.Integer 14287342391028437277; Value.Integer 12862810488900485560 ]; - Value.Tuple - [ Value.Integer 17859177988785546597; Value.Integer 2243455055843443238 ]; - Value.Tuple - [ Value.Integer 11161986242990966623; Value.Integer 3708002419115845976 ]; - Value.Tuple - [ Value.Integer 13952482803738708279; Value.Integer 23317005467419566 ]; - Value.Tuple - [ Value.Integer 17440603504673385348; Value.Integer 13864204312116438170 ]; - Value.Tuple - [ Value.Integer 10900377190420865842; Value.Integer 17888499731927549664 ]; - Value.Tuple - [ Value.Integer 13625471488026082303; Value.Integer 13137252628054661272 ]; - Value.Tuple - [ Value.Integer 17031839360032602879; Value.Integer 11809879766640938686 ]; - Value.Tuple - [ Value.Integer 10644899600020376799; Value.Integer 14298703881791668535 ]; - Value.Tuple - [ Value.Integer 13306124500025470999; Value.Integer 13261693833812197764 ]; - Value.Tuple - [ Value.Integer 16632655625031838749; Value.Integer 11965431273837859301 ]; - Value.Tuple - [ Value.Integer 10395409765644899218; Value.Integer 9784237555362356015 ]; - Value.Tuple - [ Value.Integer 12994262207056124023; Value.Integer 3006924907348169211 ]; - Value.Tuple - [ Value.Integer 16242827758820155028; Value.Integer 17593714189467375226 ]; - Value.Tuple - [ Value.Integer 10151767349262596893; Value.Integer 1772699331562333708 ]; - Value.Tuple - [ Value.Integer 12689709186578246116; Value.Integer 6827560182880305039 ]; - Value.Tuple - [ Value.Integer 15862136483222807645; Value.Integer 8534450228600381299 ]; - Value.Tuple - [ Value.Integer 9913835302014254778; Value.Integer 7639874402088932264 ]; - Value.Tuple - [ Value.Integer 12392294127517818473; Value.Integer 326470965756389522 ]; - Value.Tuple - [ Value.Integer 15490367659397273091; Value.Integer 5019774725622874806 ]; - Value.Tuple - [ Value.Integer 9681479787123295682; Value.Integer 831516194300602802 ]; - Value.Tuple - [ Value.Integer 12101849733904119602; Value.Integer 10262767279730529310 ]; - Value.Tuple - [ Value.Integer 15127312167380149503; Value.Integer 3605087062808385830 ]; - Value.Tuple - [ Value.Integer 9454570104612593439; Value.Integer 9170708441896323000 ]; - Value.Tuple - [ Value.Integer 11818212630765741799; Value.Integer 6851699533943015846 ]; - Value.Tuple - [ Value.Integer 14772765788457177249; Value.Integer 3952938399001381903 ]; - Value.Tuple - [ Value.Integer 9232978617785735780; Value.Integer 13999801545444333449 ]; - Value.Tuple - [ Value.Integer 11541223272232169725; Value.Integer 17499751931805416812 ]; - Value.Tuple - [ Value.Integer 14426529090290212157; Value.Integer 8039631859474607303 ]; - Value.Tuple - [ Value.Integer 18033161362862765196; Value.Integer 14661225842770647033 ]; - Value.Tuple - [ Value.Integer 11270725851789228247; Value.Integer 18386638188586430203 ]; - Value.Tuple - [ Value.Integer 14088407314736535309; Value.Integer 18371611717305649850 ]; - Value.Tuple - [ Value.Integer 17610509143420669137; Value.Integer 9129456591349898601 ]; - Value.Tuple - [ Value.Integer 11006568214637918210; Value.Integer 17235125415662156385 ]; - Value.Tuple - [ Value.Integer 13758210268297397763; Value.Integer 12320534732722919674 ]; - Value.Tuple - [ Value.Integer 17197762835371747204; Value.Integer 10788982397476261688 ]; - Value.Tuple - [ Value.Integer 10748601772107342002; Value.Integer 15966486035277439363 ]; - Value.Tuple - [ Value.Integer 13435752215134177503; Value.Integer 10734735507242023396 ]; - Value.Tuple - [ Value.Integer 16794690268917721879; Value.Integer 8806733365625141341 ]; - Value.Tuple - [ Value.Integer 10496681418073576174; Value.Integer 12421737381156795194 ]; - Value.Tuple - [ Value.Integer 13120851772591970218; Value.Integer 6303799689591218185 ]; - Value.Tuple - [ Value.Integer 16401064715739962772; Value.Integer 17103121648843798539 ]; - Value.Tuple - [ Value.Integer 10250665447337476733; Value.Integer 1466078993672598279 ]; - Value.Tuple - [ Value.Integer 12813331809171845916; Value.Integer 6444284760518135752 ]; - Value.Tuple - [ Value.Integer 16016664761464807395; Value.Integer 8055355950647669691 ]; - Value.Tuple - [ Value.Integer 10010415475915504622; Value.Integer 2728754459941099604 ]; - Value.Tuple - [ Value.Integer 12513019344894380777; Value.Integer 12634315111781150314 ]; - Value.Tuple - [ Value.Integer 15641274181117975972; Value.Integer 1957835834444274180 ]; - Value.Tuple - [ Value.Integer 9775796363198734982; Value.Integer 10447019433382447170 ]; - Value.Tuple - [ Value.Integer 12219745453998418728; Value.Integer 3835402254873283155 ]; - Value.Tuple - [ Value.Integer 15274681817498023410; Value.Integer 4794252818591603944 ]; - Value.Tuple - [ Value.Integer 9546676135936264631; Value.Integer 7608094030047140369 ]; - Value.Tuple - [ Value.Integer 11933345169920330789; Value.Integer 4898431519131537557 ]; - Value.Tuple - [ Value.Integer 14916681462400413486; Value.Integer 10734725417341809851 ]; - Value.Tuple - [ Value.Integer 9322925914000258429; Value.Integer 2097517367411243253 ]; - Value.Tuple - [ Value.Integer 11653657392500323036; Value.Integer 7233582727691441970 ]; - Value.Tuple - [ Value.Integer 14567071740625403795; Value.Integer 9041978409614302462 ]; - Value.Tuple - [ Value.Integer 18208839675781754744; Value.Integer 6690786993590490174 ]; - Value.Tuple - [ Value.Integer 11380524797363596715; Value.Integer 4181741870994056359 ]; - Value.Tuple - [ Value.Integer 14225655996704495894; Value.Integer 615491320315182544 ]; - Value.Tuple - [ Value.Integer 17782069995880619867; Value.Integer 9992736187248753989 ]; - Value.Tuple - [ Value.Integer 11113793747425387417; Value.Integer 3939617107816777291 ]; - Value.Tuple - [ Value.Integer 13892242184281734271; Value.Integer 9536207403198359517 ]; - Value.Tuple - [ Value.Integer 17365302730352167839; Value.Integer 7308573235570561493 ]; - Value.Tuple - [ Value.Integer 10853314206470104899; Value.Integer 11485387299872682789 ]; - Value.Tuple - [ Value.Integer 13566642758087631124; Value.Integer 9745048106413465582 ]; - Value.Tuple - [ Value.Integer 16958303447609538905; Value.Integer 12181310133016831978 ]; - Value.Tuple - [ Value.Integer 10598939654755961816; Value.Integer 695789805494438130 ]; - Value.Tuple - [ Value.Integer 13248674568444952270; Value.Integer 869737256868047663 ]; - Value.Tuple - [ Value.Integer 16560843210556190337; Value.Integer 10310543607939835386 ]; - Value.Tuple - [ Value.Integer 10350527006597618960; Value.Integer 17973304801030866876 ]; - Value.Tuple - [ Value.Integer 12938158758247023701; Value.Integer 4019886927579031980 ]; - Value.Tuple - [ Value.Integer 16172698447808779626; Value.Integer 9636544677901177879 ]; - Value.Tuple - [ Value.Integer 10107936529880487266; Value.Integer 10634526442115624078 ]; - Value.Tuple - [ Value.Integer 12634920662350609083; Value.Integer 4069786015789754290 ]; - Value.Tuple - [ Value.Integer 15793650827938261354; Value.Integer 475546501309804958 ]; - Value.Tuple - [ Value.Integer 9871031767461413346; Value.Integer 4908902581746016003 ]; - Value.Tuple - [ Value.Integer 12338789709326766682; Value.Integer 15359500264037295811 ]; - Value.Tuple - [ Value.Integer 15423487136658458353; Value.Integer 9976003293191843956 ]; - Value.Tuple - [ Value.Integer 9639679460411536470; Value.Integer 17764217104313372233 ]; - Value.Tuple - [ Value.Integer 12049599325514420588; Value.Integer 12981899343536939483 ]; - Value.Tuple - [ Value.Integer 15061999156893025735; Value.Integer 16227374179421174354 ]; - Value.Tuple - [ Value.Integer 9413749473058141084; Value.Integer 17059637889779315827 ]; - Value.Tuple - [ Value.Integer 11767186841322676356; Value.Integer 2877803288514593168 ]; - Value.Tuple - [ Value.Integer 14708983551653345445; Value.Integer 3597254110643241460 ]; - Value.Tuple - [ Value.Integer 18386229439566681806; Value.Integer 9108253656731439729 ]; - Value.Tuple - [ Value.Integer 11491393399729176129; Value.Integer 1080972517029761926 ]; - Value.Tuple - [ Value.Integer 14364241749661470161; Value.Integer 5962901664714590312 ]; - Value.Tuple - [ Value.Integer 17955302187076837701; Value.Integer 12065313099320625794 ]; - Value.Tuple - [ Value.Integer 11222063866923023563; Value.Integer 9846663696289085073 ]; - Value.Tuple - [ Value.Integer 14027579833653779454; Value.Integer 7696643601933968437 ]; - Value.Tuple - [ Value.Integer 17534474792067224318; Value.Integer 397432465562684739 ]; - Value.Tuple - [ Value.Integer 10959046745042015198; Value.Integer 14083453346258841674 ]; - Value.Tuple - [ Value.Integer 13698808431302518998; Value.Integer 8380944645968776284 ]; - Value.Tuple - [ Value.Integer 17123510539128148748; Value.Integer 1252808770606194547 ]; - Value.Tuple - [ Value.Integer 10702194086955092967; Value.Integer 10006377518483647400 ]; - Value.Tuple - [ Value.Integer 13377742608693866209; Value.Integer 7896285879677171346 ]; - Value.Tuple - [ Value.Integer 16722178260867332761; Value.Integer 14482043368023852087 ]; - Value.Tuple - [ Value.Integer 10451361413042082976; Value.Integer 2133748077373825698 ]; - Value.Tuple - [ Value.Integer 13064201766302603720; Value.Integer 2667185096717282123 ]; - Value.Tuple - [ Value.Integer 16330252207878254650; Value.Integer 3333981370896602653 ]; - Value.Tuple - [ Value.Integer 10206407629923909156; Value.Integer 6695424375237764562 ]; - Value.Tuple - [ Value.Integer 12758009537404886445; Value.Integer 8369280469047205703 ]; - Value.Tuple - [ Value.Integer 15947511921756108056; Value.Integer 15073286604736395033 ]; - Value.Tuple - [ Value.Integer 9967194951097567535; Value.Integer 9420804127960246895 ]; - Value.Tuple - [ Value.Integer 12458993688871959419; Value.Integer 7164319141522920715 ]; - Value.Tuple - [ Value.Integer 15573742111089949274; Value.Integer 4343712908476262990 ]; - Value.Tuple - [ Value.Integer 9733588819431218296; Value.Integer 7326506586225052273 ]; - Value.Tuple - [ Value.Integer 12166986024289022870; Value.Integer 9158133232781315341 ]; - Value.Tuple - [ Value.Integer 15208732530361278588; Value.Integer 2224294504121868368 ]; - Value.Tuple - [ Value.Integer 9505457831475799117; Value.Integer 10613556101930943538 ]; - Value.Tuple - [ Value.Integer 11881822289344748896; Value.Integer 17878631145841067327 ]; - Value.Tuple - [ Value.Integer 14852277861680936121; Value.Integer 3901544858591782542 ]; - Value.Tuple - [ Value.Integer 9282673663550585075; Value.Integer 13967680582688333849 ]; - Value.Tuple - [ Value.Integer 11603342079438231344; Value.Integer 12847914709933029407 ]; - Value.Tuple - [ Value.Integer 14504177599297789180; Value.Integer 16059893387416286759 ]; - Value.Tuple - [ Value.Integer 18130221999122236476; Value.Integer 1628122660560806833 ]; - Value.Tuple - [ Value.Integer 11331388749451397797; Value.Integer 10240948699705280078 ]; - Value.Tuple - [ Value.Integer 14164235936814247246; Value.Integer 17412871893058988002 ]; - Value.Tuple - [ Value.Integer 17705294921017809058; Value.Integer 12542717829468959195 ]; - Value.Tuple - [ Value.Integer 11065809325636130661; Value.Integer 12450884661845487401 ]; - Value.Tuple - [ Value.Integer 13832261657045163327; Value.Integer 1728547772024695539 ]; - Value.Tuple - [ Value.Integer 17290327071306454158; Value.Integer 15995742770313033136 ]; - Value.Tuple - [ Value.Integer 10806454419566533849; Value.Integer 5385653213018257806 ]; - Value.Tuple - [ Value.Integer 13508068024458167311; Value.Integer 11343752534700210161 ]; - Value.Tuple - [ Value.Integer 16885085030572709139; Value.Integer 9568004649947874797 ]; - Value.Tuple - [ Value.Integer 10553178144107943212; Value.Integer 3674159897003727796 ]; - Value.Tuple - [ Value.Integer 13191472680134929015; Value.Integer 4592699871254659745 ]; - Value.Tuple - [ Value.Integer 16489340850168661269; Value.Integer 1129188820640936778 ]; - Value.Tuple - [ Value.Integer 10305838031355413293; Value.Integer 3011586022114279438 ]; - Value.Tuple - [ Value.Integer 12882297539194266616; Value.Integer 8376168546070237202 ]; - Value.Tuple - [ Value.Integer 16102871923992833270; Value.Integer 10470210682587796502 ]; - Value.Tuple - [ Value.Integer 10064294952495520794; Value.Integer 1932195658189984910 ]; - Value.Tuple - [ Value.Integer 12580368690619400992; Value.Integer 11638616609592256945 ]; - Value.Tuple - [ Value.Integer 15725460863274251240; Value.Integer 14548270761990321182 ]; - Value.Tuple - [ Value.Integer 9828413039546407025; Value.Integer 9092669226243950738 ]; - Value.Tuple - [ Value.Integer 12285516299433008781; Value.Integer 15977522551232326327 ]; - Value.Tuple - [ Value.Integer 15356895374291260977; Value.Integer 6136845133758244197 ]; - Value.Tuple - [ Value.Integer 9598059608932038110; Value.Integer 15364743254667372383 ]; - Value.Tuple - [ Value.Integer 11997574511165047638; Value.Integer 9982557031479439671 ]; - Value.Tuple - [ Value.Integer 14996968138956309548; Value.Integer 3254824252494523781 ]; - Value.Tuple - [ Value.Integer 9373105086847693467; Value.Integer 11257637194663853171 ]; - Value.Tuple - [ Value.Integer 11716381358559616834; Value.Integer 9460360474902428559 ]; - Value.Tuple - [ Value.Integer 14645476698199521043; Value.Integer 2602078556773259891 ]; - Value.Tuple - [ Value.Integer 18306845872749401303; Value.Integer 17087656251248738576 ]; - Value.Tuple - [ Value.Integer 11441778670468375814; Value.Integer 17597314184671543466 ]; - Value.Tuple - [ Value.Integer 14302223338085469768; Value.Integer 12773270693984653525 ]; - Value.Tuple - [ Value.Integer 17877779172606837210; Value.Integer 15966588367480816906 ]; - Value.Tuple - [ Value.Integer 11173611982879273256; Value.Integer 14590803748102898470 ]; - Value.Tuple - [ Value.Integer 13967014978599091570; Value.Integer 18238504685128623088 ]; - Value.Tuple - [ Value.Integer 17458768723248864463; Value.Integer 13574758819556003052 ]; - Value.Tuple - [ Value.Integer 10911730452030540289; Value.Integer 15401753289863583763 ]; - Value.Tuple - [ Value.Integer 13639663065038175362; Value.Integer 5417133557047315992 ]; - Value.Tuple - [ Value.Integer 17049578831297719202; Value.Integer 15994788983163920798 ]; - Value.Tuple - [ Value.Integer 10655986769561074501; Value.Integer 14608429132904838403 ]; - Value.Tuple - [ Value.Integer 13319983461951343127; Value.Integer 4425478360848884291 ]; - Value.Tuple - [ Value.Integer 16649979327439178909; Value.Integer 920161932633717460 ]; - Value.Tuple - [ Value.Integer 10406237079649486818; Value.Integer 2880944217109767365 ]; - Value.Tuple - [ Value.Integer 13007796349561858522; Value.Integer 12824552308241985014 ]; - Value.Tuple - [ Value.Integer 16259745436952323153; Value.Integer 6807318348447705459 ]; - Value.Tuple - [ Value.Integer 10162340898095201970; Value.Integer 15783789013848285672 ]; - Value.Tuple - [ Value.Integer 12702926122619002463; Value.Integer 10506364230455581282 ]; - Value.Tuple - [ Value.Integer 15878657653273753079; Value.Integer 8521269269642088699 ]; - Value.Tuple - [ Value.Integer 9924161033296095674; Value.Integer 12243322321167387293 ]; - Value.Tuple - [ Value.Integer 12405201291620119593; Value.Integer 6080780864604458308 ]; - Value.Tuple - [ Value.Integer 15506501614525149491; Value.Integer 12212662099182960789 ]; - Value.Tuple - [ Value.Integer 9691563509078218432; Value.Integer 5327070802775656541 ]; - Value.Tuple - [ Value.Integer 12114454386347773040; Value.Integer 6658838503469570676 ]; - Value.Tuple - [ Value.Integer 15143067982934716300; Value.Integer 8323548129336963345 ]; - Value.Tuple - [ Value.Integer 9464417489334197687; Value.Integer 14425589617690377899 ]; - Value.Tuple - [ Value.Integer 11830521861667747109; Value.Integer 13420301003685584469 ]; - Value.Tuple - [ Value.Integer 14788152327084683887; Value.Integer 2940318199324816875 ]; - Value.Tuple - [ Value.Integer 9242595204427927429; Value.Integer 8755227902219092403 ]; - Value.Tuple - [ Value.Integer 11553244005534909286; Value.Integer 15555720896201253407 ]; - Value.Tuple - [ Value.Integer 14441555006918636608; Value.Integer 10221279083396790951 ]; - Value.Tuple - [ Value.Integer 18051943758648295760; Value.Integer 12776598854245988689 ]; - Value.Tuple - [ Value.Integer 11282464849155184850; Value.Integer 7985374283903742931 ]; - Value.Tuple - [ Value.Integer 14103081061443981063; Value.Integer 758345818024902856 ]; - Value.Tuple - [ Value.Integer 17628851326804976328; Value.Integer 14782990327813292282 ]; - Value.Tuple - [ Value.Integer 11018032079253110205; Value.Integer 9239368954883307676 ]; - Value.Tuple - [ Value.Integer 13772540099066387756; Value.Integer 16160897212031522499 ]; - Value.Tuple - [ Value.Integer 17215675123832984696; Value.Integer 1754377441329851508 ]; - Value.Tuple - [ Value.Integer 10759796952395615435; Value.Integer 1096485900831157192 ]; - Value.Tuple - [ Value.Integer 13449746190494519293; Value.Integer 15205665431321110202 ]; - Value.Tuple - [ Value.Integer 16812182738118149117; Value.Integer 5172023733869224041 ]; - Value.Tuple - [ Value.Integer 10507614211323843198; Value.Integer 5538357842881958977 ]; - Value.Tuple - [ Value.Integer 13134517764154803997; Value.Integer 16146319340457224530 ]; - Value.Tuple - [ Value.Integer 16418147205193504997; Value.Integer 6347841120289366950 ]; - Value.Tuple - [ Value.Integer 10261342003245940623; Value.Integer 6273243709394548296 ] + [ + Value.Integer IntegerKind.U64 17218479456385750618; + Value.Integer IntegerKind.U64 1242899115359157055 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10761549660241094136; + Value.Integer IntegerKind.U64 5388497965526861063 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13451937075301367670; + Value.Integer IntegerKind.U64 6735622456908576329 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16814921344126709587; + Value.Integer IntegerKind.U64 17642900107990496220 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10509325840079193492; + Value.Integer IntegerKind.U64 8720969558280366185 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13136657300098991865; + Value.Integer IntegerKind.U64 10901211947850457732 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16420821625123739831; + Value.Integer IntegerKind.U64 18238200953240460069 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10263013515702337394; + Value.Integer IntegerKind.U64 18316404623416369399 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12828766894627921743; + Value.Integer IntegerKind.U64 13672133742415685941 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16035958618284902179; + Value.Integer IntegerKind.U64 12478481159592219522 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10022474136428063862; + Value.Integer IntegerKind.U64 5493207715531443249 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12528092670535079827; + Value.Integer IntegerKind.U64 16089881681269079869 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15660115838168849784; + Value.Integer IntegerKind.U64 15500666083158961933 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9787572398855531115; + Value.Integer IntegerKind.U64 9687916301974351208 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12234465498569413894; + Value.Integer IntegerKind.U64 7498209359040551106 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15293081873211767368; + Value.Integer IntegerKind.U64 149389661945913074 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9558176170757354605; + Value.Integer IntegerKind.U64 93368538716195671 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11947720213446693256; + Value.Integer IntegerKind.U64 4728396691822632493 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14934650266808366570; + Value.Integer IntegerKind.U64 5910495864778290617 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9334156416755229106; + Value.Integer IntegerKind.U64 8305745933913819539 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11667695520944036383; + Value.Integer IntegerKind.U64 1158810380537498616 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14584619401180045478; + Value.Integer IntegerKind.U64 15283571030954036982 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18230774251475056848; + Value.Integer IntegerKind.U64 9881091751837770420 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11394233907171910530; + Value.Integer IntegerKind.U64 6175682344898606512 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14242792383964888162; + Value.Integer IntegerKind.U64 16942974967978033949 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17803490479956110203; + Value.Integer IntegerKind.U64 11955346673117766628 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11127181549972568877; + Value.Integer IntegerKind.U64 5166248661484910190 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13908976937465711096; + Value.Integer IntegerKind.U64 11069496845283525642 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17386221171832138870; + Value.Integer IntegerKind.U64 13836871056604407053 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10866388232395086794; + Value.Integer IntegerKind.U64 4036358391950366504 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13582985290493858492; + Value.Integer IntegerKind.U64 14268820026792733938 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16978731613117323115; + Value.Integer IntegerKind.U64 17836025033490917422 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10611707258198326947; + Value.Integer IntegerKind.U64 8841672636718129437 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13264634072747908684; + Value.Integer IntegerKind.U64 6440404777470273892 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16580792590934885855; + Value.Integer IntegerKind.U64 8050505971837842365 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10362995369334303659; + Value.Integer IntegerKind.U64 11949095260039733334 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12953744211667879574; + Value.Integer IntegerKind.U64 10324683056622278764 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16192180264584849468; + Value.Integer IntegerKind.U64 3682481783923072647 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10120112665365530917; + Value.Integer IntegerKind.U64 11524923151806696212 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12650140831706913647; + Value.Integer IntegerKind.U64 571095884476206553 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15812676039633642058; + Value.Integer IntegerKind.U64 14548927910877421904 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9882922524771026286; + Value.Integer IntegerKind.U64 13704765962725776594 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12353653155963782858; + Value.Integer IntegerKind.U64 7907585416552444934 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15442066444954728573; + Value.Integer IntegerKind.U64 661109733835780360 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9651291528096705358; + Value.Integer IntegerKind.U64 2719036592861056677 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12064114410120881697; + Value.Integer IntegerKind.U64 12622167777931096654 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15080143012651102122; + Value.Integer IntegerKind.U64 1942651667131707105 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9425089382906938826; + Value.Integer IntegerKind.U64 5825843310384704845 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11781361728633673532; + Value.Integer IntegerKind.U64 16505676174835656864 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14726702160792091916; + Value.Integer IntegerKind.U64 2185351144835019464 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18408377700990114895; + Value.Integer IntegerKind.U64 2731688931043774330 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11505236063118821809; + Value.Integer IntegerKind.U64 8624834609543440812 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14381545078898527261; + Value.Integer IntegerKind.U64 15392729280356688919 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17976931348623159077; + Value.Integer IntegerKind.U64 5405853545163697437 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11235582092889474423; + Value.Integer IntegerKind.U64 5684501474941004850 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14044477616111843029; + Value.Integer IntegerKind.U64 2493940825248868159 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17555597020139803786; + Value.Integer IntegerKind.U64 7729112049988473103 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10972248137587377366; + Value.Integer IntegerKind.U64 9442381049670183593 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13715310171984221708; + Value.Integer IntegerKind.U64 2579604275232953683 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17144137714980277135; + Value.Integer IntegerKind.U64 3224505344041192104 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10715086071862673209; + Value.Integer IntegerKind.U64 8932844867666826921 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13393857589828341511; + Value.Integer IntegerKind.U64 15777742103010921555 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16742321987285426889; + Value.Integer IntegerKind.U64 15110491610336264040 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10463951242053391806; + Value.Integer IntegerKind.U64 2526528228819083169 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13079939052566739757; + Value.Integer IntegerKind.U64 12381532322878629770 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16349923815708424697; + Value.Integer IntegerKind.U64 1641857348316123500 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10218702384817765435; + Value.Integer IntegerKind.U64 12555375888766046947 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12773377981022206794; + Value.Integer IntegerKind.U64 11082533842530170780 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15966722476277758493; + Value.Integer IntegerKind.U64 4629795266307937667 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9979201547673599058; + Value.Integer IntegerKind.U64 5199465050656154994 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12474001934591998822; + Value.Integer IntegerKind.U64 15722703350174969551 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15592502418239998528; + Value.Integer IntegerKind.U64 10430007150863936130 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9745314011399999080; + Value.Integer IntegerKind.U64 6518754469289960081 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12181642514249998850; + Value.Integer IntegerKind.U64 8148443086612450102 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15227053142812498563; + Value.Integer IntegerKind.U64 962181821410786819 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9516908214257811601; + Value.Integer IntegerKind.U64 16742264702877599426 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11896135267822264502; + Value.Integer IntegerKind.U64 7092772823314835570 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14870169084777830627; + Value.Integer IntegerKind.U64 18089338065998320271 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9293855677986144142; + Value.Integer IntegerKind.U64 8999993282035256217 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11617319597482680178; + Value.Integer IntegerKind.U64 2026619565689294464 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14521649496853350222; + Value.Integer IntegerKind.U64 11756646493966393888 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18152061871066687778; + Value.Integer IntegerKind.U64 5472436080603216552 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11345038669416679861; + Value.Integer IntegerKind.U64 8031958568804398249 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14181298336770849826; + Value.Integer IntegerKind.U64 14651634229432885715 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17726622920963562283; + Value.Integer IntegerKind.U64 9091170749936331336 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11079139325602226427; + Value.Integer IntegerKind.U64 3376138709496513133 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13848924157002783033; + Value.Integer IntegerKind.U64 18055231442152805128 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17311155196253478792; + Value.Integer IntegerKind.U64 8733981247408842698 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10819471997658424245; + Value.Integer IntegerKind.U64 5458738279630526686 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13524339997073030306; + Value.Integer IntegerKind.U64 11435108867965546262 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16905424996341287883; + Value.Integer IntegerKind.U64 5070514048102157020 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10565890622713304927; + Value.Integer IntegerKind.U64 863228270850154185 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13207363278391631158; + Value.Integer IntegerKind.U64 14914093393844856443 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16509204097989538948; + Value.Integer IntegerKind.U64 9419244705451294746 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10318252561243461842; + Value.Integer IntegerKind.U64 15110399977761835024 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12897815701554327303; + Value.Integer IntegerKind.U64 9664627935347517973 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16122269626942909129; + Value.Integer IntegerKind.U64 7469098900757009562 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10076418516839318205; + Value.Integer IntegerKind.U64 16197401859041600736 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12595523146049147757; + Value.Integer IntegerKind.U64 6411694268519837208 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15744403932561434696; + Value.Integer IntegerKind.U64 12626303854077184414 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9840252457850896685; + Value.Integer IntegerKind.U64 7891439908798240259 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12300315572313620856; + Value.Integer IntegerKind.U64 14475985904425188227 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15375394465392026070; + Value.Integer IntegerKind.U64 18094982380531485284 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9609621540870016294; + Value.Integer IntegerKind.U64 6697677969404790399 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12012026926087520367; + Value.Integer IntegerKind.U64 17595469498610763806 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15015033657609400459; + Value.Integer IntegerKind.U64 17382650854836066854 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9384396036005875287; + Value.Integer IntegerKind.U64 8558313775058847832 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11730495045007344109; + Value.Integer IntegerKind.U64 6086206200396171886 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14663118806259180136; + Value.Integer IntegerKind.U64 12219443768922602761 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18328898507823975170; + Value.Integer IntegerKind.U64 15274304711153253452 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11455561567389984481; + Value.Integer IntegerKind.U64 14158126462898171311 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14319451959237480602; + Value.Integer IntegerKind.U64 3862600023340550427 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17899314949046850752; + Value.Integer IntegerKind.U64 14051622066030463842 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11187071843154281720; + Value.Integer IntegerKind.U64 8782263791269039901 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13983839803942852150; + Value.Integer IntegerKind.U64 10977829739086299876 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17479799754928565188; + Value.Integer IntegerKind.U64 4498915137003099037 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10924874846830353242; + Value.Integer IntegerKind.U64 12035193997481712706 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13656093558537941553; + Value.Integer IntegerKind.U64 5820620459997365075 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17070116948172426941; + Value.Integer IntegerKind.U64 11887461593424094248 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10668823092607766838; + Value.Integer IntegerKind.U64 9735506505103752857 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13336028865759708548; + Value.Integer IntegerKind.U64 2946011094524915263 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16670036082199635685; + Value.Integer IntegerKind.U64 3682513868156144079 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10418772551374772303; + Value.Integer IntegerKind.U64 4607414176811284001 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13023465689218465379; + Value.Integer IntegerKind.U64 1147581702586717097 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16279332111523081723; + Value.Integer IntegerKind.U64 15269535183515560084 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10174582569701926077; + Value.Integer IntegerKind.U64 7237616480483531100 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12718228212127407596; + Value.Integer IntegerKind.U64 13658706619031801779 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15897785265159259495; + Value.Integer IntegerKind.U64 17073383273789752224 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9936115790724537184; + Value.Integer IntegerKind.U64 17588393573759676996 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12420144738405671481; + Value.Integer IntegerKind.U64 3538747893490044629 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15525180923007089351; + Value.Integer IntegerKind.U64 9035120885289943691 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9703238076879430844; + Value.Integer IntegerKind.U64 12564479580947296663 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12129047596099288555; + Value.Integer IntegerKind.U64 15705599476184120828 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15161309495124110694; + Value.Integer IntegerKind.U64 15020313326802763131 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9475818434452569184; + Value.Integer IntegerKind.U64 4776009810824339053 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11844773043065711480; + Value.Integer IntegerKind.U64 5970012263530423816 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14805966303832139350; + Value.Integer IntegerKind.U64 7462515329413029771 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9253728939895087094; + Value.Integer IntegerKind.U64 52386062455755702 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11567161174868858867; + Value.Integer IntegerKind.U64 9288854614924470436 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14458951468586073584; + Value.Integer IntegerKind.U64 6999382250228200141 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18073689335732591980; + Value.Integer IntegerKind.U64 8749227812785250177 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11296055834832869987; + Value.Integer IntegerKind.U64 14691639419845557168 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14120069793541087484; + Value.Integer IntegerKind.U64 13752863256379558556 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17650087241926359355; + Value.Integer IntegerKind.U64 17191079070474448196 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11031304526203974597; + Value.Integer IntegerKind.U64 8438581409832836170 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13789130657754968246; + Value.Integer IntegerKind.U64 15159912780718433117 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17236413322193710308; + Value.Integer IntegerKind.U64 9726518939043265588 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10772758326371068942; + Value.Integer IntegerKind.U64 15302446373756816800 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13465947907963836178; + Value.Integer IntegerKind.U64 9904685930341245193 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16832434884954795223; + Value.Integer IntegerKind.U64 3157485376071780683 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10520271803096747014; + Value.Integer IntegerKind.U64 8890957387685944783 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13150339753870933768; + Value.Integer IntegerKind.U64 1890324697752655170 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16437924692338667210; + Value.Integer IntegerKind.U64 2362905872190818963 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10273702932711667006; + Value.Integer IntegerKind.U64 6088502188546649756 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12842128665889583757; + Value.Integer IntegerKind.U64 16833999772538088003 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16052660832361979697; + Value.Integer IntegerKind.U64 7207441660390446292 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10032913020226237310; + Value.Integer IntegerKind.U64 16033866083812498692 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12541141275282796638; + Value.Integer IntegerKind.U64 10818960567910847557 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15676426594103495798; + Value.Integer IntegerKind.U64 4300328673033783639 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9797766621314684873; + Value.Integer IntegerKind.U64 16522763475928278486 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12247208276643356092; + Value.Integer IntegerKind.U64 6818396289628184396 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15309010345804195115; + Value.Integer IntegerKind.U64 8522995362035230495 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9568131466127621947; + Value.Integer IntegerKind.U64 3021029092058325107 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11960164332659527433; + Value.Integer IntegerKind.U64 17611344420355070096 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14950205415824409292; + Value.Integer IntegerKind.U64 8179122470161673908 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9343878384890255807; + Value.Integer IntegerKind.U64 14335323580705822000 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11679847981112819759; + Value.Integer IntegerKind.U64 13307468457454889596 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14599809976391024699; + Value.Integer IntegerKind.U64 12022649553391224092 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18249762470488780874; + Value.Integer IntegerKind.U64 10416625923311642211 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11406101544055488046; + Value.Integer IntegerKind.U64 11122077220497164286 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14257626930069360058; + Value.Integer IntegerKind.U64 4679224488766679549 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17822033662586700072; + Value.Integer IntegerKind.U64 15072402647813125244 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11138771039116687545; + Value.Integer IntegerKind.U64 9420251654883203278 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13923463798895859431; + Value.Integer IntegerKind.U64 16387000587031392001 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17404329748619824289; + Value.Integer IntegerKind.U64 15872064715361852097 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10877706092887390181; + Value.Integer IntegerKind.U64 3002511419460075705 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13597132616109237726; + Value.Integer IntegerKind.U64 8364825292752482535 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16996415770136547158; + Value.Integer IntegerKind.U64 1232659579085827361 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10622759856335341973; + Value.Integer IntegerKind.U64 14605470292210805812 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13278449820419177467; + Value.Integer IntegerKind.U64 4421779809981343554 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16598062275523971834; + Value.Integer IntegerKind.U64 915538744049291538 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10373788922202482396; + Value.Integer IntegerKind.U64 5183897733458195115 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12967236152753102995; + Value.Integer IntegerKind.U64 6479872166822743894 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16209045190941378744; + Value.Integer IntegerKind.U64 3488154190101041964 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10130653244338361715; + Value.Integer IntegerKind.U64 2180096368813151227 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12663316555422952143; + Value.Integer IntegerKind.U64 16560178516298602746 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15829145694278690179; + Value.Integer IntegerKind.U64 16088537126945865529 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9893216058924181362; + Value.Integer IntegerKind.U64 7749492695127472003 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12366520073655226703; + Value.Integer IntegerKind.U64 463493832054564196 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15458150092069033378; + Value.Integer IntegerKind.U64 14414425345350368957 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9661343807543145861; + Value.Integer IntegerKind.U64 13620701859271368502 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12076679759428932327; + Value.Integer IntegerKind.U64 3190819268807046916 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15095849699286165408; + Value.Integer IntegerKind.U64 17823582141290972357 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9434906062053853380; + Value.Integer IntegerKind.U64 11139738838306857723 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11793632577567316725; + Value.Integer IntegerKind.U64 13924673547883572154 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14742040721959145907; + Value.Integer IntegerKind.U64 3570783879572301480 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18427550902448932383; + Value.Integer IntegerKind.U64 18298537904747540562 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11517219314030582739; + Value.Integer IntegerKind.U64 18354115218108294707 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14396524142538228424; + Value.Integer IntegerKind.U64 18330958004207980480 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17995655178172785531; + Value.Integer IntegerKind.U64 4466953431550423984 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11247284486357990957; + Value.Integer IntegerKind.U64 486002885505321038 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14059105607947488696; + Value.Integer IntegerKind.U64 5219189625309039202 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17573882009934360870; + Value.Integer IntegerKind.U64 6523987031636299002 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10983676256208975543; + Value.Integer IntegerKind.U64 17912549950054850588 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13729595320261219429; + Value.Integer IntegerKind.U64 17779001419141175331 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17161994150326524287; + Value.Integer IntegerKind.U64 8388693718644305452 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10726246343954077679; + Value.Integer IntegerKind.U64 12160462601793772764 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13407807929942597099; + Value.Integer IntegerKind.U64 10588892233814828051 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16759759912428246374; + Value.Integer IntegerKind.U64 8624429273841147159 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10474849945267653984; + Value.Integer IntegerKind.U64 778582277723329070 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13093562431584567480; + Value.Integer IntegerKind.U64 973227847154161338 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16366953039480709350; + Value.Integer IntegerKind.U64 1216534808942701673 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10229345649675443343; + Value.Integer IntegerKind.U64 14595392310871352257 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12786682062094304179; + Value.Integer IntegerKind.U64 13632554370161802418 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15983352577617880224; + Value.Integer IntegerKind.U64 12429006944274865118 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9989595361011175140; + Value.Integer IntegerKind.U64 7768129340171790699 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12486994201263968925; + Value.Integer IntegerKind.U64 9710161675214738374 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15608742751579961156; + Value.Integer IntegerKind.U64 16749388112445810871 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9755464219737475723; + Value.Integer IntegerKind.U64 1244995533423855986 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12194330274671844653; + Value.Integer IntegerKind.U64 15391302472061983695 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15242912843339805817; + Value.Integer IntegerKind.U64 5404070034795315907 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9526820527087378635; + Value.Integer IntegerKind.U64 14906758817815542202 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11908525658859223294; + Value.Integer IntegerKind.U64 14021762503842039848 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14885657073574029118; + Value.Integer IntegerKind.U64 8303831092947774002 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9303535670983768199; + Value.Integer IntegerKind.U64 578208414664970847 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11629419588729710248; + Value.Integer IntegerKind.U64 14557818573613377271 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14536774485912137810; + Value.Integer IntegerKind.U64 18197273217016721589 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18170968107390172263; + Value.Integer IntegerKind.U64 13523219484416126178 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11356855067118857664; + Value.Integer IntegerKind.U64 15369541205401160717 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14196068833898572081; + Value.Integer IntegerKind.U64 765182433041899281 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17745086042373215101; + Value.Integer IntegerKind.U64 5568164059729762005 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11090678776483259438; + Value.Integer IntegerKind.U64 5785945546544795205 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13863348470604074297; + Value.Integer IntegerKind.U64 16455803970035769814 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17329185588255092872; + Value.Integer IntegerKind.U64 6734696907262548556 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10830740992659433045; + Value.Integer IntegerKind.U64 4209185567039092847 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13538426240824291306; + Value.Integer IntegerKind.U64 9873167977226253963 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16923032801030364133; + Value.Integer IntegerKind.U64 3118087934678041646 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10576895500643977583; + Value.Integer IntegerKind.U64 4254647968387469981 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13221119375804971979; + Value.Integer IntegerKind.U64 706623942056949572 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16526399219756214973; + Value.Integer IntegerKind.U64 14718337982853350677 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10328999512347634358; + Value.Integer IntegerKind.U64 11504804248497038125 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12911249390434542948; + Value.Integer IntegerKind.U64 5157633273766521849 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16139061738043178685; + Value.Integer IntegerKind.U64 6447041592208152311 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10086913586276986678; + Value.Integer IntegerKind.U64 6335244004343789146 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12608641982846233347; + Value.Integer IntegerKind.U64 17142427042284512241 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15760802478557791684; + Value.Integer IntegerKind.U64 16816347784428252397 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9850501549098619803; + Value.Integer IntegerKind.U64 1286845328412881940 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12313126936373274753; + Value.Integer IntegerKind.U64 15443614715798266137 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15391408670466593442; + Value.Integer IntegerKind.U64 5469460339465668959 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9619630419041620901; + Value.Integer IntegerKind.U64 8030098730593431003 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12024538023802026126; + Value.Integer IntegerKind.U64 14649309431669176658 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15030672529752532658; + Value.Integer IntegerKind.U64 9088264752731695015 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9394170331095332911; + Value.Integer IntegerKind.U64 10291851488884697288 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11742712913869166139; + Value.Integer IntegerKind.U64 8253128342678483706 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14678391142336457674; + Value.Integer IntegerKind.U64 5704724409920716729 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18347988927920572092; + Value.Integer IntegerKind.U64 16354277549255671720 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11467493079950357558; + Value.Integer IntegerKind.U64 998051431430019017 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14334366349937946947; + Value.Integer IntegerKind.U64 10470936326142299579 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17917957937422433684; + Value.Integer IntegerKind.U64 8476984389250486570 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11198723710889021052; + Value.Integer IntegerKind.U64 14521487280136329914 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13998404638611276315; + Value.Integer IntegerKind.U64 18151859100170412392 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17498005798264095394; + Value.Integer IntegerKind.U64 18078137856785627587 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10936253623915059621; + Value.Integer IntegerKind.U64 15910522178918405146 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13670317029893824527; + Value.Integer IntegerKind.U64 6053094668365842720 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17087896287367280659; + Value.Integer IntegerKind.U64 2954682317029915496 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10679935179604550411; + Value.Integer IntegerKind.U64 17987577512639554849 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13349918974505688014; + Value.Integer IntegerKind.U64 17872785872372055657 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16687398718132110018; + Value.Integer IntegerKind.U64 13117610303610293764 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10429624198832568761; + Value.Integer IntegerKind.U64 12810192458183821506 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13037030248540710952; + Value.Integer IntegerKind.U64 2177682517447613171 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16296287810675888690; + Value.Integer IntegerKind.U64 2722103146809516464 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10185179881672430431; + Value.Integer IntegerKind.U64 6313000485183335694 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12731474852090538039; + Value.Integer IntegerKind.U64 3279564588051781713 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15914343565113172548; + Value.Integer IntegerKind.U64 17934513790346890853 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9946464728195732843; + Value.Integer IntegerKind.U64 1985699082112030975 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12433080910244666053; + Value.Integer IntegerKind.U64 16317181907922202431 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15541351137805832567; + Value.Integer IntegerKind.U64 6561419329620589327 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9713344461128645354; + Value.Integer IntegerKind.U64 11018416108653950185 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12141680576410806693; + Value.Integer IntegerKind.U64 4549648098962661924 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15177100720513508366; + Value.Integer IntegerKind.U64 10298746142130715309 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9485687950320942729; + Value.Integer IntegerKind.U64 1825030320404309164 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11857109937901178411; + Value.Integer IntegerKind.U64 6892973918932774359 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14821387422376473014; + Value.Integer IntegerKind.U64 4004531380238580045 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9263367138985295633; + Value.Integer IntegerKind.U64 16337890167931276240 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11579208923731619542; + Value.Integer IntegerKind.U64 6587304654631931588 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14474011154664524427; + Value.Integer IntegerKind.U64 17457502855144690293 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18092513943330655534; + Value.Integer IntegerKind.U64 17210192550503474962 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11307821214581659709; + Value.Integer IntegerKind.U64 6144684325637283947 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14134776518227074636; + Value.Integer IntegerKind.U64 12292541425473992838 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17668470647783843295; + Value.Integer IntegerKind.U64 15365676781842491048 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11042794154864902059; + Value.Integer IntegerKind.U64 16521077016292638761 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13803492693581127574; + Value.Integer IntegerKind.U64 16039660251938410547 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17254365866976409468; + Value.Integer IntegerKind.U64 10826203278068237376 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10783978666860255917; + Value.Integer IntegerKind.U64 15989749085647424168 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13479973333575319897; + Value.Integer IntegerKind.U64 6152128301777116498 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16849966666969149871; + Value.Integer IntegerKind.U64 12301846395648783526 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10531229166855718669; + Value.Integer IntegerKind.U64 14606183024921571560 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13164036458569648337; + Value.Integer IntegerKind.U64 4422670725869800738 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16455045573212060421; + Value.Integer IntegerKind.U64 10140024425764638826 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10284403483257537763; + Value.Integer IntegerKind.U64 8643358275316593218 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12855504354071922204; + Value.Integer IntegerKind.U64 6192511825718353619 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16069380442589902755; + Value.Integer IntegerKind.U64 7740639782147942024 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10043362776618689222; + Value.Integer IntegerKind.U64 2532056854628769813 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12554203470773361527; + Value.Integer IntegerKind.U64 12388443105140738074 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15692754338466701909; + Value.Integer IntegerKind.U64 10873867862998534689 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9807971461541688693; + Value.Integer IntegerKind.U64 9102010423587778132 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12259964326927110866; + Value.Integer IntegerKind.U64 15989199047912110569 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15324955408658888583; + Value.Integer IntegerKind.U64 10763126773035362404 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9578097130411805364; + Value.Integer IntegerKind.U64 13644483260788183358 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11972621413014756705; + Value.Integer IntegerKind.U64 17055604075985229198 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14965776766268445882; + Value.Integer IntegerKind.U64 7484447039699372786 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9353610478917778676; + Value.Integer IntegerKind.U64 9289465418239495895 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11692013098647223345; + Value.Integer IntegerKind.U64 11611831772799369869 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14615016373309029182; + Value.Integer IntegerKind.U64 679731660717048624 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18268770466636286477; + Value.Integer IntegerKind.U64 10073036612751086588 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11417981541647679048; + Value.Integer IntegerKind.U64 8601490892183123070 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14272476927059598810; + Value.Integer IntegerKind.U64 10751863615228903838 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17840596158824498513; + Value.Integer IntegerKind.U64 4216457482181353989 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11150372599265311570; + Value.Integer IntegerKind.U64 14164500972431816003 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13937965749081639463; + Value.Integer IntegerKind.U64 8482254178684994196 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17422457186352049329; + Value.Integer IntegerKind.U64 5991131704928854841 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10889035741470030830; + Value.Integer IntegerKind.U64 15273672361649004036 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13611294676837538538; + Value.Integer IntegerKind.U64 9868718415206479237 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17014118346046923173; + Value.Integer IntegerKind.U64 3112525982153323238 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10633823966279326983; + Value.Integer IntegerKind.U64 4251171748059520976 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13292279957849158729; + Value.Integer IntegerKind.U64 702278666647013315 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16615349947311448411; + Value.Integer IntegerKind.U64 5489534351736154548 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10384593717069655257; + Value.Integer IntegerKind.U64 1125115960621402641 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12980742146337069071; + Value.Integer IntegerKind.U64 6018080969204141205 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16225927682921336339; + Value.Integer IntegerKind.U64 2910915193077788602 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10141204801825835211; + Value.Integer IntegerKind.U64 17960223060169475540 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12676506002282294014; + Value.Integer IntegerKind.U64 17838592806784456521 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15845632502852867518; + Value.Integer IntegerKind.U64 13074868971625794844 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9903520314283042199; + Value.Integer IntegerKind.U64 3560107088838733873 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12379400392853802748; + Value.Integer IntegerKind.U64 18285191916330581054 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15474250491067253436; + Value.Integer IntegerKind.U64 4409745821703674701 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9671406556917033397; + Value.Integer IntegerKind.U64 11979463175419572496 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12089258196146291747; + Value.Integer IntegerKind.U64 1139270913992301908 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15111572745182864683; + Value.Integer IntegerKind.U64 15259146697772541097 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9444732965739290427; + Value.Integer IntegerKind.U64 7231123676894144234 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11805916207174113034; + Value.Integer IntegerKind.U64 4427218577690292388 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14757395258967641292; + Value.Integer IntegerKind.U64 14757395258967641293 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9223372036854775808; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11529215046068469760; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14411518807585587200; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18014398509481984000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11258999068426240000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14073748835532800000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17592186044416000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10995116277760000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13743895347200000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17179869184000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10737418240000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13421772800000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16777216000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10485760000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13107200000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16384000000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10240000000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12800000000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16000000000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10000000000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12500000000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15625000000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9765625000000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12207031250000000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15258789062500000000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9536743164062500000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11920928955078125000; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14901161193847656250; + Value.Integer IntegerKind.U64 0 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9313225746154785156; + Value.Integer IntegerKind.U64 4611686018427387904 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11641532182693481445; + Value.Integer IntegerKind.U64 5764607523034234880 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14551915228366851806; + Value.Integer IntegerKind.U64 11817445422220181504 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18189894035458564758; + Value.Integer IntegerKind.U64 5548434740920451072 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11368683772161602973; + Value.Integer IntegerKind.U64 17302829768357445632 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14210854715202003717; + Value.Integer IntegerKind.U64 7793479155164643328 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17763568394002504646; + Value.Integer IntegerKind.U64 14353534962383192064 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11102230246251565404; + Value.Integer IntegerKind.U64 4359273333062107136 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13877787807814456755; + Value.Integer IntegerKind.U64 5449091666327633920 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17347234759768070944; + Value.Integer IntegerKind.U64 2199678564482154496 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10842021724855044340; + Value.Integer IntegerKind.U64 1374799102801346560 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13552527156068805425; + Value.Integer IntegerKind.U64 1718498878501683200 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16940658945086006781; + Value.Integer IntegerKind.U64 6759809616554491904 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10587911840678754238; + Value.Integer IntegerKind.U64 6530724019560251392 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13234889800848442797; + Value.Integer IntegerKind.U64 17386777061305090048 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16543612251060553497; + Value.Integer IntegerKind.U64 7898413271349198848 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10339757656912845935; + Value.Integer IntegerKind.U64 16465723340661719040 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12924697071141057419; + Value.Integer IntegerKind.U64 15970468157399760896 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16155871338926321774; + Value.Integer IntegerKind.U64 15351399178322313216 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10097419586828951109; + Value.Integer IntegerKind.U64 4982938468024057856 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12621774483536188886; + Value.Integer IntegerKind.U64 10840359103457460224 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15777218104420236108; + Value.Integer IntegerKind.U64 4327076842467049472 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9860761315262647567; + Value.Integer IntegerKind.U64 11927795063396681728 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12325951644078309459; + Value.Integer IntegerKind.U64 10298057810818464256 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15407439555097886824; + Value.Integer IntegerKind.U64 8260886245095692416 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9629649721936179265; + Value.Integer IntegerKind.U64 5163053903184807760 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12037062152420224081; + Value.Integer IntegerKind.U64 11065503397408397604 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15046327690525280101; + Value.Integer IntegerKind.U64 18443565265187884909 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9403954806578300063; + Value.Integer IntegerKind.U64 13833071299956122020 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11754943508222875079; + Value.Integer IntegerKind.U64 12679653106517764621 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14693679385278593849; + Value.Integer IntegerKind.U64 11237880364719817872 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18367099231598242312; + Value.Integer IntegerKind.U64 212292400617608628 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11479437019748901445; + Value.Integer IntegerKind.U64 132682750386005392 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14349296274686126806; + Value.Integer IntegerKind.U64 4777539456409894645 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17936620343357658507; + Value.Integer IntegerKind.U64 15195296357367144114 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11210387714598536567; + Value.Integer IntegerKind.U64 7191217214140771119 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14012984643248170709; + Value.Integer IntegerKind.U64 4377335499248575995 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17516230804060213386; + Value.Integer IntegerKind.U64 10083355392488107898 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10947644252537633366; + Value.Integer IntegerKind.U64 10913783138732455340 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13684555315672041708; + Value.Integer IntegerKind.U64 4418856886560793367 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17105694144590052135; + Value.Integer IntegerKind.U64 5523571108200991709 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10691058840368782584; + Value.Integer IntegerKind.U64 10369760970266701674 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13363823550460978230; + Value.Integer IntegerKind.U64 12962201212833377092 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16704779438076222788; + Value.Integer IntegerKind.U64 6979379479186945558 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10440487148797639242; + Value.Integer IntegerKind.U64 13585484211346616781 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13050608935997049053; + Value.Integer IntegerKind.U64 7758483227328495169 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16313261169996311316; + Value.Integer IntegerKind.U64 14309790052588006865 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10195788231247694572; + Value.Integer IntegerKind.U64 18166990819722280098 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12744735289059618216; + Value.Integer IntegerKind.U64 4261994450943298507 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15930919111324522770; + Value.Integer IntegerKind.U64 5327493063679123134 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9956824444577826731; + Value.Integer IntegerKind.U64 7941369183226839863 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12446030555722283414; + Value.Integer IntegerKind.U64 5315025460606161924 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15557538194652854267; + Value.Integer IntegerKind.U64 15867153862612478214 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9723461371658033917; + Value.Integer IntegerKind.U64 7611128154919104931 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12154326714572542396; + Value.Integer IntegerKind.U64 14125596212076269068 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15192908393215677995; + Value.Integer IntegerKind.U64 17656995265095336336 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9495567745759798747; + Value.Integer IntegerKind.U64 8729779031470891258 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11869459682199748434; + Value.Integer IntegerKind.U64 6300537770911226168 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14836824602749685542; + Value.Integer IntegerKind.U64 17099044250493808518 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9273015376718553464; + Value.Integer IntegerKind.U64 6075216638131242420 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11591269220898191830; + Value.Integer IntegerKind.U64 7594020797664053025 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14489086526122739788; + Value.Integer IntegerKind.U64 269153960225290473 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18111358157653424735; + Value.Integer IntegerKind.U64 336442450281613091 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11319598848533390459; + Value.Integer IntegerKind.U64 7127805559067090038 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14149498560666738074; + Value.Integer IntegerKind.U64 4298070930406474644 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17686873200833422592; + Value.Integer IntegerKind.U64 14595960699862869113 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11054295750520889120; + Value.Integer IntegerKind.U64 9122475437414293195 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13817869688151111400; + Value.Integer IntegerKind.U64 11403094296767866494 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17272337110188889250; + Value.Integer IntegerKind.U64 14253867870959833118 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10795210693868055781; + Value.Integer IntegerKind.U64 13520353437777283602 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13494013367335069727; + Value.Integer IntegerKind.U64 3065383741939440791 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16867516709168837158; + Value.Integer IntegerKind.U64 17666787732706464701 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10542197943230523224; + Value.Integer IntegerKind.U64 6430056314514152534 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13177747429038154030; + Value.Integer IntegerKind.U64 8037570393142690668 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16472184286297692538; + Value.Integer IntegerKind.U64 823590954573587527 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10295115178936057836; + Value.Integer IntegerKind.U64 5126430365035880108 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12868893973670072295; + Value.Integer IntegerKind.U64 6408037956294850135 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16086117467087590369; + Value.Integer IntegerKind.U64 3398361426941174765 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10053823416929743980; + Value.Integer IntegerKind.U64 13653190937906703988 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12567279271162179975; + Value.Integer IntegerKind.U64 17066488672383379985 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15709099088952724969; + Value.Integer IntegerKind.U64 16721424822051837077 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9818186930595453106; + Value.Integer IntegerKind.U64 3533361486141316317 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12272733663244316382; + Value.Integer IntegerKind.U64 13640073894531421205 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15340917079055395478; + Value.Integer IntegerKind.U64 7826720331309500698 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9588073174409622174; + Value.Integer IntegerKind.U64 280014188641050032 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11985091468012027717; + Value.Integer IntegerKind.U64 9573389772656088348 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14981364335015034646; + Value.Integer IntegerKind.U64 16578423234247498339 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9363352709384396654; + Value.Integer IntegerKind.U64 5749828502977298558 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11704190886730495817; + Value.Integer IntegerKind.U64 16410657665576399005 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14630238608413119772; + Value.Integer IntegerKind.U64 6678264026688335045 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18287798260516399715; + Value.Integer IntegerKind.U64 8347830033360418806 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11429873912822749822; + Value.Integer IntegerKind.U64 2911550761636567802 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14287342391028437277; + Value.Integer IntegerKind.U64 12862810488900485560 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17859177988785546597; + Value.Integer IntegerKind.U64 2243455055843443238 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11161986242990966623; + Value.Integer IntegerKind.U64 3708002419115845976 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13952482803738708279; + Value.Integer IntegerKind.U64 23317005467419566 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17440603504673385348; + Value.Integer IntegerKind.U64 13864204312116438170 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10900377190420865842; + Value.Integer IntegerKind.U64 17888499731927549664 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13625471488026082303; + Value.Integer IntegerKind.U64 13137252628054661272 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17031839360032602879; + Value.Integer IntegerKind.U64 11809879766640938686 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10644899600020376799; + Value.Integer IntegerKind.U64 14298703881791668535 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13306124500025470999; + Value.Integer IntegerKind.U64 13261693833812197764 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16632655625031838749; + Value.Integer IntegerKind.U64 11965431273837859301 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10395409765644899218; + Value.Integer IntegerKind.U64 9784237555362356015 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12994262207056124023; + Value.Integer IntegerKind.U64 3006924907348169211 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16242827758820155028; + Value.Integer IntegerKind.U64 17593714189467375226 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10151767349262596893; + Value.Integer IntegerKind.U64 1772699331562333708 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12689709186578246116; + Value.Integer IntegerKind.U64 6827560182880305039 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15862136483222807645; + Value.Integer IntegerKind.U64 8534450228600381299 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9913835302014254778; + Value.Integer IntegerKind.U64 7639874402088932264 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12392294127517818473; + Value.Integer IntegerKind.U64 326470965756389522 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15490367659397273091; + Value.Integer IntegerKind.U64 5019774725622874806 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9681479787123295682; + Value.Integer IntegerKind.U64 831516194300602802 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12101849733904119602; + Value.Integer IntegerKind.U64 10262767279730529310 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15127312167380149503; + Value.Integer IntegerKind.U64 3605087062808385830 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9454570104612593439; + Value.Integer IntegerKind.U64 9170708441896323000 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11818212630765741799; + Value.Integer IntegerKind.U64 6851699533943015846 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14772765788457177249; + Value.Integer IntegerKind.U64 3952938399001381903 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9232978617785735780; + Value.Integer IntegerKind.U64 13999801545444333449 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11541223272232169725; + Value.Integer IntegerKind.U64 17499751931805416812 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14426529090290212157; + Value.Integer IntegerKind.U64 8039631859474607303 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18033161362862765196; + Value.Integer IntegerKind.U64 14661225842770647033 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11270725851789228247; + Value.Integer IntegerKind.U64 18386638188586430203 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14088407314736535309; + Value.Integer IntegerKind.U64 18371611717305649850 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17610509143420669137; + Value.Integer IntegerKind.U64 9129456591349898601 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11006568214637918210; + Value.Integer IntegerKind.U64 17235125415662156385 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13758210268297397763; + Value.Integer IntegerKind.U64 12320534732722919674 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17197762835371747204; + Value.Integer IntegerKind.U64 10788982397476261688 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10748601772107342002; + Value.Integer IntegerKind.U64 15966486035277439363 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13435752215134177503; + Value.Integer IntegerKind.U64 10734735507242023396 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16794690268917721879; + Value.Integer IntegerKind.U64 8806733365625141341 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10496681418073576174; + Value.Integer IntegerKind.U64 12421737381156795194 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13120851772591970218; + Value.Integer IntegerKind.U64 6303799689591218185 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16401064715739962772; + Value.Integer IntegerKind.U64 17103121648843798539 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10250665447337476733; + Value.Integer IntegerKind.U64 1466078993672598279 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12813331809171845916; + Value.Integer IntegerKind.U64 6444284760518135752 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16016664761464807395; + Value.Integer IntegerKind.U64 8055355950647669691 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10010415475915504622; + Value.Integer IntegerKind.U64 2728754459941099604 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12513019344894380777; + Value.Integer IntegerKind.U64 12634315111781150314 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15641274181117975972; + Value.Integer IntegerKind.U64 1957835834444274180 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9775796363198734982; + Value.Integer IntegerKind.U64 10447019433382447170 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12219745453998418728; + Value.Integer IntegerKind.U64 3835402254873283155 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15274681817498023410; + Value.Integer IntegerKind.U64 4794252818591603944 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9546676135936264631; + Value.Integer IntegerKind.U64 7608094030047140369 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11933345169920330789; + Value.Integer IntegerKind.U64 4898431519131537557 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14916681462400413486; + Value.Integer IntegerKind.U64 10734725417341809851 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9322925914000258429; + Value.Integer IntegerKind.U64 2097517367411243253 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11653657392500323036; + Value.Integer IntegerKind.U64 7233582727691441970 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14567071740625403795; + Value.Integer IntegerKind.U64 9041978409614302462 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18208839675781754744; + Value.Integer IntegerKind.U64 6690786993590490174 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11380524797363596715; + Value.Integer IntegerKind.U64 4181741870994056359 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14225655996704495894; + Value.Integer IntegerKind.U64 615491320315182544 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17782069995880619867; + Value.Integer IntegerKind.U64 9992736187248753989 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11113793747425387417; + Value.Integer IntegerKind.U64 3939617107816777291 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13892242184281734271; + Value.Integer IntegerKind.U64 9536207403198359517 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17365302730352167839; + Value.Integer IntegerKind.U64 7308573235570561493 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10853314206470104899; + Value.Integer IntegerKind.U64 11485387299872682789 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13566642758087631124; + Value.Integer IntegerKind.U64 9745048106413465582 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16958303447609538905; + Value.Integer IntegerKind.U64 12181310133016831978 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10598939654755961816; + Value.Integer IntegerKind.U64 695789805494438130 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13248674568444952270; + Value.Integer IntegerKind.U64 869737256868047663 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16560843210556190337; + Value.Integer IntegerKind.U64 10310543607939835386 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10350527006597618960; + Value.Integer IntegerKind.U64 17973304801030866876 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12938158758247023701; + Value.Integer IntegerKind.U64 4019886927579031980 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16172698447808779626; + Value.Integer IntegerKind.U64 9636544677901177879 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10107936529880487266; + Value.Integer IntegerKind.U64 10634526442115624078 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12634920662350609083; + Value.Integer IntegerKind.U64 4069786015789754290 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15793650827938261354; + Value.Integer IntegerKind.U64 475546501309804958 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9871031767461413346; + Value.Integer IntegerKind.U64 4908902581746016003 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12338789709326766682; + Value.Integer IntegerKind.U64 15359500264037295811 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15423487136658458353; + Value.Integer IntegerKind.U64 9976003293191843956 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9639679460411536470; + Value.Integer IntegerKind.U64 17764217104313372233 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12049599325514420588; + Value.Integer IntegerKind.U64 12981899343536939483 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15061999156893025735; + Value.Integer IntegerKind.U64 16227374179421174354 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9413749473058141084; + Value.Integer IntegerKind.U64 17059637889779315827 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11767186841322676356; + Value.Integer IntegerKind.U64 2877803288514593168 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14708983551653345445; + Value.Integer IntegerKind.U64 3597254110643241460 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18386229439566681806; + Value.Integer IntegerKind.U64 9108253656731439729 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11491393399729176129; + Value.Integer IntegerKind.U64 1080972517029761926 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14364241749661470161; + Value.Integer IntegerKind.U64 5962901664714590312 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17955302187076837701; + Value.Integer IntegerKind.U64 12065313099320625794 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11222063866923023563; + Value.Integer IntegerKind.U64 9846663696289085073 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14027579833653779454; + Value.Integer IntegerKind.U64 7696643601933968437 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17534474792067224318; + Value.Integer IntegerKind.U64 397432465562684739 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10959046745042015198; + Value.Integer IntegerKind.U64 14083453346258841674 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13698808431302518998; + Value.Integer IntegerKind.U64 8380944645968776284 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17123510539128148748; + Value.Integer IntegerKind.U64 1252808770606194547 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10702194086955092967; + Value.Integer IntegerKind.U64 10006377518483647400 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13377742608693866209; + Value.Integer IntegerKind.U64 7896285879677171346 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16722178260867332761; + Value.Integer IntegerKind.U64 14482043368023852087 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10451361413042082976; + Value.Integer IntegerKind.U64 2133748077373825698 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13064201766302603720; + Value.Integer IntegerKind.U64 2667185096717282123 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16330252207878254650; + Value.Integer IntegerKind.U64 3333981370896602653 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10206407629923909156; + Value.Integer IntegerKind.U64 6695424375237764562 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12758009537404886445; + Value.Integer IntegerKind.U64 8369280469047205703 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15947511921756108056; + Value.Integer IntegerKind.U64 15073286604736395033 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9967194951097567535; + Value.Integer IntegerKind.U64 9420804127960246895 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12458993688871959419; + Value.Integer IntegerKind.U64 7164319141522920715 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15573742111089949274; + Value.Integer IntegerKind.U64 4343712908476262990 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9733588819431218296; + Value.Integer IntegerKind.U64 7326506586225052273 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12166986024289022870; + Value.Integer IntegerKind.U64 9158133232781315341 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15208732530361278588; + Value.Integer IntegerKind.U64 2224294504121868368 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9505457831475799117; + Value.Integer IntegerKind.U64 10613556101930943538 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11881822289344748896; + Value.Integer IntegerKind.U64 17878631145841067327 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14852277861680936121; + Value.Integer IntegerKind.U64 3901544858591782542 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9282673663550585075; + Value.Integer IntegerKind.U64 13967680582688333849 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11603342079438231344; + Value.Integer IntegerKind.U64 12847914709933029407 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14504177599297789180; + Value.Integer IntegerKind.U64 16059893387416286759 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18130221999122236476; + Value.Integer IntegerKind.U64 1628122660560806833 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11331388749451397797; + Value.Integer IntegerKind.U64 10240948699705280078 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14164235936814247246; + Value.Integer IntegerKind.U64 17412871893058988002 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17705294921017809058; + Value.Integer IntegerKind.U64 12542717829468959195 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11065809325636130661; + Value.Integer IntegerKind.U64 12450884661845487401 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13832261657045163327; + Value.Integer IntegerKind.U64 1728547772024695539 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17290327071306454158; + Value.Integer IntegerKind.U64 15995742770313033136 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10806454419566533849; + Value.Integer IntegerKind.U64 5385653213018257806 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13508068024458167311; + Value.Integer IntegerKind.U64 11343752534700210161 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16885085030572709139; + Value.Integer IntegerKind.U64 9568004649947874797 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10553178144107943212; + Value.Integer IntegerKind.U64 3674159897003727796 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13191472680134929015; + Value.Integer IntegerKind.U64 4592699871254659745 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16489340850168661269; + Value.Integer IntegerKind.U64 1129188820640936778 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10305838031355413293; + Value.Integer IntegerKind.U64 3011586022114279438 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12882297539194266616; + Value.Integer IntegerKind.U64 8376168546070237202 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16102871923992833270; + Value.Integer IntegerKind.U64 10470210682587796502 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10064294952495520794; + Value.Integer IntegerKind.U64 1932195658189984910 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12580368690619400992; + Value.Integer IntegerKind.U64 11638616609592256945 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15725460863274251240; + Value.Integer IntegerKind.U64 14548270761990321182 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9828413039546407025; + Value.Integer IntegerKind.U64 9092669226243950738 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12285516299433008781; + Value.Integer IntegerKind.U64 15977522551232326327 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15356895374291260977; + Value.Integer IntegerKind.U64 6136845133758244197 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9598059608932038110; + Value.Integer IntegerKind.U64 15364743254667372383 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11997574511165047638; + Value.Integer IntegerKind.U64 9982557031479439671 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14996968138956309548; + Value.Integer IntegerKind.U64 3254824252494523781 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9373105086847693467; + Value.Integer IntegerKind.U64 11257637194663853171 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11716381358559616834; + Value.Integer IntegerKind.U64 9460360474902428559 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14645476698199521043; + Value.Integer IntegerKind.U64 2602078556773259891 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18306845872749401303; + Value.Integer IntegerKind.U64 17087656251248738576 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11441778670468375814; + Value.Integer IntegerKind.U64 17597314184671543466 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14302223338085469768; + Value.Integer IntegerKind.U64 12773270693984653525 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17877779172606837210; + Value.Integer IntegerKind.U64 15966588367480816906 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11173611982879273256; + Value.Integer IntegerKind.U64 14590803748102898470 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13967014978599091570; + Value.Integer IntegerKind.U64 18238504685128623088 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17458768723248864463; + Value.Integer IntegerKind.U64 13574758819556003052 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10911730452030540289; + Value.Integer IntegerKind.U64 15401753289863583763 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13639663065038175362; + Value.Integer IntegerKind.U64 5417133557047315992 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17049578831297719202; + Value.Integer IntegerKind.U64 15994788983163920798 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10655986769561074501; + Value.Integer IntegerKind.U64 14608429132904838403 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13319983461951343127; + Value.Integer IntegerKind.U64 4425478360848884291 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16649979327439178909; + Value.Integer IntegerKind.U64 920161932633717460 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10406237079649486818; + Value.Integer IntegerKind.U64 2880944217109767365 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13007796349561858522; + Value.Integer IntegerKind.U64 12824552308241985014 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16259745436952323153; + Value.Integer IntegerKind.U64 6807318348447705459 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10162340898095201970; + Value.Integer IntegerKind.U64 15783789013848285672 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12702926122619002463; + Value.Integer IntegerKind.U64 10506364230455581282 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15878657653273753079; + Value.Integer IntegerKind.U64 8521269269642088699 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9924161033296095674; + Value.Integer IntegerKind.U64 12243322321167387293 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12405201291620119593; + Value.Integer IntegerKind.U64 6080780864604458308 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15506501614525149491; + Value.Integer IntegerKind.U64 12212662099182960789 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9691563509078218432; + Value.Integer IntegerKind.U64 5327070802775656541 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12114454386347773040; + Value.Integer IntegerKind.U64 6658838503469570676 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15143067982934716300; + Value.Integer IntegerKind.U64 8323548129336963345 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9464417489334197687; + Value.Integer IntegerKind.U64 14425589617690377899 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11830521861667747109; + Value.Integer IntegerKind.U64 13420301003685584469 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14788152327084683887; + Value.Integer IntegerKind.U64 2940318199324816875 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9242595204427927429; + Value.Integer IntegerKind.U64 8755227902219092403 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11553244005534909286; + Value.Integer IntegerKind.U64 15555720896201253407 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14441555006918636608; + Value.Integer IntegerKind.U64 10221279083396790951 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18051943758648295760; + Value.Integer IntegerKind.U64 12776598854245988689 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11282464849155184850; + Value.Integer IntegerKind.U64 7985374283903742931 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14103081061443981063; + Value.Integer IntegerKind.U64 758345818024902856 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17628851326804976328; + Value.Integer IntegerKind.U64 14782990327813292282 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11018032079253110205; + Value.Integer IntegerKind.U64 9239368954883307676 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13772540099066387756; + Value.Integer IntegerKind.U64 16160897212031522499 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17215675123832984696; + Value.Integer IntegerKind.U64 1754377441329851508 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10759796952395615435; + Value.Integer IntegerKind.U64 1096485900831157192 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13449746190494519293; + Value.Integer IntegerKind.U64 15205665431321110202 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16812182738118149117; + Value.Integer IntegerKind.U64 5172023733869224041 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10507614211323843198; + Value.Integer IntegerKind.U64 5538357842881958977 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13134517764154803997; + Value.Integer IntegerKind.U64 16146319340457224530 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16418147205193504997; + Value.Integer IntegerKind.U64 6347841120289366950 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10261342003245940623; + Value.Integer IntegerKind.U64 6273243709394548296 + ] ] |) |))). diff --git a/CoqOfRust/core/num/diy_float.v b/CoqOfRust/core/num/diy_float.v index e974e860d..7e9c89245 100644 --- a/CoqOfRust/core/num/diy_float.v +++ b/CoqOfRust/core/num/diy_float.v @@ -43,7 +43,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93,7 +93,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -133,19 +133,20 @@ Module num. M.read (| let~ a := M.alloc (| - BinOp.Wrap.shr - (M.read (| + BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::diy_float::Fp", "f" |) - |)) - (Value.Integer 32) + |), + Value.Integer IntegerKind.I32 32 + |) |) in let~ b := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -157,19 +158,20 @@ Module num. |) in let~ c := M.alloc (| - BinOp.Wrap.shr - (M.read (| + BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::diy_float::Fp", "f" |) - |)) - (Value.Integer 32) + |), + Value.Integer IntegerKind.I32 32 + |) |) in let~ d := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), @@ -179,65 +181,64 @@ Module num. |)) (M.read (| M.get_constant (| "core::num::diy_float::mul::MASK" |) |)) |) in - let~ ac := - M.alloc (| BinOp.Wrap.mul Integer.U64 (M.read (| a |)) (M.read (| c |)) |) in - let~ bc := - M.alloc (| BinOp.Wrap.mul Integer.U64 (M.read (| b |)) (M.read (| c |)) |) in - let~ ad := - M.alloc (| BinOp.Wrap.mul Integer.U64 (M.read (| a |)) (M.read (| d |)) |) in - let~ bd := - M.alloc (| BinOp.Wrap.mul Integer.U64 (M.read (| b |)) (M.read (| d |)) |) in + let~ ac := M.alloc (| BinOp.Wrap.mul (| M.read (| a |), M.read (| c |) |) |) in + let~ bc := M.alloc (| BinOp.Wrap.mul (| M.read (| b |), M.read (| c |) |) |) in + let~ ad := M.alloc (| BinOp.Wrap.mul (| M.read (| a |), M.read (| d |) |) |) in + let~ bd := M.alloc (| BinOp.Wrap.mul (| M.read (| b |), M.read (| d |) |) |) in let~ tmp := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.shr (M.read (| bd |)) (Value.Integer 32)) - (BinOp.Pure.bit_and + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.shr (| M.read (| bd |), Value.Integer IntegerKind.I32 32 |), + BinOp.bit_and (M.read (| ad |)) - (M.read (| M.get_constant (| "core::num::diy_float::mul::MASK" |) |)))) - (BinOp.Pure.bit_and + (M.read (| M.get_constant (| "core::num::diy_float::mul::MASK" |) |)) + |), + BinOp.bit_and (M.read (| bc |)) - (M.read (| M.get_constant (| "core::num::diy_float::mul::MASK" |) |)))) - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 31)) + (M.read (| M.get_constant (| "core::num::diy_float::mul::MASK" |) |)) + |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + Value.Integer IntegerKind.I32 31 + |) + |) |) in let~ f := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (M.read (| ac |)) - (BinOp.Wrap.shr (M.read (| ad |)) (Value.Integer 32))) - (BinOp.Wrap.shr (M.read (| bc |)) (Value.Integer 32))) - (BinOp.Wrap.shr (M.read (| tmp |)) (Value.Integer 32)) + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| ac |), + BinOp.Wrap.shr (| M.read (| ad |), Value.Integer IntegerKind.I32 32 |) + |), + BinOp.Wrap.shr (| M.read (| bc |), Value.Integer IntegerKind.I32 32 |) + |), + BinOp.Wrap.shr (| M.read (| tmp |), Value.Integer IntegerKind.I32 32 |) + |) |) in let~ e := M.alloc (| - BinOp.Wrap.add - Integer.I16 - (BinOp.Wrap.add - Integer.I16 - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::diy_float::Fp", "e" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::diy_float::Fp", "e" |) - |))) - (Value.Integer 64) + |) + |), + Value.Integer IntegerKind.I16 64 + |) |) in M.alloc (| Value.StructRecord @@ -245,7 +246,7 @@ Module num. [ ("f", M.read (| f |)); ("e", M.read (| e |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul : M.IsAssociatedFunction Self "mul" mul. @@ -313,25 +314,30 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| f |)) - (BinOp.Wrap.sub - Integer.I32 - (Value.Integer 64) - (Value.Integer 32))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| f |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 64, + Value.Integer IntegerKind.I32 32 + |) + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := f in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (Value.Integer 32) |) in + M.write (| + β, + BinOp.Wrap.shl (| M.read (| β |), Value.Integer IntegerKind.I32 32 |) + |) in let~ _ := let β := e in M.write (| β, - BinOp.Wrap.sub Integer.I16 (M.read (| β |)) (Value.Integer 32) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.I16 32 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -346,25 +352,30 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| f |)) - (BinOp.Wrap.sub - Integer.I32 - (Value.Integer 64) - (Value.Integer 16))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| f |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 64, + Value.Integer IntegerKind.I32 16 + |) + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := f in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (Value.Integer 16) |) in + M.write (| + β, + BinOp.Wrap.shl (| M.read (| β |), Value.Integer IntegerKind.I32 16 |) + |) in let~ _ := let β := e in M.write (| β, - BinOp.Wrap.sub Integer.I16 (M.read (| β |)) (Value.Integer 16) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.I16 16 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -379,22 +390,30 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| f |)) - (BinOp.Wrap.sub Integer.I32 (Value.Integer 64) (Value.Integer 8))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| f |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 64, + Value.Integer IntegerKind.I32 8 + |) + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := f in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (Value.Integer 8) |) in + M.write (| + β, + BinOp.Wrap.shl (| M.read (| β |), Value.Integer IntegerKind.I32 8 |) + |) in let~ _ := let β := e in M.write (| β, - BinOp.Wrap.sub Integer.I16 (M.read (| β |)) (Value.Integer 8) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.I16 8 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -409,22 +428,30 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| f |)) - (BinOp.Wrap.sub Integer.I32 (Value.Integer 64) (Value.Integer 4))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| f |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 64, + Value.Integer IntegerKind.I32 4 + |) + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := f in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (Value.Integer 4) |) in + M.write (| + β, + BinOp.Wrap.shl (| M.read (| β |), Value.Integer IntegerKind.I32 4 |) + |) in let~ _ := let β := e in M.write (| β, - BinOp.Wrap.sub Integer.I16 (M.read (| β |)) (Value.Integer 4) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.I16 4 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -439,22 +466,30 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| f |)) - (BinOp.Wrap.sub Integer.I32 (Value.Integer 64) (Value.Integer 2))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| f |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 64, + Value.Integer IntegerKind.I32 2 + |) + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := f in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (Value.Integer 2) |) in + M.write (| + β, + BinOp.Wrap.shl (| M.read (| β |), Value.Integer IntegerKind.I32 2 |) + |) in let~ _ := let β := e in M.write (| β, - BinOp.Wrap.sub Integer.I16 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.I16 2 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -469,22 +504,30 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.shr - (M.read (| f |)) - (BinOp.Wrap.sub Integer.I32 (Value.Integer 64) (Value.Integer 1))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.shr (| + M.read (| f |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 64, + Value.Integer IntegerKind.I32 1 + |) + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := f in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.shl (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) + |) in let~ _ := let β := e in M.write (| β, - BinOp.Wrap.sub Integer.I16 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.I16 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -508,10 +551,15 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.read (| f |)) - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 63))) + UnOp.not (| + BinOp.ge (| + M.read (| f |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + Value.Integer IntegerKind.I32 63 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -543,7 +591,7 @@ Module num. [ ("f", M.read (| f |)); ("e", M.read (| e |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_normalize : M.IsAssociatedFunction Self "normalize" normalize. @@ -566,16 +614,16 @@ Module num. M.read (| let~ edelta := M.alloc (| - BinOp.Wrap.sub - Integer.I16 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::diy_float::Fp", "e" |) - |)) - (M.read (| e |)) + |), + M.read (| e |) + |) |) in let~ _ := M.match_operator (| @@ -586,7 +634,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| edelta |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ge (| M.read (| edelta |), Value.Integer IntegerKind.I16 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -608,17 +658,19 @@ Module num. Value.Tuple [ M.alloc (| - BinOp.Wrap.shr - (BinOp.Wrap.shl - (M.read (| + BinOp.Wrap.shr (| + BinOp.Wrap.shl (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::diy_float::Fp", "f" |) - |)) - (M.read (| edelta |))) - (M.read (| edelta |)) + |), + M.read (| edelta |) + |), + M.read (| edelta |) + |) |); M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -642,10 +694,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -686,20 +740,21 @@ Module num. "core::num::diy_float::Fp" [ ("f", - BinOp.Wrap.shl - (M.read (| + BinOp.Wrap.shl (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::diy_float::Fp", "f" |) - |)) - (M.read (| edelta |))); + |), + M.read (| edelta |) + |)); ("e", M.read (| e |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_normalize_to : diff --git a/CoqOfRust/core/num/error.v b/CoqOfRust/core/num/error.v index 4f104f725..1bef46c5c 100644 --- a/CoqOfRust/core/num/error.v +++ b/CoqOfRust/core/num/error.v @@ -40,7 +40,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77,7 +77,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -130,7 +130,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -167,7 +167,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -210,7 +210,7 @@ Module num. M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -235,7 +235,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "out of range integral type conversion attempted" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -260,7 +260,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.never_to_any (| M.read (| M.match_operator (| x, [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -288,7 +288,7 @@ Module num. ltac:(M.monadic (let never := M.alloc (| never |) in M.never_to_any (| M.read (| M.match_operator (| never, [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -337,7 +337,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -378,7 +378,7 @@ Module num. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -431,7 +431,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -468,7 +468,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -577,7 +577,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -638,7 +638,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -691,9 +691,9 @@ Module num. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -725,7 +725,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -755,7 +755,7 @@ Module num. "core::num::error::ParseIntError", "kind" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_kind : M.IsAssociatedFunction Self "kind" kind. @@ -792,7 +792,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -865,7 +865,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/num/f32.v b/CoqOfRust/core/num/f32.v index 9175d5a55..ba26c85f6 100644 --- a/CoqOfRust/core/num/f32.v +++ b/CoqOfRust/core/num/f32.v @@ -96,21 +96,23 @@ Module f32. (* pub const RADIX: u32 = 2; *) (* Ty.path "u32" *) - Definition value_RADIX : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 2 |))). + Definition value_RADIX : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). Axiom AssociatedConstant_value_RADIX : M.IsAssociatedConstant Self "value_RADIX" value_RADIX. (* pub const MANTISSA_DIGITS: u32 = 24; *) (* Ty.path "u32" *) Definition value_MANTISSA_DIGITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 24 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 24 |))). Axiom AssociatedConstant_value_MANTISSA_DIGITS : M.IsAssociatedConstant Self "value_MANTISSA_DIGITS" value_MANTISSA_DIGITS. (* pub const DIGITS: u32 = 6; *) (* Ty.path "u32" *) - Definition value_DIGITS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 6 |))). + Definition value_DIGITS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 6 |))). Axiom AssociatedConstant_value_DIGITS : M.IsAssociatedConstant Self "value_DIGITS" value_DIGITS. @@ -143,14 +145,15 @@ Module f32. (* pub const MIN_EXP: i32 = -125; *) (* Ty.path "i32" *) Definition value_MIN_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-125) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-125) |))). Axiom AssociatedConstant_value_MIN_EXP : M.IsAssociatedConstant Self "value_MIN_EXP" value_MIN_EXP. (* pub const MAX_EXP: i32 = 128; *) (* Ty.path "i32" *) - Definition value_MAX_EXP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 128 |))). + Definition value_MAX_EXP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 128 |))). Axiom AssociatedConstant_value_MAX_EXP : M.IsAssociatedConstant Self "value_MAX_EXP" value_MAX_EXP. @@ -158,7 +161,7 @@ Module f32. (* pub const MIN_10_EXP: i32 = -37; *) (* Ty.path "i32" *) Definition value_MIN_10_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-37) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-37) |))). Axiom AssociatedConstant_value_MIN_10_EXP : M.IsAssociatedConstant Self "value_MIN_10_EXP" value_MIN_10_EXP. @@ -166,7 +169,7 @@ Module f32. (* pub const MAX_10_EXP: i32 = 38; *) (* Ty.path "i32" *) Definition value_MAX_10_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 38 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 38 |))). Axiom AssociatedConstant_value_MAX_10_EXP : M.IsAssociatedConstant Self "value_MAX_10_EXP" value_MAX_10_EXP. @@ -177,10 +180,7 @@ Module f32. M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| UnsupportedLiteral |)) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) |))). Axiom AssociatedConstant_value_NAN : M.IsAssociatedConstant Self "value_NAN" value_NAN. @@ -191,10 +191,7 @@ Module f32. M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| UnsupportedLiteral |)) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) |))). Axiom AssociatedConstant_value_INFINITY : @@ -206,10 +203,7 @@ Module f32. M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| UnsupportedLiteral |)) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) |))). Axiom AssociatedConstant_value_NEG_INFINITY : @@ -225,8 +219,8 @@ Module f32. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne (M.read (| self |)) (M.read (| self |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| self |), M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_nan : M.IsAssociatedFunction Self "is_nan" is_nan. @@ -245,7 +239,7 @@ Module f32. M.call_closure (| M.get_function (| "core::intrinsics::transmute", [ Ty.path "u32"; Ty.path "f32" ] |), [ - BinOp.Pure.bit_and + BinOp.bit_and (M.call_closure (| M.get_function (| "core::intrinsics::transmute", @@ -253,10 +247,10 @@ Module f32. |), [ M.read (| self |) ] |)) - (Value.Integer 2147483647) + (Value.Integer IntegerKind.U32 2147483647) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_private : M.IsAssociatedFunction Self "abs_private" abs_private. @@ -274,14 +268,16 @@ Module f32. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::f32::INFINITY" |) |))) - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::f32::NEG_INFINITY" |) |))))) - | _, _ => M.impossible + BinOp.bit_or + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::f32::INFINITY" |) |) + |)) + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::f32::NEG_INFINITY" |) |) + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_infinite : M.IsAssociatedFunction Self "is_infinite" is_infinite. @@ -298,13 +294,14 @@ Module f32. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "f32", "abs_private", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::f32::INFINITY" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::f32::INFINITY" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_finite : M.IsAssociatedFunction Self "is_finite" is_finite. @@ -336,7 +333,7 @@ Module f32. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_subnormal : M.IsAssociatedFunction Self "is_subnormal" is_subnormal. @@ -368,7 +365,7 @@ Module f32. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_normal : M.IsAssociatedFunction Self "is_normal" is_normal. @@ -462,7 +459,7 @@ Module f32. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_classify : M.IsAssociatedFunction Self "classify" classify. @@ -501,10 +498,10 @@ Module f32. M.alloc (| Value.Tuple [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| b |)) (M.read (| M.get_constant (| "core::f32::partial_classify::MAN_MASK" |) |)); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| b |)) (M.read (| M.get_constant (| "core::f32::partial_classify::EXP_MASK" |) |)) ] @@ -515,16 +512,25 @@ Module f32. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U32 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U32 0 + |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Zero" [] |))); fun γ => ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U32 0 + |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Subnormal" [] |))); fun γ => ltac:(M.monadic @@ -532,7 +538,7 @@ Module f32. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_partial_classify : @@ -562,10 +568,10 @@ Module f32. M.alloc (| Value.Tuple [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| b |)) (M.read (| M.get_constant (| "core::f32::classify_bits::MAN_MASK" |) |)); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| b |)) (M.read (| M.get_constant (| "core::f32::classify_bits::EXP_MASK" |) |)) ] @@ -576,11 +582,14 @@ Module f32. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U32 0 + |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 2139095040 + Value.Integer IntegerKind.U32 2139095040 |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Infinite" [] |))); fun γ => @@ -590,7 +599,7 @@ Module f32. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 2139095040 + Value.Integer IntegerKind.U32 2139095040 |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Nan" [] |))); fun γ => @@ -598,16 +607,25 @@ Module f32. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U32 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U32 0 + |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Zero" [] |))); fun γ => ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U32 0 + |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Subnormal" [] |))); fun γ => ltac:(M.monadic @@ -615,7 +633,7 @@ Module f32. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_classify_bits : @@ -631,12 +649,13 @@ Module f32. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "f32", "is_sign_negative", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_sign_positive : @@ -655,8 +674,8 @@ Module f32. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.call_closure (| M.get_function (| "core::intrinsics::transmute", @@ -664,9 +683,10 @@ Module f32. |), [ M.read (| self |) ] |)) - (Value.Integer 2147483648)) - (Value.Integer 0))) - | _, _ => M.impossible + (Value.Integer IntegerKind.U32 2147483648), + Value.Integer IntegerKind.U32 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_sign_negative : @@ -725,16 +745,17 @@ Module f32. [ M.read (| self |) ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| bits |)) - (M.call_closure (| + (BinOp.eq (| + M.read (| bits |), + M.call_closure (| M.get_associated_function (| Ty.path "f32", "to_bits", [] |), [ M.read (| M.get_constant (| "core::f32::INFINITY" |) |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -747,7 +768,7 @@ Module f32. |) in let~ abs := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| bits |)) (M.read (| M.get_constant (| "core::f32::next_up::CLEAR_SIGN_MASK" |) |)) |) in @@ -761,7 +782,7 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| abs |)) (Value.Integer 0) + BinOp.eq (| M.read (| abs |), Value.Integer IntegerKind.U32 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -776,7 +797,7 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| bits |)) (M.read (| abs |)) + BinOp.eq (| M.read (| bits |), M.read (| abs |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -784,18 +805,18 @@ Module f32. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| bits |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| bits |), + Value.Integer IntegerKind.U32 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (M.read (| bits |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| bits |), + Value.Integer IntegerKind.U32 1 + |) |))) ] |))) @@ -810,7 +831,7 @@ Module f32. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_up : M.IsAssociatedFunction Self "next_up" next_up. @@ -868,9 +889,9 @@ Module f32. [ M.read (| self |) ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| bits |)) - (M.call_closure (| + (BinOp.eq (| + M.read (| bits |), + M.call_closure (| M.get_associated_function (| Ty.path "f32", "to_bits", @@ -881,7 +902,8 @@ Module f32. M.get_constant (| "core::f32::NEG_INFINITY" |) |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -894,7 +916,7 @@ Module f32. |) in let~ abs := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| bits |)) (M.read (| M.get_constant (| "core::f32::next_down::CLEAR_SIGN_MASK" |) |)) |) in @@ -908,7 +930,7 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| abs |)) (Value.Integer 0) + BinOp.eq (| M.read (| abs |), Value.Integer IntegerKind.U32 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -923,7 +945,7 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| bits |)) (M.read (| abs |)) + BinOp.eq (| M.read (| bits |), M.read (| abs |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -931,18 +953,18 @@ Module f32. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (M.read (| bits |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| bits |), + Value.Integer IntegerKind.U32 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| bits |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| bits |), + Value.Integer IntegerKind.U32 1 + |) |))) ] |))) @@ -957,7 +979,7 @@ Module f32. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_down : M.IsAssociatedFunction Self "next_down" next_down. @@ -972,8 +994,8 @@ Module f32. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.div Integer.Usize (M.read (| UnsupportedLiteral |)) (M.read (| self |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_recip : M.IsAssociatedFunction Self "recip" recip. @@ -990,11 +1012,11 @@ Module f32. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| self |)) - (M.read (| M.get_constant (| "core::f32::to_degrees::PIS_IN_180" |) |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| + M.read (| self |), + M.read (| M.get_constant (| "core::f32::to_degrees::PIS_IN_180" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_degrees : M.IsAssociatedFunction Self "to_degrees" to_degrees. @@ -1013,16 +1035,13 @@ Module f32. M.read (| let~ value := M.copy (| M.get_constant (| "core::f32::consts::PI" |) |) in M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| self |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| value |)) - (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.mul (| + M.read (| self |), + BinOp.Wrap.div (| M.read (| value |), M.read (| UnsupportedLiteral |) |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_radians : M.IsAssociatedFunction Self "to_radians" to_radians. @@ -1042,7 +1061,7 @@ Module f32. M.get_function (| "core::intrinsics::maxnumf32", [] |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max : M.IsAssociatedFunction Self "max" max. @@ -1062,7 +1081,7 @@ Module f32. M.get_function (| "core::intrinsics::minnumf32", [] |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min : M.IsAssociatedFunction Self "min" min. @@ -1093,8 +1112,7 @@ Module f32. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.gt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => @@ -1107,7 +1125,7 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| other |)) (M.read (| self |)) + BinOp.gt (| M.read (| other |), M.read (| self |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1122,7 +1140,7 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (M.read (| other |)) + BinOp.eq (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1169,10 +1187,7 @@ Module f32. fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| self |)) - (M.read (| other |)) + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |) |))) ] |))) @@ -1181,7 +1196,7 @@ Module f32. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_maximum : M.IsAssociatedFunction Self "maximum" maximum. @@ -1213,8 +1228,7 @@ Module f32. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => @@ -1227,7 +1241,7 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| other |)) (M.read (| self |)) + BinOp.lt (| M.read (| other |), M.read (| self |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1242,7 +1256,7 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (M.read (| other |)) + BinOp.eq (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1289,10 +1303,7 @@ Module f32. fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| self |)) - (M.read (| other |)) + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |) |))) ] |))) @@ -1301,7 +1312,7 @@ Module f32. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_minimum : M.IsAssociatedFunction Self "minimum" minimum. @@ -1369,24 +1380,24 @@ Module f32. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (M.read (| abs_a |)) - (M.read (| M.get_constant (| "core::f32::midpoint::HI" |) |)), + BinOp.le (| + M.read (| abs_a |), + M.read (| M.get_constant (| "core::f32::midpoint::HI" |) |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| abs_b |)) - (M.read (| - M.get_constant (| "core::f32::midpoint::HI" |) - |)))) + (BinOp.le (| + M.read (| abs_b |), + M.read (| M.get_constant (| "core::f32::midpoint::HI" |) |) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.add Integer.Usize (M.read (| a |)) (M.read (| b |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.div (| + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |), + M.read (| UnsupportedLiteral |) + |) |))); fun γ => ltac:(M.monadic @@ -1398,11 +1409,12 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| abs_a |)) - (M.read (| + BinOp.lt (| + M.read (| abs_a |), + M.read (| M.get_constant (| "core::f32::midpoint::LO" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1410,13 +1422,13 @@ Module f32. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| b |)) - (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.add (| + M.read (| a |), + BinOp.Wrap.div (| + M.read (| b |), + M.read (| UnsupportedLiteral |) + |) + |) |))); fun γ => ltac:(M.monadic @@ -1428,11 +1440,12 @@ Module f32. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| abs_b |)) - (M.read (| + BinOp.lt (| + M.read (| abs_b |), + M.read (| M.get_constant (| "core::f32::midpoint::LO" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1440,27 +1453,27 @@ Module f32. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (M.read (| a |)) - (M.read (| UnsupportedLiteral |))) - (M.read (| b |)) + BinOp.Wrap.add (| + BinOp.Wrap.div (| + M.read (| a |), + M.read (| UnsupportedLiteral |) + |), + M.read (| b |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (M.read (| a |)) - (M.read (| UnsupportedLiteral |))) - (BinOp.Wrap.div - Integer.Usize - (M.read (| b |)) - (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.add (| + BinOp.Wrap.div (| + M.read (| a |), + M.read (| UnsupportedLiteral |) + |), + BinOp.Wrap.div (| + M.read (| b |), + M.read (| UnsupportedLiteral |) + |) + |) |))) ] |))) @@ -1471,7 +1484,7 @@ Module f32. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -1501,7 +1514,7 @@ Module f32. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_int_unchecked : @@ -1579,7 +1592,7 @@ Module f32. M.get_associated_function (| Self, "rt_f32_to_u32.to_bits", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_bits : M.IsAssociatedFunction Self "to_bits" to_bits. @@ -1658,7 +1671,7 @@ Module f32. M.get_associated_function (| Self, "rt_u32_to_f32.from_bits", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bits : M.IsAssociatedFunction Self "from_bits" from_bits. @@ -1682,7 +1695,7 @@ Module f32. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -1706,7 +1719,7 @@ Module f32. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -1730,7 +1743,7 @@ Module f32. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -1754,7 +1767,7 @@ Module f32. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -1779,7 +1792,7 @@ Module f32. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -1804,7 +1817,7 @@ Module f32. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -1870,23 +1883,27 @@ Module f32. let β := left in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.rust_cast - (BinOp.Wrap.shr - (M.rust_cast (BinOp.Wrap.shr (M.read (| left |)) (Value.Integer 31))) - (Value.Integer 1))) + (BinOp.Wrap.shr (| + M.rust_cast + (BinOp.Wrap.shr (| M.read (| left |), Value.Integer IntegerKind.I32 31 |)), + Value.Integer IntegerKind.I32 1 + |))) |) in let~ _ := let β := right in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.rust_cast - (BinOp.Wrap.shr - (M.rust_cast (BinOp.Wrap.shr (M.read (| right |)) (Value.Integer 31))) - (Value.Integer 1))) + (BinOp.Wrap.shr (| + M.rust_cast + (BinOp.Wrap.shr (| M.read (| right |), Value.Integer IntegerKind.I32 31 |)), + Value.Integer IntegerKind.I32 1 + |))) |) in M.alloc (| M.call_closure (| @@ -1895,7 +1912,7 @@ Module f32. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_total_cmp : M.IsAssociatedFunction Self "total_cmp" total_cmp. @@ -1929,7 +1946,7 @@ Module f32. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.le (M.read (| min |)) (M.read (| max |))) + UnOp.not (| BinOp.le (| M.read (| min |), M.read (| max |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1994,8 +2011,7 @@ Module f32. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| min |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| min |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| self, M.read (| min |) |) in M.alloc (| Value.Tuple [] |))); @@ -2009,8 +2025,7 @@ Module f32. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (M.read (| max |)) |)) in + M.use (M.alloc (| BinOp.gt (| M.read (| self |), M.read (| max |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| self, M.read (| max |) |) in M.alloc (| Value.Tuple [] |))); @@ -2019,7 +2034,7 @@ Module f32. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clamp : M.IsAssociatedFunction Self "clamp" clamp. diff --git a/CoqOfRust/core/num/f64.v b/CoqOfRust/core/num/f64.v index 184e5b2b3..2a8fd540b 100644 --- a/CoqOfRust/core/num/f64.v +++ b/CoqOfRust/core/num/f64.v @@ -96,21 +96,23 @@ Module f64. (* pub const RADIX: u32 = 2; *) (* Ty.path "u32" *) - Definition value_RADIX : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 2 |))). + Definition value_RADIX : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). Axiom AssociatedConstant_value_RADIX : M.IsAssociatedConstant Self "value_RADIX" value_RADIX. (* pub const MANTISSA_DIGITS: u32 = 53; *) (* Ty.path "u32" *) Definition value_MANTISSA_DIGITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 53 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 53 |))). Axiom AssociatedConstant_value_MANTISSA_DIGITS : M.IsAssociatedConstant Self "value_MANTISSA_DIGITS" value_MANTISSA_DIGITS. (* pub const DIGITS: u32 = 15; *) (* Ty.path "u32" *) - Definition value_DIGITS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 15 |))). + Definition value_DIGITS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 15 |))). Axiom AssociatedConstant_value_DIGITS : M.IsAssociatedConstant Self "value_DIGITS" value_DIGITS. @@ -143,14 +145,15 @@ Module f64. (* pub const MIN_EXP: i32 = -1021; *) (* Ty.path "i32" *) Definition value_MIN_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-1021) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-1021) |))). Axiom AssociatedConstant_value_MIN_EXP : M.IsAssociatedConstant Self "value_MIN_EXP" value_MIN_EXP. (* pub const MAX_EXP: i32 = 1024; *) (* Ty.path "i32" *) - Definition value_MAX_EXP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 1024 |))). + Definition value_MAX_EXP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 1024 |))). Axiom AssociatedConstant_value_MAX_EXP : M.IsAssociatedConstant Self "value_MAX_EXP" value_MAX_EXP. @@ -158,7 +161,7 @@ Module f64. (* pub const MIN_10_EXP: i32 = -307; *) (* Ty.path "i32" *) Definition value_MIN_10_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-307) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-307) |))). Axiom AssociatedConstant_value_MIN_10_EXP : M.IsAssociatedConstant Self "value_MIN_10_EXP" value_MIN_10_EXP. @@ -166,7 +169,7 @@ Module f64. (* pub const MAX_10_EXP: i32 = 308; *) (* Ty.path "i32" *) Definition value_MAX_10_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 308 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 308 |))). Axiom AssociatedConstant_value_MAX_10_EXP : M.IsAssociatedConstant Self "value_MAX_10_EXP" value_MAX_10_EXP. @@ -177,10 +180,7 @@ Module f64. M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| UnsupportedLiteral |)) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) |))). Axiom AssociatedConstant_value_NAN : M.IsAssociatedConstant Self "value_NAN" value_NAN. @@ -191,10 +191,7 @@ Module f64. M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| UnsupportedLiteral |)) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) |))). Axiom AssociatedConstant_value_INFINITY : @@ -206,10 +203,7 @@ Module f64. M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| UnsupportedLiteral |)) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) |))). Axiom AssociatedConstant_value_NEG_INFINITY : @@ -225,8 +219,8 @@ Module f64. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne (M.read (| self |)) (M.read (| self |)))) - | _, _ => M.impossible + BinOp.ne (| M.read (| self |), M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_nan : M.IsAssociatedFunction Self "is_nan" is_nan. @@ -247,7 +241,7 @@ Module f64. M.call_closure (| M.get_function (| "core::intrinsics::transmute", [ Ty.path "u64"; Ty.path "f64" ] |), [ - BinOp.Pure.bit_and + BinOp.bit_and (M.call_closure (| M.get_function (| "core::intrinsics::transmute", @@ -255,10 +249,10 @@ Module f64. |), [ M.read (| self |) ] |)) - (Value.Integer 9223372036854775807) + (Value.Integer IntegerKind.U64 9223372036854775807) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_private : M.IsAssociatedFunction Self "abs_private" abs_private. @@ -276,14 +270,16 @@ Module f64. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::f64::INFINITY" |) |))) - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::f64::NEG_INFINITY" |) |))))) - | _, _ => M.impossible + BinOp.bit_or + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::f64::INFINITY" |) |) + |)) + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::f64::NEG_INFINITY" |) |) + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_infinite : M.IsAssociatedFunction Self "is_infinite" is_infinite. @@ -300,13 +296,14 @@ Module f64. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "f64", "abs_private", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::f64::INFINITY" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::f64::INFINITY" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_finite : M.IsAssociatedFunction Self "is_finite" is_finite. @@ -338,7 +335,7 @@ Module f64. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_subnormal : M.IsAssociatedFunction Self "is_subnormal" is_subnormal. @@ -370,7 +367,7 @@ Module f64. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_normal : M.IsAssociatedFunction Self "is_normal" is_normal. @@ -439,7 +436,7 @@ Module f64. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_classify : M.IsAssociatedFunction Self "classify" classify. @@ -479,10 +476,10 @@ Module f64. M.alloc (| Value.Tuple [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| b |)) (M.read (| M.get_constant (| "core::f64::partial_classify::MAN_MASK" |) |)); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| b |)) (M.read (| M.get_constant (| "core::f64::partial_classify::EXP_MASK" |) |)) ] @@ -493,11 +490,14 @@ Module f64. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U64 0 + |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 9218868437227405312 + Value.Integer IntegerKind.U64 9218868437227405312 |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Infinite" [] |))); fun γ => @@ -505,16 +505,25 @@ Module f64. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U64 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U64 0 + |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Zero" [] |))); fun γ => ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U64 0 + |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Subnormal" [] |))); fun γ => ltac:(M.monadic @@ -522,7 +531,7 @@ Module f64. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_partial_classify : @@ -552,10 +561,10 @@ Module f64. M.alloc (| Value.Tuple [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| b |)) (M.read (| M.get_constant (| "core::f64::classify_bits::MAN_MASK" |) |)); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| b |)) (M.read (| M.get_constant (| "core::f64::classify_bits::EXP_MASK" |) |)) ] @@ -566,11 +575,14 @@ Module f64. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U64 0 + |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 9218868437227405312 + Value.Integer IntegerKind.U64 9218868437227405312 |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Infinite" [] |))); fun γ => @@ -580,7 +592,7 @@ Module f64. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), - Value.Integer 9218868437227405312 + Value.Integer IntegerKind.U64 9218868437227405312 |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Nan" [] |))); fun γ => @@ -588,16 +600,25 @@ Module f64. (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U64 0 + |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U64 0 + |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Zero" [] |))); fun γ => ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.U64 0 + |) in M.alloc (| Value.StructTuple "core::num::FpCategory::Subnormal" [] |))); fun γ => ltac:(M.monadic @@ -605,7 +626,7 @@ Module f64. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_classify_bits : @@ -621,12 +642,13 @@ Module f64. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "f64", "is_sign_negative", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_sign_positive : @@ -646,7 +668,7 @@ Module f64. M.get_associated_function (| Ty.path "f64", "is_sign_positive", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -664,8 +686,8 @@ Module f64. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.call_closure (| M.get_function (| "core::intrinsics::transmute", @@ -673,9 +695,10 @@ Module f64. |), [ M.read (| self |) ] |)) - (Value.Integer 9223372036854775808)) - (Value.Integer 0))) - | _, _ => M.impossible + (Value.Integer IntegerKind.U64 9223372036854775808), + Value.Integer IntegerKind.U64 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_sign_negative : @@ -695,7 +718,7 @@ Module f64. M.get_associated_function (| Ty.path "f64", "is_sign_negative", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -753,16 +776,17 @@ Module f64. [ M.read (| self |) ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| bits |)) - (M.call_closure (| + (BinOp.eq (| + M.read (| bits |), + M.call_closure (| M.get_associated_function (| Ty.path "f64", "to_bits", [] |), [ M.read (| M.get_constant (| "core::f64::INFINITY" |) |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -775,7 +799,7 @@ Module f64. |) in let~ abs := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| bits |)) (M.read (| M.get_constant (| "core::f64::next_up::CLEAR_SIGN_MASK" |) |)) |) in @@ -789,7 +813,7 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| abs |)) (Value.Integer 0) + BinOp.eq (| M.read (| abs |), Value.Integer IntegerKind.U64 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -804,7 +828,7 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| bits |)) (M.read (| abs |)) + BinOp.eq (| M.read (| bits |), M.read (| abs |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -812,18 +836,18 @@ Module f64. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.U64 - (M.read (| bits |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| bits |), + Value.Integer IntegerKind.U64 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| bits |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| bits |), + Value.Integer IntegerKind.U64 1 + |) |))) ] |))) @@ -838,7 +862,7 @@ Module f64. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_up : M.IsAssociatedFunction Self "next_up" next_up. @@ -896,9 +920,9 @@ Module f64. [ M.read (| self |) ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| bits |)) - (M.call_closure (| + (BinOp.eq (| + M.read (| bits |), + M.call_closure (| M.get_associated_function (| Ty.path "f64", "to_bits", @@ -909,7 +933,8 @@ Module f64. M.get_constant (| "core::f64::NEG_INFINITY" |) |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -922,7 +947,7 @@ Module f64. |) in let~ abs := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| bits |)) (M.read (| M.get_constant (| "core::f64::next_down::CLEAR_SIGN_MASK" |) |)) |) in @@ -936,7 +961,7 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| abs |)) (Value.Integer 0) + BinOp.eq (| M.read (| abs |), Value.Integer IntegerKind.U64 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -951,7 +976,7 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| bits |)) (M.read (| abs |)) + BinOp.eq (| M.read (| bits |), M.read (| abs |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -959,18 +984,18 @@ Module f64. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| bits |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| bits |), + Value.Integer IntegerKind.U64 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.U64 - (M.read (| bits |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| bits |), + Value.Integer IntegerKind.U64 1 + |) |))) ] |))) @@ -985,7 +1010,7 @@ Module f64. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_down : M.IsAssociatedFunction Self "next_down" next_down. @@ -1000,8 +1025,8 @@ Module f64. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.div Integer.Usize (M.read (| UnsupportedLiteral |)) (M.read (| self |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_recip : M.IsAssociatedFunction Self "recip" recip. @@ -1019,14 +1044,14 @@ Module f64. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| self |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| UnsupportedLiteral |)) - (M.read (| M.get_constant (| "core::f64::consts::PI" |) |))))) - | _, _ => M.impossible + BinOp.Wrap.mul (| + M.read (| self |), + BinOp.Wrap.div (| + M.read (| UnsupportedLiteral |), + M.read (| M.get_constant (| "core::f64::consts::PI" |) |) + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_degrees : M.IsAssociatedFunction Self "to_degrees" to_degrees. @@ -1045,16 +1070,13 @@ Module f64. M.read (| let~ value := M.copy (| M.get_constant (| "core::f64::consts::PI" |) |) in M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| self |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| value |)) - (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.mul (| + M.read (| self |), + BinOp.Wrap.div (| M.read (| value |), M.read (| UnsupportedLiteral |) |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_radians : M.IsAssociatedFunction Self "to_radians" to_radians. @@ -1074,7 +1096,7 @@ Module f64. M.get_function (| "core::intrinsics::maxnumf64", [] |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max : M.IsAssociatedFunction Self "max" max. @@ -1094,7 +1116,7 @@ Module f64. M.get_function (| "core::intrinsics::minnumf64", [] |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min : M.IsAssociatedFunction Self "min" min. @@ -1125,8 +1147,7 @@ Module f64. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.gt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => @@ -1139,7 +1160,7 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| other |)) (M.read (| self |)) + BinOp.gt (| M.read (| other |), M.read (| self |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1154,7 +1175,7 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (M.read (| other |)) + BinOp.eq (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1201,10 +1222,7 @@ Module f64. fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| self |)) - (M.read (| other |)) + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |) |))) ] |))) @@ -1213,7 +1231,7 @@ Module f64. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_maximum : M.IsAssociatedFunction Self "maximum" maximum. @@ -1245,8 +1263,7 @@ Module f64. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => @@ -1259,7 +1276,7 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| other |)) (M.read (| self |)) + BinOp.lt (| M.read (| other |), M.read (| self |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1274,7 +1291,7 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (M.read (| other |)) + BinOp.eq (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1321,10 +1338,7 @@ Module f64. fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| self |)) - (M.read (| other |)) + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |) |))) ] |))) @@ -1333,7 +1347,7 @@ Module f64. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_minimum : M.IsAssociatedFunction Self "minimum" minimum. @@ -1401,24 +1415,24 @@ Module f64. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (M.read (| abs_a |)) - (M.read (| M.get_constant (| "core::f64::midpoint::HI" |) |)), + BinOp.le (| + M.read (| abs_a |), + M.read (| M.get_constant (| "core::f64::midpoint::HI" |) |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| abs_b |)) - (M.read (| - M.get_constant (| "core::f64::midpoint::HI" |) - |)))) + (BinOp.le (| + M.read (| abs_b |), + M.read (| M.get_constant (| "core::f64::midpoint::HI" |) |) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.add Integer.Usize (M.read (| a |)) (M.read (| b |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.div (| + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |), + M.read (| UnsupportedLiteral |) + |) |))); fun γ => ltac:(M.monadic @@ -1430,11 +1444,12 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| abs_a |)) - (M.read (| + BinOp.lt (| + M.read (| abs_a |), + M.read (| M.get_constant (| "core::f64::midpoint::LO" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1442,13 +1457,13 @@ Module f64. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| b |)) - (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.add (| + M.read (| a |), + BinOp.Wrap.div (| + M.read (| b |), + M.read (| UnsupportedLiteral |) + |) + |) |))); fun γ => ltac:(M.monadic @@ -1460,11 +1475,12 @@ Module f64. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| abs_b |)) - (M.read (| + BinOp.lt (| + M.read (| abs_b |), + M.read (| M.get_constant (| "core::f64::midpoint::LO" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1472,27 +1488,27 @@ Module f64. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (M.read (| a |)) - (M.read (| UnsupportedLiteral |))) - (M.read (| b |)) + BinOp.Wrap.add (| + BinOp.Wrap.div (| + M.read (| a |), + M.read (| UnsupportedLiteral |) + |), + M.read (| b |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (M.read (| a |)) - (M.read (| UnsupportedLiteral |))) - (BinOp.Wrap.div - Integer.Usize - (M.read (| b |)) - (M.read (| UnsupportedLiteral |))) + BinOp.Wrap.add (| + BinOp.Wrap.div (| + M.read (| a |), + M.read (| UnsupportedLiteral |) + |), + BinOp.Wrap.div (| + M.read (| b |), + M.read (| UnsupportedLiteral |) + |) + |) |))) ] |))) @@ -1503,7 +1519,7 @@ Module f64. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -1533,7 +1549,7 @@ Module f64. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_int_unchecked : @@ -1593,7 +1609,7 @@ Module f64. M.get_associated_function (| Self, "rt_f64_to_u64.to_bits", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_bits : M.IsAssociatedFunction Self "to_bits" to_bits. @@ -1677,7 +1693,7 @@ Module f64. M.get_associated_function (| Self, "rt_u64_to_f64.from_bits", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bits : M.IsAssociatedFunction Self "from_bits" from_bits. @@ -1701,7 +1717,7 @@ Module f64. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -1725,7 +1741,7 @@ Module f64. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -1749,7 +1765,7 @@ Module f64. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -1773,7 +1789,7 @@ Module f64. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -1798,7 +1814,7 @@ Module f64. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -1823,7 +1839,7 @@ Module f64. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -1889,23 +1905,27 @@ Module f64. let β := left in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.rust_cast - (BinOp.Wrap.shr - (M.rust_cast (BinOp.Wrap.shr (M.read (| left |)) (Value.Integer 63))) - (Value.Integer 1))) + (BinOp.Wrap.shr (| + M.rust_cast + (BinOp.Wrap.shr (| M.read (| left |), Value.Integer IntegerKind.I32 63 |)), + Value.Integer IntegerKind.I32 1 + |))) |) in let~ _ := let β := right in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) (M.rust_cast - (BinOp.Wrap.shr - (M.rust_cast (BinOp.Wrap.shr (M.read (| right |)) (Value.Integer 63))) - (Value.Integer 1))) + (BinOp.Wrap.shr (| + M.rust_cast + (BinOp.Wrap.shr (| M.read (| right |), Value.Integer IntegerKind.I32 63 |)), + Value.Integer IntegerKind.I32 1 + |))) |) in M.alloc (| M.call_closure (| @@ -1914,7 +1934,7 @@ Module f64. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_total_cmp : M.IsAssociatedFunction Self "total_cmp" total_cmp. @@ -1948,7 +1968,7 @@ Module f64. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.le (M.read (| min |)) (M.read (| max |))) + UnOp.not (| BinOp.le (| M.read (| min |), M.read (| max |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2013,8 +2033,7 @@ Module f64. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| min |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| min |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| self, M.read (| min |) |) in M.alloc (| Value.Tuple [] |))); @@ -2028,8 +2047,7 @@ Module f64. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (M.read (| max |)) |)) in + M.use (M.alloc (| BinOp.gt (| M.read (| self |), M.read (| max |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| self, M.read (| max |) |) in M.alloc (| Value.Tuple [] |))); @@ -2038,7 +2056,7 @@ Module f64. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clamp : M.IsAssociatedFunction Self "clamp" clamp. diff --git a/CoqOfRust/core/num/flt2dec/decoder.v b/CoqOfRust/core/num/flt2dec/decoder.v index 72ad7dff4..be408a285 100644 --- a/CoqOfRust/core/num/flt2dec/decoder.v +++ b/CoqOfRust/core/num/flt2dec/decoder.v @@ -58,7 +58,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -132,7 +132,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -168,90 +168,95 @@ Module num. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::flt2dec::decoder::Decoded", "minus" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::flt2dec::decoder::Decoded", "minus" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::flt2dec::decoder::Decoded", "plus" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::flt2dec::decoder::Decoded", "plus" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::flt2dec::decoder::Decoded", "exp" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::flt2dec::decoder::Decoded", "exp" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::num::flt2dec::decoder::Decoded", "inclusive" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::num::flt2dec::decoder::Decoded", "inclusive" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -302,7 +307,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -370,7 +375,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -476,7 +481,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -531,7 +536,7 @@ Module num. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -576,7 +581,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -613,7 +618,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -639,7 +644,7 @@ Module num. Definition min_pos_norm_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::f32::MIN_POSITIVE" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -661,7 +666,7 @@ Module num. Definition min_pos_norm_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::f64::MIN_POSITIVE" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -743,9 +748,10 @@ Module num. let sign := M.copy (| γ0_2 |) in let~ even := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and (M.read (| mant |)) (Value.Integer 1)) - (Value.Integer 0) + BinOp.eq (| + BinOp.bit_and (M.read (| mant |)) (Value.Integer IntegerKind.U64 1), + Value.Integer IntegerKind.U64 0 + |) |) in let~ decoded := M.copy (| @@ -802,8 +808,8 @@ Module num. "core::num::flt2dec::decoder::Decoded" [ ("mant", M.read (| mant |)); - ("minus", Value.Integer 1); - ("plus", Value.Integer 1); + ("minus", Value.Integer IntegerKind.U64 1); + ("plus", Value.Integer IntegerKind.U64 1); ("exp", M.read (| exp |)); ("inclusive", M.read (| even |)) ] @@ -845,11 +851,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| mant |)) - (M.read (| + BinOp.eq (| + M.read (| mant |), + M.read (| M.SubPointer.get_tuple_field (| minnorm, 0 |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -864,16 +871,17 @@ Module num. "core::num::flt2dec::decoder::Decoded" [ ("mant", - BinOp.Wrap.shl - (M.read (| mant |)) - (Value.Integer 2)); - ("minus", Value.Integer 1); - ("plus", Value.Integer 2); + BinOp.Wrap.shl (| + M.read (| mant |), + Value.Integer IntegerKind.I32 2 + |)); + ("minus", Value.Integer IntegerKind.U64 1); + ("plus", Value.Integer IntegerKind.U64 2); ("exp", - BinOp.Wrap.sub - Integer.I16 - (M.read (| exp |)) - (Value.Integer 2)); + BinOp.Wrap.sub (| + M.read (| exp |), + Value.Integer IntegerKind.I16 2 + |)); ("inclusive", M.read (| even |)) ] ] @@ -888,16 +896,17 @@ Module num. "core::num::flt2dec::decoder::Decoded" [ ("mant", - BinOp.Wrap.shl - (M.read (| mant |)) - (Value.Integer 1)); - ("minus", Value.Integer 1); - ("plus", Value.Integer 1); + BinOp.Wrap.shl (| + M.read (| mant |), + Value.Integer IntegerKind.I32 1 + |)); + ("minus", Value.Integer IntegerKind.U64 1); + ("plus", Value.Integer IntegerKind.U64 1); ("exp", - BinOp.Wrap.sub - Integer.I16 - (M.read (| exp |)) - (Value.Integer 1)); + BinOp.Wrap.sub (| + M.read (| exp |), + Value.Integer IntegerKind.I16 1 + |)); ("inclusive", M.read (| even |)) ] ] @@ -910,14 +919,14 @@ Module num. M.alloc (| Value.Tuple [ - BinOp.Pure.lt (M.read (| sign |)) (Value.Integer 0); + BinOp.lt (| M.read (| sign |), Value.Integer IntegerKind.I8 0 |); M.read (| decoded |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_decode : M.IsFunction "core::num::flt2dec::decoder::decode" decode. diff --git a/CoqOfRust/core/num/flt2dec/estimator.v b/CoqOfRust/core/num/flt2dec/estimator.v index 40eed32b5..5a5a7de47 100644 --- a/CoqOfRust/core/num/flt2dec/estimator.v +++ b/CoqOfRust/core/num/flt2dec/estimator.v @@ -22,29 +22,27 @@ Module num. M.read (| let~ nbits := M.alloc (| - BinOp.Wrap.sub - Integer.I64 - (Value.Integer 64) - (M.rust_cast + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I64 64, + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "u64", "leading_zeros", [] |), - [ BinOp.Wrap.sub Integer.U64 (M.read (| mant |)) (Value.Integer 1) ] - |))) + [ BinOp.Wrap.sub (| M.read (| mant |), Value.Integer IntegerKind.U64 1 |) ] + |)) + |) |) in M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (BinOp.Wrap.mul - Integer.I64 - (BinOp.Wrap.add - Integer.I64 - (M.read (| nbits |)) - (M.rust_cast (M.read (| exp |)))) - (Value.Integer 1292913986)) - (Value.Integer 32)) + (BinOp.Wrap.shr (| + BinOp.Wrap.mul (| + BinOp.Wrap.add (| M.read (| nbits |), M.rust_cast (M.read (| exp |)) |), + Value.Integer IntegerKind.I64 1292913986 + |), + Value.Integer IntegerKind.I32 32 + |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_estimate_scaling_factor : diff --git a/CoqOfRust/core/num/flt2dec/mod.v b/CoqOfRust/core/num/flt2dec/mod.v index afba329aa..ad71d1fae 100644 --- a/CoqOfRust/core/num/flt2dec/mod.v +++ b/CoqOfRust/core/num/flt2dec/mod.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Module num. Module flt2dec. Definition value_MAX_SIG_DIGITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 17 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 17 |))). (* pub fn round_up(d: &mut [u8]) -> Option { @@ -76,12 +76,13 @@ Module num. ltac:(M.monadic (let γ := M.read (| γ |) in let c := M.copy (| γ |) in - BinOp.Pure.ne - (M.read (| c |)) - (M.read (| UnsupportedLiteral |)))) + BinOp.ne (| + M.read (| c |), + M.read (| UnsupportedLiteral |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -100,7 +101,7 @@ Module num. let β := M.SubPointer.get_array_field (| M.read (| d |), i |) in M.write (| β, - BinOp.Wrap.add Integer.U8 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U8 1 |) |) in let~ _ := M.use @@ -119,10 +120,10 @@ Module num. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1)); + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |)); ("end_", M.call_closure (| M.get_associated_function (| @@ -199,23 +200,24 @@ Module num. (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in let γ := M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| d |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| M.SubPointer.get_array_field (| M.read (| d |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.read (| UnsupportedLiteral |) |) in @@ -235,7 +237,7 @@ Module num. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 1); + ("start", Value.Integer IntegerKind.Usize 1); ("end_", M.call_closure (| M.get_associated_function (| @@ -322,7 +324,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_round_up : M.IsFunction "core::num::flt2dec::round_up" round_up. @@ -415,16 +417,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "is_empty", [] |), [ M.read (| buf |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -447,15 +451,17 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_array_field (| M.read (| buf |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (M.read (| UnsupportedLiteral |))) + |), + M.read (| UnsupportedLiteral |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -478,9 +484,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -493,8 +499,10 @@ Module num. [] |), [ M.read (| parts |) ] - |)) - (Value.Integer 4)) + |), + Value.Integer IntegerKind.Usize 4 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -514,18 +522,18 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| exp |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| exp |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ minus_exp := - M.alloc (| - M.rust_cast - (UnOp.Panic.neg (| Integer.I32, M.rust_cast (M.read (| exp |)) |)) - |) in + M.alloc (| M.rust_cast (UnOp.neg (| M.rust_cast (M.read (| exp |)) |)) |) in let~ _ := M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -546,7 +554,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |), M.call_closure (| M.get_associated_function (| @@ -567,7 +575,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |), M.call_closure (| M.get_associated_function (| @@ -589,30 +597,32 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt - (M.read (| frac_digits |)) - (M.call_closure (| + BinOp.gt (| + M.read (| frac_digits |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.gt - (BinOp.Wrap.sub - Integer.Usize - (M.read (| frac_digits |)) - (M.call_closure (| + (BinOp.gt (| + BinOp.Wrap.sub (| + M.read (| frac_digits |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |))) - (M.read (| minus_exp |)))) + |) + |), + M.read (| minus_exp |) + |))) |) |)) in let _ := @@ -621,7 +631,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |), M.call_closure (| M.get_associated_function (| @@ -635,20 +645,20 @@ Module num. Value.StructTuple "core::num::fmt::Part::Zero" [ - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| frac_digits |)) - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| frac_digits |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |))) - (M.read (| minus_exp |)) + |) + |), + M.read (| minus_exp |) + |) ] ] |) @@ -685,7 +695,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 4) ] + [ ("end_", Value.Integer IntegerKind.Usize 4) ] ] |) ] @@ -725,7 +735,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 3) ] + [ ("end_", Value.Integer IntegerKind.Usize 3) ] ] |) ] @@ -744,16 +754,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| exp |)) - (M.call_closure (| + BinOp.lt (| + M.read (| exp |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -761,7 +772,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -802,7 +813,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |), M.call_closure (| M.get_associated_function (| @@ -826,7 +837,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |), M.call_closure (| M.get_associated_function (| @@ -871,19 +882,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| frac_digits |)) - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.gt (| + M.read (| frac_digits |), + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)) - (M.read (| exp |))) + |), + M.read (| exp |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -894,7 +906,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |), M.call_closure (| M.get_associated_function (| @@ -908,20 +920,20 @@ Module num. Value.StructTuple "core::num::fmt::Part::Zero" [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| frac_digits |)) - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| frac_digits |), + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)) - (M.read (| exp |))) + |), + M.read (| exp |) + |) + |) ] ] |) @@ -958,7 +970,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 4) ] + [ ("end_", Value.Integer IntegerKind.Usize 4) ] ] |) ] @@ -998,7 +1010,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 3) ] + [ ("end_", Value.Integer IntegerKind.Usize 3) ] ] |) ] @@ -1012,7 +1024,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -1033,7 +1045,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |), M.call_closure (| M.get_associated_function (| @@ -1047,17 +1059,17 @@ Module num. Value.StructTuple "core::num::fmt::Part::Zero" [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| exp |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| exp |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)) + |) + |) ] ] |) @@ -1070,7 +1082,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| frac_digits |)) (Value.Integer 0) + BinOp.gt (| + M.read (| frac_digits |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1081,7 +1096,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |), M.call_closure (| M.get_associated_function (| @@ -1105,7 +1120,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |), M.call_closure (| M.get_associated_function (| @@ -1154,7 +1169,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 4) ] + [ ("end_", Value.Integer IntegerKind.Usize 4) ] ] |) ] @@ -1194,7 +1209,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 2) ] + [ ("end_", Value.Integer IntegerKind.Usize 2) ] ] |) ] @@ -1207,7 +1222,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_digits_to_dec_str : @@ -1272,16 +1287,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "is_empty", [] |), [ M.read (| buf |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1304,15 +1321,17 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_array_field (| M.read (| buf |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) - |)) - (M.read (| UnsupportedLiteral |))) + |), + M.read (| UnsupportedLiteral |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1335,9 +1354,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -1350,8 +1369,10 @@ Module num. [] |), [ M.read (| parts |) ] - |)) - (Value.Integer 6)) + |), + Value.Integer IntegerKind.Usize 6 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1365,7 +1386,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ n := M.alloc (| Value.Integer 0 |) in + let~ n := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| M.SubPointer.get_array_field (| M.read (| parts |), n |), @@ -1393,7 +1414,7 @@ Module num. M.read (| buf |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -1402,7 +1423,10 @@ Module num. |) in let~ _ := let β := n in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1413,18 +1437,22 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)) - (Value.Integer 1), + |), + Value.Integer IntegerKind.Usize 1 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| min_ndigits |)) (Value.Integer 1))) + (BinOp.gt (| + M.read (| min_ndigits |), + Value.Integer IntegerKind.Usize 1 + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1452,7 +1480,7 @@ Module num. M.SubPointer.get_array_field (| M.read (| parts |), M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) |) |), M.call_closure (| @@ -1483,7 +1511,7 @@ Module num. M.read (| buf |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -1494,7 +1522,7 @@ Module num. let β := n in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 2 |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1504,16 +1532,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| min_ndigits |)) - (M.call_closure (| + BinOp.gt (| + M.read (| min_ndigits |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1535,17 +1564,17 @@ Module num. Value.StructTuple "core::num::fmt::Part::Zero" [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| min_ndigits |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| min_ndigits |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| buf |) ] - |)) + |) + |) ] ] |) @@ -1554,7 +1583,10 @@ Module num. let β := n in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1565,7 +1597,7 @@ Module num. |) in let~ exp := M.alloc (| - BinOp.Wrap.sub Integer.I32 (M.rust_cast (M.read (| exp |))) (Value.Integer 1) + BinOp.Wrap.sub (| M.rust_cast (M.read (| exp |)), Value.Integer IntegerKind.I32 1 |) |) in let~ _ := M.match_operator (| @@ -1574,7 +1606,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| exp |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| exp |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -1625,7 +1660,7 @@ Module num. M.SubPointer.get_array_field (| M.read (| parts |), M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) |) |), M.call_closure (| @@ -1639,7 +1674,7 @@ Module num. [ Value.StructTuple "core::num::fmt::Part::Num" - [ M.rust_cast (UnOp.Panic.neg (| Integer.I32, M.read (| exp |) |)) ] + [ M.rust_cast (UnOp.neg (| M.read (| exp |) |)) ] ] |) |) in @@ -1695,7 +1730,7 @@ Module num. M.SubPointer.get_array_field (| M.read (| parts |), M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) |) |), M.call_closure (| @@ -1744,7 +1779,9 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 2)) + [ + ("end_", + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 2 |)) ] ] |) @@ -1752,7 +1789,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_digits_to_exp_str : @@ -1799,7 +1836,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1852,9 +1889,9 @@ Module num. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1886,7 +1923,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1932,7 +1969,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2022,7 +2059,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_determine_sign : @@ -2103,9 +2140,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2118,8 +2155,10 @@ Module num. [] |), [ M.read (| parts |) ] - |)) - (Value.Integer 4)) + |), + Value.Integer IntegerKind.Usize 4 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2142,9 +2181,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2157,10 +2196,12 @@ Module num. [] |), [ M.read (| buf |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::flt2dec::MAX_SIG_DIGITS" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2213,7 +2254,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -2270,7 +2311,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -2288,7 +2329,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -2345,7 +2386,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -2367,7 +2408,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| frac_digits |)) (Value.Integer 0) + BinOp.gt (| + M.read (| frac_digits |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2378,7 +2422,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -2402,7 +2446,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |), M.call_closure (| M.get_associated_function (| @@ -2457,7 +2501,8 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 2) ] + [ ("end_", Value.Integer IntegerKind.Usize 2) + ] ] |) ] @@ -2470,7 +2515,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -2528,7 +2573,8 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) + ] ] |) ] @@ -2614,7 +2660,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_to_shortest_str : @@ -2694,9 +2740,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2709,8 +2755,10 @@ Module num. [] |), [ M.read (| parts |) ] - |)) - (Value.Integer 6)) + |), + Value.Integer IntegerKind.Usize 6 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2733,9 +2781,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2748,10 +2796,12 @@ Module num. [] |), [ M.read (| buf |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::flt2dec::MAX_SIG_DIGITS" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2778,10 +2828,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| M.SubPointer.get_tuple_field (| dec_bounds, 0 |) |)) - (M.read (| M.SubPointer.get_tuple_field (| dec_bounds, 1 |) |))) + UnOp.not (| + BinOp.le (| + M.read (| M.SubPointer.get_tuple_field (| dec_bounds, 0 |) |), + M.read (| M.SubPointer.get_tuple_field (| dec_bounds, 1 |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2834,7 +2886,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -2891,7 +2943,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -2909,7 +2961,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -2966,7 +3018,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -2984,7 +3036,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.read (| M.match_operator (| @@ -2996,23 +3048,25 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_tuple_field (| dec_bounds, 0 |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.I16 0 + |), ltac:(M.monadic - (BinOp.Pure.lt - (Value.Integer 0) - (M.read (| + (BinOp.lt (| + Value.Integer IntegerKind.I16 0, + M.read (| M.SubPointer.get_tuple_field (| dec_bounds, 1 |) - |)))) + |) + |))) |) |)) in let _ := @@ -3127,7 +3181,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -3186,10 +3240,10 @@ Module num. let exp := M.copy (| γ0_1 |) in let~ vis_exp := M.alloc (| - BinOp.Wrap.sub - Integer.I32 - (M.rust_cast (M.read (| exp |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.rust_cast (M.read (| exp |)), + Value.Integer IntegerKind.I32 1 + |) |) in let~ parts := M.copy (| @@ -3202,25 +3256,27 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (M.rust_cast + BinOp.le (| + M.rust_cast (M.read (| M.SubPointer.get_tuple_field (| dec_bounds, 0 |) - |))) - (M.read (| vis_exp |)), + |)), + M.read (| vis_exp |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| vis_exp |)) - (M.rust_cast + (BinOp.lt (| + M.read (| vis_exp |), + M.rust_cast (M.read (| M.SubPointer.get_tuple_field (| dec_bounds, 1 |) - |))))) + |)) + |))) |) |)) in let _ := @@ -3237,7 +3293,7 @@ Module num. [ M.read (| buf |); M.read (| exp |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| parts |) ] |) @@ -3253,7 +3309,7 @@ Module num. [ M.read (| buf |); M.read (| exp |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| upper |); M.read (| parts |) ] @@ -3275,7 +3331,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_to_shortest_exp_str : @@ -3291,14 +3347,12 @@ Module num. | [], [ exp ] => ltac:(M.monadic (let exp := M.alloc (| exp |) in - BinOp.Wrap.add - Integer.Usize - (Value.Integer 21) - (BinOp.Wrap.shr - (M.rust_cast - (BinOp.Wrap.mul - Integer.I32 - (M.read (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 21, + BinOp.Wrap.shr (| + M.rust_cast + (BinOp.Wrap.mul (| + M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -3307,18 +3361,21 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exp |)) (Value.Integer 0) + BinOp.lt (| M.read (| exp |), Value.Integer IntegerKind.I16 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer (-12) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 5 |))) + M.alloc (| Value.Integer IntegerKind.I32 (-12) |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 5 |))) ] |) - |)) - (M.rust_cast (M.read (| exp |))))) - (Value.Integer 4)))) - | _, _ => M.impossible + |), + M.rust_cast (M.read (| exp |)) + |)), + Value.Integer IntegerKind.I32 4 + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_estimate_max_buf_len : @@ -3406,9 +3463,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -3421,8 +3478,10 @@ Module num. [] |), [ M.read (| parts |) ] - |)) - (Value.Integer 6)) + |), + Value.Integer IntegerKind.Usize 6 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3445,7 +3504,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| ndigits |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| M.read (| ndigits |), Value.Integer IntegerKind.Usize 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3494,7 +3555,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -3551,7 +3612,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -3569,7 +3630,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -3626,7 +3687,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -3648,7 +3709,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| ndigits |)) (Value.Integer 1) + BinOp.gt (| + M.read (| ndigits |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3659,7 +3723,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -3683,7 +3747,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |), M.call_closure (| M.get_associated_function (| @@ -3697,10 +3761,10 @@ Module num. Value.StructTuple "core::num::fmt::Part::Zero" [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| ndigits |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| ndigits |), + Value.Integer IntegerKind.Usize 1 + |) ] ] |) @@ -3709,7 +3773,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |), M.call_closure (| M.get_associated_function (| @@ -3792,7 +3856,8 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 3) ] + [ ("end_", Value.Integer IntegerKind.Usize 3) + ] ] |) ] @@ -3805,7 +3870,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -3888,7 +3953,8 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) + ] ] |) ] @@ -3933,10 +3999,10 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + LogicalOp.or (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -3950,11 +4016,12 @@ Module num. [] |), [ M.read (| buf |) ] - |)) - (M.read (| ndigits |)), + |), + M.read (| ndigits |) + |), ltac:(M.monadic - (BinOp.Pure.ge - (M.call_closure (| + (BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -3968,9 +4035,11 @@ Module num. [] |), [ M.read (| buf |) ] - |)) - (M.read (| maxlen |)))) - |)) + |), + M.read (| maxlen |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4003,9 +4072,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| ndigits |)) - (M.read (| maxlen |)) + BinOp.lt (| + M.read (| ndigits |), + M.read (| maxlen |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4116,7 +4186,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_to_exact_exp_str : @@ -4227,9 +4297,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -4242,8 +4312,10 @@ Module num. [] |), [ M.read (| parts |) ] - |)) - (Value.Integer 4)) + |), + Value.Integer IntegerKind.Usize 4 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4292,7 +4364,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -4349,7 +4421,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -4367,7 +4439,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -4424,7 +4496,7 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -4446,7 +4518,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| frac_digits |)) (Value.Integer 0) + BinOp.gt (| + M.read (| frac_digits |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4457,7 +4532,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -4481,7 +4556,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |), M.call_closure (| M.get_associated_function (| @@ -4536,7 +4611,8 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 2) ] + [ ("end_", Value.Integer IntegerKind.Usize 2) + ] ] |) ] @@ -4549,7 +4625,7 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), M.call_closure (| M.get_associated_function (| @@ -4607,7 +4683,8 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ ("end_", Value.Integer IntegerKind.Usize 1) + ] ] |) ] @@ -4652,9 +4729,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -4668,8 +4745,10 @@ Module num. [] |), [ M.read (| buf |) ] - |)) - (M.read (| maxlen |))) + |), + M.read (| maxlen |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4701,9 +4780,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| frac_digits |)) - (Value.Integer 32768) + BinOp.lt (| + M.read (| frac_digits |), + Value.Integer IntegerKind.Usize 32768 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4711,10 +4791,7 @@ Module num. Value.Bool true |) in M.alloc (| - UnOp.Panic.neg (| - Integer.I16, - M.rust_cast (M.read (| frac_digits |)) - |) + UnOp.neg (| M.rust_cast (M.read (| frac_digits |)) |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MIN" |))) @@ -4800,9 +4877,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| exp |)) - (M.read (| limit |)) + BinOp.le (| + M.read (| exp |), + M.read (| limit |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4839,7 +4917,9 @@ Module num. [ M.read (| buf |) ] |) |); - M.alloc (| Value.Integer 0 |) + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) ] |), [ @@ -4866,18 +4946,20 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4945,9 +5027,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| frac_digits |)) - (Value.Integer 0) + BinOp.gt (| + M.read (| frac_digits |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4958,7 +5041,9 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) |), M.call_closure (| M.get_associated_function (| @@ -4984,7 +5069,9 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |), M.call_closure (| M.get_associated_function (| @@ -5046,7 +5133,12 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 2) ] + [ + ("end_", + Value.Integer + IntegerKind.Usize + 2) + ] ] |) ] @@ -5059,7 +5151,9 @@ Module num. M.write (| M.SubPointer.get_array_field (| M.read (| parts |), - M.alloc (| Value.Integer 0 |) + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) |), M.call_closure (| M.get_associated_function (| @@ -5125,7 +5219,12 @@ Module num. M.read (| parts |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 1) ] + [ + ("end_", + Value.Integer + IntegerKind.Usize + 1) + ] ] |) ] @@ -5165,7 +5264,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_to_exact_fixed_str : diff --git a/CoqOfRust/core/num/flt2dec/strategy/dragon.v b/CoqOfRust/core/num/flt2dec/strategy/dragon.v index 242d0020b..7d71dcac9 100644 --- a/CoqOfRust/core/num/flt2dec/strategy/dragon.v +++ b/CoqOfRust/core/num/flt2dec/strategy/dragon.v @@ -12,16 +12,16 @@ Module num. M.alloc (| Value.Array [ - Value.Integer 1; - Value.Integer 10; - Value.Integer 100; - Value.Integer 1000; - Value.Integer 10000; - Value.Integer 100000; - Value.Integer 1000000; - Value.Integer 10000000; - Value.Integer 100000000; - Value.Integer 1000000000 + Value.Integer IntegerKind.U32 1; + Value.Integer IntegerKind.U32 10; + Value.Integer IntegerKind.U32 100; + Value.Integer IntegerKind.U32 1000; + Value.Integer IntegerKind.U32 10000; + Value.Integer IntegerKind.U32 100000; + Value.Integer IntegerKind.U32 1000000; + Value.Integer IntegerKind.U32 10000000; + Value.Integer IntegerKind.U32 100000000; + Value.Integer IntegerKind.U32 1000000000 ] |) |))). @@ -33,16 +33,16 @@ Module num. M.alloc (| Value.Array [ - Value.Integer 2; - Value.Integer 20; - Value.Integer 200; - Value.Integer 2000; - Value.Integer 20000; - Value.Integer 200000; - Value.Integer 2000000; - Value.Integer 20000000; - Value.Integer 200000000; - Value.Integer 2000000000 + Value.Integer IntegerKind.U32 2; + Value.Integer IntegerKind.U32 20; + Value.Integer IntegerKind.U32 200; + Value.Integer IntegerKind.U32 2000; + Value.Integer IntegerKind.U32 20000; + Value.Integer IntegerKind.U32 200000; + Value.Integer IntegerKind.U32 2000000; + Value.Integer IntegerKind.U32 20000000; + Value.Integer IntegerKind.U32 200000000; + Value.Integer IntegerKind.U32 2000000000 ] |) |))). @@ -51,7 +51,13 @@ Module num. M.run ltac:(M.monadic (M.alloc (| - M.alloc (| Value.Array [ Value.Integer 1874919424; Value.Integer 2328306 ] |) + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U32 1874919424; + Value.Integer IntegerKind.U32 2328306 + ] + |) |))). Definition value_POW10TO32 : Value.t := @@ -61,10 +67,10 @@ Module num. M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 2242703233; - Value.Integer 762134875; - Value.Integer 1262 + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 2242703233; + Value.Integer IntegerKind.U32 762134875; + Value.Integer IntegerKind.U32 1262 ] |) |))). @@ -76,13 +82,13 @@ Module num. M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 3211403009; - Value.Integer 1849224548; - Value.Integer 3668416493; - Value.Integer 3913284084; - Value.Integer 1593091 + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 3211403009; + Value.Integer IntegerKind.U32 1849224548; + Value.Integer IntegerKind.U32 3668416493; + Value.Integer IntegerKind.U32 3913284084; + Value.Integer IntegerKind.U32 1593091 ] |) |))). @@ -94,20 +100,20 @@ Module num. M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 781532673; - Value.Integer 64985353; - Value.Integer 253049085; - Value.Integer 594863151; - Value.Integer 3553621484; - Value.Integer 3288652808; - Value.Integer 3167596762; - Value.Integer 2788392729; - Value.Integer 3911132675; - Value.Integer 590 + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 781532673; + Value.Integer IntegerKind.U32 64985353; + Value.Integer IntegerKind.U32 253049085; + Value.Integer IntegerKind.U32 594863151; + Value.Integer IntegerKind.U32 3553621484; + Value.Integer IntegerKind.U32 3288652808; + Value.Integer IntegerKind.U32 3167596762; + Value.Integer IntegerKind.U32 2788392729; + Value.Integer IntegerKind.U32 3911132675; + Value.Integer IntegerKind.U32 590 ] |) |))). @@ -119,33 +125,33 @@ Module num. M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 2553183233; - Value.Integer 3201533787; - Value.Integer 3638140786; - Value.Integer 303378311; - Value.Integer 1809731782; - Value.Integer 3477761648; - Value.Integer 3583367183; - Value.Integer 649228654; - Value.Integer 2915460784; - Value.Integer 487929380; - Value.Integer 1011012442; - Value.Integer 1677677582; - Value.Integer 3428152256; - Value.Integer 1710878487; - Value.Integer 1438394610; - Value.Integer 2161952759; - Value.Integer 4100910556; - Value.Integer 1608314830; - Value.Integer 349175 + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 2553183233; + Value.Integer IntegerKind.U32 3201533787; + Value.Integer IntegerKind.U32 3638140786; + Value.Integer IntegerKind.U32 303378311; + Value.Integer IntegerKind.U32 1809731782; + Value.Integer IntegerKind.U32 3477761648; + Value.Integer IntegerKind.U32 3583367183; + Value.Integer IntegerKind.U32 649228654; + Value.Integer IntegerKind.U32 2915460784; + Value.Integer IntegerKind.U32 487929380; + Value.Integer IntegerKind.U32 1011012442; + Value.Integer IntegerKind.U32 1677677582; + Value.Integer IntegerKind.U32 3428152256; + Value.Integer IntegerKind.U32 1710878487; + Value.Integer IntegerKind.U32 1438394610; + Value.Integer IntegerKind.U32 2161952759; + Value.Integer IntegerKind.U32 4100910556; + Value.Integer IntegerKind.U32 1608314830; + Value.Integer IntegerKind.U32 349175 ] |) |))). @@ -202,8 +208,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt (M.read (| n |)) (Value.Integer 512)) + UnOp.not (| + BinOp.lt (| + M.read (| n |), + Value.Integer IntegerKind.Usize 512 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -234,9 +244,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and (M.read (| n |)) (Value.Integer 7)) - (Value.Integer 0) + BinOp.ne (| + BinOp.bit_and + (M.read (| n |)) + (Value.Integer IntegerKind.Usize 7), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -258,7 +271,9 @@ Module num. |) |), M.alloc (| - BinOp.Pure.bit_and (M.read (| n |)) (Value.Integer 7) + BinOp.bit_and + (M.read (| n |)) + (Value.Integer IntegerKind.Usize 7) |) |) |) @@ -278,9 +293,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and (M.read (| n |)) (Value.Integer 8)) - (Value.Integer 0) + BinOp.ne (| + BinOp.bit_and + (M.read (| n |)) + (Value.Integer IntegerKind.Usize 8), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -301,7 +319,7 @@ Module num. "core::num::flt2dec::strategy::dragon::POW10" |) |), - M.alloc (| Value.Integer 8 |) + M.alloc (| Value.Integer IntegerKind.Usize 8 |) |) |) ] @@ -320,9 +338,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and (M.read (| n |)) (Value.Integer 16)) - (Value.Integer 0) + BinOp.ne (| + BinOp.bit_and + (M.read (| n |)) + (Value.Integer IntegerKind.Usize 16), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -359,9 +380,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and (M.read (| n |)) (Value.Integer 32)) - (Value.Integer 0) + BinOp.ne (| + BinOp.bit_and + (M.read (| n |)) + (Value.Integer IntegerKind.Usize 32), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -398,9 +422,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and (M.read (| n |)) (Value.Integer 64)) - (Value.Integer 0) + BinOp.ne (| + BinOp.bit_and + (M.read (| n |)) + (Value.Integer IntegerKind.Usize 64), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -437,9 +464,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and (M.read (| n |)) (Value.Integer 128)) - (Value.Integer 0) + BinOp.ne (| + BinOp.bit_and + (M.read (| n |)) + (Value.Integer IntegerKind.Usize 128), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -476,9 +506,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and (M.read (| n |)) (Value.Integer 256)) - (Value.Integer 0) + BinOp.ne (| + BinOp.bit_and + (M.read (| n |)) + (Value.Integer IntegerKind.Usize 256), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -508,7 +541,7 @@ Module num. |) in M.alloc (| M.read (| x |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mul_pow10 : @@ -534,9 +567,8 @@ Module num. M.read (| let~ largest := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u32" ], "len", @@ -549,8 +581,9 @@ Module num. M.get_constant (| "core::num::flt2dec::strategy::dragon::POW10" |) |)) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.loop (| @@ -563,7 +596,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| n |)) (M.read (| largest |)) + BinOp.gt (| M.read (| n |), M.read (| largest |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -597,10 +630,7 @@ Module num. let β := n in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| largest |)) + BinOp.Wrap.sub (| M.read (| β |), M.read (| largest |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -642,7 +672,7 @@ Module num. |) in M.alloc (| M.read (| x |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_div_2pow10 : @@ -687,7 +717,7 @@ Module num. let scale4 := M.alloc (| scale4 |) in let scale8 := M.alloc (| scale8 |) in M.read (| - let~ d := M.alloc (| Value.Integer 0 |) in + let~ d := M.alloc (| Value.Integer IntegerKind.U8 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -725,7 +755,7 @@ Module num. let β := d in M.write (| β, - BinOp.Wrap.add Integer.U8 (M.read (| β |)) (Value.Integer 8) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U8 8 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -768,7 +798,7 @@ Module num. let β := d in M.write (| β, - BinOp.Wrap.add Integer.U8 (M.read (| β |)) (Value.Integer 4) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U8 4 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -811,7 +841,7 @@ Module num. let β := d in M.write (| β, - BinOp.Wrap.add Integer.U8 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U8 2 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -854,7 +884,7 @@ Module num. let β := d in M.write (| β, - BinOp.Wrap.add Integer.U8 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U8 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -878,8 +908,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialOrd", Ty.path "core::num::bignum::Big32x40", @@ -888,7 +918,8 @@ Module num. [] |), [ M.read (| x |); M.read (| scale |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -916,7 +947,7 @@ Module num. |) in M.alloc (| Value.Tuple [ M.read (| d |); M.read (| x |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_div_rem_upto_16 : @@ -1098,16 +1129,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1131,16 +1164,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "minus" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1164,16 +1199,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "plus" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1197,8 +1234,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u64" ], "is_some", @@ -1231,7 +1268,8 @@ Module num. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1260,8 +1298,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u64" ], "is_some", @@ -1294,7 +1332,8 @@ Module num. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1323,9 +1362,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -1338,10 +1377,12 @@ Module num. [] |), [ M.read (| buf |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::flt2dec::MAX_SIG_DIGITS" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1391,22 +1432,22 @@ Module num. [] |), [ - BinOp.Wrap.add - Integer.U64 - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "plus" |) - |)); + |) + |); M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), @@ -1482,7 +1523,7 @@ Module num. "from_small", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U32 1 ] |) |) in let~ _ := @@ -1494,15 +1535,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "exp" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I16 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1517,8 +1559,7 @@ Module num. [ scale; M.rust_cast - (UnOp.Panic.neg (| - Integer.I16, + (UnOp.neg (| M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), @@ -1607,7 +1648,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.ge (M.read (| k |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.ge (| M.read (| k |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -1630,10 +1673,7 @@ Module num. "core::num::flt2dec::strategy::dragon::mul_pow10", [] |), - [ - mant; - M.rust_cast (UnOp.Panic.neg (| Integer.I16, M.read (| k |) |)) - ] + [ mant; M.rust_cast (UnOp.neg (| M.read (| k |) |)) ] |) |) in let~ _ := @@ -1643,10 +1683,7 @@ Module num. "core::num::flt2dec::strategy::dragon::mul_pow10", [] |), - [ - minus; - M.rust_cast (UnOp.Panic.neg (| Integer.I16, M.read (| k |) |)) - ] + [ minus; M.rust_cast (UnOp.neg (| M.read (| k |) |)) ] |) |) in let~ _ := @@ -1656,10 +1693,7 @@ Module num. "core::num::flt2dec::strategy::dragon::mul_pow10", [] |), - [ - plus; - M.rust_cast (UnOp.Panic.neg (| Integer.I16, M.read (| k |) |)) - ] + [ plus; M.rust_cast (UnOp.neg (| M.read (| k |) |)) ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -1729,7 +1763,7 @@ Module num. let β := k in M.write (| β, - BinOp.Wrap.add Integer.I16 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.I16 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1742,7 +1776,7 @@ Module num. "mul_small", [] |), - [ mant; Value.Integer 10 ] + [ mant; Value.Integer IntegerKind.U32 10 ] |) |) in let~ _ := @@ -1753,7 +1787,7 @@ Module num. "mul_small", [] |), - [ minus; Value.Integer 10 ] + [ minus; Value.Integer IntegerKind.U32 10 ] |) |) in let~ _ := @@ -1764,7 +1798,7 @@ Module num. "mul_small", [] |), - [ plus; Value.Integer 10 ] + [ plus; Value.Integer IntegerKind.U32 10 ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -1791,7 +1825,7 @@ Module num. "mul_pow2", [] |), - [ scale2; Value.Integer 1 ] + [ scale2; Value.Integer IntegerKind.Usize 1 ] |) |) in let~ scale4 := @@ -1815,7 +1849,7 @@ Module num. "mul_pow2", [] |), - [ scale4; Value.Integer 2 ] + [ scale4; Value.Integer IntegerKind.Usize 2 ] |) |) in let~ scale8 := @@ -1839,12 +1873,12 @@ Module num. "mul_pow2", [] |), - [ scale8; Value.Integer 3 ] + [ scale8; Value.Integer IntegerKind.Usize 3 ] |) |) in let~ down := M.copy (| Value.DeclaredButUndefined |) in let~ up := M.copy (| Value.DeclaredButUndefined |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -1885,10 +1919,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| d |)) - (Value.Integer 10)) + UnOp.not (| + BinOp.lt (| + M.read (| d |), + Value.Integer IntegerKind.U8 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1930,10 +1966,10 @@ Module num. [] |), [ - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.read (| d |)) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.read (| d |) + |) ] |) |) in @@ -1941,7 +1977,10 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| @@ -2056,7 +2095,7 @@ Module num. "mul_small", [] |), - [ mant; Value.Integer 10 ] + [ mant; Value.Integer IntegerKind.U32 10 ] |) |) in let~ _ := @@ -2067,7 +2106,7 @@ Module num. "mul_small", [] |), - [ minus; Value.Integer 10 ] + [ minus; Value.Integer IntegerKind.U32 10 ] |) |) in let~ _ := @@ -2078,7 +2117,7 @@ Module num. "mul_small", [] |), - [ plus; Value.Integer 10 ] + [ plus; Value.Integer IntegerKind.U32 10 ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -2098,7 +2137,7 @@ Module num. M.read (| up |), ltac:(M.monadic (LogicalOp.or (| - UnOp.Pure.not (M.read (| down |)), + UnOp.not (| M.read (| down |) |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -2115,7 +2154,7 @@ Module num. "mul_pow2", [] |), - [ mant; Value.Integer 1 ] + [ mant; Value.Integer IntegerKind.Usize 1 ] |); scale ] @@ -2200,16 +2239,19 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let β := k in M.write (| β, - BinOp.Wrap.add Integer.I16 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.I16 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -2258,7 +2300,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_format_shortest : @@ -2413,16 +2455,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2449,16 +2493,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "minus" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2485,16 +2531,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "plus" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2521,8 +2569,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -2557,7 +2605,8 @@ Module num. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2589,8 +2638,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -2625,7 +2674,8 @@ Module num. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2700,7 +2750,7 @@ Module num. "from_small", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U32 1 ] |) |) in let~ _ := @@ -2712,15 +2762,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "exp" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I16 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2738,8 +2789,7 @@ Module num. [ scale; M.rust_cast - (UnOp.Panic.neg (| - Integer.I16, + (UnOp.neg (| M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), @@ -2787,7 +2837,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| k |)) (Value.Integer 0) + BinOp.ge (| M.read (| k |), Value.Integer IntegerKind.I16 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -2814,10 +2864,7 @@ Module num. "core::num::flt2dec::strategy::dragon::mul_pow10", [] |), - [ - mant; - M.rust_cast (UnOp.Panic.neg (| Integer.I16, M.read (| k |) |)) - ] + [ mant; M.rust_cast (UnOp.neg (| M.read (| k |) |)) ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -2899,7 +2946,10 @@ Module num. let β := k in M.write (| β, - BinOp.Wrap.add Integer.I16 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.I16 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2912,7 +2962,7 @@ Module num. "mul_small", [] |), - [ mant; Value.Integer 10 ] + [ mant; Value.Integer IntegerKind.U32 10 ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -2928,14 +2978,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| k |)) (M.read (| limit |)) + BinOp.lt (| M.read (| k |), M.read (| limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -2946,13 +2996,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.rust_cast - (BinOp.Wrap.sub - Integer.I32 - (M.rust_cast (M.read (| k |))) - (M.rust_cast (M.read (| limit |))))) - (M.call_closure (| + BinOp.lt (| + M.rust_cast + (BinOp.Wrap.sub (| + M.rust_cast (M.read (| k |)), + M.rust_cast (M.read (| limit |)) + |)), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -2966,7 +3016,8 @@ Module num. [] |), [ M.read (| buf |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2975,10 +3026,10 @@ Module num. |) in M.alloc (| M.rust_cast - (BinOp.Wrap.sub - Integer.I16 - (M.read (| k |)) - (M.read (| limit |))) + (BinOp.Wrap.sub (| + M.read (| k |), + M.read (| limit |) + |)) |))); fun γ => ltac:(M.monadic @@ -3012,7 +3063,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| len |)) (Value.Integer 0) + BinOp.gt (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3040,7 +3094,7 @@ Module num. "mul_pow2", [] |), - [ scale2; Value.Integer 1 ] + [ scale2; Value.Integer IntegerKind.Usize 1 ] |) |) in let~ scale4 := @@ -3064,7 +3118,7 @@ Module num. "mul_pow2", [] |), - [ scale4; Value.Integer 2 ] + [ scale4; Value.Integer IntegerKind.Usize 2 ] |) |) in let~ scale8 := @@ -3088,7 +3142,7 @@ Module num. "mul_pow2", [] |), - [ scale8; Value.Integer 3 ] + [ scale8; Value.Integer IntegerKind.Usize 3 ] |) |) in M.use @@ -3107,7 +3161,10 @@ Module num. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| len |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| len |)) + ] ] |) |), @@ -3428,7 +3485,10 @@ Module num. (M.alloc (| Value.Tuple [] |))) ] |) in - let~ d := M.alloc (| Value.Integer 0 |) in + let~ d := + M.alloc (| + Value.Integer IntegerKind.U8 0 + |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3474,10 +3534,10 @@ Module num. let β := d in M.write (| β, - BinOp.Wrap.add - Integer.U8 - (M.read (| β |)) - (Value.Integer 8) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U8 8 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -3530,10 +3590,10 @@ Module num. let β := d in M.write (| β, - BinOp.Wrap.add - Integer.U8 - (M.read (| β |)) - (Value.Integer 4) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U8 4 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -3586,10 +3646,10 @@ Module num. let β := d in M.write (| β, - BinOp.Wrap.add - Integer.U8 - (M.read (| β |)) - (Value.Integer 2) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U8 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -3642,10 +3702,10 @@ Module num. let β := d in M.write (| β, - BinOp.Wrap.add - Integer.U8 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U8 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -3678,8 +3738,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialOrd", Ty.path @@ -3692,7 +3752,8 @@ Module num. [] |), [ mant; scale ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3753,11 +3814,14 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| d |)) - (Value.Integer - 10)) + UnOp.not (| + BinOp.lt (| + M.read (| d |), + Value.Integer + IntegerKind.U8 + 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3809,10 +3873,10 @@ Module num. [] |), [ - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.read (| d |)) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.read (| d |) + |) ] |) |) in @@ -3824,7 +3888,8 @@ Module num. "mul_small", [] |), - [ mant; Value.Integer 10 ] + [ mant; Value.Integer IntegerKind.U32 10 + ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -3855,7 +3920,7 @@ Module num. "mul_small", [] |), - [ scale; Value.Integer 5 ] + [ scale; Value.Integer IntegerKind.U32 5 ] |) ] |) @@ -3904,11 +3969,14 @@ Module num. ] |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| len |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Pure.bit_and + (BinOp.eq (| + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.apply @@ -3923,17 +3991,18 @@ Module num. M.SubPointer.get_array_field (| M.read (| buf |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |) |) |) |) ] |)) - (Value.Integer 1)) - (Value.Integer 1))) + (Value.Integer IntegerKind.U8 1), + Value.Integer IntegerKind.U8 1 + |))) |))) |) |)) in @@ -4003,10 +4072,10 @@ Module num. let β := k in M.write (| β, - BinOp.Wrap.add - Integer.I16 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.I16 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -4017,13 +4086,14 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt - (M.read (| k |)) - (M.read (| limit |)), + BinOp.gt (| + M.read (| k |), + M.read (| limit |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| len |)) - (M.call_closure (| + (BinOp.lt (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -4037,7 +4107,8 @@ Module num. [] |), [ M.read (| buf |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -4067,10 +4138,10 @@ Module num. let β := len in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -4126,7 +4197,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_format_exact : diff --git a/CoqOfRust/core/num/flt2dec/strategy/grisu.v b/CoqOfRust/core/num/flt2dec/strategy/grisu.v index 6a86d0e0c..ca351ab66 100644 --- a/CoqOfRust/core/num/flt2dec/strategy/grisu.v +++ b/CoqOfRust/core/num/flt2dec/strategy/grisu.v @@ -6,10 +6,10 @@ Module num. Module strategy. Module grisu. Definition value_ALPHA : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-60) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-60) |))). Definition value_GAMMA : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-32) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-32) |))). Definition value_CACHED_POW10 : Value.t := M.run @@ -20,360 +20,499 @@ Module num. [ Value.Tuple [ - Value.Integer 16580792590934885855; - Value.Integer (-1087); - Value.Integer (-308) + Value.Integer IntegerKind.U64 16580792590934885855; + Value.Integer IntegerKind.I16 (-1087); + Value.Integer IntegerKind.I16 (-308) ]; Value.Tuple [ - Value.Integer 12353653155963782858; - Value.Integer (-1060); - Value.Integer (-300) + Value.Integer IntegerKind.U64 12353653155963782858; + Value.Integer IntegerKind.I16 (-1060); + Value.Integer IntegerKind.I16 (-300) ]; Value.Tuple [ - Value.Integer 18408377700990114895; - Value.Integer (-1034); - Value.Integer (-292) + Value.Integer IntegerKind.U64 18408377700990114895; + Value.Integer IntegerKind.I16 (-1034); + Value.Integer IntegerKind.I16 (-292) ]; Value.Tuple [ - Value.Integer 13715310171984221708; - Value.Integer (-1007); - Value.Integer (-284) + Value.Integer IntegerKind.U64 13715310171984221708; + Value.Integer IntegerKind.I16 (-1007); + Value.Integer IntegerKind.I16 (-284) ]; Value.Tuple [ - Value.Integer 10218702384817765436; - Value.Integer (-980); - Value.Integer (-276) + Value.Integer IntegerKind.U64 10218702384817765436; + Value.Integer IntegerKind.I16 (-980); + Value.Integer IntegerKind.I16 (-276) ]; Value.Tuple [ - Value.Integer 15227053142812498563; - Value.Integer (-954); - Value.Integer (-268) + Value.Integer IntegerKind.U64 15227053142812498563; + Value.Integer IntegerKind.I16 (-954); + Value.Integer IntegerKind.I16 (-268) ]; Value.Tuple [ - Value.Integer 11345038669416679861; - Value.Integer (-927); - Value.Integer (-260) + Value.Integer IntegerKind.U64 11345038669416679861; + Value.Integer IntegerKind.I16 (-927); + Value.Integer IntegerKind.I16 (-260) ]; Value.Tuple [ - Value.Integer 16905424996341287883; - Value.Integer (-901); - Value.Integer (-252) + Value.Integer IntegerKind.U64 16905424996341287883; + Value.Integer IntegerKind.I16 (-901); + Value.Integer IntegerKind.I16 (-252) ]; Value.Tuple [ - Value.Integer 12595523146049147757; - Value.Integer (-874); - Value.Integer (-244) + Value.Integer IntegerKind.U64 12595523146049147757; + Value.Integer IntegerKind.I16 (-874); + Value.Integer IntegerKind.I16 (-244) ]; Value.Tuple [ - Value.Integer 9384396036005875287; - Value.Integer (-847); - Value.Integer (-236) + Value.Integer IntegerKind.U64 9384396036005875287; + Value.Integer IntegerKind.I16 (-847); + Value.Integer IntegerKind.I16 (-236) ]; Value.Tuple [ - Value.Integer 13983839803942852151; - Value.Integer (-821); - Value.Integer (-228) + Value.Integer IntegerKind.U64 13983839803942852151; + Value.Integer IntegerKind.I16 (-821); + Value.Integer IntegerKind.I16 (-228) ]; Value.Tuple [ - Value.Integer 10418772551374772303; - Value.Integer (-794); - Value.Integer (-220) + Value.Integer IntegerKind.U64 10418772551374772303; + Value.Integer IntegerKind.I16 (-794); + Value.Integer IntegerKind.I16 (-220) ]; Value.Tuple [ - Value.Integer 15525180923007089351; - Value.Integer (-768); - Value.Integer (-212) + Value.Integer IntegerKind.U64 15525180923007089351; + Value.Integer IntegerKind.I16 (-768); + Value.Integer IntegerKind.I16 (-212) ]; Value.Tuple [ - Value.Integer 11567161174868858868; - Value.Integer (-741); - Value.Integer (-204) + Value.Integer IntegerKind.U64 11567161174868858868; + Value.Integer IntegerKind.I16 (-741); + Value.Integer IntegerKind.I16 (-204) ]; Value.Tuple [ - Value.Integer 17236413322193710309; - Value.Integer (-715); - Value.Integer (-196) + Value.Integer IntegerKind.U64 17236413322193710309; + Value.Integer IntegerKind.I16 (-715); + Value.Integer IntegerKind.I16 (-196) ]; Value.Tuple [ - Value.Integer 12842128665889583758; - Value.Integer (-688); - Value.Integer (-188) + Value.Integer IntegerKind.U64 12842128665889583758; + Value.Integer IntegerKind.I16 (-688); + Value.Integer IntegerKind.I16 (-188) ]; Value.Tuple [ - Value.Integer 9568131466127621947; - Value.Integer (-661); - Value.Integer (-180) + Value.Integer IntegerKind.U64 9568131466127621947; + Value.Integer IntegerKind.I16 (-661); + Value.Integer IntegerKind.I16 (-180) ]; Value.Tuple [ - Value.Integer 14257626930069360058; - Value.Integer (-635); - Value.Integer (-172) + Value.Integer IntegerKind.U64 14257626930069360058; + Value.Integer IntegerKind.I16 (-635); + Value.Integer IntegerKind.I16 (-172) ]; Value.Tuple [ - Value.Integer 10622759856335341974; - Value.Integer (-608); - Value.Integer (-164) + Value.Integer IntegerKind.U64 10622759856335341974; + Value.Integer IntegerKind.I16 (-608); + Value.Integer IntegerKind.I16 (-164) ]; Value.Tuple [ - Value.Integer 15829145694278690180; - Value.Integer (-582); - Value.Integer (-156) + Value.Integer IntegerKind.U64 15829145694278690180; + Value.Integer IntegerKind.I16 (-582); + Value.Integer IntegerKind.I16 (-156) ]; Value.Tuple [ - Value.Integer 11793632577567316726; - Value.Integer (-555); - Value.Integer (-148) + Value.Integer IntegerKind.U64 11793632577567316726; + Value.Integer IntegerKind.I16 (-555); + Value.Integer IntegerKind.I16 (-148) ]; Value.Tuple [ - Value.Integer 17573882009934360870; - Value.Integer (-529); - Value.Integer (-140) + Value.Integer IntegerKind.U64 17573882009934360870; + Value.Integer IntegerKind.I16 (-529); + Value.Integer IntegerKind.I16 (-140) ]; Value.Tuple [ - Value.Integer 13093562431584567480; - Value.Integer (-502); - Value.Integer (-132) + Value.Integer IntegerKind.U64 13093562431584567480; + Value.Integer IntegerKind.I16 (-502); + Value.Integer IntegerKind.I16 (-132) ]; Value.Tuple [ - Value.Integer 9755464219737475723; - Value.Integer (-475); - Value.Integer (-124) + Value.Integer IntegerKind.U64 9755464219737475723; + Value.Integer IntegerKind.I16 (-475); + Value.Integer IntegerKind.I16 (-124) ]; Value.Tuple [ - Value.Integer 14536774485912137811; - Value.Integer (-449); - Value.Integer (-116) + Value.Integer IntegerKind.U64 14536774485912137811; + Value.Integer IntegerKind.I16 (-449); + Value.Integer IntegerKind.I16 (-116) ]; Value.Tuple [ - Value.Integer 10830740992659433045; - Value.Integer (-422); - Value.Integer (-108) + Value.Integer IntegerKind.U64 10830740992659433045; + Value.Integer IntegerKind.I16 (-422); + Value.Integer IntegerKind.I16 (-108) ]; Value.Tuple [ - Value.Integer 16139061738043178685; - Value.Integer (-396); - Value.Integer (-100) + Value.Integer IntegerKind.U64 16139061738043178685; + Value.Integer IntegerKind.I16 (-396); + Value.Integer IntegerKind.I16 (-100) ]; Value.Tuple [ - Value.Integer 12024538023802026127; - Value.Integer (-369); - Value.Integer (-92) + Value.Integer IntegerKind.U64 12024538023802026127; + Value.Integer IntegerKind.I16 (-369); + Value.Integer IntegerKind.I16 (-92) ]; Value.Tuple [ - Value.Integer 17917957937422433684; - Value.Integer (-343); - Value.Integer (-84) + Value.Integer IntegerKind.U64 17917957937422433684; + Value.Integer IntegerKind.I16 (-343); + Value.Integer IntegerKind.I16 (-84) ]; Value.Tuple [ - Value.Integer 13349918974505688015; - Value.Integer (-316); - Value.Integer (-76) + Value.Integer IntegerKind.U64 13349918974505688015; + Value.Integer IntegerKind.I16 (-316); + Value.Integer IntegerKind.I16 (-76) ]; Value.Tuple [ - Value.Integer 9946464728195732843; - Value.Integer (-289); - Value.Integer (-68) + Value.Integer IntegerKind.U64 9946464728195732843; + Value.Integer IntegerKind.I16 (-289); + Value.Integer IntegerKind.I16 (-68) ]; Value.Tuple [ - Value.Integer 14821387422376473014; - Value.Integer (-263); - Value.Integer (-60) + Value.Integer IntegerKind.U64 14821387422376473014; + Value.Integer IntegerKind.I16 (-263); + Value.Integer IntegerKind.I16 (-60) ]; Value.Tuple [ - Value.Integer 11042794154864902060; - Value.Integer (-236); - Value.Integer (-52) + Value.Integer IntegerKind.U64 11042794154864902060; + Value.Integer IntegerKind.I16 (-236); + Value.Integer IntegerKind.I16 (-52) ]; Value.Tuple [ - Value.Integer 16455045573212060422; - Value.Integer (-210); - Value.Integer (-44) + Value.Integer IntegerKind.U64 16455045573212060422; + Value.Integer IntegerKind.I16 (-210); + Value.Integer IntegerKind.I16 (-44) ]; Value.Tuple [ - Value.Integer 12259964326927110867; - Value.Integer (-183); - Value.Integer (-36) + Value.Integer IntegerKind.U64 12259964326927110867; + Value.Integer IntegerKind.I16 (-183); + Value.Integer IntegerKind.I16 (-36) ]; Value.Tuple [ - Value.Integer 18268770466636286478; - Value.Integer (-157); - Value.Integer (-28) + Value.Integer IntegerKind.U64 18268770466636286478; + Value.Integer IntegerKind.I16 (-157); + Value.Integer IntegerKind.I16 (-28) ]; Value.Tuple [ - Value.Integer 13611294676837538539; - Value.Integer (-130); - Value.Integer (-20) + Value.Integer IntegerKind.U64 13611294676837538539; + Value.Integer IntegerKind.I16 (-130); + Value.Integer IntegerKind.I16 (-20) ]; Value.Tuple [ - Value.Integer 10141204801825835212; - Value.Integer (-103); - Value.Integer (-12) + Value.Integer IntegerKind.U64 10141204801825835212; + Value.Integer IntegerKind.I16 (-103); + Value.Integer IntegerKind.I16 (-12) ]; Value.Tuple [ - Value.Integer 15111572745182864684; - Value.Integer (-77); - Value.Integer (-4) + Value.Integer IntegerKind.U64 15111572745182864684; + Value.Integer IntegerKind.I16 (-77); + Value.Integer IntegerKind.I16 (-4) ]; Value.Tuple - [ Value.Integer 11258999068426240000; Value.Integer (-50); Value.Integer 4 + [ + Value.Integer IntegerKind.U64 11258999068426240000; + Value.Integer IntegerKind.I16 (-50); + Value.Integer IntegerKind.I16 4 ]; Value.Tuple - [ Value.Integer 16777216000000000000; Value.Integer (-24); Value.Integer 12 + [ + Value.Integer IntegerKind.U64 16777216000000000000; + Value.Integer IntegerKind.I16 (-24); + Value.Integer IntegerKind.I16 12 ]; Value.Tuple - [ Value.Integer 12500000000000000000; Value.Integer 3; Value.Integer 20 ]; + [ + Value.Integer IntegerKind.U64 12500000000000000000; + Value.Integer IntegerKind.I16 3; + Value.Integer IntegerKind.I16 20 + ]; Value.Tuple - [ Value.Integer 9313225746154785156; Value.Integer 30; Value.Integer 28 ]; + [ + Value.Integer IntegerKind.U64 9313225746154785156; + Value.Integer IntegerKind.I16 30; + Value.Integer IntegerKind.I16 28 + ]; Value.Tuple - [ Value.Integer 13877787807814456755; Value.Integer 56; Value.Integer 36 ]; + [ + Value.Integer IntegerKind.U64 13877787807814456755; + Value.Integer IntegerKind.I16 56; + Value.Integer IntegerKind.I16 36 + ]; Value.Tuple - [ Value.Integer 10339757656912845936; Value.Integer 83; Value.Integer 44 ]; + [ + Value.Integer IntegerKind.U64 10339757656912845936; + Value.Integer IntegerKind.I16 83; + Value.Integer IntegerKind.I16 44 + ]; Value.Tuple - [ Value.Integer 15407439555097886824; Value.Integer 109; Value.Integer 52 ]; + [ + Value.Integer IntegerKind.U64 15407439555097886824; + Value.Integer IntegerKind.I16 109; + Value.Integer IntegerKind.I16 52 + ]; Value.Tuple - [ Value.Integer 11479437019748901445; Value.Integer 136; Value.Integer 60 ]; + [ + Value.Integer IntegerKind.U64 11479437019748901445; + Value.Integer IntegerKind.I16 136; + Value.Integer IntegerKind.I16 60 + ]; Value.Tuple - [ Value.Integer 17105694144590052135; Value.Integer 162; Value.Integer 68 ]; + [ + Value.Integer IntegerKind.U64 17105694144590052135; + Value.Integer IntegerKind.I16 162; + Value.Integer IntegerKind.I16 68 + ]; Value.Tuple - [ Value.Integer 12744735289059618216; Value.Integer 189; Value.Integer 76 ]; + [ + Value.Integer IntegerKind.U64 12744735289059618216; + Value.Integer IntegerKind.I16 189; + Value.Integer IntegerKind.I16 76 + ]; Value.Tuple - [ Value.Integer 9495567745759798747; Value.Integer 216; Value.Integer 84 ]; + [ + Value.Integer IntegerKind.U64 9495567745759798747; + Value.Integer IntegerKind.I16 216; + Value.Integer IntegerKind.I16 84 + ]; Value.Tuple - [ Value.Integer 14149498560666738074; Value.Integer 242; Value.Integer 92 ]; + [ + Value.Integer IntegerKind.U64 14149498560666738074; + Value.Integer IntegerKind.I16 242; + Value.Integer IntegerKind.I16 92 + ]; Value.Tuple - [ Value.Integer 10542197943230523224; Value.Integer 269; Value.Integer 100 + [ + Value.Integer IntegerKind.U64 10542197943230523224; + Value.Integer IntegerKind.I16 269; + Value.Integer IntegerKind.I16 100 ]; Value.Tuple - [ Value.Integer 15709099088952724970; Value.Integer 295; Value.Integer 108 + [ + Value.Integer IntegerKind.U64 15709099088952724970; + Value.Integer IntegerKind.I16 295; + Value.Integer IntegerKind.I16 108 ]; Value.Tuple - [ Value.Integer 11704190886730495818; Value.Integer 322; Value.Integer 116 + [ + Value.Integer IntegerKind.U64 11704190886730495818; + Value.Integer IntegerKind.I16 322; + Value.Integer IntegerKind.I16 116 ]; Value.Tuple - [ Value.Integer 17440603504673385349; Value.Integer 348; Value.Integer 124 + [ + Value.Integer IntegerKind.U64 17440603504673385349; + Value.Integer IntegerKind.I16 348; + Value.Integer IntegerKind.I16 124 ]; Value.Tuple - [ Value.Integer 12994262207056124023; Value.Integer 375; Value.Integer 132 + [ + Value.Integer IntegerKind.U64 12994262207056124023; + Value.Integer IntegerKind.I16 375; + Value.Integer IntegerKind.I16 132 ]; Value.Tuple - [ Value.Integer 9681479787123295682; Value.Integer 402; Value.Integer 140 ]; + [ + Value.Integer IntegerKind.U64 9681479787123295682; + Value.Integer IntegerKind.I16 402; + Value.Integer IntegerKind.I16 140 + ]; Value.Tuple - [ Value.Integer 14426529090290212157; Value.Integer 428; Value.Integer 148 + [ + Value.Integer IntegerKind.U64 14426529090290212157; + Value.Integer IntegerKind.I16 428; + Value.Integer IntegerKind.I16 148 ]; Value.Tuple - [ Value.Integer 10748601772107342003; Value.Integer 455; Value.Integer 156 + [ + Value.Integer IntegerKind.U64 10748601772107342003; + Value.Integer IntegerKind.I16 455; + Value.Integer IntegerKind.I16 156 ]; Value.Tuple - [ Value.Integer 16016664761464807395; Value.Integer 481; Value.Integer 164 + [ + Value.Integer IntegerKind.U64 16016664761464807395; + Value.Integer IntegerKind.I16 481; + Value.Integer IntegerKind.I16 164 ]; Value.Tuple - [ Value.Integer 11933345169920330789; Value.Integer 508; Value.Integer 172 + [ + Value.Integer IntegerKind.U64 11933345169920330789; + Value.Integer IntegerKind.I16 508; + Value.Integer IntegerKind.I16 172 ]; Value.Tuple - [ Value.Integer 17782069995880619868; Value.Integer 534; Value.Integer 180 + [ + Value.Integer IntegerKind.U64 17782069995880619868; + Value.Integer IntegerKind.I16 534; + Value.Integer IntegerKind.I16 180 ]; Value.Tuple - [ Value.Integer 13248674568444952270; Value.Integer 561; Value.Integer 188 + [ + Value.Integer IntegerKind.U64 13248674568444952270; + Value.Integer IntegerKind.I16 561; + Value.Integer IntegerKind.I16 188 ]; Value.Tuple - [ Value.Integer 9871031767461413346; Value.Integer 588; Value.Integer 196 ]; + [ + Value.Integer IntegerKind.U64 9871031767461413346; + Value.Integer IntegerKind.I16 588; + Value.Integer IntegerKind.I16 196 + ]; Value.Tuple - [ Value.Integer 14708983551653345445; Value.Integer 614; Value.Integer 204 + [ + Value.Integer IntegerKind.U64 14708983551653345445; + Value.Integer IntegerKind.I16 614; + Value.Integer IntegerKind.I16 204 ]; Value.Tuple - [ Value.Integer 10959046745042015199; Value.Integer 641; Value.Integer 212 + [ + Value.Integer IntegerKind.U64 10959046745042015199; + Value.Integer IntegerKind.I16 641; + Value.Integer IntegerKind.I16 212 ]; Value.Tuple - [ Value.Integer 16330252207878254650; Value.Integer 667; Value.Integer 220 + [ + Value.Integer IntegerKind.U64 16330252207878254650; + Value.Integer IntegerKind.I16 667; + Value.Integer IntegerKind.I16 220 ]; Value.Tuple - [ Value.Integer 12166986024289022870; Value.Integer 694; Value.Integer 228 + [ + Value.Integer IntegerKind.U64 12166986024289022870; + Value.Integer IntegerKind.I16 694; + Value.Integer IntegerKind.I16 228 ]; Value.Tuple - [ Value.Integer 18130221999122236476; Value.Integer 720; Value.Integer 236 + [ + Value.Integer IntegerKind.U64 18130221999122236476; + Value.Integer IntegerKind.I16 720; + Value.Integer IntegerKind.I16 236 ]; Value.Tuple - [ Value.Integer 13508068024458167312; Value.Integer 747; Value.Integer 244 + [ + Value.Integer IntegerKind.U64 13508068024458167312; + Value.Integer IntegerKind.I16 747; + Value.Integer IntegerKind.I16 244 ]; Value.Tuple - [ Value.Integer 10064294952495520794; Value.Integer 774; Value.Integer 252 + [ + Value.Integer IntegerKind.U64 10064294952495520794; + Value.Integer IntegerKind.I16 774; + Value.Integer IntegerKind.I16 252 ]; Value.Tuple - [ Value.Integer 14996968138956309548; Value.Integer 800; Value.Integer 260 + [ + Value.Integer IntegerKind.U64 14996968138956309548; + Value.Integer IntegerKind.I16 800; + Value.Integer IntegerKind.I16 260 ]; Value.Tuple - [ Value.Integer 11173611982879273257; Value.Integer 827; Value.Integer 268 + [ + Value.Integer IntegerKind.U64 11173611982879273257; + Value.Integer IntegerKind.I16 827; + Value.Integer IntegerKind.I16 268 ]; Value.Tuple - [ Value.Integer 16649979327439178909; Value.Integer 853; Value.Integer 276 + [ + Value.Integer IntegerKind.U64 16649979327439178909; + Value.Integer IntegerKind.I16 853; + Value.Integer IntegerKind.I16 276 ]; Value.Tuple - [ Value.Integer 12405201291620119593; Value.Integer 880; Value.Integer 284 + [ + Value.Integer IntegerKind.U64 12405201291620119593; + Value.Integer IntegerKind.I16 880; + Value.Integer IntegerKind.I16 284 ]; Value.Tuple - [ Value.Integer 9242595204427927429; Value.Integer 907; Value.Integer 292 ]; + [ + Value.Integer IntegerKind.U64 9242595204427927429; + Value.Integer IntegerKind.I16 907; + Value.Integer IntegerKind.I16 292 + ]; Value.Tuple - [ Value.Integer 13772540099066387757; Value.Integer 933; Value.Integer 300 + [ + Value.Integer IntegerKind.U64 13772540099066387757; + Value.Integer IntegerKind.I16 933; + Value.Integer IntegerKind.I16 300 ]; Value.Tuple - [ Value.Integer 10261342003245940623; Value.Integer 960; Value.Integer 308 + [ + Value.Integer IntegerKind.U64 10261342003245940623; + Value.Integer IntegerKind.I16 960; + Value.Integer IntegerKind.I16 308 ]; Value.Tuple - [ Value.Integer 15290591125556738113; Value.Integer 986; Value.Integer 316 + [ + Value.Integer IntegerKind.U64 15290591125556738113; + Value.Integer IntegerKind.I16 986; + Value.Integer IntegerKind.I16 316 ]; Value.Tuple - [ Value.Integer 11392378155556871081; Value.Integer 1013; Value.Integer 324 + [ + Value.Integer IntegerKind.U64 11392378155556871081; + Value.Integer IntegerKind.I16 1013; + Value.Integer IntegerKind.I16 324 ]; Value.Tuple - [ Value.Integer 16975966327722178521; Value.Integer 1039; Value.Integer 332 + [ + Value.Integer IntegerKind.U64 16975966327722178521; + Value.Integer IntegerKind.I16 1039; + Value.Integer IntegerKind.I16 332 ] ] |) |))). Definition value_CACHED_POW10_FIRST_E : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer (-1087) |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-1087) |))). Definition value_CACHED_POW10_LAST_E : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1039 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 1039 |))). (* pub fn cached_power(alpha: i16, gamma: i16) -> (i16, Fp) { @@ -404,9 +543,8 @@ Module num. |) in let~ range := M.alloc (| - BinOp.Wrap.sub - Integer.I32 - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -424,37 +562,35 @@ Module num. |) |)) ] - |))) - (Value.Integer 1) + |)), + Value.Integer IntegerKind.I32 1 + |) |) in let~ domain := M.alloc (| M.rust_cast - (BinOp.Wrap.sub - Integer.I16 - (M.read (| + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::CACHED_POW10_LAST_E" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::CACHED_POW10_FIRST_E" |) - |))) + |) + |)) |) in let~ idx := M.alloc (| - BinOp.Wrap.div - Integer.I32 - (BinOp.Wrap.mul - Integer.I32 - (BinOp.Wrap.sub - Integer.I32 - (M.rust_cast (M.read (| gamma |))) - (M.read (| offset |))) - (M.read (| range |))) - (M.read (| domain |)) + BinOp.Wrap.div (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| M.rust_cast (M.read (| gamma |)), M.read (| offset |) |), + M.read (| range |) + |), + M.read (| domain |) + |) |) in M.match_operator (| M.SubPointer.get_array_field (| @@ -493,16 +629,19 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.le - (M.read (| alpha |)) - (M.read (| e |)), + UnOp.not (| + LogicalOp.and (| + BinOp.le (| + M.read (| alpha |), + M.read (| e |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| e |)) - (M.read (| gamma |)))) - |)) + (BinOp.le (| + M.read (| e |), + M.read (| gamma |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -541,7 +680,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_cached_power : @@ -602,8 +741,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt (M.read (| x |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| + M.read (| x |), + Value.Integer IntegerKind.U32 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -633,13 +776,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X4" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -651,13 +795,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X2" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -672,13 +817,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X1" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -686,14 +832,18 @@ Module num. Value.Bool true |) in M.alloc (| - Value.Tuple [ Value.Integer 0; Value.Integer 1 ] + Value.Tuple + [ + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U32 1 + ] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [ - Value.Integer 1; + Value.Integer IntegerKind.U8 1; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X1" @@ -713,13 +863,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X3" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -729,7 +880,7 @@ Module num. M.alloc (| Value.Tuple [ - Value.Integer 2; + Value.Integer IntegerKind.U8 2; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X2" @@ -742,7 +893,7 @@ Module num. (M.alloc (| Value.Tuple [ - Value.Integer 3; + Value.Integer IntegerKind.U8 3; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X3" @@ -764,13 +915,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X6" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -785,13 +937,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X5" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -801,7 +954,7 @@ Module num. M.alloc (| Value.Tuple [ - Value.Integer 4; + Value.Integer IntegerKind.U8 4; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X4" @@ -814,7 +967,7 @@ Module num. (M.alloc (| Value.Tuple [ - Value.Integer 5; + Value.Integer IntegerKind.U8 5; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X5" @@ -834,13 +987,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X8" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -855,13 +1009,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X7" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -871,7 +1026,7 @@ Module num. M.alloc (| Value.Tuple [ - Value.Integer 6; + Value.Integer IntegerKind.U8 6; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X6" @@ -884,7 +1039,7 @@ Module num. (M.alloc (| Value.Tuple [ - Value.Integer 7; + Value.Integer IntegerKind.U8 7; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X7" @@ -904,13 +1059,14 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (M.read (| + BinOp.lt (| + M.read (| x |), + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X9" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -920,7 +1076,7 @@ Module num. M.alloc (| Value.Tuple [ - Value.Integer 8; + Value.Integer IntegerKind.U8 8; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X8" @@ -933,7 +1089,7 @@ Module num. (M.alloc (| Value.Tuple [ - Value.Integer 9; + Value.Integer IntegerKind.U8 9; M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X9" @@ -950,7 +1106,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_max_pow10_no_more_than : @@ -960,29 +1116,31 @@ Module num. Module max_pow10_no_more_than. Definition value_X9 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000000000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000000 |))). Definition value_X8 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 100000000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100000000 |))). Definition value_X7 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 10000000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10000000 |))). Definition value_X6 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000 |))). Definition value_X5 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 100000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100000 |))). Definition value_X4 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 10000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10000 |))). Definition value_X3 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000 |))). - Definition value_X2 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 100 |))). + Definition value_X2 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100 |))). - Definition value_X1 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). + Definition value_X1 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10 |))). End max_pow10_no_more_than. (* @@ -1291,16 +1449,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1327,16 +1487,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "minus" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1363,16 +1525,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "plus" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1399,8 +1563,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -1435,7 +1599,8 @@ Module num. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1467,8 +1632,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -1503,7 +1668,8 @@ Module num. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1535,9 +1701,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -1550,12 +1716,14 @@ Module num. [] |), [ M.read (| buf |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::num::flt2dec::MAX_SIG_DIGITS" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1587,25 +1755,30 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (BinOp.Wrap.add - Integer.U64 - (M.read (| + UnOp.not (| + BinOp.lt (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "plus" |) - |))) - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 61))) + |) + |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + Value.Integer IntegerKind.I32 61 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1642,22 +1815,22 @@ Module num. "core::num::diy_float::Fp" [ ("f", - BinOp.Wrap.add - Integer.U64 - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "plus" |) - |))); + |) + |)); ("e", M.read (| M.SubPointer.get_struct_record_field (| @@ -1685,22 +1858,22 @@ Module num. "core::num::diy_float::Fp" [ ("f", - BinOp.Wrap.sub - Integer.U64 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "minus" |) - |))); + |) + |)); ("e", M.read (| M.SubPointer.get_struct_record_field (| @@ -1770,40 +1943,40 @@ Module num. [] |), [ - BinOp.Wrap.sub - Integer.I16 - (BinOp.Wrap.sub - Integer.I16 - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::ALPHA" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| plus, "core::num::diy_float::Fp", "e" |) - |))) - (Value.Integer 64); - BinOp.Wrap.sub - Integer.I16 - (BinOp.Wrap.sub - Integer.I16 - (M.read (| + |) + |), + Value.Integer IntegerKind.I16 64 + |); + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::GAMMA" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| plus, "core::num::diy_float::Fp", "e" |) - |))) - (Value.Integer 64) + |) + |), + Value.Integer IntegerKind.I16 64 + |) ] |) |), @@ -1893,14 +2066,16 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1993,14 +2168,16 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2049,35 +2226,34 @@ Module num. |) in let~ plus1 := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| plus, "core::num::diy_float::Fp", "f" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U64 1 + |) |) in let~ minus1 := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| minus, "core::num::diy_float::Fp", "f" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U64 1 + |) |) in let~ e := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I16, + (UnOp.neg (| M.read (| M.SubPointer.get_struct_record_field (| plus, @@ -2089,16 +2265,20 @@ Module num. |) in let~ plus1int := M.alloc (| - M.rust_cast (BinOp.Wrap.shr (M.read (| plus1 |)) (M.read (| e |))) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| plus1 |), M.read (| e |) |)) |) in let~ plus1frac := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| plus1 |)) - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.shl (Value.Integer 1) (M.read (| e |))) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| e |) + |), + Value.Integer IntegerKind.U64 1 + |)) |) in M.match_operator (| M.alloc (| @@ -2117,32 +2297,35 @@ Module num. let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let max_kappa := M.copy (| γ0_0 |) in let max_ten_kappa := M.copy (| γ0_1 |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ exp := M.alloc (| - BinOp.Wrap.add - Integer.I16 - (BinOp.Wrap.sub - Integer.I16 - (M.rust_cast (M.read (| max_kappa |))) - (M.read (| minusk |))) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.rust_cast (M.read (| max_kappa |)), + M.read (| minusk |) + |), + Value.Integer IntegerKind.I16 1 + |) |) in let~ delta1 := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| plus1 |)) - (M.read (| minus1 |)) + BinOp.Wrap.sub (| + M.read (| plus1 |), + M.read (| minus1 |) + |) |) in let~ delta1frac := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| delta1 |)) - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.shl (Value.Integer 1) (M.read (| e |))) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| e |) + |), + Value.Integer IntegerKind.U64 1 + |)) |) in let~ ten_kappa := M.copy (| max_ten_kappa |) in let~ remainder := M.copy (| plus1int |) in @@ -2151,17 +2334,17 @@ Module num. ltac:(M.monadic (let~ q := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.read (| remainder |)) - (M.read (| ten_kappa |)) + BinOp.Wrap.div (| + M.read (| remainder |), + M.read (| ten_kappa |) + |) |) in let~ r := M.alloc (| - BinOp.Wrap.rem - Integer.U32 - (M.read (| remainder |)) - (M.read (| ten_kappa |)) + BinOp.Wrap.rem (| + M.read (| remainder |), + M.read (| ten_kappa |) + |) |) in let~ _ := M.match_operator (| @@ -2185,10 +2368,14 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| q |)) - (Value.Integer 10)) + UnOp.not (| + BinOp.lt (| + M.read (| q |), + Value.Integer + IntegerKind.U32 + 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2237,10 +2424,10 @@ Module num. [] |), [ - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.rust_cast (M.read (| q |))) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.rust_cast (M.read (| q |)) + |) ] |) |) in @@ -2248,19 +2435,20 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ plus1rem := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.shl - (M.rust_cast (M.read (| r |))) - (M.read (| e |))) - (M.read (| plus1frac |)) + BinOp.Wrap.add (| + BinOp.Wrap.shl (| + M.rust_cast (M.read (| r |)), + M.read (| e |) + |), + M.read (| plus1frac |) + |) |) in let~ _ := M.match_operator (| @@ -2271,9 +2459,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| plus1rem |)) - (M.read (| delta1 |)) + BinOp.lt (| + M.read (| plus1rem |), + M.read (| delta1 |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2285,10 +2474,11 @@ Module num. M.read (| let~ ten_kappa := M.alloc (| - BinOp.Wrap.shl - (M.rust_cast - (M.read (| ten_kappa |))) - (M.read (| e |)) + BinOp.Wrap.shl (| + M.rust_cast + (M.read (| ten_kappa |)), + M.read (| e |) + |) |) in M.return_ (| M.call_closure (| @@ -2342,18 +2532,18 @@ Module num. M.read (| exp |); M.read (| plus1rem |); M.read (| delta1 |); - BinOp.Wrap.sub - Integer.U64 - (M.read (| plus1 |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| plus1 |), + M.read (| M.SubPointer.get_struct_record_field (| v, "core::num::diy_float::Fp", "f" |) - |)); + |) + |); M.read (| ten_kappa |); - Value.Integer 1 + Value.Integer IntegerKind.U64 1 ] |) |) @@ -2373,9 +2563,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| i |)) - (M.rust_cast (M.read (| max_kappa |))) + BinOp.gt (| + M.read (| i |), + M.rust_cast (M.read (| max_kappa |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2408,7 +2599,9 @@ Module num. [ ten_kappa; M.alloc (| - Value.Integer 1 + Value.Integer + IntegerKind.U32 + 1 |) ] |), @@ -2443,18 +2636,20 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2536,17 +2731,17 @@ Module num. let β := ten_kappa in M.write (| β, - BinOp.Wrap.div - Integer.U32 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 10 + |) |) in let~ _ := M.write (| remainder, M.read (| r |) |) in M.alloc (| Value.Tuple [] |))) |) in let~ remainder := M.copy (| plus1frac |) in let~ threshold := M.copy (| delta1frac |) in - let~ ulp := M.alloc (| Value.Integer 1 |) in + let~ ulp := M.alloc (| Value.Integer IntegerKind.U64 1 |) in let~ _ := M.alloc (| M.never_to_any (| @@ -2557,45 +2752,47 @@ Module num. let β := remainder in M.write (| β, - BinOp.Wrap.mul - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := threshold in M.write (| β, - BinOp.Wrap.mul - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := ulp in M.write (| β, - BinOp.Wrap.mul - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ q := M.alloc (| - BinOp.Wrap.shr - (M.read (| remainder |)) - (M.read (| e |)) + BinOp.Wrap.shr (| + M.read (| remainder |), + M.read (| e |) + |) |) in let~ r := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| remainder |)) - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| e |))) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| e |) + |), + Value.Integer IntegerKind.U64 1 + |)) |) in let~ _ := M.match_operator (| @@ -2620,10 +2817,14 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| q |)) - (Value.Integer 10)) + UnOp.not (| + BinOp.lt (| + M.read (| q |), + Value.Integer + IntegerKind.U64 + 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2675,10 +2876,10 @@ Module num. [] |), [ - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.rust_cast (M.read (| q |))) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.rust_cast (M.read (| q |)) + |) ] |) |) in @@ -2686,10 +2887,10 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -2700,9 +2901,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| r |)) - (M.read (| threshold |)) + BinOp.lt (| + M.read (| r |), + M.read (| threshold |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2714,9 +2916,12 @@ Module num. M.read (| let~ ten_kappa := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| e |)) + BinOp.Wrap.shl (| + Value.Integer + IntegerKind.U64 + 1, + M.read (| e |) + |) |) in M.return_ (| M.call_closure (| @@ -2776,19 +2981,19 @@ Module num. M.read (| exp |); M.read (| r |); M.read (| threshold |); - BinOp.Wrap.mul - Integer.U64 - (BinOp.Wrap.sub - Integer.U64 - (M.read (| plus1 |)) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| + M.read (| plus1 |), + M.read (| M.SubPointer.get_struct_record_field (| v, "core::num::diy_float::Fp", "f" |) - |))) - (M.read (| ulp |)); + |) + |), + M.read (| ulp |) + |); M.read (| ten_kappa |); M.read (| ulp |) ] @@ -2817,7 +3022,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_format_shortest_opt : @@ -2943,16 +3148,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "is_empty", [] |), [ M.read (| buf |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2975,13 +3182,9 @@ Module num. ] |) in let~ plus1v_down := - M.alloc (| - BinOp.Wrap.add Integer.U64 (M.read (| plus1v |)) (M.read (| ulp |)) - |) in + M.alloc (| BinOp.Wrap.add (| M.read (| plus1v |), M.read (| ulp |) |) |) in let~ plus1v_up := - M.alloc (| - BinOp.Wrap.sub Integer.U64 (M.read (| plus1v |)) (M.read (| ulp |)) - |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| plus1v |), M.read (| ulp |) |) |) in let~ plus1w := M.copy (| remainder |) in let~ _ := let~ last := @@ -3018,38 +3221,42 @@ Module num. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| plus1w |)) - (M.read (| plus1v_up |)), + BinOp.lt (| + M.read (| plus1w |), + M.read (| plus1v_up |) + |), ltac:(M.monadic - (BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.U64 - (M.read (| threshold |)) - (M.read (| plus1w |))) - (M.read (| ten_kappa |)))) + (BinOp.ge (| + BinOp.Wrap.sub (| + M.read (| threshold |), + M.read (| plus1w |) + |), + M.read (| ten_kappa |) + |))) |), ltac:(M.monadic (LogicalOp.or (| - BinOp.Pure.lt - (BinOp.Wrap.add - Integer.U64 - (M.read (| plus1w |)) - (M.read (| ten_kappa |))) - (M.read (| plus1v_up |)), + BinOp.lt (| + BinOp.Wrap.add (| + M.read (| plus1w |), + M.read (| ten_kappa |) + |), + M.read (| plus1v_up |) + |), ltac:(M.monadic - (BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.U64 - (M.read (| plus1v_up |)) - (M.read (| plus1w |))) - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (M.read (| plus1w |)) - (M.read (| ten_kappa |))) - (M.read (| plus1v_up |))))) + (BinOp.ge (| + BinOp.Wrap.sub (| + M.read (| plus1v_up |), + M.read (| plus1w |) + |), + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.read (| plus1w |), + M.read (| ten_kappa |) + |), + M.read (| plus1v_up |) + |) + |))) |))) |) |)) in @@ -3062,7 +3269,10 @@ Module num. let β := M.read (| last |) in M.write (| β, - BinOp.Wrap.sub Integer.U8 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.U8 1 + |) |) in let~ _ := M.match_operator (| @@ -3085,10 +3295,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| M.read (| last |) |)) - (M.read (| UnsupportedLiteral |))) + UnOp.not (| + BinOp.gt (| + M.read (| M.read (| last |) |), + M.read (| UnsupportedLiteral |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3124,10 +3336,7 @@ Module num. let β := plus1w in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.read (| ten_kappa |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| ten_kappa |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -3157,38 +3366,42 @@ Module num. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| plus1w |)) - (M.read (| plus1v_down |)), + BinOp.lt (| + M.read (| plus1w |), + M.read (| plus1v_down |) + |), ltac:(M.monadic - (BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.U64 - (M.read (| threshold |)) - (M.read (| plus1w |))) - (M.read (| ten_kappa |)))) + (BinOp.ge (| + BinOp.Wrap.sub (| + M.read (| threshold |), + M.read (| plus1w |) + |), + M.read (| ten_kappa |) + |))) |), ltac:(M.monadic (LogicalOp.or (| - BinOp.Pure.lt - (BinOp.Wrap.add - Integer.U64 - (M.read (| plus1w |)) - (M.read (| ten_kappa |))) - (M.read (| plus1v_down |)), + BinOp.lt (| + BinOp.Wrap.add (| + M.read (| plus1w |), + M.read (| ten_kappa |) + |), + M.read (| plus1v_down |) + |), ltac:(M.monadic - (BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.U64 - (M.read (| plus1v_down |)) - (M.read (| plus1w |))) - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (M.read (| plus1w |)) - (M.read (| ten_kappa |))) - (M.read (| plus1v_down |))))) + (BinOp.ge (| + BinOp.Wrap.sub (| + M.read (| plus1v_down |), + M.read (| plus1w |) + |), + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.read (| plus1w |), + M.read (| ten_kappa |) + |), + M.read (| plus1v_down |) + |) + |))) |))) |) |)) in @@ -3218,22 +3431,24 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 2) - (M.read (| ulp |))) - (M.read (| plus1w |)), + BinOp.le (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 2, + M.read (| ulp |) + |), + M.read (| plus1w |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| plus1w |)) - (BinOp.Wrap.sub - Integer.U64 - (M.read (| threshold |)) - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 4) - (M.read (| ulp |)))))) + (BinOp.le (| + M.read (| plus1w |), + BinOp.Wrap.sub (| + M.read (| threshold |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 4, + M.read (| ulp |) + |) + |) + |))) |) |)) in let _ := @@ -3253,7 +3468,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_round_and_weed : @@ -3320,7 +3535,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_format_shortest : @@ -3636,16 +3851,18 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| + UnOp.not (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3672,16 +3889,21 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| d |), "core::num::flt2dec::decoder::Decoded", "mant" |) - |)) - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 61))) + |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + Value.Integer IntegerKind.I32 61 + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3712,9 +3934,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -3727,7 +3949,9 @@ Module num. [] |), [ M.read (| buf |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3791,40 +4015,40 @@ Module num. [] |), [ - BinOp.Wrap.sub - Integer.I16 - (BinOp.Wrap.sub - Integer.I16 - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::ALPHA" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| v, "core::num::diy_float::Fp", "e" |) - |))) - (Value.Integer 64); - BinOp.Wrap.sub - Integer.I16 - (BinOp.Wrap.sub - Integer.I16 - (M.read (| + |) + |), + Value.Integer IntegerKind.I16 64 + |); + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::flt2dec::strategy::grisu::GAMMA" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| v, "core::num::diy_float::Fp", "e" |) - |))) - (Value.Integer 64) + |) + |), + Value.Integer IntegerKind.I16 64 + |) ] |) |), @@ -3849,8 +4073,7 @@ Module num. let~ e := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I16, + (UnOp.neg (| M.read (| M.SubPointer.get_struct_record_field (| v, @@ -3863,19 +4086,20 @@ Module num. let~ vint := M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| + (BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_struct_record_field (| v, "core::num::diy_float::Fp", "f" |) - |)) - (M.read (| e |))) + |), + M.read (| e |) + |)) |) in let~ vfrac := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_record_field (| v, @@ -3883,10 +4107,13 @@ Module num. "f" |) |)) - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.shl (Value.Integer 1) (M.read (| e |))) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| e |) + |), + Value.Integer IntegerKind.U64 1 + |)) |) in let~ requested_digits := M.alloc (| @@ -3915,30 +4142,33 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| vfrac |)) - (Value.Integer 0), + BinOp.eq (| + M.read (| vfrac |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic (LogicalOp.or (| - BinOp.Pure.ge - (M.read (| requested_digits |)) - (Value.Integer 11), + BinOp.ge (| + M.read (| requested_digits |), + Value.Integer IntegerKind.Usize 11 + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| vint |)) - (M.read (| + (BinOp.lt (| + M.read (| vint |), + M.read (| M.SubPointer.get_array_field (| M.get_constant (| "core::num::flt2dec::strategy::grisu::format_exact_opt::POW10_UP_TO_9" |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| requested_digits |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| requested_digits |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |)))) + |) + |))) |))) |) |)) in @@ -3959,7 +4189,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ err := M.alloc (| Value.Integer 1 |) in + let~ err := M.alloc (| Value.Integer IntegerKind.U64 1 |) in M.match_operator (| M.alloc (| M.call_closure (| @@ -3977,16 +4207,16 @@ Module num. let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let max_kappa := M.copy (| γ0_0 |) in let max_ten_kappa := M.copy (| γ0_1 |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ exp := M.alloc (| - BinOp.Wrap.add - Integer.I16 - (BinOp.Wrap.sub - Integer.I16 - (M.rust_cast (M.read (| max_kappa |))) - (M.read (| minusk |))) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.rust_cast (M.read (| max_kappa |)), + M.read (| minusk |) + |), + Value.Integer IntegerKind.I16 1 + |) |) in let~ len := M.copy (| @@ -3998,9 +4228,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| exp |)) - (M.read (| limit |)) + BinOp.le (| + M.read (| exp |), + M.read (| limit |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4018,26 +4249,28 @@ Module num. |), [ M.read (| buf |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| exp |); M.read (| limit |); - BinOp.Wrap.div - Integer.U64 - (M.read (| + BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_record_field (| v, "core::num::diy_float::Fp", "f" |) - |)) - (Value.Integer 10); - BinOp.Wrap.shl - (M.rust_cast - (M.read (| max_ten_kappa |))) - (M.read (| e |)); - BinOp.Wrap.shl - (M.read (| err |)) - (M.read (| e |)) + |), + Value.Integer IntegerKind.U64 10 + |); + BinOp.Wrap.shl (| + M.rust_cast + (M.read (| max_ten_kappa |)), + M.read (| e |) + |); + BinOp.Wrap.shl (| + M.read (| err |), + M.read (| e |) + |) ] |) |) @@ -4054,15 +4287,15 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.rust_cast - (BinOp.Wrap.sub - Integer.I32 - (M.rust_cast - (M.read (| exp |))) - (M.rust_cast - (M.read (| limit |))))) - (M.call_closure (| + BinOp.lt (| + M.rust_cast + (BinOp.Wrap.sub (| + M.rust_cast + (M.read (| exp |)), + M.rust_cast + (M.read (| limit |)) + |)), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -4076,7 +4309,8 @@ Module num. [] |), [ M.read (| buf |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4085,10 +4319,10 @@ Module num. |) in M.alloc (| M.rust_cast - (BinOp.Wrap.sub - Integer.I16 - (M.read (| exp |)) - (M.read (| limit |))) + (BinOp.Wrap.sub (| + M.read (| exp |), + M.read (| limit |) + |)) |))); fun γ => ltac:(M.monadic @@ -4135,10 +4369,14 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.read (| len |)) - (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| + M.read (| len |), + Value.Integer + IntegerKind.Usize + 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4179,17 +4417,17 @@ Module num. ltac:(M.monadic (let~ q := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.read (| remainder |)) - (M.read (| ten_kappa |)) + BinOp.Wrap.div (| + M.read (| remainder |), + M.read (| ten_kappa |) + |) |) in let~ r := M.alloc (| - BinOp.Wrap.rem - Integer.U32 - (M.read (| remainder |)) - (M.read (| ten_kappa |)) + BinOp.Wrap.rem (| + M.read (| remainder |), + M.read (| ten_kappa |) + |) |) in let~ _ := M.match_operator (| @@ -4213,10 +4451,14 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| q |)) - (Value.Integer 10)) + UnOp.not (| + BinOp.lt (| + M.read (| q |), + Value.Integer + IntegerKind.U32 + 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4265,10 +4507,10 @@ Module num. [] |), [ - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.rust_cast (M.read (| q |))) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.rust_cast (M.read (| q |)) + |) ] |) |) in @@ -4276,10 +4518,10 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -4290,9 +4532,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| i |)) - (M.read (| len |)) + BinOp.eq (| + M.read (| i |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4304,12 +4547,13 @@ Module num. M.read (| let~ vrem := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.shl - (M.rust_cast (M.read (| r |))) - (M.read (| e |))) - (M.read (| vfrac |)) + BinOp.Wrap.add (| + BinOp.Wrap.shl (| + M.rust_cast (M.read (| r |)), + M.read (| e |) + |), + M.read (| vfrac |) + |) |) in M.return_ (| M.call_closure (| @@ -4323,13 +4567,15 @@ Module num. M.read (| exp |); M.read (| limit |); M.read (| vrem |); - BinOp.Wrap.shl - (M.rust_cast - (M.read (| ten_kappa |))) - (M.read (| e |)); - BinOp.Wrap.shl - (M.read (| err |)) - (M.read (| e |)) + BinOp.Wrap.shl (| + M.rust_cast + (M.read (| ten_kappa |)), + M.read (| e |) + |); + BinOp.Wrap.shl (| + M.read (| err |), + M.read (| e |) + |) ] |) |) @@ -4349,9 +4595,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| i |)) - (M.rust_cast (M.read (| max_kappa |))) + BinOp.gt (| + M.read (| i |), + M.rust_cast (M.read (| max_kappa |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4384,7 +4631,9 @@ Module num. [ ten_kappa; M.alloc (| - Value.Integer 1 + Value.Integer + IntegerKind.U32 + 1 |) ] |), @@ -4419,18 +4668,20 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4523,7 +4774,9 @@ Module num. [ kappa; M.alloc (| - Value.Integer 0 + Value.Integer + IntegerKind.I16 + 0 |) ] |), @@ -4558,18 +4811,20 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4651,19 +4906,19 @@ Module num. let β := kappa in M.write (| β, - BinOp.Wrap.sub - Integer.I16 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.I16 1 + |) |) in let~ _ := let β := ten_kappa in M.write (| β, - BinOp.Wrap.div - Integer.U32 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 10 + |) |) in let~ _ := M.write (| remainder, M.read (| r |) |) in M.alloc (| Value.Tuple [] |))) @@ -4671,12 +4926,13 @@ Module num. let~ remainder := M.copy (| vfrac |) in let~ maxerr := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| e |)) - (Value.Integer 1)) + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + BinOp.Wrap.sub (| + M.read (| e |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in let~ _ := M.loop (| @@ -4689,9 +4945,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| err |)) - (M.read (| maxerr |)) + BinOp.lt (| + M.read (| err |), + M.read (| maxerr |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4702,36 +4959,38 @@ Module num. let β := remainder in M.write (| β, - BinOp.Wrap.mul - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ _ := let β := err in M.write (| β, - BinOp.Wrap.mul - Integer.U64 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.U64 10 + |) |) in let~ q := M.alloc (| - BinOp.Wrap.shr - (M.read (| remainder |)) - (M.read (| e |)) + BinOp.Wrap.shr (| + M.read (| remainder |), + M.read (| e |) + |) |) in let~ r := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| remainder |)) - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| e |))) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| e |) + |), + Value.Integer IntegerKind.U64 1 + |)) |) in let~ _ := M.match_operator (| @@ -4756,11 +5015,14 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| q |)) - (Value.Integer - 10)) + UnOp.not (| + BinOp.lt (| + M.read (| q |), + Value.Integer + IntegerKind.U64 + 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4812,10 +5074,10 @@ Module num. [] |), [ - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.rust_cast (M.read (| q |))) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.rust_cast (M.read (| q |)) + |) ] |) |) in @@ -4823,10 +5085,10 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -4837,9 +5099,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| i |)) - (M.read (| len |)) + BinOp.eq (| + M.read (| i |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4861,9 +5124,12 @@ Module num. M.read (| exp |); M.read (| limit |); M.read (| r |); - BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| e |)); + BinOp.Wrap.shl (| + Value.Integer + IntegerKind.U64 + 1, + M.read (| e |) + |); M.read (| err |) ] |) @@ -4907,7 +5173,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_format_exact_opt : @@ -4920,16 +5186,16 @@ Module num. (M.alloc (| Value.Array [ - Value.Integer 1; - Value.Integer 10; - Value.Integer 100; - Value.Integer 1000; - Value.Integer 10000; - Value.Integer 100000; - Value.Integer 1000000; - Value.Integer 10000000; - Value.Integer 100000000; - Value.Integer 1000000000 + Value.Integer IntegerKind.U32 1; + Value.Integer IntegerKind.U32 10; + Value.Integer IntegerKind.U32 100; + Value.Integer IntegerKind.U32 1000; + Value.Integer IntegerKind.U32 10000; + Value.Integer IntegerKind.U32 100000; + Value.Integer IntegerKind.U32 1000000; + Value.Integer IntegerKind.U32 10000000; + Value.Integer IntegerKind.U32 100000000; + Value.Integer IntegerKind.U32 1000000000 ] |))). @@ -5080,10 +5346,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| remainder |)) - (M.read (| ten_kappa |))) + UnOp.not (| + BinOp.lt (| + M.read (| remainder |), + M.read (| ten_kappa |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5119,7 +5387,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| ulp |)) (M.read (| ten_kappa |)) + BinOp.ge (| M.read (| ulp |), M.read (| ten_kappa |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -5147,12 +5415,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (BinOp.Wrap.sub - Integer.U64 - (M.read (| ten_kappa |)) - (M.read (| ulp |))) - (M.read (| ulp |)) + BinOp.le (| + BinOp.Wrap.sub (| + M.read (| ten_kappa |), + M.read (| ulp |) + |), + M.read (| ulp |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5181,25 +5450,27 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt - (BinOp.Wrap.sub - Integer.U64 - (M.read (| ten_kappa |)) - (M.read (| remainder |))) - (M.read (| remainder |)), + BinOp.gt (| + BinOp.Wrap.sub (| + M.read (| ten_kappa |), + M.read (| remainder |) + |), + M.read (| remainder |) + |), ltac:(M.monadic - (BinOp.Pure.ge - (BinOp.Wrap.sub - Integer.U64 - (M.read (| ten_kappa |)) - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 2) - (M.read (| remainder |)))) - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 2) - (M.read (| ulp |))))) + (BinOp.ge (| + BinOp.Wrap.sub (| + M.read (| ten_kappa |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 2, + M.read (| remainder |) + |) + |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 2, + M.read (| ulp |) + |) + |))) |) |)) in let _ := @@ -5274,20 +5545,21 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| remainder |)) (M.read (| ulp |)), + BinOp.gt (| M.read (| remainder |), M.read (| ulp |) |), ltac:(M.monadic - (BinOp.Pure.le - (BinOp.Wrap.sub - Integer.U64 - (M.read (| ten_kappa |)) - (BinOp.Wrap.sub - Integer.U64 - (M.read (| remainder |)) - (M.read (| ulp |)))) - (BinOp.Wrap.sub - Integer.U64 - (M.read (| remainder |)) - (M.read (| ulp |))))) + (BinOp.le (| + BinOp.Wrap.sub (| + M.read (| ten_kappa |), + BinOp.Wrap.sub (| + M.read (| remainder |), + M.read (| ulp |) + |) + |), + BinOp.Wrap.sub (| + M.read (| remainder |), + M.read (| ulp |) + |) + |))) |) |)) in let _ := @@ -5365,10 +5637,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.add - Integer.I16 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.I16 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -5379,13 +5651,14 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt - (M.read (| exp |)) - (M.read (| limit |)), + BinOp.gt (| + M.read (| exp |), + M.read (| limit |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| len |)) - (M.call_closure (| + (BinOp.lt (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -5399,7 +5672,8 @@ Module num. [] |), [ M.read (| buf |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -5429,10 +5703,10 @@ Module num. let β := len in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -5500,7 +5774,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_possibly_round : @@ -5573,7 +5847,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_format_exact : diff --git a/CoqOfRust/core/num/fmt.v b/CoqOfRust/core/num/fmt.v index cacee742c..cb251bdcf 100644 --- a/CoqOfRust/core/num/fmt.v +++ b/CoqOfRust/core/num/fmt.v @@ -70,7 +70,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -125,7 +125,7 @@ Module num. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -152,9 +152,10 @@ Module num. |) in let __arg1_0 := M.alloc (| γ2_0 |) in M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)) + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |) |))); fun γ => ltac:(M.monadic @@ -177,9 +178,10 @@ Module num. |) in let __arg1_0 := M.alloc (| γ2_0 |) in M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)) + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |) |))); fun γ => ltac:(M.monadic @@ -235,7 +237,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -286,7 +288,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -387,7 +389,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -458,7 +460,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| v |)) (Value.Integer 1000) + BinOp.lt (| + M.read (| v |), + Value.Integer IntegerKind.U16 1000 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -473,14 +478,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| v |)) (Value.Integer 10) + BinOp.lt (| + M.read (| v |), + Value.Integer IntegerKind.U16 10 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -491,17 +499,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| v |)) - (Value.Integer 100) + BinOp.lt (| + M.read (| v |), + Value.Integer IntegerKind.U16 100 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 2 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 3 |))) + M.alloc (| Value.Integer IntegerKind.Usize 2 |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.Usize 3 |))) ] |))) ] @@ -516,15 +527,20 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| v |)) (Value.Integer 10000) + BinOp.lt (| + M.read (| v |), + Value.Integer IntegerKind.U16 10000 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 4 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 5 |))) + M.alloc (| Value.Integer IntegerKind.Usize 4 |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.Usize 5 |))) ] |))) ] @@ -551,7 +567,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -604,16 +620,17 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| out |) ] - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -843,23 +860,23 @@ Module num. let~ _ := M.write (| M.read (| c |), - BinOp.Wrap.add - Integer.U8 - (M.read (| UnsupportedLiteral |)) - (M.rust_cast - (BinOp.Wrap.rem - Integer.U16 - (M.read (| v |)) - (Value.Integer 10))) + BinOp.Wrap.add (| + M.read (| UnsupportedLiteral |), + M.rust_cast + (BinOp.Wrap.rem (| + M.read (| v |), + Value.Integer IntegerKind.U16 10 + |)) + |) |) in let~ _ := let β := v in M.write (| β, - BinOp.Wrap.div - Integer.U16 - (M.read (| β |)) - (Value.Integer 10) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U16 10 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -931,7 +948,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write : M.IsAssociatedFunction Self "write" write. @@ -1000,7 +1017,7 @@ Module num. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1112,17 +1129,17 @@ Module num. let β := len in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::fmt::Part", "len", [] |), [ M.read (| part |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -1133,7 +1150,7 @@ Module num. |)) in len |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -1171,16 +1188,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| out |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| @@ -1191,7 +1208,8 @@ Module num. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1448,10 +1466,10 @@ Module num. let β := written in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| len |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| len |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -1465,7 +1483,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write : M.IsAssociatedFunction Self "write" write. diff --git a/CoqOfRust/core/num/int_log10.v b/CoqOfRust/core/num/int_log10.v index b15ebe804..dae462385 100644 --- a/CoqOfRust/core/num/int_log10.v +++ b/CoqOfRust/core/num/int_log10.v @@ -31,20 +31,21 @@ Module num. M.read (| let~ val := M.alloc (| M.rust_cast (M.read (| val |)) |) in M.alloc (| - BinOp.Wrap.shr - (BinOp.Pure.bit_and - (BinOp.Wrap.add - Integer.U32 - (M.read (| val |)) - (M.read (| M.get_constant (| "core::num::int_log10::u8::C1" |) |))) - (BinOp.Wrap.add - Integer.U32 - (M.read (| val |)) - (M.read (| M.get_constant (| "core::num::int_log10::u8::C2" |) |)))) - (Value.Integer 8) + BinOp.Wrap.shr (| + BinOp.bit_and + (BinOp.Wrap.add (| + M.read (| val |), + M.read (| M.get_constant (| "core::num::int_log10::u8::C1" |) |) + |)) + (BinOp.Wrap.add (| + M.read (| val |), + M.read (| M.get_constant (| "core::num::int_log10::u8::C2" |) |) + |)), + Value.Integer IntegerKind.I32 8 + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u8 : M.IsFunction "core::num::int_log10::u8" u8. @@ -53,12 +54,22 @@ Module num. Definition value_C1 : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.sub Integer.U32 (Value.Integer 768) (Value.Integer 10) |))). + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 768, + Value.Integer IntegerKind.U32 10 + |) + |))). Definition value_C2 : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.sub Integer.U32 (Value.Integer 512) (Value.Integer 100) |))). + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 512, + Value.Integer IntegerKind.U32 100 + |) + |))). End u8. (* @@ -86,28 +97,29 @@ Module num. | [], [ val ] => ltac:(M.monadic (let val := M.alloc (| val |) in - BinOp.Wrap.shr - (BinOp.Pure.bit_xor - (BinOp.Pure.bit_and - (BinOp.Wrap.add - Integer.U32 - (M.read (| val |)) - (M.read (| M.get_constant (| "core::num::int_log10::less_than_5::C1" |) |))) - (BinOp.Wrap.add - Integer.U32 - (M.read (| val |)) - (M.read (| M.get_constant (| "core::num::int_log10::less_than_5::C2" |) |)))) - (BinOp.Pure.bit_and - (BinOp.Wrap.add - Integer.U32 - (M.read (| val |)) - (M.read (| M.get_constant (| "core::num::int_log10::less_than_5::C3" |) |))) - (BinOp.Wrap.add - Integer.U32 - (M.read (| val |)) - (M.read (| M.get_constant (| "core::num::int_log10::less_than_5::C4" |) |))))) - (Value.Integer 17))) - | _, _ => M.impossible + BinOp.Wrap.shr (| + BinOp.bit_xor + (BinOp.bit_and + (BinOp.Wrap.add (| + M.read (| val |), + M.read (| M.get_constant (| "core::num::int_log10::less_than_5::C1" |) |) + |)) + (BinOp.Wrap.add (| + M.read (| val |), + M.read (| M.get_constant (| "core::num::int_log10::less_than_5::C2" |) |) + |))) + (BinOp.bit_and + (BinOp.Wrap.add (| + M.read (| val |), + M.read (| M.get_constant (| "core::num::int_log10::less_than_5::C3" |) |) + |)) + (BinOp.Wrap.add (| + M.read (| val |), + M.read (| M.get_constant (| "core::num::int_log10::less_than_5::C4" |) |) + |))), + Value.Integer IntegerKind.I32 17 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_less_than_5 : M.IsFunction "core::num::int_log10::less_than_5" less_than_5. @@ -116,23 +128,41 @@ Module num. Definition value_C1 : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.sub Integer.U32 (Value.Integer 393216) (Value.Integer 10) |))). + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 393216, + Value.Integer IntegerKind.U32 10 + |) + |))). Definition value_C2 : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.sub Integer.U32 (Value.Integer 524288) (Value.Integer 100) |))). + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 524288, + Value.Integer IntegerKind.U32 100 + |) + |))). Definition value_C3 : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.sub Integer.U32 (Value.Integer 917504) (Value.Integer 1000) |))). + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 917504, + Value.Integer IntegerKind.U32 1000 + |) + |))). Definition value_C4 : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.U32 (Value.Integer 524288) (Value.Integer 10000) + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 524288, + Value.Integer IntegerKind.U32 10000 + |) |))). End less_than_5. @@ -150,7 +180,7 @@ Module num. M.get_function (| "core::num::int_log10::less_than_5", [] |), [ M.rust_cast (M.read (| val |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u16 : M.IsFunction "core::num::int_log10::u16" u16. @@ -171,7 +201,7 @@ Module num. ltac:(M.monadic (let val := M.alloc (| val |) in M.read (| - let~ log := M.alloc (| Value.Integer 0 |) in + let~ log := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -180,35 +210,37 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.ge (M.read (| val |)) (Value.Integer 100000) |)) in + (M.alloc (| + BinOp.ge (| M.read (| val |), Value.Integer IntegerKind.U32 100000 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := val in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 100000) + BinOp.Wrap.div (| M.read (| β |), Value.Integer IntegerKind.U32 100000 |) |) in let~ _ := let β := log in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 5) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U32 5 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| log |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| log |), + M.call_closure (| M.get_function (| "core::num::int_log10::less_than_5", [] |), [ M.read (| val |) ] - |)) + |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u32 : M.IsFunction "core::num::int_log10::u32" u32. @@ -233,7 +265,7 @@ Module num. ltac:(M.monadic (let val := M.alloc (| val |) in M.read (| - let~ log := M.alloc (| Value.Integer 0 |) in + let~ log := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -243,20 +275,26 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| val |)) (Value.Integer 10000000000) + BinOp.ge (| + M.read (| val |), + Value.Integer IntegerKind.U64 10000000000 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := val in M.write (| β, - BinOp.Wrap.div Integer.U64 (M.read (| β |)) (Value.Integer 10000000000) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U64 10000000000 + |) |) in let~ _ := let β := log in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U32 10 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -270,35 +308,37 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.ge (M.read (| val |)) (Value.Integer 100000) |)) in + (M.alloc (| + BinOp.ge (| M.read (| val |), Value.Integer IntegerKind.U64 100000 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := val in M.write (| β, - BinOp.Wrap.div Integer.U64 (M.read (| β |)) (Value.Integer 100000) + BinOp.Wrap.div (| M.read (| β |), Value.Integer IntegerKind.U64 100000 |) |) in let~ _ := let β := log in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 5) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U32 5 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| log |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| log |), + M.call_closure (| M.get_function (| "core::num::int_log10::less_than_5", [] |), [ M.rust_cast (M.read (| val |)) ] - |)) + |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u64 : M.IsFunction "core::num::int_log10::u64" u64. @@ -326,7 +366,7 @@ Module num. M.catch_return (| ltac:(M.monadic (M.read (| - let~ log := M.alloc (| Value.Integer 0 |) in + let~ log := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -336,9 +376,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| val |)) - (Value.Integer 100000000000000000000000000000000) + BinOp.ge (| + M.read (| val |), + Value.Integer IntegerKind.U128 100000000000000000000000000000000 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -349,25 +390,30 @@ Module num. let β := val in M.write (| β, - BinOp.Wrap.div - Integer.U128 - (M.read (| β |)) - (Value.Integer 100000000000000000000000000000000) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer + IntegerKind.U128 + 100000000000000000000000000000000 + |) |) in let~ _ := let β := log in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 32) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 32 + |) |) in M.return_ (| - BinOp.Wrap.add - Integer.U32 - (M.read (| log |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| log |), + M.call_closure (| M.get_function (| "core::num::int_log10::u32", [] |), [ M.rust_cast (M.read (| val |)) ] - |)) + |) + |) |) |) |) @@ -384,7 +430,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| val |)) (Value.Integer 10000000000000000) + BinOp.ge (| + M.read (| val |), + Value.Integer IntegerKind.U128 10000000000000000 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -392,33 +441,33 @@ Module num. let β := val in M.write (| β, - BinOp.Wrap.div - Integer.U128 - (M.read (| β |)) - (Value.Integer 10000000000000000) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U128 10000000000000000 + |) |) in let~ _ := let β := log in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 16) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U32 16 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| log |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| log |), + M.call_closure (| M.get_function (| "core::num::int_log10::u64", [] |), [ M.rust_cast (M.read (| val |)) ] - |)) + |) + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u128 : M.IsFunction "core::num::int_log10::u128" u128. @@ -437,7 +486,7 @@ Module num. M.get_function (| "core::num::int_log10::u64", [] |), [ M.rust_cast (M.read (| val |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_usize : M.IsFunction "core::num::int_log10::usize" usize. @@ -456,7 +505,7 @@ Module num. M.get_function (| "core::num::int_log10::u8", [] |), [ M.rust_cast (M.read (| val |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i8 : M.IsFunction "core::num::int_log10::i8" i8. @@ -475,7 +524,7 @@ Module num. M.get_function (| "core::num::int_log10::u16", [] |), [ M.rust_cast (M.read (| val |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i16 : M.IsFunction "core::num::int_log10::i16" i16. @@ -494,7 +543,7 @@ Module num. M.get_function (| "core::num::int_log10::u32", [] |), [ M.rust_cast (M.read (| val |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i32 : M.IsFunction "core::num::int_log10::i32" i32. @@ -513,7 +562,7 @@ Module num. M.get_function (| "core::num::int_log10::u64", [] |), [ M.rust_cast (M.read (| val |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i64 : M.IsFunction "core::num::int_log10::i64" i64. @@ -532,7 +581,7 @@ Module num. M.get_function (| "core::num::int_log10::u128", [] |), [ M.rust_cast (M.read (| val |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i128 : M.IsFunction "core::num::int_log10::i128" i128. @@ -563,7 +612,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_for_nonpositive_argument : diff --git a/CoqOfRust/core/num/mod.v b/CoqOfRust/core/num/mod.v index 9fc6d18c5..4695d0a48 100644 --- a/CoqOfRust/core/num/mod.v +++ b/CoqOfRust/core/num/mod.v @@ -10,7 +10,7 @@ Module num. Definition value_MIN : Value.t := M.run ltac:(M.monadic - (M.alloc (| UnOp.Pure.not (M.read (| M.get_constant (| "core::num::MAX" |) |)) |))). + (M.alloc (| UnOp.not (| M.read (| M.get_constant (| "core::num::MAX" |) |) |) |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. @@ -21,9 +21,10 @@ Module num. ltac:(M.monadic (M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I32 1 + |)) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -50,7 +51,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "i8" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -66,7 +67,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "count_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -83,9 +84,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i8", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -104,7 +105,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "leading_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -124,7 +125,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "trailing_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -144,7 +145,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "leading_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -163,7 +164,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "trailing_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -185,7 +186,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "rotate_left", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -206,7 +207,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "rotate_right", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -226,7 +227,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "swap_bytes", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -246,7 +247,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "reverse_bits", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -272,7 +273,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -295,7 +296,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -321,7 +322,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -344,7 +345,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -402,7 +403,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -424,7 +425,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "i8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -483,7 +484,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_unsigned : @@ -542,7 +543,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -564,7 +565,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -623,7 +624,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub_unsigned : @@ -682,7 +683,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -704,7 +705,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "i8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -739,14 +740,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 (-1) + |))) |))) |) ] @@ -772,7 +777,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -806,13 +811,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 (-1) + |)))) |) ] |) @@ -834,7 +843,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -869,14 +878,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 (-1) + |))) |))) |) ] @@ -902,7 +915,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -936,13 +949,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 (-1) + |)))) |) ] |) @@ -964,7 +981,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -1022,7 +1039,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -1041,9 +1058,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i8" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I8 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_neg : @@ -1102,7 +1119,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -1135,9 +1152,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1146,10 +1164,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -1161,7 +1179,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -1220,7 +1238,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -1253,9 +1271,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1264,10 +1283,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -1279,7 +1298,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -1328,7 +1347,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -1372,14 +1391,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I8 1 ] |) |) |) @@ -1388,7 +1411,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I8 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -1400,7 +1423,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -1416,11 +1439,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1483,7 +1507,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -1558,7 +1585,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -1584,7 +1611,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => @@ -1603,7 +1633,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_isqrt : @@ -1624,7 +1654,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "i8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -1672,7 +1702,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_unsigned : @@ -1693,7 +1723,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -1741,7 +1771,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub_unsigned : @@ -1759,9 +1789,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i8" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I8 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -1806,7 +1836,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -1860,9 +1890,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + BinOp.lt (| + M.read (| self |), + Value.Integer IntegerKind.I8 0 + |), + BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1873,7 +1907,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -1921,7 +1955,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -1964,13 +1998,17 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - let γ := M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |) in + let γ := + M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I8 0 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let γ := M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.U32 (M.read (| exp |)) (Value.Integer 2)) - (Value.Integer 1) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| exp |), Value.Integer IntegerKind.U32 2 |), + Value.Integer IntegerKind.U32 1 + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.get_constant (| "core::num::MIN" |))); @@ -1981,7 +2019,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -2002,7 +2040,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "i8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -2022,7 +2060,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_unsigned : @@ -2043,7 +2081,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "i8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -2063,7 +2101,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_sub", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub_unsigned : @@ -2084,7 +2122,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "i8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -2111,7 +2149,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -2138,7 +2176,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -2166,7 +2204,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -2193,7 +2231,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -2211,9 +2249,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i8", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.I8 0 |)) |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -2237,15 +2275,15 @@ Module num. M.get_associated_function (| Ty.path "i8", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -2269,15 +2307,15 @@ Module num. M.get_associated_function (| Ty.path "i8", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -2321,7 +2359,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : M.IsAssociatedFunction Self "wrapping_abs" wrapping_abs. @@ -2341,7 +2379,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_abs", [] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : M.IsAssociatedFunction Self "unsigned_abs" unsigned_abs. @@ -2386,17 +2424,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I8 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I8 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -2408,7 +2450,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -2424,11 +2466,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2455,7 +2498,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -2494,7 +2540,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -2530,7 +2576,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -2583,14 +2629,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -2628,15 +2674,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_unsigned : @@ -2673,7 +2719,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -2726,14 +2772,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -2772,15 +2818,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub_unsigned : @@ -2817,7 +2863,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -2851,11 +2897,12 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 (-1) |)) ] |) |)) in @@ -2865,15 +2912,13 @@ Module num. ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.div Integer.I8 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -2907,11 +2952,12 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 (-1) |)) ] |) |)) in @@ -2932,7 +2978,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -2964,32 +3010,31 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I8 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.rem Integer.I8 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -3021,17 +3066,18 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I8 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => @@ -3049,7 +3095,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -3081,9 +3127,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |) |)) in @@ -3095,13 +3142,12 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| - Value.Tuple - [ UnOp.Panic.neg (| Integer.I8, M.read (| self |) |); Value.Bool false ] + Value.Tuple [ UnOp.neg (| M.read (| self |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -3124,9 +3170,9 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -3149,9 +3195,9 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -3173,9 +3219,9 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_abs", [] |), [ M.read (| self |) ] |); - BinOp.Pure.eq (M.read (| self |)) (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| M.read (| self |), M.read (| M.get_constant (| "core::num::MIN" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -3230,13 +3276,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.I8 1; Value.Bool false ] + |) |) |) |))); @@ -3244,7 +3294,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I8 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -3258,7 +3308,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -3274,11 +3324,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3306,7 +3357,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -3318,7 +3369,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -3341,7 +3395,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -3372,11 +3426,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -3422,17 +3476,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I8 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I8 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -3444,7 +3502,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -3460,11 +3518,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3474,10 +3533,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.I8 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -3487,12 +3543,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul Integer.I8 (M.read (| base |)) (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -3511,10 +3570,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.I8 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -3591,7 +3650,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -3614,8 +3673,7 @@ Module num. M.catch_return (| ltac:(M.monadic (M.read (| - let~ q := - M.alloc (| BinOp.Wrap.div Integer.I8 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ q := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3625,9 +3683,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.rem Integer.I8 (M.read (| self |)) (M.read (| rhs |))) - (Value.Integer 0) + BinOp.lt (| + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |), + Value.Integer IntegerKind.I8 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3644,7 +3703,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3652,18 +3714,18 @@ Module num. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.I8 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| q |), + Value.Integer IntegerKind.I8 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I8 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| q |), + Value.Integer IntegerKind.I8 1 + |) |))) ] |) @@ -3678,7 +3740,7 @@ Module num. q |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -3708,15 +3770,17 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I8 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -3734,7 +3798,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -3757,10 +3821,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I8 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I8 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -3771,24 +3833,27 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I8 0 |), + ltac:(M.monadic + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I8 0 |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.sub Integer.I8 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.sub (| M.read (| d |), Value.Integer IntegerKind.I8 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -3811,10 +3876,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I8 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I8 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -3825,24 +3888,27 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I8 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I8 0 |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.I8 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.I8 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -3886,7 +3952,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3896,8 +3962,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I8 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in let~ m := M.copy (| M.match_operator (| @@ -3910,23 +3975,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I8 0 |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I8 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I8 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -3937,23 +4009,26 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I8 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.I8 (M.read (| rhs |)) (M.read (| m |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) + |) |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -4000,7 +4075,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4063,23 +4138,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I8 0 |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I8 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I8 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I8 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -4090,7 +4172,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4103,7 +4188,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.I8 (M.read (| rhs |)) (M.read (| m |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) ] |) |))) @@ -4111,7 +4196,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -4160,7 +4245,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -4191,7 +4276,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.I8 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4262,7 +4349,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -4318,7 +4405,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -4374,7 +4461,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -4418,15 +4505,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I8 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.I8 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -4437,9 +4525,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4448,37 +4537,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "i8", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "i8", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I8 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "i8", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -4495,7 +4584,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -4506,13 +4595,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div Integer.I8 (M.read (| β |)) (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4537,7 +4629,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -4565,27 +4657,30 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let~ log := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) - (M.rust_cast + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.rust_cast (M.call_closure (| M.get_function (| "core::intrinsics::ctlz_nonzero", [ Ty.path "i8" ] |), [ M.read (| self |) ] - |))) + |)) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| log |) ] @@ -4593,7 +4688,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -4620,7 +4715,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -4637,7 +4735,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -4675,12 +4773,12 @@ Module num. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| UnOp.Panic.neg (| Integer.I8, M.read (| self |) |) |))); + M.alloc (| UnOp.neg (| M.read (| self |) |) |))); fun γ => ltac:(M.monadic self) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -4720,8 +4818,7 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -4740,7 +4837,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -4770,9 +4867,12 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer (-1) |))); + M.alloc (| Value.Integer IntegerKind.I8 (-1) |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -4783,18 +4883,18 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (Value.Integer 0) + BinOp.eq (| M.read (| self |), Value.Integer IntegerKind.I8 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.I8 0 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I8 1 |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -4805,8 +4905,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I8 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -4817,8 +4917,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I8 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -4842,7 +4942,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -4866,7 +4966,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -4890,7 +4990,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -4914,7 +5014,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -4939,7 +5039,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -4963,7 +5063,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -4977,7 +5077,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -4990,7 +5090,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -5004,7 +5104,7 @@ Module num. Definition value_MIN : Value.t := M.run ltac:(M.monadic - (M.alloc (| UnOp.Pure.not (M.read (| M.get_constant (| "core::num::MAX" |) |)) |))). + (M.alloc (| UnOp.not (| M.read (| M.get_constant (| "core::num::MAX" |) |) |) |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. @@ -5015,9 +5115,10 @@ Module num. ltac:(M.monadic (M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I32 1 + |)) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -5044,7 +5145,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "i16" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -5060,7 +5161,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "count_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -5077,9 +5178,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i16", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -5098,7 +5199,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "leading_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -5118,7 +5219,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "trailing_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -5138,7 +5239,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "leading_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -5157,7 +5258,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "trailing_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -5179,7 +5280,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "rotate_left", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -5200,7 +5301,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "rotate_right", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -5220,7 +5321,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "swap_bytes", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -5240,7 +5341,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "reverse_bits", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -5266,7 +5367,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -5289,7 +5390,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -5315,7 +5416,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -5338,7 +5439,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -5396,7 +5497,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -5418,7 +5519,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "i16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -5477,7 +5578,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_unsigned : @@ -5536,7 +5637,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -5558,7 +5659,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -5617,7 +5718,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub_unsigned : @@ -5676,7 +5777,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -5698,7 +5799,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "i16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -5733,14 +5834,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 (-1) + |))) |))) |) ] @@ -5766,7 +5871,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -5800,13 +5905,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 (-1) + |)))) |) ] |) @@ -5828,7 +5937,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -5863,14 +5972,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 (-1) + |))) |))) |) ] @@ -5896,7 +6009,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -5930,13 +6043,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 (-1) + |)))) |) ] |) @@ -5958,7 +6075,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -6016,7 +6133,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -6035,9 +6152,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i16" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I16 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_neg : @@ -6096,7 +6213,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -6129,9 +6246,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6140,10 +6258,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -6155,7 +6273,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -6214,7 +6332,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -6247,9 +6365,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6258,10 +6377,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -6273,7 +6392,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -6322,7 +6441,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -6366,14 +6485,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I16 1 ] |) |) |) @@ -6382,7 +6505,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I16 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -6394,7 +6517,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -6410,11 +6533,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6477,7 +6601,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -6552,7 +6679,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -6578,7 +6705,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => @@ -6597,7 +6727,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_isqrt : @@ -6618,7 +6748,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "i16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -6666,7 +6796,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_unsigned : @@ -6687,7 +6817,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -6735,7 +6865,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub_unsigned : @@ -6753,9 +6883,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i16" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I16 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -6800,7 +6930,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -6854,9 +6984,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + BinOp.lt (| + M.read (| self |), + Value.Integer IntegerKind.I16 0 + |), + BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6867,7 +7001,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -6915,7 +7049,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -6958,13 +7092,17 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - let γ := M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |) in + let γ := + M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I16 0 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let γ := M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.U32 (M.read (| exp |)) (Value.Integer 2)) - (Value.Integer 1) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| exp |), Value.Integer IntegerKind.U32 2 |), + Value.Integer IntegerKind.U32 1 + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.get_constant (| "core::num::MIN" |))); @@ -6975,7 +7113,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -6996,7 +7134,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "i16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -7016,7 +7154,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_unsigned : @@ -7037,7 +7175,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "i16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -7057,7 +7195,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_sub", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub_unsigned : @@ -7078,7 +7216,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "i16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -7105,7 +7243,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -7132,7 +7270,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -7160,7 +7298,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -7187,7 +7325,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -7205,9 +7343,10 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i16", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.I16 0 |)) |); M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -7231,15 +7370,15 @@ Module num. M.get_associated_function (| Ty.path "i16", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -7263,15 +7402,15 @@ Module num. M.get_associated_function (| Ty.path "i16", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -7315,7 +7454,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : M.IsAssociatedFunction Self "wrapping_abs" wrapping_abs. @@ -7335,7 +7474,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_abs", [] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : M.IsAssociatedFunction Self "unsigned_abs" unsigned_abs. @@ -7380,17 +7519,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I16 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I16 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -7402,7 +7545,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -7418,11 +7561,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7449,7 +7593,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -7488,7 +7635,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -7524,7 +7671,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -7577,14 +7724,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -7622,15 +7769,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_unsigned : @@ -7667,7 +7814,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -7720,14 +7867,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -7766,15 +7913,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub_unsigned : @@ -7811,7 +7958,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -7845,11 +7992,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 (-1) + |)) ] |) |)) in @@ -7859,15 +8010,13 @@ Module num. ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.div Integer.I16 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -7901,11 +8050,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 (-1) + |)) ] |) |)) in @@ -7926,7 +8079,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -7958,32 +8111,31 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I16 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I16 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.rem Integer.I16 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -8015,17 +8167,18 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I16 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I16 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => @@ -8043,7 +8196,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -8075,9 +8228,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |) |)) in @@ -8089,13 +8243,12 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| - Value.Tuple - [ UnOp.Panic.neg (| Integer.I16, M.read (| self |) |); Value.Bool false ] + Value.Tuple [ UnOp.neg (| M.read (| self |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -8118,9 +8271,9 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -8143,9 +8296,9 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -8167,9 +8320,9 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_abs", [] |), [ M.read (| self |) ] |); - BinOp.Pure.eq (M.read (| self |)) (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| M.read (| self |), M.read (| M.get_constant (| "core::num::MIN" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -8224,13 +8377,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.I16 1; Value.Bool false ] + |) |) |) |))); @@ -8238,7 +8395,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I16 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -8252,7 +8409,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -8268,11 +8425,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8300,7 +8458,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -8312,7 +8470,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -8335,7 +8496,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -8366,11 +8527,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -8416,17 +8577,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I16 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I16 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -8438,7 +8603,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -8454,11 +8619,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8468,10 +8634,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.I16 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -8481,12 +8644,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul Integer.I16 (M.read (| base |)) (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -8505,10 +8671,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.I16 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -8585,7 +8751,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -8608,8 +8774,7 @@ Module num. M.catch_return (| ltac:(M.monadic (M.read (| - let~ q := - M.alloc (| BinOp.Wrap.div Integer.I16 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ q := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8619,12 +8784,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.rem - Integer.I16 - (M.read (| self |)) - (M.read (| rhs |))) - (Value.Integer 0) + BinOp.lt (| + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |), + Value.Integer IntegerKind.I16 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8641,7 +8804,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8649,18 +8815,18 @@ Module num. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.I16 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| q |), + Value.Integer IntegerKind.I16 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I16 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| q |), + Value.Integer IntegerKind.I16 1 + |) |))) ] |) @@ -8675,7 +8841,7 @@ Module num. q |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -8705,15 +8871,17 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I16 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -8731,7 +8899,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -8754,10 +8922,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I16 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I16 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -8768,24 +8934,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I16 0 |), + ltac:(M.monadic + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I16 0 |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.sub Integer.I16 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.sub (| M.read (| d |), Value.Integer IntegerKind.I16 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -8808,10 +8980,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I16 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I16 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -8822,24 +8992,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I16 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I16 0 |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.I16 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.I16 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -8883,7 +9059,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I16 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8893,8 +9069,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I16 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in let~ m := M.copy (| M.match_operator (| @@ -8907,23 +9082,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.I16 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I16 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I16 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -8934,23 +9119,26 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I16 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.I16 (M.read (| rhs |)) (M.read (| m |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) + |) |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -8997,7 +9185,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I16 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9060,23 +9248,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.I16 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I16 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I16 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I16 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -9087,7 +9285,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9100,7 +9301,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.I16 (M.read (| rhs |)) (M.read (| m |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) ] |) |))) @@ -9108,7 +9309,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -9157,7 +9358,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -9188,7 +9389,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.I16 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9259,7 +9462,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -9315,7 +9518,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -9371,7 +9574,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -9415,15 +9618,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I16 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.I16 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -9434,9 +9638,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9445,37 +9650,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "i16", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "i16", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I16 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "i16", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -9492,7 +9697,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -9503,16 +9708,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I16 - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -9537,7 +9742,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -9565,27 +9770,30 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let~ log := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) - (M.rust_cast + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.rust_cast (M.call_closure (| M.get_function (| "core::intrinsics::ctlz_nonzero", [ Ty.path "i16" ] |), [ M.read (| self |) ] - |))) + |)) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| log |) ] @@ -9593,7 +9801,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -9620,7 +9828,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -9637,7 +9848,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -9675,12 +9886,12 @@ Module num. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| UnOp.Panic.neg (| Integer.I16, M.read (| self |) |) |))); + M.alloc (| UnOp.neg (| M.read (| self |) |) |))); fun γ => ltac:(M.monadic self) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -9720,8 +9931,7 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -9740,7 +9950,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -9770,9 +9980,12 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer (-1) |))); + M.alloc (| Value.Integer IntegerKind.I16 (-1) |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -9783,18 +9996,18 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (Value.Integer 0) + BinOp.eq (| M.read (| self |), Value.Integer IntegerKind.I16 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.I16 0 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 1 |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -9805,8 +10018,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I16 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -9817,8 +10030,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I16 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -9842,7 +10055,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -9866,7 +10079,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -9890,7 +10103,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -9914,7 +10127,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -9939,7 +10152,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -9963,7 +10176,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -9977,7 +10190,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -9990,7 +10203,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -10004,7 +10217,7 @@ Module num. Definition value_MIN : Value.t := M.run ltac:(M.monadic - (M.alloc (| UnOp.Pure.not (M.read (| M.get_constant (| "core::num::MAX" |) |)) |))). + (M.alloc (| UnOp.not (| M.read (| M.get_constant (| "core::num::MAX" |) |) |) |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. @@ -10015,9 +10228,10 @@ Module num. ltac:(M.monadic (M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I32 1 + |)) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -10044,7 +10258,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "i32" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -10060,7 +10274,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "count_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -10077,9 +10291,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i32", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -10098,7 +10312,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "leading_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -10118,7 +10332,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "trailing_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -10138,7 +10352,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "leading_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -10157,7 +10371,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "trailing_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -10179,7 +10393,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "rotate_left", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -10200,7 +10414,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "rotate_right", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -10220,7 +10434,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "swap_bytes", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -10240,7 +10454,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "reverse_bits", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -10266,7 +10480,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -10289,7 +10503,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -10315,7 +10529,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -10338,7 +10552,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -10396,7 +10610,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -10418,7 +10632,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "i32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -10477,7 +10691,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_unsigned : @@ -10536,7 +10750,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -10558,7 +10772,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -10617,7 +10831,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub_unsigned : @@ -10676,7 +10890,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -10698,7 +10912,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "i32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -10733,14 +10947,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 (-1) + |))) |))) |) ] @@ -10766,7 +10984,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -10800,13 +11018,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 (-1) + |)))) |) ] |) @@ -10828,7 +11050,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -10863,14 +11085,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 (-1) + |))) |))) |) ] @@ -10896,7 +11122,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -10930,13 +11156,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 (-1) + |)))) |) ] |) @@ -10958,7 +11188,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -11016,7 +11246,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -11035,9 +11265,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i32" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I32 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_neg : @@ -11096,7 +11326,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -11129,9 +11359,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -11140,10 +11371,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -11155,7 +11386,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -11214,7 +11445,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -11247,9 +11478,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -11258,10 +11490,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -11273,7 +11505,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -11322,7 +11554,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -11366,14 +11598,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I32 1 ] |) |) |) @@ -11382,7 +11618,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -11394,7 +11630,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -11410,11 +11646,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11477,7 +11714,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -11552,7 +11792,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -11578,7 +11818,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => @@ -11597,7 +11840,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_isqrt : @@ -11618,7 +11861,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "i32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -11666,7 +11909,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_unsigned : @@ -11687,7 +11930,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -11735,7 +11978,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub_unsigned : @@ -11753,9 +11996,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i32" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I32 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -11800,7 +12043,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -11854,9 +12097,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + BinOp.lt (| + M.read (| self |), + Value.Integer IntegerKind.I32 0 + |), + BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -11867,7 +12114,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -11915,7 +12162,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -11958,13 +12205,17 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - let γ := M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |) in + let γ := + M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I32 0 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let γ := M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.U32 (M.read (| exp |)) (Value.Integer 2)) - (Value.Integer 1) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| exp |), Value.Integer IntegerKind.U32 2 |), + Value.Integer IntegerKind.U32 1 + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.get_constant (| "core::num::MIN" |))); @@ -11975,7 +12226,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -11996,7 +12247,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "i32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -12016,7 +12267,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_unsigned : @@ -12037,7 +12288,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "i32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -12057,7 +12308,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_sub", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub_unsigned : @@ -12078,7 +12329,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "i32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -12105,7 +12356,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -12132,7 +12383,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -12160,7 +12411,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -12187,7 +12438,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -12205,9 +12456,10 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i32", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.I32 0 |)) |); M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -12231,15 +12483,15 @@ Module num. M.get_associated_function (| Ty.path "i32", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -12263,15 +12515,15 @@ Module num. M.get_associated_function (| Ty.path "i32", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -12315,7 +12567,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : M.IsAssociatedFunction Self "wrapping_abs" wrapping_abs. @@ -12335,7 +12587,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_abs", [] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : M.IsAssociatedFunction Self "unsigned_abs" unsigned_abs. @@ -12380,17 +12632,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I32 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -12402,7 +12658,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -12418,11 +12674,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12449,7 +12706,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -12488,7 +12748,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -12524,7 +12784,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -12577,14 +12837,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -12622,15 +12882,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_unsigned : @@ -12667,7 +12927,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -12720,14 +12980,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -12766,15 +13026,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub_unsigned : @@ -12811,7 +13071,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -12845,11 +13105,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 (-1) + |)) ] |) |)) in @@ -12859,15 +13123,13 @@ Module num. ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.div Integer.I32 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -12901,11 +13163,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 (-1) + |)) ] |) |)) in @@ -12926,7 +13192,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -12958,32 +13224,31 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I32 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I32 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.rem Integer.I32 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -13015,17 +13280,18 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I32 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I32 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => @@ -13043,7 +13309,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -13075,9 +13341,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |) |)) in @@ -13089,13 +13356,12 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| - Value.Tuple - [ UnOp.Panic.neg (| Integer.I32, M.read (| self |) |); Value.Bool false ] + Value.Tuple [ UnOp.neg (| M.read (| self |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -13118,9 +13384,9 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -13143,9 +13409,9 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -13167,9 +13433,9 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_abs", [] |), [ M.read (| self |) ] |); - BinOp.Pure.eq (M.read (| self |)) (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| M.read (| self |), M.read (| M.get_constant (| "core::num::MIN" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -13224,13 +13490,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.I32 1; Value.Bool false ] + |) |) |) |))); @@ -13238,7 +13508,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -13252,7 +13522,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -13268,11 +13538,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13300,7 +13571,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -13312,7 +13583,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -13335,7 +13609,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -13366,11 +13640,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -13416,17 +13690,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I32 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -13438,7 +13716,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -13454,11 +13732,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13468,10 +13747,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.I32 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -13481,12 +13757,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul Integer.I32 (M.read (| base |)) (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -13505,10 +13784,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.I32 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -13585,7 +13864,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -13608,8 +13887,7 @@ Module num. M.catch_return (| ltac:(M.monadic (M.read (| - let~ q := - M.alloc (| BinOp.Wrap.div Integer.I32 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ q := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13619,12 +13897,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.rem - Integer.I32 - (M.read (| self |)) - (M.read (| rhs |))) - (Value.Integer 0) + BinOp.lt (| + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13641,7 +13917,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13649,18 +13928,18 @@ Module num. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.I32 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| q |), + Value.Integer IntegerKind.I32 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I32 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| q |), + Value.Integer IntegerKind.I32 1 + |) |))) ] |) @@ -13675,7 +13954,7 @@ Module num. q |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -13705,15 +13984,17 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I32 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -13731,7 +14012,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -13754,10 +14035,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I32 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I32 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -13768,24 +14047,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I32 0 |), + ltac:(M.monadic + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I32 0 |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.sub Integer.I32 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.sub (| M.read (| d |), Value.Integer IntegerKind.I32 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -13808,10 +14093,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I32 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I32 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -13822,24 +14105,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I32 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I32 0 |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.I32 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.I32 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -13883,7 +14172,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I32 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13893,8 +14182,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I32 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in let~ m := M.copy (| M.match_operator (| @@ -13907,23 +14195,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.I32 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I32 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I32 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -13934,23 +14232,26 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I32 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.I32 (M.read (| rhs |)) (M.read (| m |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) + |) |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -13997,7 +14298,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I32 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -14060,23 +14361,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.I32 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I32 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I32 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I32 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -14087,7 +14398,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14100,7 +14414,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.I32 (M.read (| rhs |)) (M.read (| m |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) ] |) |))) @@ -14108,7 +14422,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -14157,7 +14471,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -14188,7 +14502,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.I32 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14259,7 +14575,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -14315,7 +14631,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -14371,7 +14687,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -14415,15 +14731,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I32 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.I32 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -14434,9 +14751,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14445,37 +14763,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "i32", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "i32", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I32 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "i32", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -14492,7 +14810,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -14503,16 +14821,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I32 - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -14537,7 +14855,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -14565,27 +14883,30 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let~ log := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) - (M.rust_cast + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.rust_cast (M.call_closure (| M.get_function (| "core::intrinsics::ctlz_nonzero", [ Ty.path "i32" ] |), [ M.read (| self |) ] - |))) + |)) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| log |) ] @@ -14593,7 +14914,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -14620,7 +14941,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -14637,7 +14961,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -14675,12 +14999,12 @@ Module num. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| UnOp.Panic.neg (| Integer.I32, M.read (| self |) |) |))); + M.alloc (| UnOp.neg (| M.read (| self |) |) |))); fun γ => ltac:(M.monadic self) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -14720,8 +15044,7 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -14740,7 +15063,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -14770,9 +15093,12 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer (-1) |))); + M.alloc (| Value.Integer IntegerKind.I32 (-1) |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -14783,18 +15109,18 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (Value.Integer 0) + BinOp.eq (| M.read (| self |), Value.Integer IntegerKind.I32 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.I32 0 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 1 |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -14805,8 +15131,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I32 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -14817,8 +15143,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I32 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -14842,7 +15168,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -14866,7 +15192,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -14890,7 +15216,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -14914,7 +15240,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -14939,7 +15265,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -14963,7 +15289,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -14977,7 +15303,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -14990,7 +15316,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -15004,7 +15330,7 @@ Module num. Definition value_MIN : Value.t := M.run ltac:(M.monadic - (M.alloc (| UnOp.Pure.not (M.read (| M.get_constant (| "core::num::MAX" |) |)) |))). + (M.alloc (| UnOp.not (| M.read (| M.get_constant (| "core::num::MAX" |) |) |) |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. @@ -15015,9 +15341,10 @@ Module num. ltac:(M.monadic (M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I32 1 + |)) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -15044,7 +15371,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "i64" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -15060,7 +15387,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "count_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -15077,9 +15404,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i64", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -15098,7 +15425,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "leading_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -15118,7 +15445,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "trailing_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -15138,7 +15465,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "leading_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -15157,7 +15484,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "trailing_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -15179,7 +15506,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "rotate_left", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -15200,7 +15527,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "rotate_right", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -15220,7 +15547,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "swap_bytes", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -15240,7 +15567,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "reverse_bits", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -15266,7 +15593,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -15289,7 +15616,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -15315,7 +15642,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -15338,7 +15665,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -15396,7 +15723,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -15418,7 +15745,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "i64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -15477,7 +15804,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_unsigned : @@ -15536,7 +15863,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -15558,7 +15885,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -15617,7 +15944,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub_unsigned : @@ -15676,7 +16003,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -15698,7 +16025,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "i64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -15733,14 +16060,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 (-1) + |))) |))) |) ] @@ -15766,7 +16097,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -15800,13 +16131,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 (-1) + |)))) |) ] |) @@ -15828,7 +16163,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -15863,14 +16198,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 (-1) + |))) |))) |) ] @@ -15896,7 +16235,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -15930,13 +16269,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 (-1) + |)))) |) ] |) @@ -15958,7 +16301,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -16016,7 +16359,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -16035,9 +16378,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i64" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I64 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_neg : @@ -16096,7 +16439,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -16129,9 +16472,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -16140,10 +16484,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -16155,7 +16499,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -16214,7 +16558,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -16247,9 +16591,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -16258,10 +16603,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -16273,7 +16618,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -16322,7 +16667,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -16366,14 +16711,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I64 1 ] |) |) |) @@ -16382,7 +16731,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I64 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -16394,7 +16743,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -16410,11 +16759,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16477,7 +16827,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -16552,7 +16905,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -16578,7 +16931,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => @@ -16597,7 +16953,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_isqrt : @@ -16618,7 +16974,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "i64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -16666,7 +17022,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_unsigned : @@ -16687,7 +17043,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -16735,7 +17091,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub_unsigned : @@ -16753,9 +17109,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i64" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I64 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -16800,7 +17156,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -16854,9 +17210,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + BinOp.lt (| + M.read (| self |), + Value.Integer IntegerKind.I64 0 + |), + BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -16867,7 +17227,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -16915,7 +17275,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -16958,13 +17318,17 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - let γ := M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |) in + let γ := + M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I64 0 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let γ := M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.U32 (M.read (| exp |)) (Value.Integer 2)) - (Value.Integer 1) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| exp |), Value.Integer IntegerKind.U32 2 |), + Value.Integer IntegerKind.U32 1 + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.get_constant (| "core::num::MIN" |))); @@ -16975,7 +17339,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -16996,7 +17360,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "i64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -17016,7 +17380,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_unsigned : @@ -17037,7 +17401,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "i64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -17057,7 +17421,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_sub", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub_unsigned : @@ -17078,7 +17442,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "i64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -17105,7 +17469,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -17132,7 +17496,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -17160,7 +17524,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -17187,7 +17551,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -17205,9 +17569,10 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i64", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.I64 0 |)) |); M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -17231,15 +17596,15 @@ Module num. M.get_associated_function (| Ty.path "i64", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -17263,15 +17628,15 @@ Module num. M.get_associated_function (| Ty.path "i64", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -17315,7 +17680,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : M.IsAssociatedFunction Self "wrapping_abs" wrapping_abs. @@ -17335,7 +17700,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_abs", [] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : M.IsAssociatedFunction Self "unsigned_abs" unsigned_abs. @@ -17380,17 +17745,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I64 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I64 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -17402,7 +17771,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -17418,11 +17787,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17449,7 +17819,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -17488,7 +17861,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -17524,7 +17897,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -17577,14 +17950,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -17622,15 +17995,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_unsigned : @@ -17667,7 +18040,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -17720,14 +18093,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -17766,15 +18139,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub_unsigned : @@ -17811,7 +18184,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -17845,11 +18218,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 (-1) + |)) ] |) |)) in @@ -17859,15 +18236,13 @@ Module num. ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.div Integer.I64 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -17901,11 +18276,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 (-1) + |)) ] |) |)) in @@ -17926,7 +18305,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -17958,32 +18337,31 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I64 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I64 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.rem Integer.I64 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -18015,17 +18393,18 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I64 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I64 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => @@ -18043,7 +18422,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -18075,9 +18454,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |) |)) in @@ -18089,13 +18469,12 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| - Value.Tuple - [ UnOp.Panic.neg (| Integer.I64, M.read (| self |) |); Value.Bool false ] + Value.Tuple [ UnOp.neg (| M.read (| self |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -18118,9 +18497,9 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -18143,9 +18522,9 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -18167,9 +18546,9 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_abs", [] |), [ M.read (| self |) ] |); - BinOp.Pure.eq (M.read (| self |)) (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| M.read (| self |), M.read (| M.get_constant (| "core::num::MIN" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -18224,13 +18603,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.I64 1; Value.Bool false ] + |) |) |) |))); @@ -18238,7 +18621,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I64 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -18252,7 +18635,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -18268,11 +18651,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18300,7 +18684,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -18312,7 +18696,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -18335,7 +18722,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -18366,11 +18753,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -18416,17 +18803,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I64 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I64 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -18438,7 +18829,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -18454,11 +18845,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18468,10 +18860,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.I64 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -18481,12 +18870,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul Integer.I64 (M.read (| base |)) (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -18505,10 +18897,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.I64 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -18585,7 +18977,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -18608,8 +19000,7 @@ Module num. M.catch_return (| ltac:(M.monadic (M.read (| - let~ q := - M.alloc (| BinOp.Wrap.div Integer.I64 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ q := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18619,12 +19010,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.rem - Integer.I64 - (M.read (| self |)) - (M.read (| rhs |))) - (Value.Integer 0) + BinOp.lt (| + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |), + Value.Integer IntegerKind.I64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -18641,7 +19030,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18649,18 +19041,18 @@ Module num. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.I64 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| q |), + Value.Integer IntegerKind.I64 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I64 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| q |), + Value.Integer IntegerKind.I64 1 + |) |))) ] |) @@ -18675,7 +19067,7 @@ Module num. q |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -18705,15 +19097,17 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I64 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -18731,7 +19125,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -18754,10 +19148,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I64 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I64 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -18768,24 +19160,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I64 0 |), + ltac:(M.monadic + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I64 0 |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.sub Integer.I64 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.sub (| M.read (| d |), Value.Integer IntegerKind.I64 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -18808,10 +19206,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I64 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I64 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -18822,24 +19218,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I64 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I64 0 |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.I64 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.I64 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -18883,7 +19285,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I64 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -18893,8 +19295,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I64 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in let~ m := M.copy (| M.match_operator (| @@ -18907,23 +19308,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.I64 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I64 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I64 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -18934,23 +19345,26 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I64 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.I64 (M.read (| rhs |)) (M.read (| m |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) + |) |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -18997,7 +19411,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I64 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -19060,23 +19474,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.I64 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I64 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I64 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I64 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -19087,7 +19511,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -19100,7 +19527,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.I64 (M.read (| rhs |)) (M.read (| m |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) ] |) |))) @@ -19108,7 +19535,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -19157,7 +19584,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -19188,7 +19615,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.I64 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -19259,7 +19688,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -19315,7 +19744,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -19371,7 +19800,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -19415,15 +19844,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I64 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.I64 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -19434,9 +19864,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -19445,37 +19876,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "i64", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "i64", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I64 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "i64", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -19492,7 +19923,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -19503,16 +19934,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I64 - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -19537,7 +19968,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -19565,27 +19996,30 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let~ log := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) - (M.rust_cast + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.rust_cast (M.call_closure (| M.get_function (| "core::intrinsics::ctlz_nonzero", [ Ty.path "i64" ] |), [ M.read (| self |) ] - |))) + |)) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| log |) ] @@ -19593,7 +20027,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -19620,7 +20054,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -19637,7 +20074,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -19675,12 +20112,12 @@ Module num. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| UnOp.Panic.neg (| Integer.I64, M.read (| self |) |) |))); + M.alloc (| UnOp.neg (| M.read (| self |) |) |))); fun γ => ltac:(M.monadic self) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -19720,8 +20157,7 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -19740,7 +20176,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -19770,9 +20206,12 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer (-1) |))); + M.alloc (| Value.Integer IntegerKind.I64 (-1) |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -19783,18 +20222,18 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (Value.Integer 0) + BinOp.eq (| M.read (| self |), Value.Integer IntegerKind.I64 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.I64 0 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 1 |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -19805,8 +20244,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I64 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -19817,8 +20256,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I64 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -19842,7 +20281,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -19866,7 +20305,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -19890,7 +20329,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -19914,7 +20353,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -19939,7 +20378,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -19963,7 +20402,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -19977,7 +20416,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -19990,7 +20429,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -20004,7 +20443,7 @@ Module num. Definition value_MIN : Value.t := M.run ltac:(M.monadic - (M.alloc (| UnOp.Pure.not (M.read (| M.get_constant (| "core::num::MAX" |) |)) |))). + (M.alloc (| UnOp.not (| M.read (| M.get_constant (| "core::num::MAX" |) |) |) |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. @@ -20015,9 +20454,10 @@ Module num. ltac:(M.monadic (M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I32 1 + |)) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -20044,7 +20484,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "i128" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -20060,7 +20500,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "count_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -20077,9 +20517,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i128", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -20098,7 +20538,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "leading_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -20118,7 +20558,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "trailing_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -20138,7 +20578,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "leading_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -20157,7 +20597,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "trailing_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -20179,7 +20619,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "rotate_left", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -20200,7 +20640,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "rotate_right", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -20220,7 +20660,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "swap_bytes", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -20240,7 +20680,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "reverse_bits", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -20266,7 +20706,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -20289,7 +20729,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -20315,7 +20755,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -20338,7 +20778,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -20396,7 +20836,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -20418,7 +20858,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "i128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -20477,7 +20917,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_unsigned : @@ -20536,7 +20976,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -20558,7 +20998,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -20617,7 +21057,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub_unsigned : @@ -20676,7 +21116,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -20698,7 +21138,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "i128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -20733,14 +21173,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 (-1) + |))) |))) |) ] @@ -20766,7 +21210,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -20800,13 +21244,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 (-1) + |)))) |) ] |) @@ -20828,7 +21276,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -20863,14 +21311,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 (-1) + |))) |))) |) ] @@ -20896,7 +21348,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -20930,13 +21382,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 (-1) + |)))) |) ] |) @@ -20958,7 +21414,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -21016,7 +21472,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -21035,9 +21491,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "i128" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I128 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_neg : @@ -21096,7 +21552,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -21129,9 +21585,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -21140,10 +21597,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -21155,7 +21612,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -21214,7 +21671,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -21247,9 +21704,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -21258,10 +21716,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -21273,7 +21731,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -21322,7 +21780,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -21366,14 +21824,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I128 1 ] |) |) |) @@ -21382,7 +21844,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I128 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -21394,7 +21856,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -21410,11 +21872,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21477,7 +21940,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -21552,7 +22018,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -21578,7 +22044,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => @@ -21597,7 +22066,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_isqrt : @@ -21618,7 +22087,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "i128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -21666,7 +22135,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_unsigned : @@ -21687,7 +22156,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -21735,7 +22204,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub_unsigned : @@ -21753,9 +22222,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "i128" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.I128 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -21800,7 +22269,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -21854,9 +22323,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + BinOp.lt (| + M.read (| self |), + Value.Integer IntegerKind.I128 0 + |), + BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -21867,7 +22343,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -21915,7 +22391,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -21958,13 +22434,17 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - let γ := M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |) in + let γ := + M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I128 0 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let γ := M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.U32 (M.read (| exp |)) (Value.Integer 2)) - (Value.Integer 1) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| exp |), Value.Integer IntegerKind.U32 2 |), + Value.Integer IntegerKind.U32 1 + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.get_constant (| "core::num::MIN" |))); @@ -21975,7 +22455,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -21996,7 +22476,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "i128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -22016,7 +22496,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_unsigned : @@ -22037,7 +22517,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "i128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -22057,7 +22537,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_sub", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub_unsigned : @@ -22078,7 +22558,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "i128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -22105,7 +22585,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -22132,7 +22612,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -22160,7 +22640,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -22187,7 +22667,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -22205,9 +22685,10 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "i128", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.I128 0 |)) |); M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -22231,15 +22712,15 @@ Module num. M.get_associated_function (| Ty.path "i128", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -22263,15 +22744,15 @@ Module num. M.get_associated_function (| Ty.path "i128", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -22315,7 +22796,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : M.IsAssociatedFunction Self "wrapping_abs" wrapping_abs. @@ -22335,7 +22816,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_abs", [] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : M.IsAssociatedFunction Self "unsigned_abs" unsigned_abs. @@ -22380,17 +22861,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I128 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I128 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -22402,7 +22887,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -22418,11 +22903,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -22449,7 +22935,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -22488,7 +22977,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -22524,7 +23013,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -22577,14 +23066,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -22622,15 +23111,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_unsigned : @@ -22667,7 +23156,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -22720,14 +23209,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -22766,15 +23255,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub_unsigned : @@ -22811,7 +23300,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -22845,11 +23334,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 (-1) + |)) ] |) |)) in @@ -22859,15 +23352,13 @@ Module num. ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.div Integer.I128 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -22901,11 +23392,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 (-1) + |)) ] |) |)) in @@ -22926,7 +23421,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -22958,32 +23453,31 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I128 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I128 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.rem Integer.I128 (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -23015,17 +23509,18 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I128 (-1) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.I128 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => @@ -23043,7 +23538,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -23075,9 +23570,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |) |)) in @@ -23089,13 +23585,12 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| - Value.Tuple - [ UnOp.Panic.neg (| Integer.I128, M.read (| self |) |); Value.Bool false ] + Value.Tuple [ UnOp.neg (| M.read (| self |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -23118,9 +23613,9 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -23143,9 +23638,9 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -23167,9 +23662,9 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_abs", [] |), [ M.read (| self |) ] |); - BinOp.Pure.eq (M.read (| self |)) (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| M.read (| self |), M.read (| M.get_constant (| "core::num::MIN" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -23224,13 +23719,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.I128 1; Value.Bool false ] + |) |) |) |))); @@ -23238,7 +23737,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I128 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -23252,7 +23751,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -23268,11 +23767,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -23300,7 +23800,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -23312,7 +23812,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -23335,7 +23838,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -23366,11 +23869,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -23416,17 +23919,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.I128 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.I128 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -23438,7 +23945,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -23454,11 +23961,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -23468,10 +23976,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.I128 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -23481,15 +23986,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul - Integer.I128 - (M.read (| base |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -23508,10 +24013,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.I128 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -23588,7 +24093,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -23611,10 +24116,7 @@ Module num. M.catch_return (| ltac:(M.monadic (M.read (| - let~ q := - M.alloc (| - BinOp.Wrap.div Integer.I128 (M.read (| self |)) (M.read (| rhs |)) - |) in + let~ q := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -23624,12 +24126,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.rem - Integer.I128 - (M.read (| self |)) - (M.read (| rhs |))) - (Value.Integer 0) + BinOp.lt (| + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |), + Value.Integer IntegerKind.I128 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -23646,7 +24146,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -23654,18 +24157,18 @@ Module num. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.I128 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| q |), + Value.Integer IntegerKind.I128 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I128 - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| q |), + Value.Integer IntegerKind.I128 1 + |) |))) ] |) @@ -23680,7 +24183,7 @@ Module num. q |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -23710,15 +24213,17 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I128 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -23736,7 +24241,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -23759,10 +24264,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I128 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I128 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -23773,24 +24276,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I128 0 |), + ltac:(M.monadic + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I128 0 |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.sub Integer.I128 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.sub (| M.read (| d |), Value.Integer IntegerKind.I128 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -23813,10 +24322,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.I128 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.I128 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -23827,24 +24334,30 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.I128 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.I128 0 |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.I128 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.I128 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -23888,7 +24401,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I128 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -23898,10 +24411,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ r := - M.alloc (| - BinOp.Wrap.rem Integer.I128 (M.read (| self |)) (M.read (| rhs |)) - |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in let~ m := M.copy (| M.match_operator (| @@ -23914,23 +24424,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.I128 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I128 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I128 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -23941,23 +24461,26 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.I128 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.I128 (M.read (| rhs |)) (M.read (| m |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) + |) |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -24004,7 +24527,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I128 (-1) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -24067,23 +24590,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.I128 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.I128 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.I128 (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -24094,7 +24627,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -24107,7 +24643,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.I128 (M.read (| rhs |)) (M.read (| m |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) ] |) |))) @@ -24115,7 +24651,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -24164,7 +24700,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -24195,7 +24731,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.I128 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -24266,7 +24804,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -24322,7 +24860,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -24378,7 +24916,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -24422,15 +24960,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I128 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.I128 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -24441,9 +24980,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24452,37 +24992,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "i128", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "i128", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I128 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "i128", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -24499,7 +25039,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -24510,16 +25050,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.I128 - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -24544,7 +25084,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -24572,27 +25112,30 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let~ log := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) - (M.rust_cast + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.rust_cast (M.call_closure (| M.get_function (| "core::intrinsics::ctlz_nonzero", [ Ty.path "i128" ] |), [ M.read (| self |) ] - |))) + |)) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| log |) ] @@ -24600,7 +25143,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -24627,7 +25170,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -24644,7 +25190,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -24682,12 +25228,12 @@ Module num. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| UnOp.Panic.neg (| Integer.I128, M.read (| self |) |) |))); + M.alloc (| UnOp.neg (| M.read (| self |) |) |))); fun γ => ltac:(M.monadic self) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -24727,8 +25273,7 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -24747,7 +25292,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -24777,9 +25322,12 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer (-1) |))); + M.alloc (| Value.Integer IntegerKind.I128 (-1) |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -24790,18 +25338,18 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (Value.Integer 0) + BinOp.eq (| M.read (| self |), Value.Integer IntegerKind.I128 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.I128 0 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I128 1 |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -24812,8 +25360,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.I128 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -24824,8 +25372,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.I128 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -24849,7 +25397,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -24873,7 +25421,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -24897,7 +25445,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -24921,7 +25469,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -24946,7 +25494,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -24970,7 +25518,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -24984,7 +25532,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -24997,7 +25545,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -25011,7 +25559,7 @@ Module num. Definition value_MIN : Value.t := M.run ltac:(M.monadic - (M.alloc (| UnOp.Pure.not (M.read (| M.get_constant (| "core::num::MAX" |) |)) |))). + (M.alloc (| UnOp.not (| M.read (| M.get_constant (| "core::num::MAX" |) |) |) |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. @@ -25022,9 +25570,10 @@ Module num. ltac:(M.monadic (M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + Value.Integer IntegerKind.I32 1 + |)) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -25051,7 +25600,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "isize" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -25067,7 +25616,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "count_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -25084,9 +25633,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "isize", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -25105,7 +25654,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "leading_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -25125,7 +25674,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "trailing_zeros", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -25145,7 +25694,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "leading_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -25164,7 +25713,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "trailing_ones", [] |), [ M.rust_cast (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -25186,7 +25735,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "rotate_left", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -25207,7 +25756,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "rotate_right", [] |), [ M.rust_cast (M.read (| self |)); M.read (| n |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -25227,7 +25776,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "swap_bytes", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -25247,7 +25796,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "reverse_bits", [] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -25273,7 +25822,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -25296,7 +25845,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -25322,7 +25871,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -25345,7 +25894,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -25403,7 +25952,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -25425,7 +25974,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "isize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -25484,7 +26033,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_unsigned : @@ -25543,7 +26092,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -25565,7 +26114,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "isize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -25624,7 +26173,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub_unsigned : @@ -25683,7 +26232,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -25705,7 +26254,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "isize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -25740,14 +26289,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Isize 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize (-1) + |))) |))) |) ] @@ -25773,7 +26326,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -25807,13 +26360,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Isize 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize (-1) + |)))) |) ] |) @@ -25835,7 +26392,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -25870,14 +26427,18 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Isize 0 |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)), + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)))) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize (-1) + |))) |))) |) ] @@ -25903,7 +26464,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -25937,13 +26498,17 @@ Module num. M.get_function (| "core::intrinsics::unlikely", [] |), [ LogicalOp.or (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0), + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Isize 0 |), ltac:(M.monadic - (BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))))) + (BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize (-1) + |)))) |) ] |) @@ -25965,7 +26530,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -26023,7 +26588,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -26042,9 +26607,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "isize" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.Isize 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_neg : @@ -26103,7 +26668,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -26136,9 +26701,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -26147,10 +26713,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -26162,7 +26728,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -26221,7 +26787,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -26254,9 +26820,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -26265,10 +26832,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -26280,7 +26847,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -26329,7 +26896,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -26373,14 +26940,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Isize 1 ] |) |) |) @@ -26389,7 +26960,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.Isize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -26401,7 +26972,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -26417,11 +26988,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26484,7 +27056,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -26559,7 +27134,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -26585,7 +27160,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => @@ -26604,7 +27182,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_isqrt : @@ -26625,7 +27203,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "isize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -26673,7 +27251,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_unsigned : @@ -26694,7 +27272,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "isize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -26742,7 +27320,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub_unsigned : @@ -26760,9 +27338,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "isize" ] |), - [ Value.Integer 0; M.read (| self |) ] + [ Value.Integer IntegerKind.Isize 0; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -26807,7 +27385,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -26861,9 +27439,16 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + BinOp.lt (| + M.read (| self |), + Value.Integer IntegerKind.Isize 0 + |), + BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -26874,7 +27459,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -26922,7 +27507,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -26965,13 +27550,17 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - let γ := M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |) in + let γ := + M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.Isize 0 |) + |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let γ := M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.U32 (M.read (| exp |)) (Value.Integer 2)) - (Value.Integer 1) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| exp |), Value.Integer IntegerKind.U32 2 |), + Value.Integer IntegerKind.U32 1 + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.get_constant (| "core::num::MIN" |))); @@ -26982,7 +27571,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -27003,7 +27592,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "isize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -27023,7 +27612,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_unsigned : @@ -27044,7 +27633,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "isize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -27064,7 +27653,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_sub", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub_unsigned : @@ -27085,7 +27674,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "isize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -27112,7 +27701,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -27139,7 +27728,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -27167,7 +27756,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -27194,7 +27783,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -27212,9 +27801,12 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "isize", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ + M.read (| M.use (M.alloc (| Value.Integer IntegerKind.Isize 0 |)) |); + M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -27238,15 +27830,15 @@ Module num. M.get_associated_function (| Ty.path "isize", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -27270,15 +27862,15 @@ Module num. M.get_associated_function (| Ty.path "isize", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -27322,7 +27914,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : M.IsAssociatedFunction Self "wrapping_abs" wrapping_abs. @@ -27342,7 +27934,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_abs", [] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : M.IsAssociatedFunction Self "unsigned_abs" unsigned_abs. @@ -27387,17 +27979,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.Isize 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.Isize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -27409,7 +28005,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -27425,11 +28021,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -27456,7 +28053,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -27495,7 +28095,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -27531,7 +28131,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -27584,14 +28184,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -27629,15 +28229,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.Isize 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_unsigned : @@ -27674,7 +28274,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -27727,14 +28327,14 @@ Module num. let d := M.copy (| γ0_1 |) in M.alloc (| Value.Tuple - [ M.read (| c |); BinOp.Pure.ne (M.read (| b |)) (M.read (| d |)) ] + [ M.read (| c |); BinOp.ne (| M.read (| b |), M.read (| d |) |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -27773,15 +28373,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.Isize 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub_unsigned : @@ -27818,7 +28418,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -27852,11 +28452,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize (-1) + |)) ] |) |)) in @@ -27866,15 +28470,13 @@ Module num. ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.div Integer.Isize (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -27908,11 +28510,15 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.bit_and - (BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |))) - (BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1))) + BinOp.bit_and + (BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |)) + (BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize (-1) + |)) ] |) |)) in @@ -27933,7 +28539,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -27965,32 +28571,32 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Isize (-1) |) + ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.Isize 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple - [ - BinOp.Wrap.rem Integer.Isize (M.read (| self |)) (M.read (| rhs |)); - Value.Bool false + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -28022,17 +28628,19 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Isize (-1) |) + ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + Value.Integer IntegerKind.Isize 0; + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |))); fun γ => @@ -28050,7 +28658,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -28082,9 +28690,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), [ - BinOp.Pure.eq - (M.read (| self |)) - (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| + M.read (| self |), + M.read (| M.get_constant (| "core::num::MIN" |) |) + |) ] |) |)) in @@ -28096,13 +28705,12 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| - Value.Tuple - [ UnOp.Panic.neg (| Integer.Isize, M.read (| self |) |); Value.Bool false ] + Value.Tuple [ UnOp.neg (| M.read (| self |) |); Value.Bool false ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -28125,9 +28733,9 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -28150,9 +28758,9 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -28174,9 +28782,9 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_abs", [] |), [ M.read (| self |) ] |); - BinOp.Pure.eq (M.read (| self |)) (M.read (| M.get_constant (| "core::num::MIN" |) |)) + BinOp.eq (| M.read (| self |), M.read (| M.get_constant (| "core::num::MIN" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -28231,13 +28839,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple + [ Value.Integer IntegerKind.Isize 1; Value.Bool false ] + |) |) |) |))); @@ -28245,7 +28858,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.Isize 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -28259,7 +28872,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -28275,11 +28888,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -28307,7 +28921,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -28319,7 +28933,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -28342,7 +28959,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -28373,11 +28990,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -28423,17 +29040,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.Isize 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.Isize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -28445,7 +29066,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -28461,11 +29082,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -28475,10 +29097,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.Isize - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -28488,15 +29107,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul - Integer.Isize - (M.read (| base |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -28515,10 +29134,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.Isize (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -28595,7 +29214,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -28618,10 +29237,7 @@ Module num. M.catch_return (| ltac:(M.monadic (M.read (| - let~ q := - M.alloc (| - BinOp.Wrap.div Integer.Isize (M.read (| self |)) (M.read (| rhs |)) - |) in + let~ q := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -28631,12 +29247,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.rem - Integer.Isize - (M.read (| self |)) - (M.read (| rhs |))) - (Value.Integer 0) + BinOp.lt (| + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |), + Value.Integer IntegerKind.Isize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -28653,7 +29267,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -28661,18 +29278,18 @@ Module num. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.Isize - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| q |), + Value.Integer IntegerKind.Isize 1 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Isize - (M.read (| q |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| q |), + Value.Integer IntegerKind.Isize 1 + |) |))) ] |) @@ -28687,7 +29304,7 @@ Module num. q |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -28717,15 +29334,17 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.Isize (M.read (| self |)) (M.read (| rhs |)) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -28743,7 +29362,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -28766,10 +29385,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.Isize (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.Isize (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -28780,24 +29397,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.Isize 0 |), + ltac:(M.monadic + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.Isize 0 |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.sub Integer.Isize (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.sub (| M.read (| d |), Value.Integer IntegerKind.Isize 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -28820,10 +29446,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.Isize (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.Isize (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -28834,24 +29458,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.Isize 0 |), + ltac:(M.monadic + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| M.read (| r |), Value.Integer IntegerKind.Isize 0 |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.Isize (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.Isize 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -28895,7 +29528,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize (-1) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -28905,10 +29541,7 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ r := - M.alloc (| - BinOp.Wrap.rem Integer.Isize (M.read (| self |)) (M.read (| rhs |)) - |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in let~ m := M.copy (| M.match_operator (| @@ -28921,23 +29554,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.Isize 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.Isize 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.Isize (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -28948,23 +29591,26 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Isize - (M.read (| self |)) - (BinOp.Wrap.sub Integer.Isize (M.read (| rhs |)) (M.read (| m |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) + |) |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -29011,7 +29657,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer (-1)) + BinOp.eq (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize (-1) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -29074,23 +29723,33 @@ Module num. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), + BinOp.gt (| + M.read (| r |), + Value.Integer IntegerKind.Isize 0 + |), ltac:(M.monadic - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.lt (M.read (| r |)) (Value.Integer 0), + BinOp.lt (| + M.read (| r |), + Value.Integer IntegerKind.Isize 0 + |), ltac:(M.monadic - (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + (BinOp.gt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |))) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - BinOp.Wrap.add Integer.Isize (M.read (| r |)) (M.read (| rhs |)) - |))); + M.alloc (| BinOp.Wrap.add (| M.read (| r |), M.read (| rhs |) |) |))); fun γ => ltac:(M.monadic r) ] |) @@ -29101,7 +29760,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| m |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| m |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -29114,7 +29776,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.Isize (M.read (| rhs |)) (M.read (| m |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| m |) |) ] |) |))) @@ -29122,7 +29784,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -29171,7 +29833,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -29202,7 +29864,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.Isize 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -29273,7 +29937,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -29329,7 +29993,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -29385,7 +30049,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -29429,15 +30093,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.Isize 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.Isize 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -29448,9 +30113,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -29459,41 +30125,41 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "isize", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "isize", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.Isize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "isize", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -29510,7 +30176,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -29521,16 +30187,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.Isize - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -29555,7 +30221,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -29583,27 +30249,30 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let~ log := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) - (M.rust_cast + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.rust_cast (M.call_closure (| M.get_function (| "core::intrinsics::ctlz_nonzero", [ Ty.path "isize" ] |), [ M.read (| self |) ] - |))) + |)) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| log |) ] @@ -29611,7 +30280,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -29638,7 +30307,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -29655,7 +30327,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -29693,12 +30365,12 @@ Module num. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| UnOp.Panic.neg (| Integer.Isize, M.read (| self |) |) |))); + M.alloc (| UnOp.neg (| M.read (| self |) |) |))); fun γ => ltac:(M.monadic self) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -29738,8 +30410,7 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -29758,7 +30429,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -29788,9 +30459,12 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer (-1) |))); + M.alloc (| Value.Integer IntegerKind.Isize (-1) |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -29801,18 +30475,21 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| self |)) (Value.Integer 0) + BinOp.eq (| + M.read (| self |), + Value.Integer IntegerKind.Isize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.Isize 0 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Isize 1 |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -29823,8 +30500,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.gt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.gt (| M.read (| self |), Value.Integer IntegerKind.Isize 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -29835,8 +30512,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt (M.read (| self |)) (Value.Integer 0))) - | _, _ => M.impossible + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.Isize 0 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -29860,7 +30537,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -29884,7 +30561,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -29908,7 +30585,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -29932,7 +30609,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -29957,7 +30634,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -29981,7 +30658,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -29995,7 +30672,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -30008,28 +30685,29 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. End Impl_isize. Definition value_ASCII_CASE_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 32 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 32 |))). Module Impl_u8. Definition Self : Ty.t := Ty.path "u8". (* pub const MIN: Self = 0; *) (* Ty.path "u8" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_MIN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u8" *) Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.Pure.not (Value.Integer 0) |))). + M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U8 0 |) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -30062,7 +30740,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "u8" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -30083,7 +30761,7 @@ Module num. M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u8" ] |), [ M.read (| M.use self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -30100,9 +30778,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u8", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -30122,7 +30800,7 @@ Module num. M.get_function (| "core::intrinsics::ctlz", [ Ty.path "u8" ] |), [ M.read (| M.use self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -30143,7 +30821,7 @@ Module num. M.get_function (| "core::intrinsics::cttz", [ Ty.path "u8" ] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -30161,9 +30839,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u8", "leading_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -30180,9 +30858,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u8", "trailing_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -30203,7 +30881,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_left", [ Ty.path "u8" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -30223,7 +30901,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_right", [ Ty.path "u8" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -30247,7 +30925,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -30271,7 +30949,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -30297,7 +30975,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -30320,7 +30998,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -30346,7 +31024,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -30369,7 +31047,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -30427,7 +31105,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -30449,7 +31127,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "u8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -30508,7 +31186,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_signed : @@ -30567,7 +31245,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -30589,7 +31267,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "u8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -30648,7 +31326,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -30670,7 +31348,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "u8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -30704,7 +31382,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U8 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -30727,7 +31405,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -30758,7 +31436,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U8 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -30778,7 +31456,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -30812,7 +31490,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U8 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -30835,7 +31513,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -30866,7 +31544,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U8 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -30886,7 +31564,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -30918,7 +31596,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.U8 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -30989,7 +31669,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -31045,7 +31725,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -31101,7 +31781,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -31145,15 +31825,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.U8 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -31164,9 +31845,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -31175,37 +31857,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "u8", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u8", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U8 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "u8", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -31222,7 +31904,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -31233,13 +31915,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div Integer.U8 (M.read (| β |)) (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -31264,7 +31949,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -31326,7 +32011,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -31389,7 +32074,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -31447,7 +32132,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -31505,7 +32190,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -31538,9 +32223,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -31549,10 +32235,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -31564,7 +32250,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -31623,7 +32309,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -31656,9 +32342,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -31667,10 +32354,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -31682,7 +32369,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -31729,14 +32416,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.U8 1 ] |) |) |) @@ -31745,7 +32436,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U8 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -31757,7 +32448,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -31773,11 +32464,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -31840,7 +32532,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -31915,7 +32610,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -31935,7 +32630,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "u8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -31982,9 +32677,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| overflow |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + M.read (| overflow |), + BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -32003,7 +32699,8 @@ Module num. Value.Bool true |) in M.get_constant (| "core::num::MAX" |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))) ] |))) ] @@ -32011,7 +32708,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_signed : @@ -32032,7 +32729,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "u8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -32078,7 +32775,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -32100,7 +32797,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "wrapping_div", [] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -32146,7 +32843,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -32167,7 +32864,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "u8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -32187,7 +32884,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_signed : @@ -32208,7 +32905,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "u8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -32228,7 +32925,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "u8" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -32244,8 +32941,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U8 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -32261,8 +32958,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U8 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -32279,8 +32976,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U8 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -32296,8 +32993,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U8 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -32315,9 +33012,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u8", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U8 0 |)) |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -32341,15 +33038,15 @@ Module num. M.get_associated_function (| Ty.path "u8", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -32373,15 +33070,15 @@ Module num. M.get_associated_function (| Ty.path "u8", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -32426,17 +33123,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U8 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U8 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -32448,7 +33149,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -32464,11 +33165,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -32495,7 +33197,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -32534,7 +33239,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -32570,7 +33275,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -32636,7 +33341,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -32672,15 +33377,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I8 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_signed : @@ -32717,7 +33422,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -32783,7 +33488,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -32819,12 +33524,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u8" ] |), [] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -32849,24 +33555,24 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) + BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub Integer.U8 (M.read (| other |)) (M.read (| self |)) + BinOp.Wrap.sub (| M.read (| other |), M.read (| self |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.U8 (M.read (| self |)) (M.read (| other |)) + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |) |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -32902,7 +33608,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -32920,8 +33626,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U8 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -32939,8 +33645,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U8 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -32958,8 +33664,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U8 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -32977,8 +33683,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U8 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -32998,11 +33704,11 @@ Module num. [ M.call_closure (| M.get_associated_function (| Ty.path "u8", "wrapping_add", [] |), - [ UnOp.Pure.not (M.read (| self |)); Value.Integer 1 ] + [ UnOp.not (| M.read (| self |) |); Value.Integer IntegerKind.U8 1 ] |); - BinOp.Pure.ne (M.read (| self |)) (Value.Integer 0) + BinOp.ne (| M.read (| self |), Value.Integer IntegerKind.U8 0 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -33025,9 +33731,9 @@ Module num. M.get_associated_function (| Ty.path "u8", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -33050,9 +33756,9 @@ Module num. M.get_associated_function (| Ty.path "u8", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -33108,13 +33814,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.U8 1; Value.Bool false ] + |) |) |) |))); @@ -33122,7 +33832,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U8 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -33136,7 +33846,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -33152,11 +33862,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -33184,7 +33895,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -33196,7 +33907,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -33219,7 +33933,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -33250,11 +33964,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -33300,17 +34014,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U8 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U8 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -33322,7 +34040,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -33338,11 +34056,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -33352,10 +34071,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.U8 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -33365,12 +34081,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul Integer.U8 (M.read (| base |)) (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -33389,10 +34108,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.U8 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -33448,7 +34167,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 2) |)) in + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.U8 2 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -33458,17 +34179,18 @@ Module num. ] |) in let~ op := M.copy (| self |) in - let~ res := M.alloc (| Value.Integer 0 |) in + let~ res := M.alloc (| Value.Integer IntegerKind.U8 0 |) in let~ one := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Pure.bit_and + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U8 1, + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.path "u8", "ilog2", [] |), [ M.read (| self |) ] |)) - (UnOp.Pure.not (Value.Integer 1))) + (UnOp.not (| Value.Integer IntegerKind.U32 1 |)) + |) |) in let~ _ := M.loop (| @@ -33481,7 +34203,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| one |)) (Value.Integer 0) + BinOp.ne (| M.read (| one |), Value.Integer IntegerKind.U8 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -33497,12 +34219,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| op |)) - (BinOp.Wrap.add - Integer.U8 - (M.read (| res |)) - (M.read (| one |))) + BinOp.ge (| + M.read (| op |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -33513,21 +34236,24 @@ Module num. let β := op in M.write (| β, - BinOp.Wrap.sub - Integer.U8 - (M.read (| β |)) - (BinOp.Wrap.add - Integer.U8 - (M.read (| res |)) - (M.read (| one |))) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |) in let~ _ := M.write (| res, - BinOp.Wrap.add - Integer.U8 - (BinOp.Wrap.shr (M.read (| res |)) (Value.Integer 1)) - (M.read (| one |)) + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + M.read (| res |), + Value.Integer IntegerKind.I32 1 + |), + M.read (| one |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -33536,7 +34262,10 @@ Module num. let β := res in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -33545,7 +34274,10 @@ Module num. let β := one in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -33569,7 +34301,7 @@ Module num. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.lt (Value.Integer 0) (M.read (| res |)) ] + [ BinOp.lt (| Value.Integer IntegerKind.U8 0, M.read (| res |) |) ] |) |) in let~ _ := @@ -33577,14 +34309,16 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.lt - (M.read (| res |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.div - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 2))) + BinOp.lt (| + M.read (| res |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U8 1, + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 2 + |) + |) + |) ] |) |) in @@ -33592,7 +34326,7 @@ Module num. res |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -33608,8 +34342,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U8 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -33625,8 +34359,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U8 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -33642,8 +34376,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U8 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -33666,10 +34400,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.U8 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.U8 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -33679,17 +34411,20 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.U8 0 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.U8 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.U8 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -33710,25 +34445,29 @@ Module num. let rhs := M.alloc (| rhs |) in M.read (| M.match_operator (| - M.alloc (| BinOp.Wrap.rem Integer.U8 (M.read (| self |)) (M.read (| rhs |)) |), + M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |), [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 0 + |) in self)); fun γ => ltac:(M.monadic (let r := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add - Integer.U8 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.U8 (M.read (| rhs |)) (M.read (| r |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) + |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -33787,7 +34526,10 @@ Module num. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| self |) ] |))); @@ -33799,7 +34541,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.U8 (M.read (| rhs |)) (M.read (| r |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) ] |) |))) @@ -33807,7 +34549,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -33823,13 +34565,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u8", "count_ones", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -33864,17 +34607,23 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U8 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 0 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U8 0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ p := - M.alloc (| BinOp.Wrap.sub Integer.U8 (M.read (| self |)) (Value.Integer 1) |) in + M.alloc (| + BinOp.Wrap.sub (| M.read (| self |), Value.Integer IntegerKind.U8 1 |) + |) in let~ z := M.alloc (| M.call_closure (| @@ -33883,13 +34632,14 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (M.read (| z |)) + BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + M.read (| z |) + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_one_less_than_next_power_of_two : @@ -33905,14 +34655,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U8 - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u8", "one_less_than_next_power_of_two", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U8 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -33935,10 +34685,10 @@ Module num. M.get_associated_function (| Ty.path "u8", "one_less_than_next_power_of_two", [] |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U8 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -33961,10 +34711,10 @@ Module num. M.get_associated_function (| Ty.path "u8", "one_less_than_next_power_of_two", [] |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U8 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_next_power_of_two : @@ -33989,7 +34739,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -34013,7 +34763,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -34037,7 +34787,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -34061,7 +34811,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -34086,7 +34836,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -34110,7 +34860,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -34120,7 +34870,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -34129,7 +34879,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -34161,11 +34911,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 8)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 8 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_widening_mul : M.IsAssociatedFunction Self "widening_mul" widening_mul. @@ -34206,11 +34957,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 8)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 8 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_mul : M.IsAssociatedFunction Self "carrying_mul" carrying_mul. @@ -34227,14 +34979,11 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.rust_cast - (BinOp.Wrap.div - Integer.U16 - (BinOp.Wrap.add - Integer.U16 - (M.rust_cast (M.read (| self |))) - (M.rust_cast (M.read (| rhs |)))) - (Value.Integer 2)))) - | _, _ => M.impossible + (BinOp.Wrap.div (| + BinOp.Wrap.add (| M.rust_cast (M.read (| self |)), M.rust_cast (M.read (| rhs |)) |), + Value.Integer IntegerKind.U16 2 + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -34249,8 +34998,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (Value.Integer 127))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), Value.Integer IntegerKind.U8 127 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii : M.IsAssociatedFunction Self "is_ascii" is_ascii. @@ -34273,7 +35022,7 @@ Module num. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ascii : M.IsAssociatedFunction Self "as_ascii" as_ascii. @@ -34289,17 +35038,17 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.read (| self |) |)) - (BinOp.Wrap.mul - Integer.U8 - (M.rust_cast + (BinOp.Wrap.mul (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "u8", "is_ascii_lowercase", [] |), [ M.read (| self |) ] - |))) - (M.read (| M.get_constant (| "core::num::ASCII_CASE_MASK" |) |))))) - | _, _ => M.impossible + |)), + M.read (| M.get_constant (| "core::num::ASCII_CASE_MASK" |) |) + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ascii_uppercase : @@ -34316,17 +35065,17 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.read (| self |) |)) - (BinOp.Wrap.mul - Integer.U8 - (M.rust_cast + (BinOp.Wrap.mul (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "u8", "is_ascii_uppercase", [] |), [ M.read (| self |) ] - |))) - (M.read (| M.get_constant (| "core::num::ASCII_CASE_MASK" |) |))))) - | _, _ => M.impossible + |)), + M.read (| M.get_constant (| "core::num::ASCII_CASE_MASK" |) |) + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ascii_lowercase : @@ -34342,10 +35091,10 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.get_constant (| "core::num::ASCII_CASE_MASK" |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ascii_change_case_unchecked : @@ -34362,16 +35111,17 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u8", "to_ascii_lowercase", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "u8", "to_ascii_lowercase", [] |), [ M.read (| other |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eq_ignore_ascii_case : @@ -34398,7 +35148,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_ascii_uppercase : @@ -34425,7 +35175,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_ascii_lowercase : @@ -34458,14 +35208,14 @@ Module num. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_alphabetic : @@ -34490,7 +35240,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_uppercase : @@ -34515,7 +35265,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_lowercase : @@ -34531,8 +35281,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or - (BinOp.Pure.bit_or + BinOp.bit_or + (BinOp.bit_or (M.read (| M.match_operator (| M.read (| self |), @@ -34560,7 +35310,7 @@ Module num. ] |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_alphanumeric : @@ -34585,7 +35335,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_digit : @@ -34610,7 +35360,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_octdigit : @@ -34626,8 +35376,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or - (BinOp.Pure.bit_or + BinOp.bit_or + (BinOp.bit_or (M.read (| M.match_operator (| M.read (| self |), @@ -34655,7 +35405,7 @@ Module num. ] |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_hexdigit : @@ -34674,9 +35424,9 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.bit_or - (BinOp.Pure.bit_or - (BinOp.Pure.bit_or + BinOp.bit_or + (BinOp.bit_or + (BinOp.bit_or (M.read (| M.match_operator (| M.read (| self |), @@ -34713,7 +35463,7 @@ Module num. ] |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_punctuation : @@ -34738,7 +35488,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_graphic : @@ -34766,27 +35516,42 @@ Module num. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 9 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 9 + |) in Value.Tuple [])); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 10 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 10 + |) in Value.Tuple [])); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 12 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 12 + |) in Value.Tuple [])); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 13 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 13 + |) in Value.Tuple [])); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 32 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 32 + |) in Value.Tuple [])) ], M.closure @@ -34794,14 +35559,14 @@ Module num. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_whitespace : @@ -34832,7 +35597,7 @@ Module num. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 127 + Value.Integer IntegerKind.U8 127 |) in Value.Tuple [])) ], @@ -34841,14 +35606,14 @@ Module num. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii_control : @@ -34868,7 +35633,7 @@ Module num. M.get_function (| "core::ascii::escape_default", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_ascii : M.IsAssociatedFunction Self "escape_ascii" escape_ascii. @@ -34884,8 +35649,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ge (M.rust_cast (M.read (| self |))) (Value.Integer (-64)))) - | _, _ => M.impossible + BinOp.ge (| M.rust_cast (M.read (| self |)), Value.Integer IntegerKind.I8 (-64) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_utf8_char_boundary : @@ -34897,14 +35662,15 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "u16" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_MIN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u16" *) Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.Pure.not (Value.Integer 0) |))). + M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U16 0 |) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -34937,7 +35703,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "u16" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -34958,7 +35724,7 @@ Module num. M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u16" ] |), [ M.read (| M.use self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -34975,9 +35741,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u16", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -34997,7 +35763,7 @@ Module num. M.get_function (| "core::intrinsics::ctlz", [ Ty.path "u16" ] |), [ M.read (| M.use self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -35018,7 +35784,7 @@ Module num. M.get_function (| "core::intrinsics::cttz", [ Ty.path "u16" ] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -35036,9 +35802,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u16", "leading_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -35055,9 +35821,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u16", "trailing_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -35078,7 +35844,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_left", [ Ty.path "u16" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -35098,7 +35864,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_right", [ Ty.path "u16" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -35122,7 +35888,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -35146,7 +35912,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -35172,7 +35938,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -35195,7 +35961,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -35221,7 +35987,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -35244,7 +36010,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -35302,7 +36068,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -35324,7 +36090,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "u16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -35383,7 +36149,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_signed : @@ -35442,7 +36208,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -35464,7 +36230,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "u16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -35523,7 +36289,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -35545,7 +36311,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "u16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -35579,7 +36345,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U16 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -35602,7 +36368,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -35633,7 +36399,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U16 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -35653,7 +36419,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -35687,7 +36453,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U16 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -35710,7 +36476,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -35741,7 +36507,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U16 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -35761,7 +36527,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -35793,7 +36559,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.U16 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -35864,7 +36632,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -35920,7 +36688,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -35976,7 +36744,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -36020,15 +36788,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U16 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.U16 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -36039,9 +36808,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -36050,37 +36820,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "u16", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u16", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U16 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "u16", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -36097,7 +36867,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -36108,16 +36878,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U16 - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -36142,7 +36912,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -36204,7 +36974,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -36267,7 +37037,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -36325,7 +37095,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -36383,7 +37153,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -36416,9 +37186,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -36427,10 +37198,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -36442,7 +37213,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -36501,7 +37272,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -36534,9 +37305,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -36545,10 +37317,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -36560,7 +37332,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -36607,14 +37379,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.U16 1 ] |) |) |) @@ -36623,7 +37399,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U16 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -36635,7 +37411,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -36651,11 +37427,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -36718,7 +37495,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -36793,7 +37573,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -36813,7 +37593,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "u16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -36860,9 +37640,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| overflow |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + M.read (| overflow |), + BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -36881,7 +37662,8 @@ Module num. Value.Bool true |) in M.get_constant (| "core::num::MAX" |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))) ] |))) ] @@ -36889,7 +37671,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_signed : @@ -36910,7 +37692,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "u16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -36956,7 +37738,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -36978,7 +37760,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "wrapping_div", [] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -37024,7 +37806,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -37045,7 +37827,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "u16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -37065,7 +37847,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_signed : @@ -37086,7 +37868,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "u16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -37106,7 +37888,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "u16" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -37122,8 +37904,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U16 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -37139,8 +37921,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U16 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -37157,8 +37939,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U16 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -37174,8 +37956,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U16 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -37193,9 +37975,10 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u16", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U16 0 |)) |); M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -37219,15 +38002,15 @@ Module num. M.get_associated_function (| Ty.path "u16", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -37251,15 +38034,15 @@ Module num. M.get_associated_function (| Ty.path "u16", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -37304,17 +38087,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U16 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U16 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -37326,7 +38113,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -37342,11 +38129,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -37373,7 +38161,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -37412,7 +38203,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -37448,7 +38239,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -37514,7 +38305,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -37550,15 +38341,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I16 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_signed : @@ -37595,7 +38386,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -37661,7 +38452,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -37697,12 +38488,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u16" ] |), [] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -37727,24 +38519,24 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) + BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub Integer.U16 (M.read (| other |)) (M.read (| self |)) + BinOp.Wrap.sub (| M.read (| other |), M.read (| self |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.U16 (M.read (| self |)) (M.read (| other |)) + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |) |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -37780,7 +38572,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -37798,9 +38590,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U16 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -37818,9 +38609,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U16 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -37838,9 +38628,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U16 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -37858,9 +38647,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U16 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -37880,11 +38668,11 @@ Module num. [ M.call_closure (| M.get_associated_function (| Ty.path "u16", "wrapping_add", [] |), - [ UnOp.Pure.not (M.read (| self |)); Value.Integer 1 ] + [ UnOp.not (| M.read (| self |) |); Value.Integer IntegerKind.U16 1 ] |); - BinOp.Pure.ne (M.read (| self |)) (Value.Integer 0) + BinOp.ne (| M.read (| self |), Value.Integer IntegerKind.U16 0 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -37907,9 +38695,9 @@ Module num. M.get_associated_function (| Ty.path "u16", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -37932,9 +38720,9 @@ Module num. M.get_associated_function (| Ty.path "u16", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -37990,13 +38778,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.U16 1; Value.Bool false ] + |) |) |) |))); @@ -38004,7 +38796,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U16 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -38018,7 +38810,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -38034,11 +38826,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -38066,7 +38859,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -38078,7 +38871,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -38101,7 +38897,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -38132,11 +38928,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -38182,17 +38978,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U16 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U16 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -38204,7 +39004,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -38220,11 +39020,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -38234,10 +39035,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.U16 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -38247,12 +39045,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul Integer.U16 (M.read (| base |)) (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -38271,10 +39072,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.U16 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -38330,7 +39131,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 2) |)) in + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.U16 2 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -38340,17 +39143,18 @@ Module num. ] |) in let~ op := M.copy (| self |) in - let~ res := M.alloc (| Value.Integer 0 |) in + let~ res := M.alloc (| Value.Integer IntegerKind.U16 0 |) in let~ one := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Pure.bit_and + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.path "u16", "ilog2", [] |), [ M.read (| self |) ] |)) - (UnOp.Pure.not (Value.Integer 1))) + (UnOp.not (| Value.Integer IntegerKind.U32 1 |)) + |) |) in let~ _ := M.loop (| @@ -38363,7 +39167,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| one |)) (Value.Integer 0) + BinOp.ne (| M.read (| one |), Value.Integer IntegerKind.U16 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -38379,12 +39183,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| op |)) - (BinOp.Wrap.add - Integer.U16 - (M.read (| res |)) - (M.read (| one |))) + BinOp.ge (| + M.read (| op |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -38395,21 +39200,24 @@ Module num. let β := op in M.write (| β, - BinOp.Wrap.sub - Integer.U16 - (M.read (| β |)) - (BinOp.Wrap.add - Integer.U16 - (M.read (| res |)) - (M.read (| one |))) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |) in let~ _ := M.write (| res, - BinOp.Wrap.add - Integer.U16 - (BinOp.Wrap.shr (M.read (| res |)) (Value.Integer 1)) - (M.read (| one |)) + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + M.read (| res |), + Value.Integer IntegerKind.I32 1 + |), + M.read (| one |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -38418,7 +39226,10 @@ Module num. let β := res in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -38427,7 +39238,10 @@ Module num. let β := one in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -38451,7 +39265,7 @@ Module num. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.lt (Value.Integer 0) (M.read (| res |)) ] + [ BinOp.lt (| Value.Integer IntegerKind.U16 0, M.read (| res |) |) ] |) |) in let~ _ := @@ -38459,14 +39273,16 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.lt - (M.read (| res |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.div - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 2))) + BinOp.lt (| + M.read (| res |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 2 + |) + |) + |) ] |) |) in @@ -38474,7 +39290,7 @@ Module num. res |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -38490,8 +39306,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U16 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -38507,8 +39323,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U16 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -38524,8 +39340,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U16 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -38548,10 +39364,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.U16 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.U16 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -38561,17 +39375,20 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.U16 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.U16 0 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.U16 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.U16 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -38592,25 +39409,29 @@ Module num. let rhs := M.alloc (| rhs |) in M.read (| M.match_operator (| - M.alloc (| BinOp.Wrap.rem Integer.U16 (M.read (| self |)) (M.read (| rhs |)) |), + M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |), [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U16 0 + |) in self)); fun γ => ltac:(M.monadic (let r := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add - Integer.U16 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.U16 (M.read (| rhs |)) (M.read (| r |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) + |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -38669,7 +39490,10 @@ Module num. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U16 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| self |) ] |))); @@ -38681,7 +39505,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.U16 (M.read (| rhs |)) (M.read (| r |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) ] |) |))) @@ -38689,7 +39513,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -38705,13 +39529,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u16", "count_ones", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -38746,17 +39571,23 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U16 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 0 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U16 0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ p := - M.alloc (| BinOp.Wrap.sub Integer.U16 (M.read (| self |)) (Value.Integer 1) |) in + M.alloc (| + BinOp.Wrap.sub (| M.read (| self |), Value.Integer IntegerKind.U16 1 |) + |) in let~ z := M.alloc (| M.call_closure (| @@ -38765,13 +39596,14 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (M.read (| z |)) + BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + M.read (| z |) + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_one_less_than_next_power_of_two : @@ -38787,14 +39619,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U16 - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u16", "one_less_than_next_power_of_two", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U16 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -38821,10 +39653,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U16 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -38851,10 +39683,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U16 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_next_power_of_two : @@ -38879,7 +39711,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -38903,7 +39735,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -38927,7 +39759,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -38951,7 +39783,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -38976,7 +39808,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -39000,7 +39832,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -39010,7 +39842,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -39019,7 +39851,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -39051,11 +39883,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 16)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 16 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_widening_mul : M.IsAssociatedFunction Self "widening_mul" widening_mul. @@ -39096,11 +39929,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 16)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 16 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_mul : M.IsAssociatedFunction Self "carrying_mul" carrying_mul. @@ -39117,14 +39951,11 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.rust_cast - (BinOp.Wrap.div - Integer.U32 - (BinOp.Wrap.add - Integer.U32 - (M.rust_cast (M.read (| self |))) - (M.rust_cast (M.read (| rhs |)))) - (Value.Integer 2)))) - | _, _ => M.impossible + (BinOp.Wrap.div (| + BinOp.Wrap.add (| M.rust_cast (M.read (| self |)), M.rust_cast (M.read (| rhs |)) |), + Value.Integer IntegerKind.U32 2 + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -39148,7 +39979,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_utf16_surrogate : @@ -39160,14 +39991,15 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "u32" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_MIN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u32" *) Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.Pure.not (Value.Integer 0) |))). + M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 0 |) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -39200,7 +40032,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "u32" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -39225,7 +40057,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -39242,9 +40074,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u32", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -39268,7 +40100,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -39293,7 +40125,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -39311,9 +40143,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u32", "leading_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -39330,9 +40162,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u32", "trailing_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -39353,7 +40185,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_left", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| M.use n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -39373,7 +40205,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_right", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| M.use n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -39397,7 +40229,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -39421,7 +40253,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -39447,7 +40279,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -39470,7 +40302,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -39496,7 +40328,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -39519,7 +40351,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -39577,7 +40409,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -39599,7 +40431,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -39658,7 +40490,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_signed : @@ -39717,7 +40549,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -39739,7 +40571,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -39798,7 +40630,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -39820,7 +40652,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -39854,7 +40686,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U32 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -39877,7 +40709,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -39908,7 +40740,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U32 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -39928,7 +40760,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -39962,7 +40794,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U32 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -39985,7 +40817,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -40016,7 +40848,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U32 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -40036,7 +40868,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -40068,7 +40900,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.U32 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -40139,7 +40973,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -40195,7 +41029,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -40251,7 +41085,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -40295,15 +41129,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U32 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.U32 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -40314,9 +41149,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -40325,37 +41161,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "u32", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u32", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U32 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "u32", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -40372,7 +41208,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -40383,16 +41219,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U32 - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -40417,7 +41253,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -40479,7 +41315,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -40542,7 +41378,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -40600,7 +41436,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -40658,7 +41494,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -40691,9 +41527,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -40702,9 +41539,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.read (| M.use (M.get_constant (| "core::num::MAX" |)) |)) + BinOp.le (| + M.read (| rhs |), + M.read (| M.use (M.get_constant (| "core::num::MAX" |)) |) + |) ] |) |) in @@ -40716,7 +41554,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -40775,7 +41613,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -40808,9 +41646,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -40819,9 +41658,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.read (| M.use (M.get_constant (| "core::num::MAX" |)) |)) + BinOp.le (| + M.read (| rhs |), + M.read (| M.use (M.get_constant (| "core::num::MAX" |)) |) + |) ] |) |) in @@ -40833,7 +41673,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -40880,14 +41720,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.U32 1 ] |) |) |) @@ -40896,7 +41740,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -40908,7 +41752,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -40924,11 +41768,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -40991,7 +41836,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -41066,7 +41914,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -41086,7 +41934,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -41133,9 +41981,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| overflow |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + M.read (| overflow |), + BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -41154,7 +42003,8 @@ Module num. Value.Bool true |) in M.get_constant (| "core::num::MAX" |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))) ] |))) ] @@ -41162,7 +42012,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_signed : @@ -41183,7 +42033,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -41229,7 +42079,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -41251,7 +42101,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "wrapping_div", [] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -41297,7 +42147,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -41318,7 +42168,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -41338,7 +42188,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_signed : @@ -41359,7 +42209,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -41379,7 +42229,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "u32" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -41395,8 +42245,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U32 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -41412,8 +42262,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U32 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -41430,8 +42280,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U32 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -41447,8 +42297,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U32 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -41466,9 +42316,10 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u32", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U32 0 |)) |); M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -41492,15 +42343,15 @@ Module num. M.get_associated_function (| Ty.path "u32", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -41524,15 +42375,15 @@ Module num. M.get_associated_function (| Ty.path "u32", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -41577,17 +42428,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U32 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -41599,7 +42454,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -41615,11 +42470,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -41646,7 +42502,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -41685,7 +42544,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -41721,7 +42580,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -41787,7 +42646,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -41823,15 +42682,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I32 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_signed : @@ -41868,7 +42727,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -41934,7 +42793,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -41970,12 +42829,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u32" ] |), [] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -42000,24 +42860,24 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) + BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub Integer.U32 (M.read (| other |)) (M.read (| self |)) + BinOp.Wrap.sub (| M.read (| other |), M.read (| self |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.U32 (M.read (| self |)) (M.read (| other |)) + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |) |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -42053,7 +42913,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -42071,9 +42931,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U32 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -42091,9 +42950,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U32 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -42111,9 +42969,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U32 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -42131,9 +42988,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U32 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -42153,11 +43009,11 @@ Module num. [ M.call_closure (| M.get_associated_function (| Ty.path "u32", "wrapping_add", [] |), - [ UnOp.Pure.not (M.read (| self |)); Value.Integer 1 ] + [ UnOp.not (| M.read (| self |) |); Value.Integer IntegerKind.U32 1 ] |); - BinOp.Pure.ne (M.read (| self |)) (Value.Integer 0) + BinOp.ne (| M.read (| self |), Value.Integer IntegerKind.U32 0 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -42180,9 +43036,9 @@ Module num. M.get_associated_function (| Ty.path "u32", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -42205,9 +43061,9 @@ Module num. M.get_associated_function (| Ty.path "u32", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -42263,13 +43119,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.U32 1; Value.Bool false ] + |) |) |) |))); @@ -42277,7 +43137,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U32 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -42291,7 +43151,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -42307,11 +43167,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -42339,7 +43200,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -42351,7 +43212,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -42374,7 +43238,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -42405,11 +43269,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -42455,17 +43319,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U32 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -42477,7 +43345,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -42493,11 +43361,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -42507,10 +43376,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.U32 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -42520,12 +43386,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul Integer.U32 (M.read (| base |)) (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -42544,10 +43413,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.U32 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -42603,7 +43472,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 2) |)) in + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.U32 2 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -42613,17 +43484,18 @@ Module num. ] |) in let~ op := M.copy (| self |) in - let~ res := M.alloc (| Value.Integer 0 |) in + let~ res := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ one := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Pure.bit_and + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.path "u32", "ilog2", [] |), [ M.read (| self |) ] |)) - (UnOp.Pure.not (Value.Integer 1))) + (UnOp.not (| Value.Integer IntegerKind.U32 1 |)) + |) |) in let~ _ := M.loop (| @@ -42636,7 +43508,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| one |)) (Value.Integer 0) + BinOp.ne (| M.read (| one |), Value.Integer IntegerKind.U32 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -42652,12 +43524,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| op |)) - (BinOp.Wrap.add - Integer.U32 - (M.read (| res |)) - (M.read (| one |))) + BinOp.ge (| + M.read (| op |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -42668,21 +43541,24 @@ Module num. let β := op in M.write (| β, - BinOp.Wrap.sub - Integer.U32 - (M.read (| β |)) - (BinOp.Wrap.add - Integer.U32 - (M.read (| res |)) - (M.read (| one |))) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |) in let~ _ := M.write (| res, - BinOp.Wrap.add - Integer.U32 - (BinOp.Wrap.shr (M.read (| res |)) (Value.Integer 1)) - (M.read (| one |)) + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + M.read (| res |), + Value.Integer IntegerKind.I32 1 + |), + M.read (| one |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -42691,7 +43567,10 @@ Module num. let β := res in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -42700,7 +43579,10 @@ Module num. let β := one in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -42724,7 +43606,7 @@ Module num. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.lt (Value.Integer 0) (M.read (| res |)) ] + [ BinOp.lt (| Value.Integer IntegerKind.U32 0, M.read (| res |) |) ] |) |) in let~ _ := @@ -42732,14 +43614,16 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.lt - (M.read (| res |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.div - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 2))) + BinOp.lt (| + M.read (| res |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 2 + |) + |) + |) ] |) |) in @@ -42747,7 +43631,7 @@ Module num. res |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -42763,8 +43647,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U32 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -42780,8 +43664,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U32 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -42797,8 +43681,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U32 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -42821,10 +43705,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.U32 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.U32 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -42834,17 +43716,20 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.U32 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.U32 0 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.U32 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.U32 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -42865,25 +43750,29 @@ Module num. let rhs := M.alloc (| rhs |) in M.read (| M.match_operator (| - M.alloc (| BinOp.Wrap.rem Integer.U32 (M.read (| self |)) (M.read (| rhs |)) |), + M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |), [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U32 0 + |) in self)); fun γ => ltac:(M.monadic (let r := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.U32 (M.read (| rhs |)) (M.read (| r |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) + |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -42942,7 +43831,10 @@ Module num. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U32 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| self |) ] |))); @@ -42954,7 +43846,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.U32 (M.read (| rhs |)) (M.read (| r |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) ] |) |))) @@ -42962,7 +43854,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -42978,13 +43870,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u32", "count_ones", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -43019,17 +43912,23 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U32 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 0 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U32 0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ p := - M.alloc (| BinOp.Wrap.sub Integer.U32 (M.read (| self |)) (Value.Integer 1) |) in + M.alloc (| + BinOp.Wrap.sub (| M.read (| self |), Value.Integer IntegerKind.U32 1 |) + |) in let~ z := M.alloc (| M.call_closure (| @@ -43038,13 +43937,14 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (M.read (| z |)) + BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + M.read (| z |) + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_one_less_than_next_power_of_two : @@ -43060,14 +43960,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u32", "one_less_than_next_power_of_two", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -43094,10 +43994,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U32 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -43124,10 +44024,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U32 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_next_power_of_two : @@ -43152,7 +44052,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -43176,7 +44076,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -43200,7 +44100,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -43224,7 +44124,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -43249,7 +44149,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -43273,7 +44173,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -43283,7 +44183,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -43292,7 +44192,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -43324,11 +44224,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 32)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 32 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_widening_mul : M.IsAssociatedFunction Self "widening_mul" widening_mul. @@ -43369,11 +44270,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 32)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 32 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_mul : M.IsAssociatedFunction Self "carrying_mul" carrying_mul. @@ -43390,14 +44292,11 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.rust_cast - (BinOp.Wrap.div - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (M.rust_cast (M.read (| self |))) - (M.rust_cast (M.read (| rhs |)))) - (Value.Integer 2)))) - | _, _ => M.impossible + (BinOp.Wrap.div (| + BinOp.Wrap.add (| M.rust_cast (M.read (| self |)), M.rust_cast (M.read (| rhs |)) |), + Value.Integer IntegerKind.U64 2 + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -43408,14 +44307,15 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "u64" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_MIN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u64" *) Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.Pure.not (Value.Integer 0) |))). + M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U64 0 |) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -43448,7 +44348,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "u64" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -43469,7 +44369,7 @@ Module num. M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u64" ] |), [ M.read (| M.use self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -43486,9 +44386,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u64", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -43508,7 +44408,7 @@ Module num. M.get_function (| "core::intrinsics::ctlz", [ Ty.path "u64" ] |), [ M.read (| M.use self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -43529,7 +44429,7 @@ Module num. M.get_function (| "core::intrinsics::cttz", [ Ty.path "u64" ] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -43547,9 +44447,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u64", "leading_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -43566,9 +44466,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u64", "trailing_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -43589,7 +44489,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_left", [ Ty.path "u64" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -43609,7 +44509,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_right", [ Ty.path "u64" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -43633,7 +44533,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -43657,7 +44557,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -43683,7 +44583,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -43706,7 +44606,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -43732,7 +44632,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -43755,7 +44655,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -43813,7 +44713,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -43835,7 +44735,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "u64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -43894,7 +44794,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_signed : @@ -43953,7 +44853,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -43975,7 +44875,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "u64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -44034,7 +44934,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -44056,7 +44956,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "u64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -44090,7 +44990,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U64 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -44113,7 +45013,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -44144,7 +45044,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U64 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -44164,7 +45064,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -44198,7 +45098,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U64 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -44221,7 +45121,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -44252,7 +45152,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U64 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -44272,7 +45172,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -44304,7 +45204,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.U64 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -44375,7 +45277,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -44431,7 +45333,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -44487,7 +45389,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -44531,15 +45433,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U64 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.U64 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -44550,9 +45453,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -44561,37 +45465,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "u64", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u64", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U64 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "u64", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -44608,7 +45512,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -44619,16 +45523,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U64 - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -44653,7 +45557,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -44715,7 +45619,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -44778,7 +45682,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -44836,7 +45740,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -44894,7 +45798,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -44927,9 +45831,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -44938,10 +45843,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -44953,7 +45858,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -45012,7 +45917,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -45045,9 +45950,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -45056,10 +45962,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -45071,7 +45977,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -45118,14 +46024,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.U64 1 ] |) |) |) @@ -45134,7 +46044,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U64 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -45146,7 +46056,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -45162,11 +46072,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -45229,7 +46140,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -45304,7 +46218,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -45324,7 +46238,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "u64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -45371,9 +46285,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| overflow |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + M.read (| overflow |), + BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -45392,7 +46307,8 @@ Module num. Value.Bool true |) in M.get_constant (| "core::num::MAX" |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))) ] |))) ] @@ -45400,7 +46316,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_signed : @@ -45421,7 +46337,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "u64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -45467,7 +46383,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -45489,7 +46405,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "wrapping_div", [] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -45535,7 +46451,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -45556,7 +46472,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "u64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -45576,7 +46492,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_signed : @@ -45597,7 +46513,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "u64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -45617,7 +46533,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "u64" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -45633,8 +46549,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U64 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -45650,8 +46566,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U64 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -45668,8 +46584,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U64 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -45685,8 +46601,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U64 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -45704,9 +46620,10 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U64 0 |)) |); M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -45730,15 +46647,15 @@ Module num. M.get_associated_function (| Ty.path "u64", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -45762,15 +46679,15 @@ Module num. M.get_associated_function (| Ty.path "u64", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -45815,17 +46732,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U64 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U64 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -45837,7 +46758,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -45853,11 +46774,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -45884,7 +46806,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -45923,7 +46848,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -45959,7 +46884,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -46025,7 +46950,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -46061,15 +46986,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I64 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_signed : @@ -46106,7 +47031,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -46172,7 +47097,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -46208,12 +47133,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u64" ] |), [] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -46238,24 +47164,24 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) + BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub Integer.U64 (M.read (| other |)) (M.read (| self |)) + BinOp.Wrap.sub (| M.read (| other |), M.read (| self |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.U64 (M.read (| self |)) (M.read (| other |)) + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |) |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -46291,7 +47217,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -46309,9 +47235,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U64 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -46329,9 +47254,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U64 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -46349,9 +47273,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U64 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -46369,9 +47292,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U64 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -46391,11 +47313,11 @@ Module num. [ M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_add", [] |), - [ UnOp.Pure.not (M.read (| self |)); Value.Integer 1 ] + [ UnOp.not (| M.read (| self |) |); Value.Integer IntegerKind.U64 1 ] |); - BinOp.Pure.ne (M.read (| self |)) (Value.Integer 0) + BinOp.ne (| M.read (| self |), Value.Integer IntegerKind.U64 0 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -46418,9 +47340,9 @@ Module num. M.get_associated_function (| Ty.path "u64", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -46443,9 +47365,9 @@ Module num. M.get_associated_function (| Ty.path "u64", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -46501,13 +47423,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.U64 1; Value.Bool false ] + |) |) |) |))); @@ -46515,7 +47441,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U64 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -46529,7 +47455,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -46545,11 +47471,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -46577,7 +47504,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -46589,7 +47516,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -46612,7 +47542,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -46643,11 +47573,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -46693,17 +47623,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U64 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U64 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -46715,7 +47649,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -46731,11 +47665,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -46745,10 +47680,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.U64 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -46758,12 +47690,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul Integer.U64 (M.read (| base |)) (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -46782,10 +47717,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.U64 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -46841,7 +47776,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 2) |)) in + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.U64 2 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -46851,17 +47788,18 @@ Module num. ] |) in let~ op := M.copy (| self |) in - let~ res := M.alloc (| Value.Integer 0 |) in + let~ res := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ one := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Pure.bit_and + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.path "u64", "ilog2", [] |), [ M.read (| self |) ] |)) - (UnOp.Pure.not (Value.Integer 1))) + (UnOp.not (| Value.Integer IntegerKind.U32 1 |)) + |) |) in let~ _ := M.loop (| @@ -46874,7 +47812,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| one |)) (Value.Integer 0) + BinOp.ne (| M.read (| one |), Value.Integer IntegerKind.U64 0 |) |)) in let _ := M.is_constant_or_break_match (| @@ -46890,12 +47828,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| op |)) - (BinOp.Wrap.add - Integer.U64 - (M.read (| res |)) - (M.read (| one |))) + BinOp.ge (| + M.read (| op |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -46906,21 +47845,24 @@ Module num. let β := op in M.write (| β, - BinOp.Wrap.sub - Integer.U64 - (M.read (| β |)) - (BinOp.Wrap.add - Integer.U64 - (M.read (| res |)) - (M.read (| one |))) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |) in let~ _ := M.write (| res, - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.shr (M.read (| res |)) (Value.Integer 1)) - (M.read (| one |)) + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + M.read (| res |), + Value.Integer IntegerKind.I32 1 + |), + M.read (| one |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -46929,7 +47871,10 @@ Module num. let β := res in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -46938,7 +47883,10 @@ Module num. let β := one in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -46962,7 +47910,7 @@ Module num. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.lt (Value.Integer 0) (M.read (| res |)) ] + [ BinOp.lt (| Value.Integer IntegerKind.U64 0, M.read (| res |) |) ] |) |) in let~ _ := @@ -46970,14 +47918,16 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.lt - (M.read (| res |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.div - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 2))) + BinOp.lt (| + M.read (| res |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 2 + |) + |) + |) ] |) |) in @@ -46985,7 +47935,7 @@ Module num. res |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -47001,8 +47951,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U64 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -47018,8 +47968,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U64 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -47035,8 +47985,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U64 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -47059,10 +48009,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.U64 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.U64 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -47072,17 +48020,20 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.U64 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.U64 0 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.U64 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.U64 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -47103,25 +48054,29 @@ Module num. let rhs := M.alloc (| rhs |) in M.read (| M.match_operator (| - M.alloc (| BinOp.Wrap.rem Integer.U64 (M.read (| self |)) (M.read (| rhs |)) |), + M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |), [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U64 0 + |) in self)); fun γ => ltac:(M.monadic (let r := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add - Integer.U64 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.U64 (M.read (| rhs |)) (M.read (| r |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) + |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -47180,7 +48135,10 @@ Module num. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U64 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| self |) ] |))); @@ -47192,7 +48150,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.U64 (M.read (| rhs |)) (M.read (| r |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) ] |) |))) @@ -47200,7 +48158,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -47216,13 +48174,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u64", "count_ones", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -47257,17 +48216,23 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U64 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 0 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U64 0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ p := - M.alloc (| BinOp.Wrap.sub Integer.U64 (M.read (| self |)) (Value.Integer 1) |) in + M.alloc (| + BinOp.Wrap.sub (| M.read (| self |), Value.Integer IntegerKind.U64 1 |) + |) in let~ z := M.alloc (| M.call_closure (| @@ -47276,13 +48241,14 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (M.read (| z |)) + BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + M.read (| z |) + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_one_less_than_next_power_of_two : @@ -47298,14 +48264,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U64 - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u64", "one_less_than_next_power_of_two", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U64 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -47332,10 +48298,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U64 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -47362,10 +48328,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U64 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_next_power_of_two : @@ -47390,7 +48356,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -47414,7 +48380,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -47438,7 +48404,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -47462,7 +48428,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -47487,7 +48453,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -47511,7 +48477,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -47521,7 +48487,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -47530,7 +48496,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -47562,11 +48528,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 64)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 64 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_widening_mul : M.IsAssociatedFunction Self "widening_mul" widening_mul. @@ -47607,11 +48574,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 64)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 64 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_mul : M.IsAssociatedFunction Self "carrying_mul" carrying_mul. @@ -47628,14 +48596,11 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.rust_cast - (BinOp.Wrap.div - Integer.U128 - (BinOp.Wrap.add - Integer.U128 - (M.rust_cast (M.read (| self |))) - (M.rust_cast (M.read (| rhs |)))) - (Value.Integer 2)))) - | _, _ => M.impossible + (BinOp.Wrap.div (| + BinOp.Wrap.add (| M.rust_cast (M.read (| self |)), M.rust_cast (M.read (| rhs |)) |), + Value.Integer IntegerKind.U128 2 + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -47646,14 +48611,15 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "u128" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_MIN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 0 |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u128" *) Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.Pure.not (Value.Integer 0) |))). + M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U128 0 |) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -47686,7 +48652,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "u128" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -47707,7 +48673,7 @@ Module num. M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u128" ] |), [ M.read (| M.use self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -47724,9 +48690,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u128", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -47746,7 +48712,7 @@ Module num. M.get_function (| "core::intrinsics::ctlz", [ Ty.path "u128" ] |), [ M.read (| M.use self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -47767,7 +48733,7 @@ Module num. M.get_function (| "core::intrinsics::cttz", [ Ty.path "u128" ] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -47785,9 +48751,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u128", "leading_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -47804,9 +48770,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u128", "trailing_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -47827,7 +48793,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_left", [ Ty.path "u128" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -47847,7 +48813,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_right", [ Ty.path "u128" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -47871,7 +48837,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -47895,7 +48861,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -47921,7 +48887,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -47944,7 +48910,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -47970,7 +48936,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -47993,7 +48959,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -48051,7 +49017,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -48073,7 +49039,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "u128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -48132,7 +49098,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_signed : @@ -48191,7 +49157,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -48213,7 +49179,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "u128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -48272,7 +49238,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -48294,7 +49260,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "u128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -48328,7 +49294,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U128 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -48351,7 +49317,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -48382,7 +49348,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U128 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -48402,7 +49368,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -48436,7 +49402,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U128 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -48459,7 +49425,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -48490,7 +49456,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U128 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -48510,7 +49476,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -48542,7 +49508,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.U128 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -48613,7 +49581,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -48669,7 +49637,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -48725,7 +49693,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -48769,15 +49737,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U128 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.U128 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -48788,9 +49757,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -48799,37 +49769,37 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U128 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "u128", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -48846,7 +49816,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -48857,16 +49827,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.U128 - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -48891,7 +49861,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -48953,7 +49923,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -49016,7 +49986,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -49074,7 +50044,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -49132,7 +50102,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -49165,9 +50135,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -49176,10 +50147,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -49191,7 +50162,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -49250,7 +50221,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -49283,9 +50254,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -49294,10 +50266,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -49309,7 +50281,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -49356,14 +50328,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.U128 1 ] |) |) |) @@ -49372,7 +50348,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U128 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -49384,7 +50360,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -49400,11 +50376,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -49467,7 +50444,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -49542,7 +50522,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -49562,7 +50542,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "u128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -49609,9 +50589,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| overflow |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + M.read (| overflow |), + BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.I128 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -49630,7 +50614,8 @@ Module num. Value.Bool true |) in M.get_constant (| "core::num::MAX" |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 0 |))) ] |))) ] @@ -49638,7 +50623,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_signed : @@ -49659,7 +50644,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "u128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -49705,7 +50690,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -49727,7 +50712,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "wrapping_div", [] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -49773,7 +50758,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -49794,7 +50779,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "u128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -49814,7 +50799,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_signed : @@ -49835,7 +50820,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "u128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -49855,7 +50840,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "u128" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -49871,8 +50856,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U128 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -49888,8 +50873,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U128 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -49906,8 +50891,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U128 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -49923,8 +50908,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U128 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -49942,9 +50927,10 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "u128", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U128 0 |)) |); M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -49968,15 +50954,15 @@ Module num. M.get_associated_function (| Ty.path "u128", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -50000,15 +50986,15 @@ Module num. M.get_associated_function (| Ty.path "u128", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -50053,17 +51039,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U128 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U128 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -50075,7 +51065,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -50091,11 +51081,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -50122,7 +51113,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -50161,7 +51155,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -50197,7 +51191,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -50263,7 +51257,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -50299,15 +51293,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.I128 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_signed : @@ -50344,7 +51338,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -50410,7 +51404,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -50446,12 +51440,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u128" ] |), [] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -50476,24 +51471,24 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) + BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub Integer.U128 (M.read (| other |)) (M.read (| self |)) + BinOp.Wrap.sub (| M.read (| other |), M.read (| self |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.U128 (M.read (| self |)) (M.read (| other |)) + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |) |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -50529,7 +51524,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -50547,9 +51542,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U128 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -50567,9 +51561,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.U128 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -50587,9 +51580,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U128 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -50607,9 +51599,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.U128 (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -50629,11 +51620,11 @@ Module num. [ M.call_closure (| M.get_associated_function (| Ty.path "u128", "wrapping_add", [] |), - [ UnOp.Pure.not (M.read (| self |)); Value.Integer 1 ] + [ UnOp.not (| M.read (| self |) |); Value.Integer IntegerKind.U128 1 ] |); - BinOp.Pure.ne (M.read (| self |)) (Value.Integer 0) + BinOp.ne (| M.read (| self |), Value.Integer IntegerKind.U128 0 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -50656,9 +51647,9 @@ Module num. M.get_associated_function (| Ty.path "u128", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -50681,9 +51672,9 @@ Module num. M.get_associated_function (| Ty.path "u128", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -50739,13 +51730,17 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple [ Value.Integer IntegerKind.U128 1; Value.Bool false ] + |) |) |) |))); @@ -50753,7 +51748,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U128 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -50767,7 +51762,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -50783,11 +51778,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -50815,7 +51811,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -50827,7 +51823,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -50850,7 +51849,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -50881,11 +51880,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -50931,17 +51930,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U128 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U128 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -50953,7 +51956,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -50969,11 +51972,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -50983,10 +51987,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.U128 - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -50996,15 +51997,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul - Integer.U128 - (M.read (| base |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -51023,10 +52024,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.U128 (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -51082,7 +52083,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 2) |)) in + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.U128 2 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -51092,17 +52095,18 @@ Module num. ] |) in let~ op := M.copy (| self |) in - let~ res := M.alloc (| Value.Integer 0 |) in + let~ res := M.alloc (| Value.Integer IntegerKind.U128 0 |) in let~ one := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Pure.bit_and + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.path "u128", "ilog2", [] |), [ M.read (| self |) ] |)) - (UnOp.Pure.not (Value.Integer 1))) + (UnOp.not (| Value.Integer IntegerKind.U32 1 |)) + |) |) in let~ _ := M.loop (| @@ -51115,7 +52119,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| one |)) (Value.Integer 0) + BinOp.ne (| + M.read (| one |), + Value.Integer IntegerKind.U128 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -51131,12 +52138,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| op |)) - (BinOp.Wrap.add - Integer.U128 - (M.read (| res |)) - (M.read (| one |))) + BinOp.ge (| + M.read (| op |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -51147,21 +52155,24 @@ Module num. let β := op in M.write (| β, - BinOp.Wrap.sub - Integer.U128 - (M.read (| β |)) - (BinOp.Wrap.add - Integer.U128 - (M.read (| res |)) - (M.read (| one |))) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |) in let~ _ := M.write (| res, - BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.shr (M.read (| res |)) (Value.Integer 1)) - (M.read (| one |)) + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + M.read (| res |), + Value.Integer IntegerKind.I32 1 + |), + M.read (| one |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -51170,7 +52181,10 @@ Module num. let β := res in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -51179,7 +52193,10 @@ Module num. let β := one in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -51203,7 +52220,7 @@ Module num. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.lt (Value.Integer 0) (M.read (| res |)) ] + [ BinOp.lt (| Value.Integer IntegerKind.U128 0, M.read (| res |) |) ] |) |) in let~ _ := @@ -51211,14 +52228,16 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.lt - (M.read (| res |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.div - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 2))) + BinOp.lt (| + M.read (| res |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 2 + |) + |) + |) ] |) |) in @@ -51226,7 +52245,7 @@ Module num. res |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -51242,8 +52261,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U128 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -51259,8 +52278,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.U128 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -51276,8 +52295,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.U128 (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -51300,10 +52319,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.U128 (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.U128 (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -51313,17 +52330,20 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.U128 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.U128 0 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.U128 (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.U128 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -51344,25 +52364,29 @@ Module num. let rhs := M.alloc (| rhs |) in M.read (| M.match_operator (| - M.alloc (| BinOp.Wrap.rem Integer.U128 (M.read (| self |)) (M.read (| rhs |)) |), + M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |), [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U128 0 + |) in self)); fun γ => ltac:(M.monadic (let r := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add - Integer.U128 - (M.read (| self |)) - (BinOp.Wrap.sub Integer.U128 (M.read (| rhs |)) (M.read (| r |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) + |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -51421,7 +52445,10 @@ Module num. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U128 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| self |) ] |))); @@ -51433,7 +52460,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.U128 (M.read (| rhs |)) (M.read (| r |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) ] |) |))) @@ -51441,7 +52468,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -51457,13 +52484,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "count_ones", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -51498,17 +52526,23 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.U128 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 0 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.U128 0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ p := - M.alloc (| BinOp.Wrap.sub Integer.U128 (M.read (| self |)) (Value.Integer 1) |) in + M.alloc (| + BinOp.Wrap.sub (| M.read (| self |), Value.Integer IntegerKind.U128 1 |) + |) in let~ z := M.alloc (| M.call_closure (| @@ -51517,13 +52551,14 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (M.read (| z |)) + BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + M.read (| z |) + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_one_less_than_next_power_of_two : @@ -51539,14 +52574,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U128 - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "u128", "one_less_than_next_power_of_two", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U128 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -51573,10 +52608,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U128 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -51603,10 +52638,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.U128 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_next_power_of_two : @@ -51631,7 +52666,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -51655,7 +52690,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -51679,7 +52714,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -51703,7 +52738,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -51728,7 +52763,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -51752,7 +52787,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -51762,7 +52797,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -51771,7 +52806,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -51789,13 +52824,14 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.shr - (BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| rhs |))) - (Value.Integer 1)) - (BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |))))) - | _, _ => M.impossible + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), + Value.Integer IntegerKind.I32 1 + |), + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -51806,14 +52842,15 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "usize" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_MIN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "usize" *) Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.Pure.not (Value.Integer 0) |))). + M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.Usize 0 |) |))). Axiom AssociatedConstant_value_MAX : M.IsAssociatedConstant Self "value_MAX" value_MAX. @@ -51846,7 +52883,7 @@ Module num. M.get_function (| "core::num::from_str_radix", [ Ty.path "usize" ] |), [ M.read (| src |); M.read (| radix |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_str_radix : @@ -51867,7 +52904,7 @@ Module num. M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u64" ] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -51884,9 +52921,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "usize", "count_ones", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -51906,7 +52943,7 @@ Module num. M.get_function (| "core::intrinsics::ctlz", [ Ty.path "u64" ] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -51927,7 +52964,7 @@ Module num. M.get_function (| "core::intrinsics::cttz", [ Ty.path "usize" ] |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -51945,9 +52982,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "usize", "leading_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_ones : M.IsAssociatedFunction Self "leading_ones" leading_ones. @@ -51964,9 +53001,9 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "usize", "trailing_zeros", [] |), - [ UnOp.Pure.not (M.read (| self |)) ] + [ UnOp.not (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_ones : @@ -51987,7 +53024,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_left", [ Ty.path "usize" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -52007,7 +53044,7 @@ Module num. M.get_function (| "core::intrinsics::rotate_right", [ Ty.path "usize" ] |), [ M.read (| self |); M.rust_cast (M.read (| n |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : M.IsAssociatedFunction Self "rotate_right" rotate_right. @@ -52027,7 +53064,7 @@ Module num. M.get_function (| "core::intrinsics::bswap", [ Ty.path "u64" ] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -52047,7 +53084,7 @@ Module num. M.get_function (| "core::intrinsics::bitreverse", [ Ty.path "u64" ] |), [ M.rust_cast (M.read (| self |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : M.IsAssociatedFunction Self "reverse_bits" reverse_bits. @@ -52073,7 +53110,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "swap_bytes", [] |), [ M.read (| x |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -52096,7 +53133,7 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -52122,7 +53159,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "swap_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -52145,7 +53182,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -52203,7 +53240,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -52225,7 +53262,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "usize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -52284,7 +53321,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add_signed : @@ -52343,7 +53380,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -52365,7 +53402,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "usize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_sub : @@ -52424,7 +53461,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -52446,7 +53483,7 @@ Module num. M.get_function (| "core::intrinsics::unchecked_mul", [ Ty.path "usize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -52480,7 +53517,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Usize 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -52503,7 +53540,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -52534,7 +53571,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Usize 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -52554,7 +53591,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div_euclid : @@ -52588,7 +53625,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Usize 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -52611,7 +53648,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem : M.IsAssociatedFunction Self "checked_rem" checked_rem. @@ -52642,7 +53679,7 @@ Module num. (M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unlikely", [] |), - [ BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) ] + [ BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Usize 0 |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -52662,7 +53699,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_rem_euclid : @@ -52694,7 +53731,9 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.ge (M.read (| base |)) (Value.Integer 2)) + UnOp.not (| + BinOp.ge (| M.read (| base |), Value.Integer IntegerKind.Usize 2 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -52765,7 +53804,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog : M.IsAssociatedFunction Self "ilog" ilog. @@ -52821,7 +53860,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -52877,7 +53916,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -52921,15 +53960,16 @@ Module num. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.le (M.read (| self |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.le (M.read (| base |)) (Value.Integer 1))) + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.Usize 0 |), + ltac:(M.monadic + (BinOp.le (| M.read (| base |), Value.Integer IntegerKind.Usize 1 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ n := M.alloc (| Value.Integer 0 |) in + (let~ n := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ r := M.copy (| self |) in let~ _ := M.match_operator (| @@ -52940,9 +53980,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 128) + BinOp.eq (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -52951,41 +53992,41 @@ Module num. |) in let~ b := M.alloc (| - BinOp.Wrap.div - Integer.U32 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "ilog2", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.add - Integer.U32 - (M.call_closure (| + |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "ilog2", [] |), [ M.read (| base |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |) + |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| b |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| b |) |) |) in let~ _ := let β := r in M.write (| β, - BinOp.Wrap.div - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.div (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "usize", "pow", [] |), [ M.read (| base |); M.read (| M.use b |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -53002,7 +54043,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| r |)) (M.read (| base |)) + BinOp.ge (| M.read (| r |), M.read (| base |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -53013,16 +54054,16 @@ Module num. let β := r in M.write (| β, - BinOp.Wrap.div - Integer.Usize - (M.read (| β |)) - (M.read (| base |)) + BinOp.Wrap.div (| M.read (| β |), M.read (| base |) |) |) in let~ _ := let β := n in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -53047,7 +54088,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog : M.IsAssociatedFunction Self "checked_ilog" checked_ilog. @@ -53109,7 +54150,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog2 : @@ -53172,7 +54213,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_ilog10 : @@ -53230,7 +54271,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -53288,7 +54329,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shl : M.IsAssociatedFunction Self "checked_shl" checked_shl. @@ -53321,9 +54362,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -53332,10 +54374,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -53347,7 +54389,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shl : @@ -53406,7 +54448,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_shr : M.IsAssociatedFunction Self "checked_shr" checked_shr. @@ -53439,9 +54481,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -53450,10 +54493,10 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| rhs |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))) + BinOp.le (| + M.read (| rhs |), + M.rust_cast (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |) ] |) |) in @@ -53465,7 +54508,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_shr : @@ -53512,14 +54555,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 1 ] |) |) |) @@ -53528,7 +54575,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -53540,7 +54587,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -53556,11 +54603,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -53623,7 +54671,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -53698,7 +54749,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -53718,7 +54769,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_add", [ Ty.path "usize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -53765,9 +54816,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| overflow |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + BinOp.eq (| + M.read (| overflow |), + BinOp.lt (| + M.read (| rhs |), + Value.Integer IntegerKind.Isize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -53786,7 +54841,8 @@ Module num. Value.Bool true |) in M.get_constant (| "core::num::MAX" |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |))) ] @@ -53794,7 +54850,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add_signed : @@ -53815,7 +54871,7 @@ Module num. M.get_function (| "core::intrinsics::saturating_sub", [ Ty.path "usize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -53861,7 +54917,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -53883,7 +54939,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "wrapping_div", [] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_div : @@ -53929,7 +54985,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -53950,7 +55006,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_add", [ Ty.path "usize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : M.IsAssociatedFunction Self "wrapping_add" wrapping_add. @@ -53970,7 +55026,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "wrapping_add", [] |), [ M.read (| self |); M.rust_cast (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add_signed : @@ -53991,7 +55047,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_sub", [ Ty.path "usize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : M.IsAssociatedFunction Self "wrapping_sub" wrapping_sub. @@ -54011,7 +55067,7 @@ Module num. M.get_function (| "core::intrinsics::wrapping_mul", [ Ty.path "usize" ] |), [ M.read (| self |); M.read (| rhs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_mul : M.IsAssociatedFunction Self "wrapping_mul" wrapping_mul. @@ -54027,8 +55083,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div : M.IsAssociatedFunction Self "wrapping_div" wrapping_div. @@ -54044,8 +55100,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_div_euclid : @@ -54062,8 +55118,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem : M.IsAssociatedFunction Self "wrapping_rem" wrapping_rem. @@ -54079,8 +55135,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_rem_euclid : @@ -54098,9 +55154,12 @@ Module num. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_sub", [] |), - [ M.read (| M.use (M.alloc (| Value.Integer 0 |)) |); M.read (| self |) ] + [ + M.read (| M.use (M.alloc (| Value.Integer IntegerKind.Usize 0 |)) |); + M.read (| self |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : M.IsAssociatedFunction Self "wrapping_neg" wrapping_neg. @@ -54124,15 +55183,15 @@ Module num. M.get_associated_function (| Ty.path "usize", "unchecked_shl", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shl : M.IsAssociatedFunction Self "wrapping_shl" wrapping_shl. @@ -54156,15 +55215,15 @@ Module num. M.get_associated_function (| Ty.path "usize", "unchecked_shr", [] |), [ M.read (| self |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| rhs |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_shr : M.IsAssociatedFunction Self "wrapping_shr" wrapping_shr. @@ -54209,17 +55268,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.Usize 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -54231,7 +55294,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -54247,11 +55310,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -54278,7 +55342,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -54317,7 +55384,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_pow : M.IsAssociatedFunction Self "wrapping_pow" wrapping_pow. @@ -54353,7 +55420,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add : @@ -54419,7 +55486,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_add : M.IsAssociatedFunction Self "carrying_add" carrying_add. @@ -54455,15 +55522,15 @@ Module num. Value.Tuple [ M.read (| res |); - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| overflowed |)) - (BinOp.Pure.lt (M.read (| rhs |)) (Value.Integer 0)) + (BinOp.lt (| M.read (| rhs |), Value.Integer IntegerKind.Isize 0 |)) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_add_signed : @@ -54500,7 +55567,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_sub : @@ -54566,7 +55633,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_borrowing_sub : @@ -54602,12 +55669,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "usize" ] |), [] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -54632,24 +55700,24 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| self |)) (M.read (| other |)) + BinOp.lt (| M.read (| self |), M.read (| other |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| other |)) (M.read (| self |)) + BinOp.Wrap.sub (| M.read (| other |), M.read (| self |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| self |)) (M.read (| other |)) + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |) |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -54685,7 +55753,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_mul : @@ -54703,9 +55771,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div : @@ -54723,9 +55790,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_div_euclid : @@ -54743,9 +55809,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem : @@ -54763,9 +55828,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in Value.Tuple - [ BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| rhs |)); Value.Bool false - ])) - | _, _ => M.impossible + [ BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |); Value.Bool false ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_rem_euclid : @@ -54785,11 +55849,11 @@ Module num. [ M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_add", [] |), - [ UnOp.Pure.not (M.read (| self |)); Value.Integer 1 ] + [ UnOp.not (| M.read (| self |) |); Value.Integer IntegerKind.Usize 1 ] |); - BinOp.Pure.ne (M.read (| self |)) (Value.Integer 0) + BinOp.ne (| M.read (| self |), Value.Integer IntegerKind.Usize 0 |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -54812,9 +55876,9 @@ Module num. M.get_associated_function (| Ty.path "usize", "wrapping_shl", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shl : @@ -54837,9 +55901,9 @@ Module num. M.get_associated_function (| Ty.path "usize", "wrapping_shr", [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.Pure.ge (M.read (| rhs |)) (M.read (| M.get_constant (| "core::num::BITS" |) |)) + BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant (| "core::num::BITS" |) |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_shr : @@ -54895,13 +55959,18 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| - M.return_ (| Value.Tuple [ Value.Integer 1; Value.Bool false ] |) + M.return_ (| + Value.Tuple + [ Value.Integer IntegerKind.Usize 1; Value.Bool false ] + |) |) |) |))); @@ -54909,7 +55978,7 @@ Module num. ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ overflown := M.alloc (| Value.Bool false |) in let~ r := M.copy (| Value.DeclaredButUndefined |) in let~ _ := @@ -54923,7 +55992,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -54939,11 +56008,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -54971,7 +56041,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -54983,7 +56053,10 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| @@ -55006,7 +56079,7 @@ Module num. let β := overflown in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.read (| M.SubPointer.get_tuple_field (| r, 1 |) |)) |) in @@ -55037,11 +56110,11 @@ Module num. |) in let~ _ := let β := M.SubPointer.get_tuple_field (| r, 1 |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| overflown |)) |) in r |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_pow : @@ -55087,17 +56160,21 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| exp |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| exp |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 1 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.Usize 1 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ base := M.copy (| self |) in - let~ acc := M.alloc (| Value.Integer 1 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -55109,7 +56186,7 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp |)) (Value.Integer 1) + BinOp.gt (| M.read (| exp |), Value.Integer IntegerKind.U32 1 |) |)) in let _ := M.is_constant_or_break_match (| @@ -55125,11 +56202,12 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| exp |)) - (Value.Integer 1)) - (Value.Integer 1) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -55139,10 +56217,7 @@ Module num. let~ _ := M.write (| acc, - BinOp.Wrap.mul - Integer.Usize - (M.read (| acc |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -55152,15 +56227,15 @@ Module num. let β := exp in M.write (| β, - BinOp.Wrap.div Integer.U32 (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| β |), + Value.Integer IntegerKind.U32 2 + |) |) in let~ _ := M.write (| base, - BinOp.Wrap.mul - Integer.Usize - (M.read (| base |)) - (M.read (| base |)) + BinOp.Wrap.mul (| M.read (| base |), M.read (| base |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -55179,10 +56254,10 @@ Module num. ] |))) |) in - M.alloc (| BinOp.Wrap.mul Integer.Usize (M.read (| acc |)) (M.read (| base |)) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| acc |), M.read (| base |) |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -55238,7 +56313,9 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| self |)) (Value.Integer 2) |)) in + (M.alloc (| + BinOp.lt (| M.read (| self |), Value.Integer IntegerKind.Usize 2 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -55248,17 +56325,18 @@ Module num. ] |) in let~ op := M.copy (| self |) in - let~ res := M.alloc (| Value.Integer 0 |) in + let~ res := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ one := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Pure.bit_and + BinOp.Wrap.shl (| + Value.Integer IntegerKind.Usize 1, + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.path "usize", "ilog2", [] |), [ M.read (| self |) ] |)) - (UnOp.Pure.not (Value.Integer 1))) + (UnOp.not (| Value.Integer IntegerKind.U32 1 |)) + |) |) in let~ _ := M.loop (| @@ -55271,7 +56349,10 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| one |)) (Value.Integer 0) + BinOp.ne (| + M.read (| one |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -55287,12 +56368,13 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| op |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| res |)) - (M.read (| one |))) + BinOp.ge (| + M.read (| op |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -55303,21 +56385,24 @@ Module num. let β := op in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| res |)) - (M.read (| one |))) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| res |), + M.read (| one |) + |) + |) |) in let~ _ := M.write (| res, - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.shr (M.read (| res |)) (Value.Integer 1)) - (M.read (| one |)) + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + M.read (| res |), + Value.Integer IntegerKind.I32 1 + |), + M.read (| one |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -55326,7 +56411,10 @@ Module num. let β := res in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -55335,7 +56423,10 @@ Module num. let β := one in M.write (| β, - BinOp.Wrap.shr (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.shr (| + M.read (| β |), + Value.Integer IntegerKind.I32 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -55359,7 +56450,7 @@ Module num. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.lt (Value.Integer 0) (M.read (| res |)) ] + [ BinOp.lt (| Value.Integer IntegerKind.Usize 0, M.read (| res |) |) ] |) |) in let~ _ := @@ -55367,14 +56458,16 @@ Module num. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.lt - (M.read (| res |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.div - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (Value.Integer 2))) + BinOp.lt (| + M.read (| res |), + BinOp.Wrap.shl (| + Value.Integer IntegerKind.Usize 1, + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + Value.Integer IntegerKind.U32 2 + |) + |) + |) ] |) |) in @@ -55382,7 +56475,7 @@ Module num. res |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_isqrt : M.IsAssociatedFunction Self "isqrt" isqrt. @@ -55398,8 +56491,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_euclid : M.IsAssociatedFunction Self "div_euclid" div_euclid. @@ -55415,8 +56508,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rem_euclid : M.IsAssociatedFunction Self "rem_euclid" rem_euclid. @@ -55432,8 +56525,8 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_floor : M.IsAssociatedFunction Self "div_floor" div_floor. @@ -55456,10 +56549,8 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.read (| - let~ d := - M.alloc (| BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| rhs |)) |) in - let~ r := - M.alloc (| BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| rhs |)) |) in + let~ d := M.alloc (| BinOp.Wrap.div (| M.read (| self |), M.read (| rhs |) |) |) in + let~ r := M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -55469,17 +56560,20 @@ Module num. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| r |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| rhs |)) (Value.Integer 0))) + BinOp.gt (| M.read (| r |), Value.Integer IntegerKind.Usize 0 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| rhs |), Value.Integer IntegerKind.Usize 0 |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| BinOp.Wrap.add Integer.Usize (M.read (| d |)) (Value.Integer 1) |))); + M.alloc (| + BinOp.Wrap.add (| M.read (| d |), Value.Integer IntegerKind.Usize 1 |) + |))); fun γ => ltac:(M.monadic d) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_ceil : M.IsAssociatedFunction Self "div_ceil" div_ceil. @@ -55500,25 +56594,29 @@ Module num. let rhs := M.alloc (| rhs |) in M.read (| M.match_operator (| - M.alloc (| BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| rhs |)) |), + M.alloc (| BinOp.Wrap.rem (| M.read (| self |), M.read (| rhs |) |) |), [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 0 + |) in self)); fun γ => ltac:(M.monadic (let r := M.copy (| γ |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| self |)) - (BinOp.Wrap.sub Integer.Usize (M.read (| rhs |)) (M.read (| r |))) + BinOp.Wrap.add (| + M.read (| self |), + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) + |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_multiple_of : @@ -55577,7 +56675,10 @@ Module num. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| self |) ] |))); @@ -55589,7 +56690,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "checked_add", [] |), [ M.read (| self |); - BinOp.Wrap.sub Integer.Usize (M.read (| rhs |)) (M.read (| r |)) + BinOp.Wrap.sub (| M.read (| rhs |), M.read (| r |) |) ] |) |))) @@ -55597,7 +56698,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_multiple_of : @@ -55613,13 +56714,14 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "count_ones", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -55654,18 +56756,22 @@ Module num. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.le (M.read (| self |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.le (| M.read (| self |), Value.Integer IntegerKind.Usize 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - M.never_to_any (| M.read (| M.return_ (| Value.Integer 0 |) |) |) + M.never_to_any (| + M.read (| M.return_ (| Value.Integer IntegerKind.Usize 0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in let~ p := M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| self |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| self |), Value.Integer IntegerKind.Usize 1 |) |) in let~ z := M.alloc (| @@ -55675,13 +56781,14 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr - (M.read (| M.get_constant (| "core::num::MAX" |) |)) - (M.read (| z |)) + BinOp.Wrap.shr (| + M.read (| M.get_constant (| "core::num::MAX" |) |), + M.read (| z |) + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_one_less_than_next_power_of_two : @@ -55697,18 +56804,18 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "one_less_than_next_power_of_two", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -55735,10 +56842,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -55765,10 +56872,10 @@ Module num. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_next_power_of_two : @@ -55793,7 +56900,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be_bytes : M.IsAssociatedFunction Self "to_be_bytes" to_be_bytes. @@ -55817,7 +56924,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le_bytes : M.IsAssociatedFunction Self "to_le_bytes" to_le_bytes. @@ -55841,7 +56948,7 @@ Module num. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_ne_bytes : M.IsAssociatedFunction Self "to_ne_bytes" to_ne_bytes. @@ -55865,7 +56972,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be_bytes : @@ -55890,7 +56997,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le_bytes : @@ -55914,7 +57021,7 @@ Module num. |), [ M.read (| bytes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ne_bytes : @@ -55924,7 +57031,7 @@ Module num. Definition min_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_min_value : M.IsAssociatedFunction Self "min_value" min_value. @@ -55933,7 +57040,7 @@ Module num. Definition max_value (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::num::MAX" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_max_value : M.IsAssociatedFunction Self "max_value" max_value. @@ -55965,11 +57072,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 64)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 64 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_widening_mul : M.IsAssociatedFunction Self "widening_mul" widening_mul. @@ -56010,11 +57118,12 @@ Module num. Value.Tuple [ M.rust_cast (M.read (| wide |)); - M.rust_cast (BinOp.Wrap.shr (M.read (| wide |)) (Value.Integer 64)) + M.rust_cast + (BinOp.Wrap.shr (| M.read (| wide |), Value.Integer IntegerKind.I32 64 |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_carrying_mul : M.IsAssociatedFunction Self "carrying_mul" carrying_mul. @@ -56031,14 +57140,11 @@ Module num. (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in M.rust_cast - (BinOp.Wrap.div - Integer.U128 - (BinOp.Wrap.add - Integer.U128 - (M.rust_cast (M.read (| self |))) - (M.rust_cast (M.read (| rhs |)))) - (Value.Integer 2)))) - | _, _ => M.impossible + (BinOp.Wrap.div (| + BinOp.Wrap.add (| M.rust_cast (M.read (| self |)), M.rust_cast (M.read (| rhs |)) |), + Value.Integer IntegerKind.U128 2 + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -56056,7 +57162,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "from_ne_bytes", [] |), [ repeat (M.read (| x |)) 8 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_repeat_u8 : M.IsAssociatedFunction Self "repeat_u8" repeat_u8. @@ -56079,8 +57185,8 @@ Module num. ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| - let~ r := M.alloc (| Value.Integer 0 |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ r := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -56092,26 +57198,27 @@ Module num. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| i |)) - (M.call_closure (| + BinOp.lt (| + M.read (| i |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "usize" ] |), [] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| r, - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_shl", [] |), - [ M.read (| r |); Value.Integer 16 ] + [ M.read (| r |); Value.Integer IntegerKind.U32 16 ] |)) (M.rust_cast (M.read (| x |))) |) in @@ -56119,7 +57226,7 @@ Module num. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 2) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 2 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -56138,7 +57245,7 @@ Module num. |) in r |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_repeat_u16 : M.IsAssociatedFunction Self "repeat_u16" repeat_u16. @@ -56201,7 +57308,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56254,9 +57361,9 @@ Module num. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56288,7 +57395,7 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56348,7 +57455,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56380,9 +57487,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "isize" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56412,9 +57519,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "i8" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56444,9 +57551,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "i16" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56476,9 +57583,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "i32" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56508,9 +57615,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "i64" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56540,9 +57647,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "i128" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56572,9 +57679,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "usize" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56604,9 +57711,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "u8" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56636,9 +57743,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "u16" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56668,9 +57775,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "u32" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56700,9 +57807,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "u64" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56732,9 +57839,9 @@ Module num. (let src := M.alloc (| src |) in M.call_closure (| M.get_function (| "core::num::from_str_radix", [ Ty.path "u128" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56761,7 +57868,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56779,7 +57886,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56797,7 +57904,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56815,7 +57922,7 @@ Module num. M.get_associated_function (| Ty.path "i8", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56848,7 +57955,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56866,7 +57973,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56884,7 +57991,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56902,7 +58009,7 @@ Module num. M.get_associated_function (| Ty.path "i16", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56935,7 +58042,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56953,7 +58060,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56971,7 +58078,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -56989,7 +58096,7 @@ Module num. M.get_associated_function (| Ty.path "i32", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57022,7 +58129,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57040,7 +58147,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57058,7 +58165,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57076,7 +58183,7 @@ Module num. M.get_associated_function (| Ty.path "i64", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57109,7 +58216,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57127,7 +58234,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57145,7 +58252,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57163,7 +58270,7 @@ Module num. M.get_associated_function (| Ty.path "i128", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57196,7 +58303,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57214,7 +58321,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57232,7 +58339,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57250,7 +58357,7 @@ Module num. M.get_associated_function (| Ty.path "isize", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57283,7 +58390,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57301,7 +58408,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57319,7 +58426,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57337,7 +58444,7 @@ Module num. M.get_associated_function (| Ty.path "u8", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57370,7 +58477,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57388,7 +58495,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57406,7 +58513,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57424,7 +58531,7 @@ Module num. M.get_associated_function (| Ty.path "u16", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57457,7 +58564,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.read (| M.use u |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57475,7 +58582,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.read (| M.use other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57493,7 +58600,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.read (| M.use other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57511,7 +58618,7 @@ Module num. M.get_associated_function (| Ty.path "u32", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.read (| M.use other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57544,7 +58651,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57562,7 +58669,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57580,7 +58687,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57598,7 +58705,7 @@ Module num. M.get_associated_function (| Ty.path "u64", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57631,7 +58738,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57649,7 +58756,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57667,7 +58774,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57685,7 +58792,7 @@ Module num. M.get_associated_function (| Ty.path "u128", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57718,7 +58825,7 @@ Module num. ltac:(M.monadic (let u := M.alloc (| u |) in M.rust_cast (M.read (| u |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57736,7 +58843,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "checked_mul", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57754,7 +58861,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "checked_sub", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -57772,7 +58879,7 @@ Module num. M.get_associated_function (| Ty.path "usize", "checked_add", [] |), [ M.read (| M.read (| self |) |); M.rust_cast (M.read (| other |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57803,26 +58910,27 @@ Module num. let is_signed_ty := M.alloc (| is_signed_ty |) in let digits := M.alloc (| digits |) in LogicalOp.and (| - BinOp.Pure.le (M.read (| radix |)) (Value.Integer 16), + BinOp.le (| M.read (| radix |), Value.Integer IntegerKind.U32 16 |), ltac:(M.monadic - (BinOp.Pure.le - (M.call_closure (| + (BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| digits |) ] - |)) - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |)) - (Value.Integer 2)) - (M.rust_cast (M.read (| is_signed_ty |)))))) + |), + BinOp.Wrap.sub (| + BinOp.Wrap.mul (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |), + Value.Integer IntegerKind.Usize 2 + |), + M.rust_cast (M.read (| is_signed_ty |)) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_can_not_overflow : M.IsFunction "core::num::can_not_overflow" can_not_overflow. @@ -57932,8 +59040,8 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::ops::range::RangeInclusive") @@ -57951,12 +59059,16 @@ Module num. "new", [] |), - [ Value.Integer 2; Value.Integer 36 ] + [ + Value.Integer IntegerKind.U32 2; + Value.Integer IntegerKind.U32 36 + ] |) |); radix ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -58060,7 +59172,7 @@ Module num. "from_u32", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.U32 0 ] |) |); M.get_constant (| "core::num::FromStrRadixHelper::MIN" |) @@ -58078,7 +59190,7 @@ Module num. M.match_operator (| M.SubPointer.get_array_field (| M.read (| src |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), [ fun γ => @@ -58091,7 +59203,7 @@ Module num. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 43 + Value.Integer IntegerKind.U8 43 |) in Value.Tuple [])); fun γ => @@ -58099,7 +59211,7 @@ Module num. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 45 + Value.Integer IntegerKind.U8 45 |) in Value.Tuple [])) ], @@ -58134,7 +59246,7 @@ Module num. M.read (| src |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -58165,13 +59277,16 @@ Module num. |) |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 43 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 43 + |) in M.alloc (| Value.Tuple [ @@ -58192,7 +59307,7 @@ Module num. M.read (| src |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -58200,7 +59315,10 @@ Module num. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 45 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 45 + |) in let γ := is_signed_ty in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -58224,7 +59342,7 @@ Module num. M.read (| src |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -58251,7 +59369,7 @@ Module num. "from_u32", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.U32 0 ] |) |) in let~ _ := @@ -59085,8 +60203,8 @@ Module num. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -59246,8 +60364,8 @@ Module num. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -59609,8 +60727,8 @@ Module num. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -59770,8 +60888,8 @@ Module num. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -59866,7 +60984,7 @@ Module num. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_str_radix : M.IsFunction "core::num::from_str_radix" from_str_radix. diff --git a/CoqOfRust/core/num/nonzero.v b/CoqOfRust/core/num/nonzero.v index 00bf1e10b..d5e7f123a 100644 --- a/CoqOfRust/core/num/nonzero.v +++ b/CoqOfRust/core/num/nonzero.v @@ -36,7 +36,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73,7 +73,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106,22 +106,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroU8", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroU8", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -157,7 +158,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -199,7 +200,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -231,7 +232,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -280,8 +281,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.U8 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -329,7 +334,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroU8" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -357,7 +362,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.U8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -370,7 +378,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -388,7 +396,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroU8", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -417,7 +425,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -448,7 +456,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -525,7 +533,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -571,7 +579,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -612,7 +620,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -687,7 +695,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -703,21 +711,21 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |)) - (Value.Integer 1)) - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU8", "leading_zeros", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -740,7 +748,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -790,7 +798,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -873,7 +881,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -927,7 +935,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -975,7 +983,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -1053,7 +1061,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -1100,7 +1108,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -1120,8 +1128,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u8" ] |), [ M.call_closure (| @@ -1133,9 +1141,10 @@ Module num. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 2))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U8 2 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -1161,7 +1170,7 @@ Module num. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U8 1 ] |) ] |) @@ -1221,7 +1230,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| nonzero, "core::num::nonzero::NonZeroU8", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1258,7 +1267,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU8", @@ -1277,7 +1286,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1316,7 +1325,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU8", @@ -1328,7 +1337,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1367,7 +1376,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -1379,7 +1388,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1422,7 +1431,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1464,7 +1473,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1505,7 +1514,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1546,7 +1555,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1587,7 +1596,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1628,7 +1637,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1669,7 +1678,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1710,7 +1719,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1754,7 +1763,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1791,7 +1800,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1824,22 +1833,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroU16", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroU16", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1875,7 +1885,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1917,7 +1927,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1949,7 +1959,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1998,8 +2008,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.U16 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2047,7 +2061,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroU16" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -2075,7 +2089,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.U16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -2088,7 +2105,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -2106,7 +2123,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroU16", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -2135,7 +2152,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -2166,7 +2183,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -2243,7 +2260,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -2289,7 +2306,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -2330,7 +2347,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -2405,7 +2422,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -2421,21 +2438,21 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |)) - (Value.Integer 1)) - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU16", "leading_zeros", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -2462,7 +2479,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -2512,7 +2529,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -2595,7 +2612,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -2649,7 +2666,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -2697,7 +2714,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -2775,7 +2792,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -2822,7 +2839,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -2842,8 +2859,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u16" ] |), [ M.call_closure (| @@ -2855,9 +2872,10 @@ Module num. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 2))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U16 2 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -2883,7 +2901,7 @@ Module num. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U16 1 ] |) ] |) @@ -2943,7 +2961,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| nonzero, "core::num::nonzero::NonZeroU16", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2980,7 +2998,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU16", @@ -2999,7 +3017,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3038,7 +3056,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU16", @@ -3050,7 +3068,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3089,7 +3107,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -3101,7 +3119,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3144,7 +3162,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3186,7 +3204,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3227,7 +3245,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3268,7 +3286,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3309,7 +3327,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3350,7 +3368,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3391,7 +3409,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3432,7 +3450,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3476,7 +3494,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3513,7 +3531,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3546,22 +3564,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroU32", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroU32", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3597,7 +3616,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3639,7 +3658,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3671,7 +3690,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3720,8 +3739,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.U32 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3769,7 +3792,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroU32" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -3797,7 +3820,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -3810,7 +3836,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -3828,7 +3854,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroU32", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -3861,7 +3887,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -3896,7 +3922,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -3973,7 +3999,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -4019,7 +4045,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -4060,7 +4086,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -4135,7 +4161,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -4151,21 +4177,21 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |)) - (Value.Integer 1)) - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU32", "leading_zeros", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -4192,7 +4218,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -4242,7 +4268,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -4325,7 +4351,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -4379,7 +4405,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -4427,7 +4453,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -4505,7 +4531,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -4552,7 +4578,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -4572,8 +4598,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u32" ] |), [ M.call_closure (| @@ -4585,9 +4611,10 @@ Module num. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 2))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U32 2 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -4613,7 +4640,7 @@ Module num. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U32 1 ] |) ] |) @@ -4673,7 +4700,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| nonzero, "core::num::nonzero::NonZeroU32", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4710,7 +4737,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU32", @@ -4729,7 +4756,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4768,7 +4795,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU32", @@ -4780,7 +4807,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4819,7 +4846,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -4831,7 +4858,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4874,7 +4901,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4916,7 +4943,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4957,7 +4984,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4998,7 +5025,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5039,7 +5066,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5080,7 +5107,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5121,7 +5148,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5162,7 +5189,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5206,7 +5233,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5243,7 +5270,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5276,22 +5303,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroU64", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroU64", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5327,7 +5355,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5369,7 +5397,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5401,7 +5429,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5450,8 +5478,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.U64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5499,7 +5531,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroU64" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -5527,7 +5559,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.U64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -5540,7 +5575,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -5558,7 +5593,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroU64", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -5587,7 +5622,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -5618,7 +5653,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -5695,7 +5730,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -5741,7 +5776,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -5782,7 +5817,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -5857,7 +5892,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -5873,21 +5908,21 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |)) - (Value.Integer 1)) - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU64", "leading_zeros", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -5914,7 +5949,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -5964,7 +5999,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -6047,7 +6082,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -6101,7 +6136,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -6149,7 +6184,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -6227,7 +6262,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -6274,7 +6309,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -6294,8 +6329,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u64" ] |), [ M.call_closure (| @@ -6307,9 +6342,10 @@ Module num. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 2))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U64 2 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -6335,7 +6371,7 @@ Module num. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U64 1 ] |) ] |) @@ -6395,7 +6431,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| nonzero, "core::num::nonzero::NonZeroU64", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6432,7 +6468,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU64", @@ -6451,7 +6487,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6490,7 +6526,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU64", @@ -6502,7 +6538,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6541,7 +6577,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -6553,7 +6589,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6596,7 +6632,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6638,7 +6674,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6679,7 +6715,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6720,7 +6756,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6761,7 +6797,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6802,7 +6838,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6843,7 +6879,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6884,7 +6920,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6928,7 +6964,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6965,7 +7001,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6998,22 +7034,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroU128", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroU128", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7049,7 +7086,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7091,7 +7128,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7123,7 +7160,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7172,8 +7209,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.U128 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7221,7 +7262,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroU128" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -7249,7 +7290,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.U128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -7262,7 +7306,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -7280,7 +7324,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroU128", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -7309,7 +7353,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -7340,7 +7384,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -7417,7 +7461,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -7463,7 +7507,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -7504,7 +7548,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -7579,7 +7623,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -7595,21 +7639,21 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |)) - (Value.Integer 1)) - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU128", "leading_zeros", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -7636,7 +7680,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -7686,7 +7730,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -7769,7 +7813,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -7823,7 +7867,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -7871,7 +7915,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -7949,7 +7993,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -7996,7 +8040,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -8016,8 +8060,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_function (| "core::intrinsics::ctpop", [ Ty.path "u128" ] |), [ M.call_closure (| @@ -8029,9 +8073,10 @@ Module num. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 2))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U128 2 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -8057,7 +8102,7 @@ Module num. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U128 1 ] |) ] |) @@ -8121,7 +8166,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8158,7 +8203,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU128", @@ -8177,7 +8222,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8216,7 +8261,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroU128", @@ -8228,7 +8273,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8267,7 +8312,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -8279,7 +8324,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8322,7 +8367,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8364,7 +8409,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8405,7 +8450,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8446,7 +8491,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8487,7 +8532,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8528,7 +8573,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8569,7 +8614,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8610,7 +8655,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8654,7 +8699,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8691,7 +8736,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8724,22 +8769,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroUsize", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroUsize", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8775,7 +8821,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8817,7 +8863,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8849,7 +8895,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8898,8 +8944,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8947,7 +8997,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroUsize" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -8975,7 +9025,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -8989,7 +9042,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -9007,7 +9060,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroUsize", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -9036,7 +9089,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -9067,7 +9120,7 @@ Module num. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -9144,7 +9197,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -9190,7 +9243,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -9231,7 +9284,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_add : @@ -9306,7 +9359,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_next_power_of_two : @@ -9322,21 +9375,21 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |)) - (Value.Integer 1)) - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::nonzero::BITS" |) |), + Value.Integer IntegerKind.U32 1 + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "leading_zeros", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog2 : M.IsAssociatedFunction Self "ilog2" ilog2. @@ -9363,7 +9416,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ilog10 : M.IsAssociatedFunction Self "ilog10" ilog10. @@ -9413,7 +9466,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_midpoint : M.IsAssociatedFunction Self "midpoint" midpoint. @@ -9496,7 +9549,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -9550,7 +9603,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -9598,7 +9651,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -9676,7 +9729,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -9723,7 +9776,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -9743,8 +9796,8 @@ Module num. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_function (| "core::intrinsics::ctpop", [ Ty.path "usize" ] |), [ M.call_closure (| @@ -9756,9 +9809,10 @@ Module num. [ M.read (| self |) ] |) ] - |)) - (Value.Integer 2))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 2 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -9784,7 +9838,7 @@ Module num. "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] |) ] |) @@ -9848,7 +9902,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9885,7 +9939,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", @@ -9904,7 +9958,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9943,7 +9997,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", @@ -9955,7 +10009,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9994,7 +10048,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -10006,7 +10060,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10049,7 +10103,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10091,7 +10145,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10132,7 +10186,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10173,7 +10227,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10214,7 +10268,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10255,7 +10309,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10296,7 +10350,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10337,7 +10391,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10381,7 +10435,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10418,7 +10472,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10451,22 +10505,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroI8", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroI8", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10502,7 +10557,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10544,7 +10599,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10576,7 +10631,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10625,8 +10680,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.I8 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10674,7 +10733,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroI8" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -10702,7 +10761,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.I8 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -10715,7 +10777,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -10733,7 +10795,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroI8", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -10762,7 +10824,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -10793,7 +10855,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -10831,7 +10893,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -10900,7 +10962,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -10961,7 +11023,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -11000,7 +11062,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -11039,7 +11101,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : @@ -11078,7 +11140,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : @@ -11107,7 +11169,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -11135,7 +11197,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -11212,7 +11274,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -11270,7 +11332,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -11325,7 +11387,7 @@ Module num. M.get_constant (| "core::num::nonzero::MAX" |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -11371,7 +11433,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : @@ -11455,7 +11517,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -11509,7 +11571,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -11557,7 +11619,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -11635,7 +11697,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -11682,7 +11744,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -11768,7 +11830,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| nonzero, "core::num::nonzero::NonZeroI8", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11805,7 +11867,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI8", @@ -11824,7 +11886,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11863,7 +11925,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI8", @@ -11875,7 +11937,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11914,7 +11976,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -11926,7 +11988,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11969,7 +12031,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12011,7 +12073,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12052,7 +12114,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12093,7 +12155,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12134,7 +12196,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12175,7 +12237,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12216,7 +12278,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12257,7 +12319,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12301,7 +12363,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12338,7 +12400,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12371,22 +12433,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroI16", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroI16", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12422,7 +12485,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12464,7 +12527,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12496,7 +12559,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12545,8 +12608,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.I16 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12594,7 +12661,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroI16" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -12622,7 +12689,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.I16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -12635,7 +12705,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -12653,7 +12723,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroI16", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -12682,7 +12752,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -12713,7 +12783,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -12751,7 +12821,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -12820,7 +12890,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -12881,7 +12951,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -12920,7 +12990,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -12959,7 +13029,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : @@ -12998,7 +13068,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : @@ -13027,7 +13097,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -13055,7 +13125,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -13132,7 +13202,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -13190,7 +13260,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -13245,7 +13315,7 @@ Module num. M.get_constant (| "core::num::nonzero::MAX" |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -13291,7 +13361,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : @@ -13375,7 +13445,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -13429,7 +13499,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -13477,7 +13547,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -13555,7 +13625,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -13602,7 +13672,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -13688,7 +13758,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| nonzero, "core::num::nonzero::NonZeroI16", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13725,7 +13795,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI16", @@ -13744,7 +13814,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13783,7 +13853,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI16", @@ -13795,7 +13865,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13834,7 +13904,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -13846,7 +13916,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13889,7 +13959,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13931,7 +14001,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13972,7 +14042,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14013,7 +14083,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14054,7 +14124,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14095,7 +14165,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14136,7 +14206,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14177,7 +14247,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14221,7 +14291,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14258,7 +14328,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14291,22 +14361,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroI32", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroI32", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14342,7 +14413,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14384,7 +14455,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14416,7 +14487,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14465,8 +14536,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.I32 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14514,7 +14589,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroI32" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -14542,7 +14617,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -14555,7 +14633,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -14573,7 +14651,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroI32", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -14606,7 +14684,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -14641,7 +14719,7 @@ Module num. |) |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -14679,7 +14757,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -14748,7 +14826,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -14809,7 +14887,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -14848,7 +14926,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -14887,7 +14965,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : @@ -14926,7 +15004,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : @@ -14955,7 +15033,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -14983,7 +15061,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -15060,7 +15138,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -15118,7 +15196,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -15173,7 +15251,7 @@ Module num. M.get_constant (| "core::num::nonzero::MAX" |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -15219,7 +15297,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : @@ -15303,7 +15381,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -15357,7 +15435,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -15405,7 +15483,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -15483,7 +15561,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -15530,7 +15608,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -15616,7 +15694,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| nonzero, "core::num::nonzero::NonZeroI32", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15653,7 +15731,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI32", @@ -15672,7 +15750,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15711,7 +15789,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI32", @@ -15723,7 +15801,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15762,7 +15840,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -15774,7 +15852,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15817,7 +15895,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15859,7 +15937,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15900,7 +15978,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15941,7 +16019,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15982,7 +16060,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16023,7 +16101,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16064,7 +16142,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16105,7 +16183,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16149,7 +16227,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16186,7 +16264,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16219,22 +16297,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroI64", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroI64", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16270,7 +16349,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16312,7 +16391,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16344,7 +16423,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16393,8 +16472,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.I64 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16442,7 +16525,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroI64" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -16470,7 +16553,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.I64 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -16483,7 +16569,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -16501,7 +16587,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroI64", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -16530,7 +16616,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -16561,7 +16647,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -16599,7 +16685,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -16668,7 +16754,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -16729,7 +16815,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -16768,7 +16854,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -16807,7 +16893,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : @@ -16846,7 +16932,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : @@ -16875,7 +16961,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -16903,7 +16989,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -16980,7 +17066,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -17038,7 +17124,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -17093,7 +17179,7 @@ Module num. M.get_constant (| "core::num::nonzero::MAX" |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -17139,7 +17225,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : @@ -17223,7 +17309,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -17277,7 +17363,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -17325,7 +17411,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -17403,7 +17489,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -17450,7 +17536,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -17536,7 +17622,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| nonzero, "core::num::nonzero::NonZeroI64", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17573,7 +17659,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI64", @@ -17592,7 +17678,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17631,7 +17717,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI64", @@ -17643,7 +17729,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17682,7 +17768,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -17694,7 +17780,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17737,7 +17823,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17779,7 +17865,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17820,7 +17906,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17861,7 +17947,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17902,7 +17988,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17943,7 +18029,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17984,7 +18070,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18025,7 +18111,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18069,7 +18155,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18106,7 +18192,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18139,22 +18225,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroI128", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroI128", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18190,7 +18277,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18232,7 +18319,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18264,7 +18351,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18313,8 +18400,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.I128 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18362,7 +18453,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroI128" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -18390,7 +18481,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.I128 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -18403,7 +18497,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -18421,7 +18515,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroI128", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -18450,7 +18544,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -18481,7 +18575,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -18519,7 +18613,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -18588,7 +18682,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -18649,7 +18743,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -18688,7 +18782,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -18727,7 +18821,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : @@ -18766,7 +18860,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : @@ -18795,7 +18889,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -18823,7 +18917,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -18900,7 +18994,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -18958,7 +19052,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -19013,7 +19107,7 @@ Module num. M.get_constant (| "core::num::nonzero::MAX" |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -19059,7 +19153,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : @@ -19143,7 +19237,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -19197,7 +19291,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -19245,7 +19339,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -19323,7 +19417,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -19370,7 +19464,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -19460,7 +19554,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19497,7 +19591,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI128", @@ -19516,7 +19610,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19555,7 +19649,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroI128", @@ -19567,7 +19661,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19606,7 +19700,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -19618,7 +19712,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19661,7 +19755,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19703,7 +19797,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19744,7 +19838,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19785,7 +19879,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19826,7 +19920,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19867,7 +19961,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19908,7 +20002,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19949,7 +20043,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19993,7 +20087,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20030,7 +20124,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20063,22 +20157,23 @@ Module num. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::num::nonzero::NonZeroIsize", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::num::nonzero::NonZeroIsize", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20114,7 +20209,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20156,7 +20251,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20188,7 +20283,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20237,8 +20332,12 @@ Module num. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| n |), + Value.Integer IntegerKind.Isize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20286,7 +20385,7 @@ Module num. |) in M.alloc (| Value.StructTuple "core::num::nonzero::NonZeroIsize" [ M.read (| n |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -20314,7 +20413,10 @@ Module num. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| n |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -20328,7 +20430,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -20346,7 +20448,7 @@ Module num. M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::nonzero::NonZeroIsize", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -20375,7 +20477,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -20406,7 +20508,7 @@ Module num. |)) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -20444,7 +20546,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -20513,7 +20615,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_abs : M.IsAssociatedFunction Self "checked_abs" checked_abs. @@ -20574,7 +20676,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_abs : @@ -20613,7 +20715,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_abs : @@ -20652,7 +20754,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_abs : @@ -20691,7 +20793,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unsigned_abs : @@ -20720,7 +20822,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -20748,7 +20850,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -20829,7 +20931,7 @@ Module num. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_neg : M.IsAssociatedFunction Self "checked_neg" checked_neg. @@ -20887,7 +20989,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_overflowing_neg : @@ -20942,7 +21044,7 @@ Module num. M.get_constant (| "core::num::nonzero::MAX" |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_neg : @@ -20988,7 +21090,7 @@ Module num. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_neg : @@ -21072,7 +21174,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -21126,7 +21228,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -21174,7 +21276,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unchecked_mul : @@ -21252,7 +21354,7 @@ Module num. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_pow : M.IsAssociatedFunction Self "checked_pow" checked_pow. @@ -21299,7 +21401,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_pow : @@ -21389,7 +21491,7 @@ Module num. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21426,7 +21528,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroIsize", @@ -21445,7 +21547,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21484,7 +21586,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroIsize", @@ -21496,7 +21598,7 @@ Module num. (M.read (| rhs |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21535,7 +21637,7 @@ Module num. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| self |)) (M.call_closure (| M.get_associated_function (| @@ -21547,7 +21649,7 @@ Module num. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21590,7 +21692,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21632,7 +21734,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21673,7 +21775,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21714,7 +21816,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21755,7 +21857,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21796,7 +21898,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21837,7 +21939,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21878,7 +21980,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21945,7 +22047,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "u8" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -22011,7 +22113,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22079,7 +22181,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "u16" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -22145,7 +22247,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22213,7 +22315,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "u32" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -22279,7 +22381,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22347,7 +22449,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "u64" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -22413,7 +22515,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22481,7 +22583,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "u128" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -22547,7 +22649,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22615,7 +22717,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "usize" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -22681,7 +22783,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22749,7 +22851,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "i8" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -22815,7 +22917,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22883,7 +22985,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "i16" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -22949,7 +23051,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23017,7 +23119,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "i32" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -23083,7 +23185,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23151,7 +23253,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "i64" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -23217,7 +23319,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23285,7 +23387,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "i128" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -23351,7 +23453,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23419,7 +23521,7 @@ Module num. "core::num::from_str_radix", [ Ty.path "isize" ] |), - [ M.read (| src |); Value.Integer 10 ] + [ M.read (| src |); Value.Integer IntegerKind.U32 10 ] |) ] |) @@ -23485,7 +23587,7 @@ Module num. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23542,7 +23644,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23587,7 +23689,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23632,7 +23734,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23677,7 +23779,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23722,7 +23824,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23767,7 +23869,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23812,7 +23914,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23857,7 +23959,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23902,7 +24004,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23947,7 +24049,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23992,7 +24094,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24037,7 +24139,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24095,7 +24197,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24147,7 +24249,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24199,7 +24301,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24251,7 +24353,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24303,7 +24405,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -24355,7 +24457,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/num/saturating.v b/CoqOfRust/core/num/saturating.v index 4b988c474..b25b1c2a4 100644 --- a/CoqOfRust/core/num/saturating.v +++ b/CoqOfRust/core/num/saturating.v @@ -50,7 +50,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92,7 +92,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -132,7 +132,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -171,7 +171,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -208,7 +208,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -251,7 +251,7 @@ Module num. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -286,7 +286,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -325,7 +325,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -364,7 +364,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -403,7 +403,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -442,7 +442,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -481,7 +481,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -520,7 +520,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -574,7 +574,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -619,7 +619,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -666,7 +666,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -719,7 +719,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -764,7 +764,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -811,7 +811,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -864,7 +864,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -909,7 +909,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -956,7 +956,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1009,7 +1009,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1054,7 +1054,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1101,7 +1101,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1160,7 +1160,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1205,7 +1205,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1252,7 +1252,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1284,16 +1284,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1327,7 +1328,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -1343,7 +1344,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1388,7 +1389,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1435,7 +1436,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1468,7 +1469,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -1484,7 +1485,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1529,7 +1530,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1576,7 +1577,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1609,7 +1610,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -1625,7 +1626,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1670,7 +1671,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1717,7 +1718,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1770,7 +1771,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1814,7 +1815,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1860,7 +1861,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1913,7 +1914,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1957,7 +1958,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2003,7 +2004,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2056,7 +2057,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2100,7 +2101,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2146,7 +2147,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2199,7 +2200,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2243,7 +2244,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2289,7 +2290,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2348,7 +2349,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2392,7 +2393,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2438,7 +2439,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2470,16 +2471,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2513,7 +2515,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -2529,7 +2531,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2573,7 +2575,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2619,7 +2621,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2652,7 +2654,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -2668,7 +2670,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2712,7 +2714,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2758,7 +2760,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2791,7 +2793,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -2807,7 +2809,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2851,7 +2853,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2897,7 +2899,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2950,7 +2952,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2994,7 +2996,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3040,7 +3042,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3093,7 +3095,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3137,7 +3139,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3183,7 +3185,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3236,7 +3238,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3280,7 +3282,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3326,7 +3328,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3379,7 +3381,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3423,7 +3425,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3469,7 +3471,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3528,7 +3530,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3572,7 +3574,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3618,7 +3620,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3650,16 +3652,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3693,7 +3696,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -3709,7 +3712,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3753,7 +3756,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3799,7 +3802,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3832,7 +3835,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -3848,7 +3851,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3892,7 +3895,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3938,7 +3941,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3971,7 +3974,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -3987,7 +3990,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4031,7 +4034,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4077,7 +4080,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4130,7 +4133,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4174,7 +4177,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4220,7 +4223,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4273,7 +4276,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4317,7 +4320,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4363,7 +4366,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4416,7 +4419,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4460,7 +4463,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4506,7 +4509,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4559,7 +4562,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4603,7 +4606,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4649,7 +4652,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4708,7 +4711,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4752,7 +4755,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4798,7 +4801,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4830,16 +4833,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4873,7 +4877,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -4889,7 +4893,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4933,7 +4937,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4979,7 +4983,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5012,7 +5016,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -5028,7 +5032,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5072,7 +5076,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5118,7 +5122,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5151,7 +5155,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -5167,7 +5171,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5211,7 +5215,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5257,7 +5261,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5310,7 +5314,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5354,7 +5358,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5400,7 +5404,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5453,7 +5457,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5497,7 +5501,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5543,7 +5547,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5596,7 +5600,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5640,7 +5644,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5686,7 +5690,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5739,7 +5743,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5783,7 +5787,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5829,7 +5833,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5888,7 +5892,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5932,7 +5936,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5978,7 +5982,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6010,16 +6014,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6053,7 +6058,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -6069,7 +6074,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6113,7 +6118,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6159,7 +6164,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6192,7 +6197,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -6208,7 +6213,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6252,7 +6257,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6298,7 +6303,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6331,7 +6336,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -6347,7 +6352,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6391,7 +6396,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6437,7 +6442,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6490,7 +6495,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6534,7 +6539,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6580,7 +6585,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6633,7 +6638,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6677,7 +6682,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6723,7 +6728,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6776,7 +6781,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6820,7 +6825,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6866,7 +6871,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6919,7 +6924,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6963,7 +6968,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7009,7 +7014,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7068,7 +7073,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7112,7 +7117,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7158,7 +7163,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7190,16 +7195,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7233,7 +7239,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -7249,7 +7255,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7293,7 +7299,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7339,7 +7345,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7372,7 +7378,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -7388,7 +7394,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7432,7 +7438,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7478,7 +7484,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7511,7 +7517,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -7527,7 +7533,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7571,7 +7577,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7617,7 +7623,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7670,7 +7676,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7715,7 +7721,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7762,7 +7768,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7815,7 +7821,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7860,7 +7866,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7907,7 +7913,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7960,7 +7966,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8005,7 +8011,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8052,7 +8058,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8105,7 +8111,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8150,7 +8156,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8197,7 +8203,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8256,7 +8262,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8301,7 +8307,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8348,7 +8354,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8380,16 +8386,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8423,7 +8430,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -8439,7 +8446,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8484,7 +8491,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8531,7 +8538,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8564,7 +8571,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -8580,7 +8587,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8625,7 +8632,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8672,7 +8679,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8705,7 +8712,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -8721,7 +8728,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8766,7 +8773,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8813,7 +8820,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8866,7 +8873,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8910,7 +8917,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8956,7 +8963,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9009,7 +9016,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9053,7 +9060,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9099,7 +9106,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9152,7 +9159,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9196,7 +9203,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9242,7 +9249,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9295,7 +9302,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9339,7 +9346,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9385,7 +9392,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9444,7 +9451,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9488,7 +9495,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9534,7 +9541,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9566,16 +9573,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9609,7 +9617,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -9625,7 +9633,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9669,7 +9677,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9715,7 +9723,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9748,7 +9756,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -9764,7 +9772,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9808,7 +9816,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9854,7 +9862,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9887,7 +9895,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -9903,7 +9911,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9947,7 +9955,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9993,7 +10001,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10046,7 +10054,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10090,7 +10098,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10136,7 +10144,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10189,7 +10197,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10233,7 +10241,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10279,7 +10287,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10332,7 +10340,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10376,7 +10384,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10422,7 +10430,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10475,7 +10483,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10519,7 +10527,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10565,7 +10573,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10624,7 +10632,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10668,7 +10676,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10714,7 +10722,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10746,16 +10754,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10789,7 +10798,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -10805,7 +10814,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10849,7 +10858,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10895,7 +10904,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10928,7 +10937,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -10944,7 +10953,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10988,7 +10997,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11034,7 +11043,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11067,7 +11076,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -11083,7 +11092,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11127,7 +11136,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11173,7 +11182,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11226,7 +11235,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11270,7 +11279,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11316,7 +11325,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11369,7 +11378,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11413,7 +11422,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11459,7 +11468,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11512,7 +11521,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11556,7 +11565,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11602,7 +11611,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11655,7 +11664,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11699,7 +11708,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11745,7 +11754,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11804,7 +11813,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11848,7 +11857,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11894,7 +11903,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11926,16 +11935,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11969,7 +11979,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -11985,7 +11995,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12029,7 +12039,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12075,7 +12085,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12108,7 +12118,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -12124,7 +12134,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12168,7 +12178,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12214,7 +12224,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12247,7 +12257,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -12263,7 +12273,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12307,7 +12317,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12353,7 +12363,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12406,7 +12416,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12450,7 +12460,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12496,7 +12506,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12549,7 +12559,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12593,7 +12603,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12639,7 +12649,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12692,7 +12702,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12736,7 +12746,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12782,7 +12792,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12835,7 +12845,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12879,7 +12889,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12925,7 +12935,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12984,7 +12994,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13028,7 +13038,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13074,7 +13084,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13106,16 +13116,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13149,7 +13160,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -13165,7 +13176,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13209,7 +13220,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13255,7 +13266,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13288,7 +13299,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -13304,7 +13315,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13348,7 +13359,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13394,7 +13405,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13427,7 +13438,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -13443,7 +13454,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13487,7 +13498,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13533,7 +13544,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13586,7 +13597,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13630,7 +13641,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13676,7 +13687,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13729,7 +13740,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13773,7 +13784,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13819,7 +13830,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13872,7 +13883,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13916,7 +13927,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13962,7 +13973,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14015,7 +14026,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14059,7 +14070,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14105,7 +14116,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14164,7 +14175,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14208,7 +14219,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14254,7 +14265,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14286,16 +14297,17 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::saturating::Saturating", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14329,7 +14341,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -14345,7 +14357,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14389,7 +14401,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14435,7 +14447,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14468,7 +14480,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -14484,7 +14496,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14528,7 +14540,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14574,7 +14586,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14607,7 +14619,7 @@ Module num. Value.StructTuple "core::num::saturating::Saturating" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -14623,7 +14635,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14667,7 +14679,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14713,7 +14725,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14783,7 +14795,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -14810,7 +14822,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -14837,7 +14849,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -14871,7 +14883,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -14904,7 +14916,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -14936,7 +14948,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -14967,7 +14979,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -14999,7 +15011,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -15030,7 +15042,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -15061,7 +15073,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -15092,7 +15104,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -15125,7 +15137,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -15151,7 +15163,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -15179,7 +15191,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -15245,7 +15257,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -15272,7 +15284,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -15299,7 +15311,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -15333,7 +15345,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -15366,7 +15378,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -15398,7 +15410,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -15429,7 +15441,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -15461,7 +15473,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -15492,7 +15504,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -15523,7 +15535,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -15554,7 +15566,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -15587,7 +15599,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -15613,7 +15625,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -15641,7 +15653,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -15707,7 +15719,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -15734,7 +15746,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -15761,7 +15773,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -15795,7 +15807,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -15828,7 +15840,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -15860,7 +15872,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -15891,7 +15903,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -15923,7 +15935,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -15954,7 +15966,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -15985,7 +15997,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -16016,7 +16028,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -16049,7 +16061,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -16075,7 +16087,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -16103,7 +16115,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -16169,7 +16181,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -16196,7 +16208,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -16223,7 +16235,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -16257,7 +16269,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -16290,7 +16302,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -16322,7 +16334,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -16353,7 +16365,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -16385,7 +16397,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -16416,7 +16428,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -16447,7 +16459,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -16478,7 +16490,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -16511,7 +16523,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -16537,7 +16549,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -16565,7 +16577,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -16631,7 +16643,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -16658,7 +16670,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -16685,7 +16697,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -16719,7 +16731,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -16752,7 +16764,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -16784,7 +16796,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -16815,7 +16827,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -16847,7 +16859,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -16878,7 +16890,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -16909,7 +16921,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -16940,7 +16952,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -16973,7 +16985,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -16999,7 +17011,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -17027,7 +17039,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -17093,7 +17105,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -17120,7 +17132,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -17147,7 +17159,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -17181,7 +17193,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -17214,7 +17226,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -17246,7 +17258,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -17277,7 +17289,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -17309,7 +17321,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -17340,7 +17352,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -17371,7 +17383,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -17402,7 +17414,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -17435,7 +17447,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -17461,7 +17473,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -17489,7 +17501,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -17555,7 +17567,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -17582,7 +17594,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -17609,7 +17621,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -17643,7 +17655,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -17676,7 +17688,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -17708,7 +17720,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -17739,7 +17751,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -17771,7 +17783,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -17802,7 +17814,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -17833,7 +17845,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -17864,7 +17876,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -17897,7 +17909,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -17923,7 +17935,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -17955,7 +17967,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -17986,7 +17998,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -18013,7 +18025,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -18040,7 +18052,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -18105,7 +18117,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -18132,7 +18144,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -18159,7 +18171,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -18193,7 +18205,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -18226,7 +18238,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -18258,7 +18270,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -18289,7 +18301,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -18321,7 +18333,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -18352,7 +18364,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -18383,7 +18395,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -18414,7 +18426,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -18447,7 +18459,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -18473,7 +18485,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -18505,7 +18517,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -18536,7 +18548,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -18563,7 +18575,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -18590,7 +18602,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -18655,7 +18667,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -18682,7 +18694,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -18709,7 +18721,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -18743,7 +18755,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -18776,7 +18788,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -18808,7 +18820,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -18839,7 +18851,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -18871,7 +18883,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -18902,7 +18914,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -18933,7 +18945,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -18964,7 +18976,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -18997,7 +19009,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -19023,7 +19035,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -19055,7 +19067,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -19086,7 +19098,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -19113,7 +19125,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -19140,7 +19152,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -19205,7 +19217,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -19232,7 +19244,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -19259,7 +19271,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -19293,7 +19305,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -19326,7 +19338,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -19358,7 +19370,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -19389,7 +19401,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -19421,7 +19433,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -19452,7 +19464,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -19483,7 +19495,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -19514,7 +19526,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -19547,7 +19559,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -19573,7 +19585,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -19605,7 +19617,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -19636,7 +19648,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -19663,7 +19675,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -19690,7 +19702,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -19755,7 +19767,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -19782,7 +19794,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -19809,7 +19821,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -19843,7 +19855,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -19876,7 +19888,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -19908,7 +19920,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -19939,7 +19951,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -19971,7 +19983,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -20002,7 +20014,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -20033,7 +20045,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -20064,7 +20076,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -20097,7 +20109,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -20123,7 +20135,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -20155,7 +20167,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -20186,7 +20198,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -20213,7 +20225,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -20240,7 +20252,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -20305,7 +20317,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -20332,7 +20344,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -20359,7 +20371,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -20393,7 +20405,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -20426,7 +20438,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -20458,7 +20470,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -20489,7 +20501,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -20521,7 +20533,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -20552,7 +20564,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -20583,7 +20595,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -20614,7 +20626,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -20647,7 +20659,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -20673,7 +20685,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -20705,7 +20717,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -20736,7 +20748,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -20763,7 +20775,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -20790,7 +20802,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -20831,7 +20843,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20878,7 +20890,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20925,7 +20937,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20972,7 +20984,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21019,7 +21031,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -21066,7 +21078,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/num/wrapping.v b/CoqOfRust/core/num/wrapping.v index bc3062f9a..f6df1d157 100644 --- a/CoqOfRust/core/num/wrapping.v +++ b/CoqOfRust/core/num/wrapping.v @@ -48,7 +48,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -88,7 +88,7 @@ Module num. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -127,7 +127,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -165,7 +165,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -201,7 +201,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -242,7 +242,7 @@ Module num. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -276,7 +276,7 @@ Module num. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -314,7 +314,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -352,7 +352,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -390,7 +390,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -428,7 +428,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -466,7 +466,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -504,7 +504,7 @@ Module num. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -548,14 +548,14 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| M.get_constant (| "core::num::wrapping::shift_max::u8" |) |)))) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -598,7 +598,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -641,14 +641,14 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| M.get_constant (| "core::num::wrapping::shift_max::u8" |) |)))) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -691,7 +691,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -735,7 +735,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -744,7 +744,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -788,7 +788,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -832,7 +832,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -841,7 +841,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -885,7 +885,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -929,7 +929,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -938,7 +938,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -982,7 +982,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1026,7 +1026,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1035,7 +1035,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1079,7 +1079,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1123,7 +1123,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1132,7 +1132,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1176,7 +1176,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1220,7 +1220,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1229,7 +1229,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1273,7 +1273,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1317,7 +1317,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1326,7 +1326,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1370,7 +1370,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1414,7 +1414,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1423,7 +1423,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1467,7 +1467,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1511,7 +1511,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1520,7 +1520,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1564,7 +1564,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1608,7 +1608,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1617,7 +1617,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1661,7 +1661,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1704,14 +1704,14 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| M.get_constant (| "core::num::wrapping::shift_max::i8" |) |)))) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1754,7 +1754,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1797,14 +1797,14 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| M.get_constant (| "core::num::wrapping::shift_max::i8" |) |)))) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1847,7 +1847,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1891,7 +1891,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1900,7 +1900,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1944,7 +1944,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1988,7 +1988,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -1997,7 +1997,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2041,7 +2041,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2085,7 +2085,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -2094,7 +2094,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2138,7 +2138,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2182,7 +2182,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -2191,7 +2191,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2235,7 +2235,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2279,7 +2279,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -2288,7 +2288,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2332,7 +2332,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2376,7 +2376,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -2385,7 +2385,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2429,7 +2429,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2473,7 +2473,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -2482,7 +2482,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2526,7 +2526,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2570,7 +2570,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -2579,7 +2579,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2623,7 +2623,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2667,7 +2667,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -2676,7 +2676,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2720,7 +2720,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2764,7 +2764,7 @@ Module num. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| other |)) (M.rust_cast (M.read (| @@ -2773,7 +2773,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2817,7 +2817,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2870,7 +2870,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2914,7 +2914,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2960,7 +2960,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3013,7 +3013,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3057,7 +3057,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3103,7 +3103,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3156,7 +3156,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3200,7 +3200,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3246,7 +3246,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3299,7 +3299,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3343,7 +3343,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3389,7 +3389,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3442,7 +3442,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3486,7 +3486,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3532,7 +3532,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3564,16 +3564,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3607,7 +3608,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -3623,7 +3624,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3667,7 +3668,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3713,7 +3714,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3746,7 +3747,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -3762,7 +3763,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3806,7 +3807,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3852,7 +3853,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3885,7 +3886,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -3901,7 +3902,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3945,7 +3946,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3991,7 +3992,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4029,11 +4030,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Usize 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4086,7 +4089,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4129,7 +4132,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4174,7 +4177,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4226,7 +4229,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4269,7 +4272,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4314,7 +4317,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4366,7 +4369,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4409,7 +4412,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4454,7 +4457,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4506,7 +4509,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4549,7 +4552,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4594,7 +4597,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4646,7 +4649,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4689,7 +4692,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4734,7 +4737,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4765,16 +4768,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4807,7 +4811,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -4823,7 +4827,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4866,7 +4870,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4911,7 +4915,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4943,7 +4947,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -4959,7 +4963,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5002,7 +5006,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5047,7 +5051,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5079,7 +5083,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -5095,7 +5099,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5138,7 +5142,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5183,7 +5187,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5220,11 +5224,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U8 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5278,7 +5284,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5322,7 +5328,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5368,7 +5374,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5421,7 +5427,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5465,7 +5471,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5511,7 +5517,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5564,7 +5570,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5608,7 +5614,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5654,7 +5660,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5707,7 +5713,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5751,7 +5757,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5797,7 +5803,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5850,7 +5856,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5894,7 +5900,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5940,7 +5946,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5972,16 +5978,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6015,7 +6022,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -6031,7 +6038,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6075,7 +6082,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6121,7 +6128,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6154,7 +6161,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -6170,7 +6177,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6214,7 +6221,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6260,7 +6267,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6293,7 +6300,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -6309,7 +6316,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6353,7 +6360,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6399,7 +6406,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6437,11 +6444,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U16 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6495,7 +6504,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6539,7 +6548,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6585,7 +6594,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6638,7 +6647,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6682,7 +6691,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6728,7 +6737,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6781,7 +6790,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6825,7 +6834,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6871,7 +6880,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6924,7 +6933,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6968,7 +6977,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7014,7 +7023,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7067,7 +7076,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7111,7 +7120,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7157,7 +7166,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7189,16 +7198,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7232,7 +7242,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -7248,7 +7258,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7292,7 +7302,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7338,7 +7348,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7371,7 +7381,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -7387,7 +7397,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7431,7 +7441,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7477,7 +7487,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7510,7 +7520,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -7526,7 +7536,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7570,7 +7580,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7616,7 +7626,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7654,11 +7664,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U32 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7712,7 +7724,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7756,7 +7768,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7802,7 +7814,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7855,7 +7867,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7899,7 +7911,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7945,7 +7957,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7998,7 +8010,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8042,7 +8054,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8088,7 +8100,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8141,7 +8153,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8185,7 +8197,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8231,7 +8243,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8284,7 +8296,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8328,7 +8340,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8374,7 +8386,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8406,16 +8418,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8449,7 +8462,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -8465,7 +8478,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8509,7 +8522,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8555,7 +8568,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8588,7 +8601,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -8604,7 +8617,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8648,7 +8661,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8694,7 +8707,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8727,7 +8740,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -8743,7 +8756,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8787,7 +8800,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8833,7 +8846,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8871,11 +8884,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U64 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8929,7 +8944,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8973,7 +8988,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9019,7 +9034,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9072,7 +9087,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9116,7 +9131,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9162,7 +9177,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9215,7 +9230,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9259,7 +9274,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9305,7 +9320,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9358,7 +9373,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9402,7 +9417,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9448,7 +9463,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9501,7 +9516,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9545,7 +9560,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9591,7 +9606,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9623,16 +9638,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9666,7 +9682,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -9682,7 +9698,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9726,7 +9742,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9772,7 +9788,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9805,7 +9821,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -9821,7 +9837,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9865,7 +9881,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9911,7 +9927,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9944,7 +9960,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -9960,7 +9976,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10004,7 +10020,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10050,7 +10066,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10088,11 +10104,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.U128 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10146,7 +10164,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10190,7 +10208,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10236,7 +10254,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10289,7 +10307,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10333,7 +10351,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10379,7 +10397,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10432,7 +10450,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10476,7 +10494,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10522,7 +10540,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10575,7 +10593,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10619,7 +10637,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10665,7 +10683,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10718,7 +10736,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10762,7 +10780,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10808,7 +10826,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10840,16 +10858,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10883,7 +10902,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -10899,7 +10918,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10943,7 +10962,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10989,7 +11008,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11022,7 +11041,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -11038,7 +11057,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11082,7 +11101,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11128,7 +11147,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11161,7 +11180,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -11177,7 +11196,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11221,7 +11240,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11267,7 +11286,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11305,11 +11324,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.Isize 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11362,7 +11383,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11405,7 +11426,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11450,7 +11471,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11502,7 +11523,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11545,7 +11566,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11590,7 +11611,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11642,7 +11663,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11685,7 +11706,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11730,7 +11751,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11782,7 +11803,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11825,7 +11846,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11870,7 +11891,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11922,7 +11943,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11965,7 +11986,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12010,7 +12031,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12041,16 +12062,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12083,7 +12105,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -12099,7 +12121,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12142,7 +12164,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12187,7 +12209,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12219,7 +12241,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -12235,7 +12257,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12278,7 +12300,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12323,7 +12345,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12355,7 +12377,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -12371,7 +12393,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12414,7 +12436,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12459,7 +12481,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12496,11 +12518,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I8 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12554,7 +12578,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12598,7 +12622,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12644,7 +12668,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12697,7 +12721,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12741,7 +12765,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12787,7 +12811,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12840,7 +12864,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12884,7 +12908,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12930,7 +12954,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12983,7 +13007,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13027,7 +13051,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13073,7 +13097,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13126,7 +13150,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13170,7 +13194,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13216,7 +13240,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13248,16 +13272,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13291,7 +13316,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -13307,7 +13332,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13351,7 +13376,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13397,7 +13422,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13430,7 +13455,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -13446,7 +13471,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13490,7 +13515,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13536,7 +13561,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13569,7 +13594,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -13585,7 +13610,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13629,7 +13654,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13675,7 +13700,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13713,11 +13738,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I16 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13771,7 +13798,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13815,7 +13842,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13861,7 +13888,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13914,7 +13941,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13958,7 +13985,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14004,7 +14031,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14057,7 +14084,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14101,7 +14128,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14147,7 +14174,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14200,7 +14227,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14244,7 +14271,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14290,7 +14317,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14343,7 +14370,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14387,7 +14414,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14433,7 +14460,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14465,16 +14492,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14508,7 +14536,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -14524,7 +14552,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14568,7 +14596,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14614,7 +14642,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14647,7 +14675,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -14663,7 +14691,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14707,7 +14735,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14753,7 +14781,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14786,7 +14814,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -14802,7 +14830,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14846,7 +14874,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14892,7 +14920,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14930,11 +14958,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I32 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14988,7 +15018,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15032,7 +15062,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15078,7 +15108,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15131,7 +15161,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15175,7 +15205,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15221,7 +15251,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15274,7 +15304,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15318,7 +15348,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15364,7 +15394,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15417,7 +15447,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15461,7 +15491,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15507,7 +15537,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15560,7 +15590,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15604,7 +15634,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15650,7 +15680,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15682,16 +15712,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15725,7 +15756,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -15741,7 +15772,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15785,7 +15816,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15831,7 +15862,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15864,7 +15895,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -15880,7 +15911,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15924,7 +15955,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15970,7 +16001,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16003,7 +16034,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -16019,7 +16050,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16063,7 +16094,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16109,7 +16140,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16147,11 +16178,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I64 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16205,7 +16238,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16249,7 +16282,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16295,7 +16328,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16348,7 +16381,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16392,7 +16425,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16438,7 +16471,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16491,7 +16524,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16535,7 +16568,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16581,7 +16614,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16634,7 +16667,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16678,7 +16711,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16724,7 +16757,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16777,7 +16810,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16821,7 +16854,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16867,7 +16900,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16899,16 +16932,17 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::num::wrapping::Wrapping", 0 |) - |)) + |) + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16942,7 +16976,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -16958,7 +16992,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17002,7 +17036,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17048,7 +17082,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17081,7 +17115,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -17097,7 +17131,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17141,7 +17175,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17187,7 +17221,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17220,7 +17254,7 @@ Module num. Value.StructTuple "core::num::wrapping::Wrapping" [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, @@ -17236,7 +17270,7 @@ Module num. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17280,7 +17314,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17326,7 +17360,7 @@ Module num. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17364,11 +17398,13 @@ Module num. [] |), [ - Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer 0 ]; + Value.StructTuple + "core::num::wrapping::Wrapping" + [ Value.Integer IntegerKind.I128 0 ]; M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17435,7 +17471,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -17458,7 +17494,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -17481,7 +17517,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -17515,7 +17551,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -17548,7 +17584,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -17580,7 +17616,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -17611,7 +17647,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -17643,7 +17679,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -17674,7 +17710,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -17705,7 +17741,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -17736,7 +17772,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -17769,7 +17805,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -17791,7 +17827,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -17815,7 +17851,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -17847,7 +17883,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -17908,7 +17944,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -17931,7 +17967,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -17954,7 +17990,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -17988,7 +18024,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -18021,7 +18057,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -18053,7 +18089,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -18084,7 +18120,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -18116,7 +18152,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -18147,7 +18183,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -18178,7 +18214,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -18209,7 +18245,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -18242,7 +18278,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -18264,7 +18300,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -18288,7 +18324,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -18320,7 +18356,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -18382,7 +18418,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -18405,7 +18441,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -18428,7 +18464,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -18462,7 +18498,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -18495,7 +18531,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -18527,7 +18563,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -18558,7 +18594,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -18590,7 +18626,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -18621,7 +18657,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -18652,7 +18688,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -18683,7 +18719,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -18716,7 +18752,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -18738,7 +18774,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -18762,7 +18798,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -18794,7 +18830,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -18856,7 +18892,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -18879,7 +18915,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -18902,7 +18938,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -18936,7 +18972,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -18969,7 +19005,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -19001,7 +19037,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -19032,7 +19068,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -19064,7 +19100,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -19095,7 +19131,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -19126,7 +19162,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -19157,7 +19193,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -19190,7 +19226,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -19212,7 +19248,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -19236,7 +19272,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -19268,7 +19304,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -19330,7 +19366,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -19353,7 +19389,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -19376,7 +19412,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -19410,7 +19446,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -19443,7 +19479,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -19475,7 +19511,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -19506,7 +19542,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -19538,7 +19574,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -19569,7 +19605,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -19600,7 +19636,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -19631,7 +19667,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -19664,7 +19700,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -19686,7 +19722,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -19710,7 +19746,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -19742,7 +19778,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -19804,7 +19840,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -19827,7 +19863,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -19850,7 +19886,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -19884,7 +19920,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -19917,7 +19953,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -19949,7 +19985,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -19980,7 +20016,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -20012,7 +20048,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -20043,7 +20079,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -20074,7 +20110,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -20105,7 +20141,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -20138,7 +20174,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -20160,7 +20196,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -20184,7 +20220,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_power_of_two : @@ -20216,7 +20252,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_power_of_two : @@ -20278,7 +20314,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -20301,7 +20337,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -20324,7 +20360,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -20358,7 +20394,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -20391,7 +20427,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -20423,7 +20459,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -20454,7 +20490,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -20486,7 +20522,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -20517,7 +20553,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -20548,7 +20584,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -20579,7 +20615,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -20612,7 +20648,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -20634,7 +20670,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -20666,7 +20702,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -20697,7 +20733,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -20720,7 +20756,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -20743,7 +20779,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -20803,7 +20839,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -20826,7 +20862,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -20849,7 +20885,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -20883,7 +20919,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -20916,7 +20952,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -20948,7 +20984,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -20979,7 +21015,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -21011,7 +21047,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -21042,7 +21078,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -21073,7 +21109,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -21104,7 +21140,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -21137,7 +21173,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -21159,7 +21195,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -21191,7 +21227,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -21222,7 +21258,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -21245,7 +21281,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -21268,7 +21304,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -21329,7 +21365,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -21352,7 +21388,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -21375,7 +21411,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -21409,7 +21445,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -21442,7 +21478,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -21474,7 +21510,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -21505,7 +21541,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -21537,7 +21573,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -21568,7 +21604,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -21599,7 +21635,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -21630,7 +21666,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -21663,7 +21699,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -21685,7 +21721,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -21717,7 +21753,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -21748,7 +21784,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -21771,7 +21807,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -21794,7 +21830,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -21855,7 +21891,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -21878,7 +21914,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -21901,7 +21937,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -21935,7 +21971,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -21968,7 +22004,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -22000,7 +22036,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -22031,7 +22067,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -22063,7 +22099,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -22094,7 +22130,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -22125,7 +22161,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -22156,7 +22192,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -22189,7 +22225,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -22211,7 +22247,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -22243,7 +22279,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -22274,7 +22310,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -22297,7 +22333,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -22320,7 +22356,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -22381,7 +22417,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -22404,7 +22440,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -22427,7 +22463,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -22461,7 +22497,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -22494,7 +22530,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -22526,7 +22562,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -22557,7 +22593,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -22589,7 +22625,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -22620,7 +22656,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -22651,7 +22687,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -22682,7 +22718,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -22715,7 +22751,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -22737,7 +22773,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -22769,7 +22805,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -22800,7 +22836,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -22823,7 +22859,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -22846,7 +22882,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -22907,7 +22943,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_ones : M.IsAssociatedFunction Self "count_ones" count_ones. @@ -22930,7 +22966,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_count_zeros : M.IsAssociatedFunction Self "count_zeros" count_zeros. @@ -22953,7 +22989,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trailing_zeros : @@ -22987,7 +23023,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : M.IsAssociatedFunction Self "rotate_left" rotate_left. @@ -23020,7 +23056,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -23052,7 +23088,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_bytes : M.IsAssociatedFunction Self "swap_bytes" swap_bytes. @@ -23083,7 +23119,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_bits : @@ -23115,7 +23151,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_be : M.IsAssociatedFunction Self "from_be" from_be. @@ -23146,7 +23182,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_le : M.IsAssociatedFunction Self "from_le" from_le. @@ -23177,7 +23213,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_be : M.IsAssociatedFunction Self "to_be" to_be. @@ -23208,7 +23244,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_le : M.IsAssociatedFunction Self "to_le" to_le. @@ -23241,7 +23277,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pow : M.IsAssociatedFunction Self "pow" pow. @@ -23263,7 +23299,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_leading_zeros : @@ -23295,7 +23331,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs : M.IsAssociatedFunction Self "abs" abs. @@ -23326,7 +23362,7 @@ Module num. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_signum : M.IsAssociatedFunction Self "signum" signum. @@ -23349,7 +23385,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_positive : M.IsAssociatedFunction Self "is_positive" is_positive. @@ -23372,7 +23408,7 @@ Module num. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_negative : M.IsAssociatedFunction Self "is_negative" is_negative. @@ -23403,50 +23439,65 @@ Module num. M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 3)) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.I32 3 + |), + Value.Integer IntegerKind.U32 1 + |) |))). Definition i16 : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 4)) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.I32 4 + |), + Value.Integer IntegerKind.U32 1 + |) |))). Definition i32 : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 5)) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.I32 5 + |), + Value.Integer IntegerKind.U32 1 + |) |))). Definition i64 : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 6)) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.I32 6 + |), + Value.Integer IntegerKind.U32 1 + |) |))). Definition i128 : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 7)) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.I32 7 + |), + Value.Integer IntegerKind.U32 1 + |) |))). Definition u8 : Value.t := diff --git a/CoqOfRust/core/ops/arith.v b/CoqOfRust/core/ops/arith.v index 879e40809..7cfc66ff2 100644 --- a/CoqOfRust/core/ops/arith.v +++ b/CoqOfRust/core/ops/arith.v @@ -19,8 +19,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -45,8 +45,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.U8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71,8 +71,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.U16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,8 +97,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.U32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -123,8 +123,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.U64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -149,8 +149,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.U128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -175,8 +175,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.Isize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -201,8 +201,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.I8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -227,8 +227,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.I16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -253,8 +253,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.I32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -279,8 +279,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.I64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -305,8 +305,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.I128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -331,8 +331,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -357,8 +357,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.add Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -386,8 +386,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -412,8 +412,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.U8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -438,8 +438,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.U16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -464,8 +464,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.U32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -490,8 +490,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.U64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -516,8 +516,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.U128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -542,8 +542,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.Isize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -568,8 +568,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.I8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -594,8 +594,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.I16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -620,8 +620,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.I32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -646,8 +646,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.I64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -672,8 +672,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.I128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -698,8 +698,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -724,8 +724,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.sub Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -753,8 +753,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -779,8 +779,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.U8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -805,8 +805,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.U16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -831,8 +831,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.U32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -857,8 +857,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.U64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -883,8 +883,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.U128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -909,8 +909,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.Isize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -935,8 +935,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.I8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -961,8 +961,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.I16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -987,8 +987,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.I32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1013,8 +1013,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.I64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1039,8 +1039,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.I128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1065,8 +1065,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1091,8 +1091,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.mul Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.mul (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1120,8 +1120,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1146,8 +1146,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.U8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1172,8 +1172,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.U16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1198,8 +1198,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.U32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1224,8 +1224,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.U64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1250,8 +1250,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.U128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1276,8 +1276,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.Isize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1302,8 +1302,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.I8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1328,8 +1328,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.I16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1354,8 +1354,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.I32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1380,8 +1380,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.I64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1406,8 +1406,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.I128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1432,8 +1432,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1458,8 +1458,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.div Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.div (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1487,8 +1487,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1513,8 +1513,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.U8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1539,8 +1539,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.U16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1565,8 +1565,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.U32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1591,8 +1591,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.U64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1617,8 +1617,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.U128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1643,8 +1643,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.Isize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1669,8 +1669,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.I8 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1695,8 +1695,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.I16 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1721,8 +1721,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.I32 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1747,8 +1747,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.I64 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1773,8 +1773,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.I128 (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1799,8 +1799,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1825,8 +1825,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.rem Integer.Usize (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.rem (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1853,8 +1853,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Panic.neg (| Integer.Isize, M.read (| self |) |))) - | _, _ => M.impossible + UnOp.neg (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1878,8 +1878,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Panic.neg (| Integer.I8, M.read (| self |) |))) - | _, _ => M.impossible + UnOp.neg (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1903,8 +1903,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Panic.neg (| Integer.I16, M.read (| self |) |))) - | _, _ => M.impossible + UnOp.neg (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1928,8 +1928,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Panic.neg (| Integer.I32, M.read (| self |) |))) - | _, _ => M.impossible + UnOp.neg (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1953,8 +1953,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Panic.neg (| Integer.I64, M.read (| self |) |))) - | _, _ => M.impossible + UnOp.neg (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1978,8 +1978,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Panic.neg (| Integer.I128, M.read (| self |) |))) - | _, _ => M.impossible + UnOp.neg (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2003,8 +2003,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Panic.neg (| Integer.Usize, M.read (| self |) |))) - | _, _ => M.impossible + UnOp.neg (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2028,8 +2028,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Panic.neg (| Integer.Usize, M.read (| self |) |))) - | _, _ => M.impossible + UnOp.neg (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2056,9 +2056,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2081,9 +2081,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.U8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2106,9 +2106,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.U16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2131,9 +2131,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.U32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2156,9 +2156,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.U64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2181,9 +2181,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.U128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2206,9 +2206,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.Isize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2231,9 +2231,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.I8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2256,9 +2256,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.I16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2281,9 +2281,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2306,9 +2306,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.I64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2331,9 +2331,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.I128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2356,9 +2356,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2381,9 +2381,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2409,9 +2409,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2434,9 +2434,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.U8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2459,9 +2459,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.U16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2484,9 +2484,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.U32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2509,9 +2509,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.U64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2534,9 +2534,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.U128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2559,9 +2559,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.Isize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2584,9 +2584,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.I8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2609,9 +2609,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.I16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2634,9 +2634,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.I32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2659,9 +2659,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.I64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2684,9 +2684,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.I128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2709,9 +2709,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2734,9 +2734,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2762,9 +2762,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2787,9 +2787,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.U8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2812,9 +2812,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.U16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2837,9 +2837,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.U32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2862,9 +2862,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.U64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2887,9 +2887,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.U128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2912,9 +2912,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.Isize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2937,9 +2937,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.I8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2962,9 +2962,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.I16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2987,9 +2987,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.I32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3012,9 +3012,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.I64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3037,9 +3037,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.I128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3062,9 +3062,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3087,9 +3087,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.mul Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.mul (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3115,9 +3115,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3140,9 +3140,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.U8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3165,9 +3165,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.U16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3190,9 +3190,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.U32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3215,9 +3215,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.U64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3240,9 +3240,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.U128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3265,9 +3265,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.Isize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3290,9 +3290,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.I8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3315,9 +3315,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.I16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3340,9 +3340,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.I32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3365,9 +3365,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.I64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3390,9 +3390,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.I128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3415,9 +3415,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3440,9 +3440,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.div Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.div (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3468,9 +3468,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3493,9 +3493,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.U8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3518,9 +3518,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.U16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3543,9 +3543,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.U32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3568,9 +3568,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.U64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3593,9 +3593,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.U128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3618,9 +3618,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.Isize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3643,9 +3643,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.I8 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3668,9 +3668,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.I16 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3693,9 +3693,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.I32 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3718,9 +3718,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.I64 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3743,9 +3743,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.I128 (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3768,9 +3768,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3793,9 +3793,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.rem Integer.Usize (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.rem (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ops/bit.v b/CoqOfRust/core/ops/bit.v index e3e2f5c2e..92ece3181 100644 --- a/CoqOfRust/core/ops/bit.v +++ b/CoqOfRust/core/ops/bit.v @@ -18,8 +18,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43,8 +43,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68,8 +68,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93,8 +93,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -118,8 +118,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -143,8 +143,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -168,8 +168,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -193,8 +193,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -218,8 +218,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -243,8 +243,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -268,8 +268,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -293,8 +293,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -318,8 +318,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not (M.read (| self |)))) - | _, _ => M.impossible + UnOp.not (| M.read (| self |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -348,7 +348,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.match_operator (| self, [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -376,8 +376,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -402,8 +402,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -428,8 +428,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -454,8 +454,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -480,8 +480,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -506,8 +506,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -532,8 +532,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -558,8 +558,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -584,8 +584,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -610,8 +610,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -636,8 +636,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -662,8 +662,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -688,8 +688,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_and (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_and (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -717,8 +717,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -743,8 +743,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -769,8 +769,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -795,8 +795,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -821,8 +821,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -847,8 +847,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -873,8 +873,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -899,8 +899,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -925,8 +925,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -951,8 +951,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -977,8 +977,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1003,8 +1003,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1029,8 +1029,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Pure.bit_or (M.read (| self |)) (M.read (| rhs |)))) - | _, _ => M.impossible + BinOp.bit_or (M.read (| self |)) (M.read (| rhs |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1058,8 +1058,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1084,8 +1084,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1110,8 +1110,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1136,8 +1136,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1162,8 +1162,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1188,8 +1188,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1214,8 +1214,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1240,8 +1240,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1266,8 +1266,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1292,8 +1292,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1318,8 +1318,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1344,8 +1344,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1370,8 +1370,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.bit_xor (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.bit_xor (M.read (| self |)) (M.read (| other |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1403,8 +1403,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1433,8 +1433,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1463,8 +1463,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1493,8 +1493,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1523,8 +1523,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1553,8 +1553,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1583,8 +1583,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1613,8 +1613,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1643,8 +1643,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1673,8 +1673,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1703,8 +1703,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1733,8 +1733,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1763,8 +1763,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1793,8 +1793,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1823,8 +1823,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1853,8 +1853,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1883,8 +1883,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1913,8 +1913,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1943,8 +1943,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1973,8 +1973,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2003,8 +2003,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2033,8 +2033,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2063,8 +2063,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2093,8 +2093,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2123,8 +2123,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2153,8 +2153,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2183,8 +2183,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2213,8 +2213,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2243,8 +2243,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2273,8 +2273,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2303,8 +2303,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2333,8 +2333,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2363,8 +2363,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2393,8 +2393,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2423,8 +2423,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2453,8 +2453,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2483,8 +2483,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2513,8 +2513,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2543,8 +2543,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2573,8 +2573,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2603,8 +2603,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2633,8 +2633,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2663,8 +2663,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2693,8 +2693,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2723,8 +2723,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2753,8 +2753,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2783,8 +2783,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2813,8 +2813,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2843,8 +2843,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2873,8 +2873,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2903,8 +2903,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2933,8 +2933,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2963,8 +2963,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2993,8 +2993,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3023,8 +3023,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3053,8 +3053,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3083,8 +3083,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3113,8 +3113,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3143,8 +3143,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3173,8 +3173,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3203,8 +3203,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3233,8 +3233,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3263,8 +3263,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3293,8 +3293,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3323,8 +3323,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3353,8 +3353,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3383,8 +3383,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3413,8 +3413,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3443,8 +3443,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3473,8 +3473,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3503,8 +3503,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3533,8 +3533,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3563,8 +3563,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3593,8 +3593,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3623,8 +3623,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3653,8 +3653,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3683,8 +3683,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3713,8 +3713,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3743,8 +3743,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3773,8 +3773,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3803,8 +3803,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3833,8 +3833,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3863,8 +3863,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3893,8 +3893,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3923,8 +3923,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3953,8 +3953,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3983,8 +3983,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4013,8 +4013,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4043,8 +4043,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4073,8 +4073,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4103,8 +4103,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4133,8 +4133,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4163,8 +4163,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4193,8 +4193,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4223,8 +4223,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4253,8 +4253,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4283,8 +4283,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4313,8 +4313,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4343,8 +4343,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4373,8 +4373,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4403,8 +4403,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4433,8 +4433,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4463,8 +4463,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4493,8 +4493,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4523,8 +4523,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4553,8 +4553,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4583,8 +4583,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4613,8 +4613,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4643,8 +4643,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4673,8 +4673,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4703,8 +4703,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4733,8 +4733,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4763,8 +4763,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4793,8 +4793,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4823,8 +4823,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4853,8 +4853,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4883,8 +4883,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4913,8 +4913,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4943,8 +4943,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4973,8 +4973,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5003,8 +5003,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5033,8 +5033,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5063,8 +5063,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5093,8 +5093,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5123,8 +5123,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5153,8 +5153,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5183,8 +5183,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5213,8 +5213,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5243,8 +5243,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5273,8 +5273,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5303,8 +5303,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5333,8 +5333,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5363,8 +5363,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5393,8 +5393,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5423,8 +5423,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5453,8 +5453,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5483,8 +5483,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5513,8 +5513,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5543,8 +5543,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5573,8 +5573,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5603,8 +5603,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5633,8 +5633,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5663,8 +5663,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5693,8 +5693,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shl (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shl (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5726,8 +5726,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5756,8 +5756,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5786,8 +5786,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5816,8 +5816,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5846,8 +5846,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5876,8 +5876,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5906,8 +5906,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5936,8 +5936,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5966,8 +5966,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5996,8 +5996,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6026,8 +6026,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6056,8 +6056,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6086,8 +6086,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6116,8 +6116,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6146,8 +6146,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6176,8 +6176,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6206,8 +6206,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6236,8 +6236,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6266,8 +6266,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6296,8 +6296,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6326,8 +6326,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6356,8 +6356,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6386,8 +6386,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6416,8 +6416,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6446,8 +6446,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6476,8 +6476,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6506,8 +6506,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6536,8 +6536,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6566,8 +6566,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6596,8 +6596,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6626,8 +6626,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6656,8 +6656,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6686,8 +6686,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6716,8 +6716,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6746,8 +6746,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6776,8 +6776,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6806,8 +6806,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6836,8 +6836,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6866,8 +6866,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6896,8 +6896,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6926,8 +6926,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6956,8 +6956,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6986,8 +6986,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7016,8 +7016,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7046,8 +7046,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7076,8 +7076,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7106,8 +7106,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7136,8 +7136,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7166,8 +7166,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7196,8 +7196,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7226,8 +7226,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7256,8 +7256,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7286,8 +7286,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7316,8 +7316,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7346,8 +7346,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7376,8 +7376,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7406,8 +7406,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7436,8 +7436,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7466,8 +7466,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7496,8 +7496,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7526,8 +7526,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7556,8 +7556,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7586,8 +7586,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7616,8 +7616,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7646,8 +7646,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7676,8 +7676,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7706,8 +7706,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7736,8 +7736,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7766,8 +7766,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7796,8 +7796,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7826,8 +7826,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7856,8 +7856,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7886,8 +7886,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7916,8 +7916,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7946,8 +7946,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7976,8 +7976,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8006,8 +8006,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8036,8 +8036,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8066,8 +8066,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8096,8 +8096,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8126,8 +8126,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8156,8 +8156,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8186,8 +8186,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8216,8 +8216,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8246,8 +8246,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8276,8 +8276,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8306,8 +8306,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8336,8 +8336,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8366,8 +8366,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8396,8 +8396,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8426,8 +8426,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8456,8 +8456,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8486,8 +8486,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8516,8 +8516,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8546,8 +8546,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8576,8 +8576,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8606,8 +8606,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8636,8 +8636,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8666,8 +8666,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8696,8 +8696,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8726,8 +8726,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8756,8 +8756,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8786,8 +8786,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8816,8 +8816,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8846,8 +8846,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8876,8 +8876,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8906,8 +8906,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8936,8 +8936,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8966,8 +8966,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8996,8 +8996,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9026,8 +9026,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9056,8 +9056,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9086,8 +9086,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9116,8 +9116,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9146,8 +9146,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9176,8 +9176,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9206,8 +9206,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9236,8 +9236,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9266,8 +9266,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9296,8 +9296,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9326,8 +9326,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9356,8 +9356,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9386,8 +9386,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9416,8 +9416,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9446,8 +9446,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9476,8 +9476,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9506,8 +9506,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9536,8 +9536,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9566,8 +9566,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9596,8 +9596,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9626,8 +9626,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9656,8 +9656,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9686,8 +9686,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9716,8 +9716,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9746,8 +9746,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9776,8 +9776,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9806,8 +9806,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9836,8 +9836,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9866,8 +9866,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9896,8 +9896,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9926,8 +9926,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9956,8 +9956,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9986,8 +9986,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10016,8 +10016,8 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Wrap.shr (M.read (| self |)) (M.read (| other |)))) - | _, _ => M.impossible + BinOp.Wrap.shr (| M.read (| self |), M.read (| other |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10044,9 +10044,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10069,9 +10069,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10094,9 +10094,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10119,9 +10119,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10144,9 +10144,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10169,9 +10169,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10194,9 +10194,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10219,9 +10219,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10244,9 +10244,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10269,9 +10269,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10294,9 +10294,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10319,9 +10319,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10344,9 +10344,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_and (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_and (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10372,9 +10372,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10397,9 +10397,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10422,9 +10422,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10447,9 +10447,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10472,9 +10472,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10497,9 +10497,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10522,9 +10522,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10547,9 +10547,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10572,9 +10572,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10597,9 +10597,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10622,9 +10622,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10647,9 +10647,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10672,9 +10672,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_or (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_or (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10700,9 +10700,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10725,9 +10725,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10750,9 +10750,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10775,9 +10775,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10800,9 +10800,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10825,9 +10825,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10850,9 +10850,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10875,9 +10875,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10900,9 +10900,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10925,9 +10925,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10950,9 +10950,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10975,9 +10975,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11000,9 +11000,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| other |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11032,9 +11032,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11061,9 +11061,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11090,9 +11090,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11119,9 +11119,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11148,9 +11148,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11177,9 +11177,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11206,9 +11206,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11235,9 +11235,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11264,9 +11264,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11293,9 +11293,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11322,9 +11322,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11351,9 +11351,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11380,9 +11380,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11409,9 +11409,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11438,9 +11438,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11467,9 +11467,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11496,9 +11496,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11525,9 +11525,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11554,9 +11554,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11583,9 +11583,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11612,9 +11612,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11641,9 +11641,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11670,9 +11670,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11699,9 +11699,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11728,9 +11728,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11757,9 +11757,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11786,9 +11786,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11815,9 +11815,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11844,9 +11844,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11873,9 +11873,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11902,9 +11902,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11931,9 +11931,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11960,9 +11960,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11989,9 +11989,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12018,9 +12018,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12047,9 +12047,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12076,9 +12076,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12105,9 +12105,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12134,9 +12134,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12163,9 +12163,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12192,9 +12192,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12221,9 +12221,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12250,9 +12250,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12279,9 +12279,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12308,9 +12308,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12337,9 +12337,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12366,9 +12366,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12395,9 +12395,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12424,9 +12424,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12453,9 +12453,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12482,9 +12482,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12511,9 +12511,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12540,9 +12540,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12569,9 +12569,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12598,9 +12598,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12627,9 +12627,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12656,9 +12656,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12685,9 +12685,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12714,9 +12714,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12743,9 +12743,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12772,9 +12772,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12801,9 +12801,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12830,9 +12830,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12859,9 +12859,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12888,9 +12888,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12917,9 +12917,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12946,9 +12946,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12975,9 +12975,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13004,9 +13004,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13033,9 +13033,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13062,9 +13062,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13091,9 +13091,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13120,9 +13120,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13149,9 +13149,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13178,9 +13178,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13207,9 +13207,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13236,9 +13236,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13265,9 +13265,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13294,9 +13294,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13323,9 +13323,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13352,9 +13352,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13381,9 +13381,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13410,9 +13410,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13439,9 +13439,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13468,9 +13468,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13497,9 +13497,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13526,9 +13526,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13555,9 +13555,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13584,9 +13584,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13613,9 +13613,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13642,9 +13642,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13671,9 +13671,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13700,9 +13700,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13729,9 +13729,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13758,9 +13758,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13787,9 +13787,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13816,9 +13816,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13845,9 +13845,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13874,9 +13874,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13903,9 +13903,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13932,9 +13932,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13961,9 +13961,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13990,9 +13990,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14019,9 +14019,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14048,9 +14048,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14077,9 +14077,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14106,9 +14106,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14135,9 +14135,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14164,9 +14164,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14193,9 +14193,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14222,9 +14222,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14251,9 +14251,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14280,9 +14280,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14309,9 +14309,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14338,9 +14338,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14367,9 +14367,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14396,9 +14396,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14425,9 +14425,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14454,9 +14454,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14483,9 +14483,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14512,9 +14512,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14541,9 +14541,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14570,9 +14570,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14599,9 +14599,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14628,9 +14628,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14657,9 +14657,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14686,9 +14686,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14715,9 +14715,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14744,9 +14744,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14773,9 +14773,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14802,9 +14802,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14831,9 +14831,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14860,9 +14860,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14889,9 +14889,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14918,9 +14918,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14947,9 +14947,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14976,9 +14976,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15005,9 +15005,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15034,9 +15034,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15063,9 +15063,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15092,9 +15092,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15121,9 +15121,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15150,9 +15150,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15179,9 +15179,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shl (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shl (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15211,9 +15211,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15240,9 +15240,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15269,9 +15269,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15298,9 +15298,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15327,9 +15327,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15356,9 +15356,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15385,9 +15385,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15414,9 +15414,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15443,9 +15443,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15472,9 +15472,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15501,9 +15501,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15530,9 +15530,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15559,9 +15559,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15588,9 +15588,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15617,9 +15617,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15646,9 +15646,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15675,9 +15675,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15704,9 +15704,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15733,9 +15733,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15762,9 +15762,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15791,9 +15791,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15820,9 +15820,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15849,9 +15849,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15878,9 +15878,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15907,9 +15907,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15936,9 +15936,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15965,9 +15965,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15994,9 +15994,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16023,9 +16023,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16052,9 +16052,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16081,9 +16081,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16110,9 +16110,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16139,9 +16139,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16168,9 +16168,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16197,9 +16197,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16226,9 +16226,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16255,9 +16255,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16284,9 +16284,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16313,9 +16313,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16342,9 +16342,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16371,9 +16371,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16400,9 +16400,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16429,9 +16429,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16458,9 +16458,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16487,9 +16487,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16516,9 +16516,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16545,9 +16545,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16574,9 +16574,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16603,9 +16603,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16632,9 +16632,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16661,9 +16661,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16690,9 +16690,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16719,9 +16719,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16748,9 +16748,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16777,9 +16777,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16806,9 +16806,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16835,9 +16835,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16864,9 +16864,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16893,9 +16893,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16922,9 +16922,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16951,9 +16951,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16980,9 +16980,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17009,9 +17009,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17038,9 +17038,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17067,9 +17067,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17096,9 +17096,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17125,9 +17125,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17154,9 +17154,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17183,9 +17183,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17212,9 +17212,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17241,9 +17241,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17270,9 +17270,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17299,9 +17299,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17328,9 +17328,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17357,9 +17357,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17386,9 +17386,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17415,9 +17415,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17444,9 +17444,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17473,9 +17473,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17502,9 +17502,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17531,9 +17531,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17560,9 +17560,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17589,9 +17589,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17618,9 +17618,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17647,9 +17647,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17676,9 +17676,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17705,9 +17705,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17734,9 +17734,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17763,9 +17763,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17792,9 +17792,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17821,9 +17821,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17850,9 +17850,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17879,9 +17879,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17908,9 +17908,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17937,9 +17937,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17966,9 +17966,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17995,9 +17995,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18024,9 +18024,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18053,9 +18053,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18082,9 +18082,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18111,9 +18111,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18140,9 +18140,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18169,9 +18169,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18198,9 +18198,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18227,9 +18227,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18256,9 +18256,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18285,9 +18285,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18314,9 +18314,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18343,9 +18343,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18372,9 +18372,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18401,9 +18401,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18430,9 +18430,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18459,9 +18459,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18488,9 +18488,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18517,9 +18517,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18546,9 +18546,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18575,9 +18575,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18604,9 +18604,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18633,9 +18633,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18662,9 +18662,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18691,9 +18691,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18720,9 +18720,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18749,9 +18749,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18778,9 +18778,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18807,9 +18807,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18836,9 +18836,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18865,9 +18865,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18894,9 +18894,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18923,9 +18923,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18952,9 +18952,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18981,9 +18981,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19010,9 +19010,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19039,9 +19039,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19068,9 +19068,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19097,9 +19097,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19126,9 +19126,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19155,9 +19155,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19184,9 +19184,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19213,9 +19213,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19242,9 +19242,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19271,9 +19271,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19300,9 +19300,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19329,9 +19329,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19358,9 +19358,9 @@ Module ops. let other := M.alloc (| other |) in M.read (| let β := M.read (| self |) in - M.write (| β, BinOp.Wrap.shr (M.read (| β |)) (M.read (| other |)) |) + M.write (| β, BinOp.Wrap.shr (| M.read (| β |), M.read (| other |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ops/control_flow.v b/CoqOfRust/core/ops/control_flow.v index 6b32ca8da..66aff8cf6 100644 --- a/CoqOfRust/core/ops/control_flow.v +++ b/CoqOfRust/core/ops/control_flow.v @@ -90,7 +90,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -160,7 +160,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -233,7 +233,7 @@ Module ops. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -319,7 +319,7 @@ Module ops. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -368,7 +368,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -456,7 +456,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -495,7 +495,7 @@ Module ops. Value.StructTuple "core::ops::control_flow::ControlFlow::Continue" [ M.read (| output |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -551,7 +551,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -607,7 +607,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -670,7 +670,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_break : @@ -705,7 +705,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_continue : @@ -753,7 +753,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_break_value : @@ -824,7 +824,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_break : @@ -869,7 +869,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_continue_value : @@ -940,7 +940,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_continue : @@ -1017,7 +1017,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_try : @@ -1076,7 +1076,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_try : diff --git a/CoqOfRust/core/ops/coroutine.v b/CoqOfRust/core/ops/coroutine.v index 590a533d3..a2044234f 100644 --- a/CoqOfRust/core/ops/coroutine.v +++ b/CoqOfRust/core/ops/coroutine.v @@ -81,7 +81,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -154,7 +154,7 @@ Module ops. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -240,7 +240,7 @@ Module ops. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -369,7 +369,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -418,7 +418,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -550,7 +550,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -629,7 +629,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -715,7 +715,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -787,7 +787,7 @@ Module ops. M.read (| arg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -854,7 +854,7 @@ Module ops. M.read (| arg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ops/deref.v b/CoqOfRust/core/ops/deref.v index 9703b6870..5b6cada93 100644 --- a/CoqOfRust/core/ops/deref.v +++ b/CoqOfRust/core/ops/deref.v @@ -24,7 +24,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67,7 +67,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -98,7 +98,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ops/function.v b/CoqOfRust/core/ops/function.v index fb056e818..ae600b58e 100644 --- a/CoqOfRust/core/ops/function.v +++ b/CoqOfRust/core/ops/function.v @@ -32,7 +32,7 @@ Module ops. M.get_trait_method (| "core::ops::function::Fn", F, [ A ], "call", [] |), [ M.read (| M.read (| self |) |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -63,7 +63,7 @@ Module ops. M.get_trait_method (| "core::ops::function::Fn", F, [ A ], "call", [] |), [ M.read (| M.read (| self |) |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,7 +97,7 @@ Module ops. M.get_trait_method (| "core::ops::function::Fn", F, [ A ], "call", [] |), [ M.read (| self |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -132,7 +132,7 @@ Module ops. M.get_trait_method (| "core::ops::function::FnMut", F, [ A ], "call_mut", [] |), [ M.read (| M.read (| self |) |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -166,7 +166,7 @@ Module ops. M.get_trait_method (| "core::ops::function::FnMut", F, [ A ], "call_mut", [] |), [ M.read (| self |); M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ops/index_range.v b/CoqOfRust/core/ops/index_range.v index 51ef16a71..d30a443bb 100644 --- a/CoqOfRust/core/ops/index_range.v +++ b/CoqOfRust/core/ops/index_range.v @@ -45,7 +45,7 @@ Module ops. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95,7 +95,7 @@ Module ops. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -128,39 +128,41 @@ Module ops. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::ops::index_range::IndexRange", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::ops::index_range::IndexRange", "start" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::ops::index_range::IndexRange", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::ops::index_range::IndexRange", "end" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -197,7 +199,7 @@ Module ops. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -245,8 +247,9 @@ Module ops. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le (M.read (| start |)) (M.read (| end_ |))) + UnOp.not (| + BinOp.le (| M.read (| start |), M.read (| end_ |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -298,7 +301,7 @@ Module ops. [ ("start", M.read (| start |)); ("end_", M.read (| end_ |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -316,8 +319,8 @@ Module ops. (let end_ := M.alloc (| end_ |) in Value.StructRecord "core::ops::index_range::IndexRange" - [ ("start", Value.Integer 0); ("end_", M.read (| end_ |)) ])) - | _, _ => M.impossible + [ ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| end_ |)) ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_zero_to : M.IsAssociatedFunction Self "zero_to" zero_to. @@ -339,7 +342,7 @@ Module ops. "start" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_start : M.IsAssociatedFunction Self "start" start. @@ -361,7 +364,7 @@ Module ops. "end" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_end_ : M.IsAssociatedFunction Self "end_" end_. @@ -396,7 +399,7 @@ Module ops. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -435,22 +438,24 @@ Module ops. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::ops::index_range::IndexRange", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::ops::index_range::IndexRange", "end" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -493,12 +498,12 @@ Module ops. |), M.call_closure (| M.get_function (| "core::intrinsics::unchecked_add", [ Ty.path "usize" ] |), - [ M.read (| value |); Value.Integer 1 ] + [ M.read (| value |); Value.Integer IntegerKind.Usize 1 ] |) |) in value |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_unchecked : @@ -538,22 +543,24 @@ Module ops. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::ops::index_range::IndexRange", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::ops::index_range::IndexRange", "end" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -591,7 +598,7 @@ Module ops. "end" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -606,7 +613,7 @@ Module ops. |) in value |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_unchecked : @@ -643,9 +650,9 @@ Module ops. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| n |)) - (M.call_closure (| + BinOp.le (| + M.read (| n |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -656,7 +663,8 @@ Module ops. [] |), [ self ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -715,7 +723,7 @@ Module ops. |) in prefix |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_prefix : M.IsAssociatedFunction Self "take_prefix" take_prefix. @@ -751,9 +759,9 @@ Module ops. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| n |)) - (M.call_closure (| + BinOp.le (| + M.read (| n |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -764,7 +772,8 @@ Module ops. [] |), [ self ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -823,7 +832,7 @@ Module ops. |) in suffix |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_suffix : M.IsAssociatedFunction Self "take_suffix" take_suffix. @@ -859,8 +868,8 @@ Module ops. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -871,8 +880,9 @@ Module ops. [] |), [ self ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -895,7 +905,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -929,7 +939,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -982,17 +992,17 @@ Module ops. [] |), [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| n |), + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "len", [] |), [ taken ] - |)) + |) + |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; @@ -1001,7 +1011,7 @@ Module ops. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1045,8 +1055,8 @@ Module ops. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -1057,8 +1067,9 @@ Module ops. [] |), [ self ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1081,7 +1092,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1134,17 +1145,17 @@ Module ops. [] |), [ - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| n |), + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "len", [] |), [ taken ] - |)) + |) + |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; @@ -1153,7 +1164,7 @@ Module ops. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1189,7 +1200,7 @@ Module ops. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ops/range.v b/CoqOfRust/core/ops/range.v index 93241afb0..35b8f7eac 100644 --- a/CoqOfRust/core/ops/range.v +++ b/CoqOfRust/core/ops/range.v @@ -31,7 +31,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -49,7 +49,7 @@ Module ops. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "core::ops::range::RangeFull" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82,7 +82,7 @@ Module ops. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114,7 +114,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -137,7 +137,7 @@ Module ops. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -176,7 +176,7 @@ Module ops. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -230,7 +230,7 @@ Module ops. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -265,7 +265,7 @@ Module ops. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -333,7 +333,7 @@ Module ops. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -373,7 +373,7 @@ Module ops. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -427,7 +427,7 @@ Module ops. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -705,7 +705,7 @@ Module ops. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -746,7 +746,7 @@ Module ops. |), [ M.read (| self |); M.read (| item |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -764,8 +764,8 @@ Module ops. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialOrd", Idx, [ Idx ], "lt", [] |), [ M.SubPointer.get_struct_record_field (| @@ -779,8 +779,9 @@ Module ops. "end" |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -821,7 +822,7 @@ Module ops. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -873,7 +874,7 @@ Module ops. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -915,7 +916,7 @@ Module ops. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -952,7 +953,7 @@ Module ops. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1153,7 +1154,7 @@ Module ops. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1195,7 +1196,7 @@ Module ops. |), [ M.read (| self |); M.read (| item |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -1247,7 +1248,7 @@ Module ops. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1297,7 +1298,7 @@ Module ops. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1337,7 +1338,7 @@ Module ops. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1373,7 +1374,7 @@ Module ops. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1573,7 +1574,7 @@ Module ops. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1614,7 +1615,7 @@ Module ops. |), [ M.read (| self |); M.read (| item |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -1677,7 +1678,7 @@ Module ops. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1749,23 +1750,24 @@ Module ops. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::ops::range::RangeInclusive", "exhausted" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::ops::range::RangeInclusive", "exhausted" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1814,7 +1816,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1883,7 +1885,7 @@ Module ops. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1918,7 +1920,7 @@ Module ops. ("end_", M.read (| end_ |)); ("exhausted", Value.Bool false) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1941,7 +1943,7 @@ Module ops. "core::ops::range::RangeInclusive", "start" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_start : @@ -1964,7 +1966,7 @@ Module ops. "core::ops::range::RangeInclusive", "end" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_end_ : @@ -1999,7 +2001,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -2031,7 +2033,7 @@ Module ops. |), [ M.read (| self |); M.read (| item |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -2058,8 +2060,8 @@ Module ops. |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialOrd", Idx, [ Idx ], "le", [] |), [ M.SubPointer.get_struct_record_field (| @@ -2073,9 +2075,10 @@ Module ops. "end" |) ] - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -2105,16 +2108,16 @@ Module ops. M.read (| let~ exclusive_end := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::RangeInclusive", "end" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ start := M.copy (| @@ -2149,7 +2152,7 @@ Module ops. [ ("start", M.read (| start |)); ("end_", M.read (| exclusive_end |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_slice_range : @@ -2538,7 +2541,7 @@ Module ops. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2597,7 +2600,7 @@ Module ops. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2649,7 +2652,7 @@ Module ops. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2691,7 +2694,7 @@ Module ops. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2728,7 +2731,7 @@ Module ops. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2931,7 +2934,7 @@ Module ops. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2973,7 +2976,7 @@ Module ops. |), [ M.read (| self |); M.read (| item |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -3068,7 +3071,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3172,7 +3175,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3258,7 +3261,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3316,7 +3319,7 @@ Module ops. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -3393,7 +3396,7 @@ Module ops. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3433,7 +3436,7 @@ Module ops. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3499,7 +3502,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ref : @@ -3556,7 +3559,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut : @@ -3640,7 +3643,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map : @@ -3716,7 +3719,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cloned : @@ -3864,7 +3867,7 @@ Module ops. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_contains : @@ -3887,7 +3890,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::ops::range::Bound::Unbounded" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3902,7 +3905,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::ops::range::Bound::Unbounded" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3941,7 +3944,7 @@ Module ops. "start" |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3956,7 +3959,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::ops::range::Bound::Unbounded" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3987,7 +3990,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::ops::range::Bound::Unbounded" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4010,7 +4013,7 @@ Module ops. "end" |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4049,7 +4052,7 @@ Module ops. "start" |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4072,7 +4075,7 @@ Module ops. "end" |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4112,7 +4115,7 @@ Module ops. "start" |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4173,7 +4176,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4205,7 +4208,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::ops::range::Bound::Unbounded" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4228,7 +4231,7 @@ Module ops. "end" |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4308,7 +4311,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4367,7 +4370,7 @@ Module ops. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4403,7 +4406,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.SubPointer.get_tuple_field (| M.read (| self |), 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4418,7 +4421,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.SubPointer.get_tuple_field (| M.read (| self |), 1 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4460,7 +4463,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4475,7 +4478,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::ops::range::Bound::Unbounded" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4507,7 +4510,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::ops::range::Bound::Unbounded" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4532,7 +4535,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4574,7 +4577,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4599,7 +4602,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4641,7 +4644,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4666,7 +4669,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4698,7 +4701,7 @@ Module ops. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::ops::range::Bound::Unbounded" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4723,7 +4726,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ops/try_trait.v b/CoqOfRust/core/ops/try_trait.v index 7098c1824..bd63c03cb 100644 --- a/CoqOfRust/core/ops/try_trait.v +++ b/CoqOfRust/core/ops/try_trait.v @@ -32,7 +32,7 @@ Module ops. |), [ Value.StructTuple "core::ops::try_trait::Yeet" [ M.read (| yeeted |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_yeet : M.IsFunction "core::ops::try_trait::from_yeet" from_yeet. @@ -94,9 +94,9 @@ Module ops. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrap_mut_1 : @@ -150,9 +150,9 @@ Module ops. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrap_mut_2 : @@ -201,7 +201,7 @@ Module ops. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -216,7 +216,7 @@ Module ops. ltac:(M.monadic (let x := M.alloc (| x |) in Value.StructTuple "core::ops::try_trait::NeverShortCircuit" [ M.read (| x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -250,7 +250,7 @@ Module ops. ltac:(M.monadic (let never := M.alloc (| never |) in M.never_to_any (| M.read (| M.match_operator (| never, [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -317,7 +317,7 @@ Module ops. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/option.v b/CoqOfRust/core/option.v index 501245ae1..3da02e4cf 100644 --- a/CoqOfRust/core/option.v +++ b/CoqOfRust/core/option.v @@ -118,7 +118,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -158,7 +158,7 @@ Module option. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -255,7 +255,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -323,7 +323,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -387,7 +387,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -430,7 +430,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_some : @@ -484,7 +484,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_some_and : @@ -502,16 +502,17 @@ Module option. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ T ], "is_some", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_none : @@ -555,7 +556,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ref : @@ -599,7 +600,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut : @@ -680,7 +681,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_pin_ref : @@ -765,7 +766,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_pin_mut : @@ -852,7 +853,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -939,7 +940,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_slice : @@ -989,7 +990,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_expect : @@ -1039,7 +1040,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap : @@ -1082,7 +1083,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or : @@ -1139,7 +1140,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or_else : @@ -1189,7 +1190,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or_default : @@ -1230,15 +1231,16 @@ Module option. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ T ], "is_some", [] |), [ self ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1288,7 +1290,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_unchecked : @@ -1349,7 +1351,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "map" (map T). @@ -1404,7 +1406,7 @@ Module option. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inspect : @@ -1462,7 +1464,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_or : @@ -1532,7 +1534,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_or_else : @@ -1577,7 +1579,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ok_or : @@ -1638,7 +1640,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ok_or_else : @@ -1701,7 +1703,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_deref : @@ -1770,7 +1772,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_deref_mut : @@ -1806,7 +1808,7 @@ Module option. |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -1842,7 +1844,7 @@ Module option. |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_mut : @@ -1884,7 +1886,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_and : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "and" (and T). @@ -1939,7 +1941,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_and_then : @@ -2027,7 +2029,7 @@ Module option. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_filter : @@ -2070,7 +2072,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "or" (or T). @@ -2125,7 +2127,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or_else : @@ -2183,7 +2185,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_xor : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "xor" (xor T). @@ -2229,7 +2231,7 @@ Module option. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -2292,7 +2294,7 @@ Module option. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_or_insert : @@ -2324,7 +2326,7 @@ Module option. M.get_trait_method (| "core::default::Default", T, [], "default", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_or_insert_default : @@ -2404,7 +2406,7 @@ Module option. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_or_insert_with : @@ -2430,7 +2432,7 @@ Module option. |), [ M.read (| self |); Value.StructTuple "core::option::Option::None" [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take : @@ -2499,7 +2501,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_if : @@ -2528,7 +2530,7 @@ Module option. Value.StructTuple "core::option::Option::Some" [ M.read (| value |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace : @@ -2582,7 +2584,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_zip : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "zip" (zip T). @@ -2649,7 +2651,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_zip_with : @@ -2711,7 +2713,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unzip : @@ -2766,7 +2768,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copied : @@ -2820,7 +2822,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cloned : @@ -2873,7 +2875,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copied : @@ -2927,7 +2929,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cloned : @@ -3009,7 +3011,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transpose : @@ -3031,7 +3033,7 @@ Module option. M.get_function (| "core::panicking::panic_str", [] |), [ M.read (| msg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_expect_failed : M.IsFunction "core::option::expect_failed" expect_failed. @@ -3085,7 +3087,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3155,7 +3157,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3183,7 +3185,7 @@ Module option. let Self : Ty.t := Self T in match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3218,7 +3220,7 @@ Module option. Value.StructRecord "core::option::IntoIter" [ ("inner", Value.StructRecord "core::option::Item" [ ("opt", M.read (| self |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3264,7 +3266,7 @@ Module option. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3310,7 +3312,7 @@ Module option. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3342,7 +3344,7 @@ Module option. ltac:(M.monadic (let val := M.alloc (| val |) in Value.StructTuple "core::option::Option::Some" [ M.read (| val |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3377,7 +3379,7 @@ Module option. |), [ M.read (| o |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3413,7 +3415,7 @@ Module option. |), [ M.read (| o |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3457,7 +3459,7 @@ Module option. M.get_trait_method (| "core::option::SpecOptionPartialEq", T, [], "eq", [] |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3534,7 +3536,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3560,8 +3562,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u8" ], "unwrap_or", @@ -3588,10 +3590,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U8 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u8" ], "unwrap_or", @@ -3618,10 +3620,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U8 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3646,8 +3649,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u16" ], "unwrap_or", @@ -3674,10 +3677,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U16 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u16" ], "unwrap_or", @@ -3704,10 +3707,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U16 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3732,8 +3736,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u32" ], "unwrap_or", @@ -3760,10 +3764,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U32 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u32" ], "unwrap_or", @@ -3790,10 +3794,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U32 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3818,8 +3823,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u64" ], "unwrap_or", @@ -3846,10 +3851,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U64 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u64" ], "unwrap_or", @@ -3876,10 +3881,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U64 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3904,8 +3910,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u128" ], "unwrap_or", @@ -3932,10 +3938,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U128 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u128" ], "unwrap_or", @@ -3962,10 +3968,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U128 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3990,8 +3997,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "usize" ], "unwrap_or", @@ -4018,10 +4025,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "usize" ], "unwrap_or", @@ -4048,10 +4055,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4076,8 +4084,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i8" ], "unwrap_or", @@ -4104,10 +4112,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I8 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i8" ], "unwrap_or", @@ -4134,10 +4142,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I8 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4162,8 +4171,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i16" ], "unwrap_or", @@ -4190,10 +4199,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I16 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i16" ], "unwrap_or", @@ -4220,10 +4229,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I16 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4248,8 +4258,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ], "unwrap_or", @@ -4276,10 +4286,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I32 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ], "unwrap_or", @@ -4306,10 +4316,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I32 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4334,8 +4345,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i64" ], "unwrap_or", @@ -4362,10 +4373,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I64 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i64" ], "unwrap_or", @@ -4392,10 +4403,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I64 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4420,8 +4432,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i128" ], "unwrap_or", @@ -4448,10 +4460,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I128 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "i128" ], "unwrap_or", @@ -4478,10 +4490,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.I128 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4506,8 +4519,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "isize" ], "unwrap_or", @@ -4534,10 +4547,10 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Isize 0 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "isize" ], "unwrap_or", @@ -4564,10 +4577,11 @@ Module option. |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Isize 0 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4594,8 +4608,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.apply (Ty.path "*mut") [ T ] ], "unwrap_or_else", @@ -4641,11 +4655,11 @@ Module option. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.apply (Ty.path "*mut") [ T ] ], "unwrap_or_else", @@ -4691,11 +4705,12 @@ Module option. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4721,8 +4736,8 @@ Module option. ltac:(M.monadic (let l := M.alloc (| l |) in let r := M.alloc (| r |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "core::cmp::Ordering" ], "map_or", @@ -4733,7 +4748,7 @@ Module option. |), [ M.read (| M.read (| l |) |); - Value.Integer 2; + Value.Integer IntegerKind.I8 2; M.closure (fun γ => ltac:(M.monadic @@ -4749,11 +4764,11 @@ Module option. M.rust_cast (M.read (| x |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "core::cmp::Ordering" ], "map_or", @@ -4764,7 +4779,7 @@ Module option. |), [ M.read (| M.read (| r |) |); - Value.Integer 2; + Value.Integer IntegerKind.I8 2; M.closure (fun γ => ltac:(M.monadic @@ -4780,11 +4795,12 @@ Module option. M.rust_cast (M.read (| x |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4833,7 +4849,7 @@ Module option. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4877,7 +4893,7 @@ Module option. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4920,7 +4936,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4956,8 +4972,10 @@ Module option. M.alloc (| Value.Tuple [ - Value.Integer 1; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] + Value.Integer IntegerKind.Usize 1; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 1 ] ] |))); fun γ => @@ -4966,14 +4984,16 @@ Module option. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5018,7 +5038,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5106,7 +5126,7 @@ Module option. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5151,7 +5171,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5181,7 +5201,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5228,7 +5248,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5311,7 +5331,7 @@ Module option. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5363,7 +5383,7 @@ Module option. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5408,7 +5428,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5438,7 +5458,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5485,7 +5505,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5571,7 +5591,7 @@ Module option. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5615,7 +5635,7 @@ Module option. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5660,7 +5680,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5690,7 +5710,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5737,7 +5757,7 @@ Module option. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5869,11 +5889,11 @@ Module option. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5907,7 +5927,7 @@ Module option. ltac:(M.monadic (let output := M.alloc (| output |) in Value.StructTuple "core::option::Option::Some" [ M.read (| output |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5953,7 +5973,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5998,7 +6018,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6034,7 +6054,7 @@ Module option. Value.StructTuple "core::option::Option::None" [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6102,7 +6122,7 @@ Module option. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flatten : diff --git a/CoqOfRust/core/panic.v b/CoqOfRust/core/panic.v index f2b5361cc..a71439a46 100644 --- a/CoqOfRust/core/panic.v +++ b/CoqOfRust/core/panic.v @@ -14,7 +14,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -34,7 +34,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -54,7 +54,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -74,7 +74,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -94,7 +94,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -112,7 +112,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -130,7 +130,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -148,7 +148,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -166,7 +166,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -184,7 +184,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -202,7 +202,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -220,7 +220,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -238,7 +238,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -256,7 +256,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -274,7 +274,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -292,7 +292,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -310,7 +310,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -328,7 +328,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -346,7 +346,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -364,7 +364,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -382,7 +382,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -400,7 +400,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -420,7 +420,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -438,7 +438,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -456,7 +456,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -474,7 +474,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -494,7 +494,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : @@ -514,7 +514,7 @@ Module intrinsics. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::panicking::panic_explicit", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cold_explicit : diff --git a/CoqOfRust/core/panic/location.v b/CoqOfRust/core/panic/location.v index 4219c4e08..54a3a2538 100644 --- a/CoqOfRust/core/panic/location.v +++ b/CoqOfRust/core/panic/location.v @@ -48,7 +48,7 @@ Module panic. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106,7 +106,7 @@ Module panic. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -150,7 +150,7 @@ Module panic. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -221,7 +221,7 @@ Module panic. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -329,7 +329,7 @@ Module panic. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -385,40 +385,42 @@ Module panic. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::panic::location::Location", "line" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::panic::location::Location", "line" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::panic::location::Location", "col" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::panic::location::Location", "col" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -544,7 +546,7 @@ Module panic. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -568,7 +570,7 @@ Module panic. | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::intrinsics::caller_location", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -590,7 +592,7 @@ Module panic. "file" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_file : M.IsAssociatedFunction Self "file" file. @@ -612,7 +614,7 @@ Module panic. "line" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_line : M.IsAssociatedFunction Self "line" line. @@ -634,7 +636,7 @@ Module panic. "col" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_column : M.IsAssociatedFunction Self "column" column. @@ -654,7 +656,7 @@ Module panic. "core::panic::location::Location" [ ("file", M.read (| file |)); ("line", M.read (| line |)); ("col", M.read (| col |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_internal_constructor : @@ -746,7 +748,7 @@ Module panic. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/panic/panic_info.v b/CoqOfRust/core/panic/panic_info.v index ca77f4a45..ae2222f84 100644 --- a/CoqOfRust/core/panic/panic_info.v +++ b/CoqOfRust/core/panic/panic_info.v @@ -87,7 +87,7 @@ Module panic. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -136,7 +136,7 @@ Module panic. ("can_unwind", M.read (| can_unwind |)); ("force_no_backtrace", M.read (| force_no_backtrace |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_internal_constructor : @@ -165,7 +165,7 @@ Module panic. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_payload : M.IsAssociatedFunction Self "set_payload" set_payload. @@ -191,7 +191,7 @@ Module panic. "payload" |) |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_payload : M.IsAssociatedFunction Self "payload" payload. @@ -213,7 +213,7 @@ Module panic. "message" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_message : M.IsAssociatedFunction Self "message" message. @@ -241,7 +241,7 @@ Module panic. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_location : M.IsAssociatedFunction Self "location" location. @@ -263,7 +263,7 @@ Module panic. "can_unwind" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_can_unwind : M.IsAssociatedFunction Self "can_unwind" can_unwind. @@ -285,7 +285,7 @@ Module panic. "force_no_backtrace" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_force_no_backtrace : @@ -858,7 +858,7 @@ Module panic. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/panic/unwind_safe.v b/CoqOfRust/core/panic/unwind_safe.v index 445a5bfc2..348f5e7ba 100644 --- a/CoqOfRust/core/panic/unwind_safe.v +++ b/CoqOfRust/core/panic/unwind_safe.v @@ -282,7 +282,7 @@ Module panic. "core::panic::unwind_safe::AssertUnwindSafe", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -315,7 +315,7 @@ Module panic. "core::panic::unwind_safe::AssertUnwindSafe", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -365,7 +365,7 @@ Module panic. Value.Tuple [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -432,7 +432,7 @@ Module panic. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -466,7 +466,7 @@ Module panic. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -552,7 +552,7 @@ Module panic. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -564,7 +564,7 @@ Module panic. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -655,14 +655,14 @@ Module panic. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); M.read (| cx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -692,7 +692,7 @@ Module panic. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/panicking.v b/CoqOfRust/core/panicking.v index 286437797..52acbd1e5 100644 --- a/CoqOfRust/core/panicking.v +++ b/CoqOfRust/core/panicking.v @@ -78,7 +78,7 @@ Module panicking. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_fmt : M.IsFunction "core::panicking::panic_fmt" panic_fmt. @@ -152,7 +152,7 @@ Module panicking. M.get_function (| "core::panicking::panic_nounwind_fmt.runtime", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_nounwind_fmt : @@ -240,7 +240,7 @@ Module panicking. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_runtime : M.IsFunction "core::panicking::panic_nounwind_fmt::runtime" runtime. @@ -268,7 +268,7 @@ Module panicking. M.get_function (| "core::panicking::panic_fmt", [] |), [ M.read (| fmt |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comptime : M.IsFunction "core::panicking::panic_nounwind_fmt::comptime" comptime. @@ -299,7 +299,7 @@ Module panicking. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic : M.IsFunction "core::panicking::panic" panic. @@ -324,7 +324,7 @@ Module panicking. Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_nounwind : M.IsFunction "core::panicking::panic_nounwind" panic_nounwind. @@ -349,7 +349,7 @@ Module panicking. Value.Bool true ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_nounwind_nobacktrace : @@ -372,7 +372,7 @@ Module panicking. |), [ expr ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_str : M.IsFunction "core::panicking::panic_str" panic_str. @@ -393,7 +393,7 @@ Module panicking. |), [ Value.String "explicit panic" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_explicit : M.IsFunction "core::panicking::panic_explicit" panic_explicit. @@ -439,7 +439,7 @@ Module panicking. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_unreachable_display : @@ -482,7 +482,7 @@ Module panicking. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_display : M.IsFunction "core::panicking::panic_display" panic_display. @@ -564,7 +564,7 @@ Module panicking. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_bounds_check : @@ -665,10 +665,10 @@ Module panicking. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 4; + Value.Integer IntegerKind.U32 4; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -680,10 +680,10 @@ Module panicking. [] |), [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 4; + Value.Integer IntegerKind.U32 4; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -701,7 +701,7 @@ Module panicking. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_misaligned_pointer_dereference : @@ -723,7 +723,7 @@ Module panicking. M.get_function (| "core::panicking::panic_nounwind", [] |), [ M.read (| Value.String "panic in a function that cannot unwind" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_cannot_unwind : @@ -743,7 +743,7 @@ Module panicking. M.get_function (| "core::panicking::panic_nounwind_nobacktrace", [] |), [ M.read (| Value.String "panic in a destructor during cleanup" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_panic_in_cleanup : @@ -811,7 +811,7 @@ Module panicking. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_const_panic_fmt : M.IsFunction "core::panicking::const_panic_fmt" const_panic_fmt. @@ -879,7 +879,7 @@ Module panicking. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -921,7 +921,7 @@ Module panicking. M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_assert_failed : M.IsFunction "core::panicking::assert_failed" assert_failed. @@ -964,7 +964,7 @@ Module panicking. M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_assert_matches_failed : @@ -1005,7 +1005,7 @@ Module panicking. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1230,7 +1230,7 @@ Module panicking. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_assert_failed_inner : diff --git a/CoqOfRust/core/pin.v b/CoqOfRust/core/pin.v index 9f1a62fbf..f1aa2d24a 100644 --- a/CoqOfRust/core/pin.v +++ b/CoqOfRust/core/pin.v @@ -46,7 +46,7 @@ Module pin. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104,7 +104,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -150,7 +150,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -217,7 +217,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -263,7 +263,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -309,7 +309,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -355,7 +355,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -401,7 +401,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -460,7 +460,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -509,7 +509,7 @@ Module pin. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -545,7 +545,7 @@ Module pin. |), [ M.read (| pointer |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (P : Ty.t), M.IsAssociatedFunction (Self P) "new" (new P). @@ -562,7 +562,7 @@ Module pin. ltac:(M.monadic (let pin := M.alloc (| pin |) in M.read (| M.SubPointer.get_struct_record_field (| pin, "core::pin::Pin", "pointer" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -580,7 +580,7 @@ Module pin. ltac:(M.monadic (let pointer := M.alloc (| pointer |) in Value.StructRecord "core::pin::Pin" [ ("pointer", M.read (| pointer |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -618,7 +618,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ref : @@ -637,7 +637,7 @@ Module pin. ltac:(M.monadic (let pin := M.alloc (| pin |) in M.read (| M.SubPointer.get_struct_record_field (| pin, "core::pin::Pin", "pointer" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner_unchecked : @@ -674,7 +674,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut : @@ -713,7 +713,7 @@ Module pin. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set : forall (P : Ty.t), M.IsAssociatedFunction (Self P) "set" (set P). @@ -777,7 +777,7 @@ Module pin. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_unchecked : @@ -798,7 +798,7 @@ Module pin. M.read (| M.SubPointer.get_struct_record_field (| self, "core::pin::Pin", "pointer" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_ref : @@ -825,7 +825,7 @@ Module pin. |), [ M.read (| r |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_static_ref : @@ -856,7 +856,7 @@ Module pin. M.SubPointer.get_struct_record_field (| self, "core::pin::Pin", "pointer" |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_ref : @@ -880,7 +880,7 @@ Module pin. M.read (| M.SubPointer.get_struct_record_field (| self, "core::pin::Pin", "pointer" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -901,7 +901,7 @@ Module pin. M.read (| M.SubPointer.get_struct_record_field (| self, "core::pin::Pin", "pointer" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_unchecked_mut : @@ -966,7 +966,7 @@ Module pin. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_unchecked_mut : @@ -993,7 +993,7 @@ Module pin. |), [ M.read (| r |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_static_mut : @@ -1057,7 +1057,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_deref_mut : @@ -1100,7 +1100,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1144,7 +1144,7 @@ Module pin. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1194,7 +1194,7 @@ Module pin. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1232,7 +1232,7 @@ Module pin. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1270,7 +1270,7 @@ Module pin. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ptr/alignment.v b/CoqOfRust/core/ptr/alignment.v index 9bc6391e1..d6861e9ee 100644 --- a/CoqOfRust/core/ptr/alignment.v +++ b/CoqOfRust/core/ptr/alignment.v @@ -36,7 +36,7 @@ Module ptr. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89,7 +89,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -126,7 +126,7 @@ Module ptr. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -170,7 +170,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function__alignment_can_be_structurally_matched : @@ -185,7 +185,12 @@ Module ptr. (* Ty.path "core::ptr::alignment::Alignment" *) Definition value_MIN : Value.t := M.run - ltac:(M.monadic (* thir failed to compile: Any { .. } *) (M.alloc (| Value.Tuple [] |))). + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::ptr::alignment::Alignment" + [ Value.StructTuple "core::ptr::alignment::AlignmentEnum64::_Align1Shl0" [] ] + |))). Axiom AssociatedConstant_value_MIN : M.IsAssociatedConstant Self "value_MIN" value_MIN. @@ -207,7 +212,7 @@ Module ptr. |), [ M.call_closure (| M.get_function (| "core::mem::align_of", [ T ] |), [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_of : M.IsAssociatedFunction Self "of" of. @@ -266,7 +271,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -306,15 +311,16 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "is_power_of_two", [] |), [ M.read (| align |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -370,7 +376,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -390,7 +396,7 @@ Module ptr. (M.read (| M.SubPointer.get_struct_tuple_field (| self, "core::ptr::alignment::Alignment", 0 |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_usize : M.IsAssociatedFunction Self "as_usize" as_usize. @@ -423,7 +429,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_nonzero : M.IsAssociatedFunction Self "as_nonzero" as_nonzero. @@ -455,7 +461,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_log2 : M.IsAssociatedFunction Self "log2" log2. @@ -471,8 +477,8 @@ Module ptr. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "unchecked_sub", [] |), [ M.call_closure (| @@ -483,10 +489,11 @@ Module ptr. |), [ M.read (| self |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mask : M.IsAssociatedFunction Self "mask" mask. @@ -572,7 +579,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -618,7 +625,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -666,7 +673,7 @@ Module ptr. Value.StructTuple "core::num::error::TryFromIntError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -699,7 +706,7 @@ Module ptr. |), [ M.read (| align |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -731,7 +738,7 @@ Module ptr. |), [ M.read (| align |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -799,7 +806,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -838,7 +845,7 @@ Module ptr. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -885,7 +892,7 @@ Module ptr. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -907,7 +914,7 @@ Module ptr. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "core::ptr::alignment::MIN" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1033,7 +1040,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1086,9 +1093,9 @@ Module ptr. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1120,7 +1127,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1323,7 +1330,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1376,9 +1383,9 @@ Module ptr. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1410,7 +1417,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1773,7 +1780,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1826,9 +1833,9 @@ Module ptr. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1860,7 +1867,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ptr/const_ptr.v b/CoqOfRust/core/ptr/const_ptr.v index 546ea90df..43445d411 100644 --- a/CoqOfRust/core/ptr/const_ptr.v +++ b/CoqOfRust/core/ptr/const_ptr.v @@ -49,7 +49,7 @@ Module ptr. M.get_associated_function (| Self, "runtime_impl.is_null", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_null : @@ -68,7 +68,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast : @@ -100,7 +100,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_metadata_of : @@ -119,7 +119,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast_mut : @@ -141,7 +141,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_bits : @@ -163,7 +163,7 @@ Module ptr. ltac:(M.monadic (let bits := M.alloc (| bits |) in M.rust_cast (M.read (| bits |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bits : @@ -200,7 +200,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_addr : @@ -228,7 +228,7 @@ Module ptr. |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_expose_addr : @@ -285,7 +285,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_addr : @@ -333,7 +333,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_addr : @@ -366,7 +366,7 @@ Module ptr. [ M.read (| self |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_raw_parts : @@ -414,7 +414,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ref : @@ -467,7 +467,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_ref : @@ -497,7 +497,7 @@ Module ptr. |), [ M.read (| self |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_offset : @@ -545,7 +545,7 @@ Module ptr. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_offset : @@ -572,7 +572,7 @@ Module ptr. M.get_function (| "core::intrinsics::arith_offset", [ T ] |), [ M.read (| self |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_offset : @@ -619,7 +619,7 @@ Module ptr. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_byte_offset : @@ -662,7 +662,7 @@ Module ptr. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mask : @@ -701,15 +701,20 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.lt (Value.Integer 0) (M.read (| pointee_size |)), + UnOp.not (| + LogicalOp.and (| + BinOp.lt (| + Value.Integer IntegerKind.Usize 0, + M.read (| pointee_size |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| pointee_size |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))))) - |)) + (BinOp.le (| + M.read (| pointee_size |), + M.rust_cast + (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -736,7 +741,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_offset_from : @@ -781,7 +786,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_offset_from : @@ -877,15 +882,20 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.lt (Value.Integer 0) (M.read (| pointee_size |)), + UnOp.not (| + LogicalOp.and (| + BinOp.lt (| + Value.Integer IntegerKind.Usize 0, + M.read (| pointee_size |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| pointee_size |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::num::MAX" |) |))))) - |)) + (BinOp.le (| + M.read (| pointee_size |), + M.rust_cast + (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -912,7 +922,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sub_ptr : @@ -949,7 +959,10 @@ Module ptr. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 2 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 2 + |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic @@ -957,12 +970,12 @@ Module ptr. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ BinOp.Pure.eq (M.read (| other |)) (Value.Integer 1) ] + [ BinOp.eq (| M.read (| other |), Value.Integer IntegerKind.U8 1 |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_guaranteed_eq : @@ -1016,12 +1029,12 @@ Module ptr. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ UnOp.Pure.not (M.read (| eq |)) ] + [ UnOp.not (| M.read (| eq |) |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_guaranteed_ne : @@ -1051,7 +1064,7 @@ Module ptr. |), [ M.read (| self |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add : @@ -1099,7 +1112,7 @@ Module ptr. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_add : @@ -1155,7 +1168,8 @@ Module ptr. "core::intrinsics::unchecked_sub", [ Ty.path "isize" ] |), - [ Value.Integer 0; M.rust_cast (M.read (| count |)) ] + [ Value.Integer IntegerKind.Isize 0; M.rust_cast (M.read (| count |)) + ] |) ] |) @@ -1163,7 +1177,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sub : @@ -1211,7 +1225,7 @@ Module ptr. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_sub : @@ -1241,7 +1255,7 @@ Module ptr. |), [ M.read (| self |); M.rust_cast (M.read (| count |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : @@ -1288,7 +1302,7 @@ Module ptr. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_byte_add : @@ -1324,7 +1338,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : @@ -1371,7 +1385,7 @@ Module ptr. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_byte_sub : @@ -1397,7 +1411,7 @@ Module ptr. M.get_function (| "core::ptr::read", [ T ] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read : @@ -1423,7 +1437,7 @@ Module ptr. M.get_function (| "core::ptr::read_volatile", [ T ] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_volatile : @@ -1449,7 +1463,7 @@ Module ptr. M.get_function (| "core::ptr::read_unaligned", [ T ] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_unaligned : @@ -1477,7 +1491,7 @@ Module ptr. M.get_function (| "core::intrinsics::copy", [ T ] |), [ M.read (| self |); M.read (| dest |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_to : @@ -1505,7 +1519,7 @@ Module ptr. M.get_function (| "core::intrinsics::copy_nonoverlapping", [ T ] |), [ M.read (| self |); M.read (| dest |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_to_nonoverlapping : @@ -1550,15 +1564,16 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "is_power_of_two", [] |), [ M.read (| align |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1603,7 +1618,7 @@ Module ptr. |) in ret |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align_offset : @@ -1635,7 +1650,7 @@ Module ptr. M.call_closure (| M.get_function (| "core::mem::align_of", [ T ] |), [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_aligned : @@ -1683,15 +1698,16 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "is_power_of_two", [] |), [ M.read (| align |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1761,7 +1777,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_aligned_to : @@ -1791,7 +1807,7 @@ Module ptr. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -1809,17 +1825,18 @@ Module ptr. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") [ Ty.apply (Ty.path "slice") [ T ] ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -1838,7 +1855,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -1871,7 +1888,7 @@ Module ptr. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_unchecked : @@ -1944,7 +1961,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_slice : @@ -1967,8 +1984,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2076,7 +2093,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2117,7 +2134,7 @@ Module ptr. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2132,8 +2149,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2148,8 +2165,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2164,8 +2181,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2180,8 +2197,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ptr/metadata.v b/CoqOfRust/core/ptr/metadata.v index 9ecc02484..709e84e92 100644 --- a/CoqOfRust/core/ptr/metadata.v +++ b/CoqOfRust/core/ptr/metadata.v @@ -36,7 +36,7 @@ Module ptr. "metadata" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_metadata : M.IsFunction "core::ptr::metadata::metadata" metadata. @@ -77,7 +77,7 @@ Module ptr. "const_ptr" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_raw_parts : @@ -120,7 +120,7 @@ Module ptr. "mut_ptr" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_raw_parts_mut : @@ -168,7 +168,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -241,7 +241,7 @@ Module ptr. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size_of : @@ -289,7 +289,7 @@ Module ptr. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align_of : @@ -334,7 +334,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_layout : @@ -424,7 +424,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -478,7 +478,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -538,7 +538,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -597,7 +597,7 @@ Module ptr. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -639,7 +639,7 @@ Module ptr. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -680,7 +680,7 @@ Module ptr. M.read (| hasher |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ptr/mod.v b/CoqOfRust/core/ptr/mod.v index 50a807424..9813a5152 100644 --- a/CoqOfRust/core/ptr/mod.v +++ b/CoqOfRust/core/ptr/mod.v @@ -20,7 +20,7 @@ Module ptr. M.get_function (| "core::ptr::drop_in_place", [ T ] |), [ M.read (| to_drop |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_drop_in_place : M.IsFunction "core::ptr::drop_in_place" drop_in_place. @@ -39,12 +39,12 @@ Module ptr. [ M.call_closure (| M.get_function (| "core::ptr::invalid", [ Ty.tuple [] ] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] |); Value.Tuple [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_null : M.IsFunction "core::ptr::null" null. @@ -63,12 +63,12 @@ Module ptr. [ M.call_closure (| M.get_function (| "core::ptr::invalid_mut", [ Ty.tuple [] ] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] |); Value.Tuple [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_null_mut : M.IsFunction "core::ptr::null_mut" null_mut. @@ -95,7 +95,7 @@ Module ptr. |), [ M.read (| addr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_invalid : M.IsFunction "core::ptr::invalid" invalid. @@ -122,7 +122,7 @@ Module ptr. |), [ M.read (| addr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_invalid_mut : M.IsFunction "core::ptr::invalid_mut" invalid_mut. @@ -142,7 +142,7 @@ Module ptr. ltac:(M.monadic (let addr := M.alloc (| addr |) in M.rust_cast (M.read (| addr |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_exposed_addr : M.IsFunction "core::ptr::from_exposed_addr" from_exposed_addr. @@ -162,7 +162,7 @@ Module ptr. ltac:(M.monadic (let addr := M.alloc (| addr |) in M.rust_cast (M.read (| addr |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_exposed_addr_mut : @@ -179,7 +179,7 @@ Module ptr. ltac:(M.monadic (let r := M.alloc (| r |) in M.read (| r |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_ref : M.IsFunction "core::ptr::from_ref" from_ref. @@ -195,7 +195,7 @@ Module ptr. ltac:(M.monadic (let r := M.alloc (| r |) in M.read (| r |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_mut : M.IsFunction "core::ptr::from_mut" from_mut. @@ -228,7 +228,7 @@ Module ptr. M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_from_raw_parts : @@ -262,7 +262,7 @@ Module ptr. M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_from_raw_parts_mut : @@ -318,7 +318,7 @@ Module ptr. |), [ tmp ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -329,7 +329,7 @@ Module ptr. [ (* MutToConstPointer *) M.pointer_coercion (M.read (| y |)); M.read (| x |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -347,13 +347,13 @@ Module ptr. [ tmp ] |); M.read (| y |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_swap : M.IsFunction "core::ptr::swap" swap. @@ -482,19 +482,20 @@ Module ptr. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_function (| "core::mem::align_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "usize" ] |), [] - |)), + |) + |), ltac:(M.monadic (LogicalOp.or (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "is_power_of_two", @@ -506,23 +507,25 @@ Module ptr. [] |) ] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.call_closure (| + (BinOp.gt (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.mul (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "usize" ] |), [] - |)) - (Value.Integer 2)))) + |), + Value.Integer IntegerKind.Usize 2 + |) + |))) |))) |) |)) in @@ -538,34 +541,36 @@ Module ptr. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_function (| "core::mem::align_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::align_of", [ Ty.path "usize" ] |), [] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + (BinOp.eq (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "usize" ] |), [] - |))) - (Value.Integer 0))) + |) + |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -600,22 +605,22 @@ Module ptr. |) in let~ count := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| count |)) - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.mul (| + M.read (| count |), + BinOp.Wrap.div (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "usize" ] |), [] - |))) + |) + |) + |) |) in M.return_ (| M.call_closure (| @@ -642,34 +647,36 @@ Module ptr. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_function (| "core::mem::align_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::align_of", [ Ty.path "u8" ] |), [] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + (BinOp.eq (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u8" ] |), [] - |))) - (Value.Integer 0))) + |) + |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -704,22 +711,22 @@ Module ptr. |) in let~ count := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| count |)) - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.mul (| + M.read (| count |), + BinOp.Wrap.div (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "u8" ] |), [] - |))) + |) + |) + |) |) in M.return_ (| M.call_closure (| @@ -748,7 +755,7 @@ Module ptr. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_swap_nonoverlapping : @@ -801,7 +808,7 @@ Module ptr. [ M.read (| y |) ] |) |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in M.loop (| ltac:(M.monadic (M.match_operator (| @@ -810,7 +817,7 @@ Module ptr. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| i |)) (M.read (| count |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| i |), M.read (| count |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ x := M.alloc (| @@ -852,7 +859,7 @@ Module ptr. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -870,7 +877,7 @@ Module ptr. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_swap_nonoverlapping_simple_untyped : @@ -941,7 +948,7 @@ Module ptr. M.alloc (| Value.Tuple [] |) in src |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_replace : M.IsFunction "core::ptr::replace" replace. @@ -1028,7 +1035,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read : M.IsFunction "core::ptr::read" read. @@ -1095,7 +1102,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read_unaligned : M.IsFunction "core::ptr::read_unaligned" read_unaligned. @@ -1167,7 +1174,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_write : M.IsFunction "core::ptr::write" write. @@ -1211,7 +1218,7 @@ Module ptr. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_write_unaligned : M.IsFunction "core::ptr::write_unaligned" write_unaligned. @@ -1272,7 +1279,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read_volatile : M.IsFunction "core::ptr::read_volatile" read_volatile. @@ -1336,7 +1343,7 @@ Module ptr. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_write_volatile : M.IsFunction "core::ptr::write_volatile" write_volatile. @@ -1545,7 +1552,7 @@ Module ptr. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "usize" ] |), - [ M.read (| a |); Value.Integer 1 ] + [ M.read (| a |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -1556,7 +1563,9 @@ Module ptr. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| stride |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| stride |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1564,7 +1573,7 @@ Module ptr. M.read (| let~ p_mod_a := M.alloc (| - BinOp.Pure.bit_and (M.read (| addr |)) (M.read (| a_minus_one |)) + BinOp.bit_and (M.read (| addr |)) (M.read (| a_minus_one |)) |) in M.return_ (| M.read (| @@ -1576,16 +1585,17 @@ Module ptr. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| p_mod_a |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| p_mod_a |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) ] @@ -1614,7 +1624,10 @@ Module ptr. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| a_mod_stride |)) (Value.Integer 0) + BinOp.eq (| + M.read (| a_mod_stride |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1623,7 +1636,7 @@ Module ptr. M.read (| let~ aligned_address := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.call_closure (| M.get_function (| "core::intrinsics::wrapping_add", @@ -1636,7 +1649,7 @@ Module ptr. "core::intrinsics::wrapping_sub", [ Ty.path "usize" ] |), - [ Value.Integer 0; M.read (| a |) ] + [ Value.Integer IntegerKind.Usize 0; M.read (| a |) ] |)) |) in let~ byte_offset := @@ -1653,7 +1666,7 @@ Module ptr. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), - [ BinOp.Pure.lt (M.read (| byte_offset |)) (M.read (| a |)) ] + [ BinOp.lt (| M.read (| byte_offset |), M.read (| a |) |) ] |) |) in let~ addr_mod_stride := @@ -1676,9 +1689,10 @@ Module ptr. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| addr_mod_stride |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| addr_mod_stride |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1728,7 +1742,7 @@ Module ptr. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| x |)) (M.read (| y |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| x |), M.read (| y |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in x)); @@ -1740,7 +1754,7 @@ Module ptr. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unchecked_shl", [ Ty.path "usize" ] |), - [ Value.Integer 1; M.read (| gcdpow |) ] + [ Value.Integer IntegerKind.Usize 1; M.read (| gcdpow |) ] |) |) in let~ _ := @@ -1752,17 +1766,18 @@ Module ptr. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| addr |)) (M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "usize" ] |), - [ M.read (| gcd |); Value.Integer 1 ] - |))) - (Value.Integer 0) + [ M.read (| gcd |); Value.Integer IntegerKind.Usize 1 ] + |)), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1786,7 +1801,7 @@ Module ptr. "core::intrinsics::unchecked_sub", [ Ty.path "usize" ] |), - [ M.read (| a2 |); Value.Integer 1 ] + [ M.read (| a2 |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ s2 := @@ -1797,7 +1812,7 @@ Module ptr. [ Ty.path "usize" ] |), [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| stride |)) (M.read (| a_minus_one |)); M.read (| gcdpow |) @@ -1819,7 +1834,7 @@ Module ptr. [ Ty.path "usize" ] |), [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| addr |)) (M.read (| a_minus_one |)); M.read (| gcdpow |) @@ -1829,7 +1844,7 @@ Module ptr. |) |) in M.return_ (| - BinOp.Pure.bit_and + BinOp.bit_and (M.call_closure (| M.get_function (| "core::intrinsics::wrapping_mul", @@ -1854,7 +1869,7 @@ Module ptr. M.get_constant (| "core::num::MAX" |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_align_offset : M.IsFunction "core::ptr::align_offset" align_offset. @@ -1914,7 +1929,7 @@ Module ptr. M.alloc (| M.call_closure (| M.get_function (| "core::intrinsics::unchecked_sub", [ Ty.path "usize" ] |), - [ M.read (| m |); Value.Integer 1 ] + [ M.read (| m |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ inverse := @@ -1924,18 +1939,19 @@ Module ptr. M.SubPointer.get_array_field (| M.get_constant (| "core::ptr::align_offset::mod_inv::INV_TABLE_MOD_16" |), M.alloc (| - BinOp.Wrap.shr - (BinOp.Pure.bit_and + BinOp.Wrap.shr (| + BinOp.bit_and (M.read (| x |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::ptr::align_offset::mod_inv::INV_TABLE_MOD" |) - |)) - (Value.Integer 1))) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |)), + Value.Integer IntegerKind.I32 1 + |) |) |) |)) @@ -1954,7 +1970,7 @@ Module ptr. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| mod_gate |)) (M.read (| m |)) + BinOp.ge (| M.read (| mod_gate |), M.read (| m |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1975,7 +1991,7 @@ Module ptr. [ Ty.path "usize" ] |), [ - Value.Integer 2; + Value.Integer IntegerKind.Usize 2; M.call_closure (| M.get_function (| "core::intrinsics::wrapping_mul", @@ -2026,9 +2042,9 @@ Module ptr. ] |))) |) in - M.alloc (| BinOp.Pure.bit_and (M.read (| inverse |)) (M.read (| m_minus_one |)) |) + M.alloc (| BinOp.bit_and (M.read (| inverse |)) (M.read (| m_minus_one |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mod_inv : M.IsFunction "core::ptr::align_offset::mod_inv" mod_inv. @@ -2040,19 +2056,19 @@ Module ptr. (M.alloc (| Value.Array [ - Value.Integer 1; - Value.Integer 11; - Value.Integer 13; - Value.Integer 7; - Value.Integer 9; - Value.Integer 3; - Value.Integer 5; - Value.Integer 15 + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 15 ] |))). Definition value_INV_TABLE_MOD : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 16 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). End mod_inv. End align_offset. @@ -2067,8 +2083,8 @@ Module ptr. ltac:(M.monadic (let a := M.alloc (| a |) in let b := M.alloc (| b |) in - BinOp.Pure.eq (M.read (| a |)) (M.read (| b |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| a |), M.read (| b |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_eq : M.IsFunction "core::ptr::eq" eq. @@ -2084,8 +2100,8 @@ Module ptr. ltac:(M.monadic (let p := M.alloc (| p |) in let q := M.alloc (| q |) in - BinOp.Pure.eq (M.rust_cast (M.read (| p |))) (M.rust_cast (M.read (| q |))))) - | _, _ => M.impossible + BinOp.eq (| M.rust_cast (M.read (| p |)), M.rust_cast (M.read (| q |)) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_addr_eq : M.IsFunction "core::ptr::addr_eq" addr_eq. @@ -2118,7 +2134,7 @@ Module ptr. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_hash : M.IsFunction "core::ptr::hash" hash. @@ -2138,16 +2154,17 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_trait_method (| "core::marker::FnPtr", F, [], "addr", [] |), [ M.read (| M.read (| self |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "core::marker::FnPtr", F, [], "addr", [] |), [ M.read (| M.read (| other |) |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2205,7 +2222,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2255,7 +2272,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2293,7 +2310,7 @@ Module ptr. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2331,7 +2348,7 @@ Module ptr. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2369,7 +2386,7 @@ Module ptr. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ptr/mut_ptr.v b/CoqOfRust/core/ptr/mut_ptr.v index b8eb75e71..04c054145 100644 --- a/CoqOfRust/core/ptr/mut_ptr.v +++ b/CoqOfRust/core/ptr/mut_ptr.v @@ -49,7 +49,7 @@ Module ptr. M.get_associated_function (| Self, "runtime_impl.is_null", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_null : @@ -68,7 +68,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast : @@ -100,7 +100,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_metadata_of : @@ -119,7 +119,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (* MutToConstPointer *) (M.pointer_coercion (M.read (| self |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast_const : @@ -141,7 +141,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_bits : @@ -163,7 +163,7 @@ Module ptr. ltac:(M.monadic (let bits := M.alloc (| bits |) in M.rust_cast (M.read (| bits |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_bits : @@ -200,7 +200,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_addr : @@ -228,7 +228,7 @@ Module ptr. |), [ M.read (| self |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_expose_addr : @@ -285,7 +285,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_addr : @@ -333,7 +333,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_addr : @@ -366,7 +366,7 @@ Module ptr. [ (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_raw_parts : @@ -414,7 +414,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ref : @@ -467,7 +467,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_ref : @@ -499,7 +499,7 @@ Module ptr. |), [ M.read (| self |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_offset : @@ -547,7 +547,7 @@ Module ptr. (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_offset : @@ -576,7 +576,7 @@ Module ptr. [ (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)); M.read (| count |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_offset : @@ -623,7 +623,7 @@ Module ptr. (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_byte_offset : @@ -677,7 +677,7 @@ Module ptr. (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mask : @@ -725,7 +725,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut : @@ -778,7 +778,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_mut : @@ -811,7 +811,7 @@ Module ptr. M.rust_cast (* MutToConstPointer *) (M.pointer_coercion (M.read (| other |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_guaranteed_eq : @@ -844,7 +844,7 @@ Module ptr. M.rust_cast (* MutToConstPointer *) (M.pointer_coercion (M.read (| other |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_guaranteed_ne : @@ -874,7 +874,7 @@ Module ptr. M.read (| origin |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_offset_from : @@ -919,7 +919,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_offset_from : @@ -949,7 +949,7 @@ Module ptr. M.read (| origin |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sub_ptr : @@ -979,7 +979,7 @@ Module ptr. |), [ M.read (| self |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add : @@ -1027,7 +1027,7 @@ Module ptr. (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_add : @@ -1083,7 +1083,8 @@ Module ptr. "core::intrinsics::unchecked_sub", [ Ty.path "isize" ] |), - [ Value.Integer 0; M.rust_cast (M.read (| count |)) ] + [ Value.Integer IntegerKind.Isize 0; M.rust_cast (M.read (| count |)) + ] |) ] |) @@ -1091,7 +1092,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sub : @@ -1139,7 +1140,7 @@ Module ptr. (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_sub : @@ -1169,7 +1170,7 @@ Module ptr. |), [ M.read (| self |); M.rust_cast (M.read (| count |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_add : @@ -1216,7 +1217,7 @@ Module ptr. (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_byte_add : @@ -1252,7 +1253,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_sub : @@ -1299,7 +1300,7 @@ Module ptr. (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wrapping_byte_sub : @@ -1325,7 +1326,7 @@ Module ptr. M.get_function (| "core::ptr::read", [ T ] |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read : @@ -1351,7 +1352,7 @@ Module ptr. M.get_function (| "core::ptr::read_volatile", [ T ] |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_volatile : @@ -1377,7 +1378,7 @@ Module ptr. M.get_function (| "core::ptr::read_unaligned", [ T ] |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_unaligned : @@ -1409,7 +1410,7 @@ Module ptr. M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_to : @@ -1441,7 +1442,7 @@ Module ptr. M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_to_nonoverlapping : @@ -1469,7 +1470,7 @@ Module ptr. M.get_function (| "core::intrinsics::copy", [ T ] |), [ M.read (| src |); M.read (| self |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_from : @@ -1497,7 +1498,7 @@ Module ptr. M.get_function (| "core::intrinsics::copy_nonoverlapping", [ T ] |), [ M.read (| src |); M.read (| self |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_from_nonoverlapping : @@ -1520,7 +1521,7 @@ Module ptr. M.get_function (| "core::ptr::drop_in_place", [ T ] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drop_in_place : @@ -1547,7 +1548,7 @@ Module ptr. M.get_function (| "core::ptr::write", [ T ] |), [ M.read (| self |); M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write : @@ -1575,7 +1576,7 @@ Module ptr. M.get_function (| "core::intrinsics::write_bytes", [ T ] |), [ M.read (| self |); M.read (| val |); M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_bytes : @@ -1602,7 +1603,7 @@ Module ptr. M.get_function (| "core::ptr::write_volatile", [ T ] |), [ M.read (| self |); M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_volatile : @@ -1629,7 +1630,7 @@ Module ptr. M.get_function (| "core::ptr::write_unaligned", [ T ] |), [ M.read (| self |); M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_unaligned : @@ -1656,7 +1657,7 @@ Module ptr. M.get_function (| "core::ptr::replace", [ T ] |), [ M.read (| self |); M.read (| src |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace : @@ -1683,7 +1684,7 @@ Module ptr. M.get_function (| "core::ptr::swap", [ T ] |), [ M.read (| self |); M.read (| with_ |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : @@ -1731,15 +1732,16 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "is_power_of_two", [] |), [ M.read (| align |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1787,7 +1789,7 @@ Module ptr. |) in ret |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align_offset : @@ -1815,7 +1817,7 @@ Module ptr. M.call_closure (| M.get_function (| "core::mem::align_of", [ T ] |), [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_aligned : @@ -1863,15 +1865,16 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "is_power_of_two", [] |), [ M.read (| align |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1941,7 +1944,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_aligned_to : @@ -1971,7 +1974,7 @@ Module ptr. |), [ (* MutToConstPointer *) M.pointer_coercion (M.read (| self |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -1989,17 +1992,18 @@ Module ptr. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -2031,10 +2035,10 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| mid |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| mid |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -2043,7 +2047,9 @@ Module ptr. [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2069,7 +2075,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at_mut : @@ -2135,15 +2141,12 @@ Module ptr. |); M.call_closure (| M.get_function (| "core::ptr::slice_from_raw_parts_mut", [ T ] |), - [ - M.read (| tail |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| mid |)) - ] + [ M.read (| tail |); BinOp.Wrap.sub (| M.read (| len |), M.read (| mid |) |) ] |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at_mut_unchecked : @@ -2162,7 +2165,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_ptr : @@ -2195,7 +2198,7 @@ Module ptr. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_unchecked_mut : @@ -2266,7 +2269,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_slice : @@ -2337,7 +2340,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_slice_mut : @@ -2360,8 +2363,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.eq (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2464,7 +2467,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2505,7 +2508,7 @@ Module ptr. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2520,8 +2523,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.lt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.lt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2536,8 +2539,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.le (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.le (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2552,8 +2555,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.gt (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2568,8 +2571,8 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) - | _, _ => M.impossible + BinOp.ge (| M.read (| M.read (| self |) |), M.read (| M.read (| other |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ptr/non_null.v b/CoqOfRust/core/ptr/non_null.v index cd46b9ec6..54b4f98ce 100644 --- a/CoqOfRust/core/ptr/non_null.v +++ b/CoqOfRust/core/ptr/non_null.v @@ -72,7 +72,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dangling : @@ -111,7 +111,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_ref : @@ -150,7 +150,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_mut : @@ -213,7 +213,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -245,15 +245,16 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ T ], "is_null", [] |), [ M.read (| ptr |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -276,7 +277,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -324,7 +325,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw_parts : @@ -368,7 +369,7 @@ Module ptr. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_raw_parts : @@ -409,7 +410,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_addr : @@ -463,7 +464,7 @@ Module ptr. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_addr : @@ -515,7 +516,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_addr : @@ -541,7 +542,7 @@ Module ptr. "pointer" |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -575,7 +576,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ref : @@ -603,7 +604,7 @@ Module ptr. |), [ M.read (| M.read (| self |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut : @@ -640,7 +641,7 @@ Module ptr. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast : @@ -687,7 +688,7 @@ Module ptr. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_offset : @@ -733,7 +734,7 @@ Module ptr. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_offset : @@ -780,7 +781,7 @@ Module ptr. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add : @@ -826,7 +827,7 @@ Module ptr. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_add : @@ -882,7 +883,8 @@ Module ptr. "core::intrinsics::unchecked_sub", [ Ty.path "isize" ] |), - [ Value.Integer 0; M.rust_cast (M.read (| count |)) ] + [ Value.Integer IntegerKind.Isize 0; M.rust_cast (M.read (| count |)) + ] |) ] |) @@ -890,7 +892,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sub : @@ -936,7 +938,7 @@ Module ptr. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_sub : @@ -978,7 +980,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_offset_from : @@ -1021,7 +1023,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byte_offset_from : @@ -1063,7 +1065,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sub_ptr : @@ -1097,7 +1099,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read : @@ -1131,7 +1133,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_volatile : @@ -1165,7 +1167,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_read_unaligned : @@ -1210,7 +1212,7 @@ Module ptr. M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_to : @@ -1255,7 +1257,7 @@ Module ptr. M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_to_nonoverlapping : @@ -1300,7 +1302,7 @@ Module ptr. M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_from : @@ -1345,7 +1347,7 @@ Module ptr. M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_from_nonoverlapping : @@ -1377,7 +1379,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drop_in_place : @@ -1414,7 +1416,7 @@ Module ptr. M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write : @@ -1453,7 +1455,7 @@ Module ptr. M.read (| count |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_bytes : @@ -1490,7 +1492,7 @@ Module ptr. M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_volatile : @@ -1527,7 +1529,7 @@ Module ptr. M.read (| val |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_write_unaligned : @@ -1564,7 +1566,7 @@ Module ptr. M.read (| src |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace : @@ -1608,7 +1610,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : @@ -1647,15 +1649,16 @@ Module ptr. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "is_power_of_two", [] |), [ M.read (| align |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1707,7 +1710,7 @@ Module ptr. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align_offset : @@ -1740,7 +1743,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_aligned : @@ -1776,7 +1779,7 @@ Module ptr. M.read (| align |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_aligned_to : @@ -1827,7 +1830,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_from_raw_parts : @@ -1864,7 +1867,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -1911,7 +1914,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_non_null_ptr : @@ -1948,7 +1951,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_ptr : @@ -2008,7 +2011,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_slice : @@ -2066,7 +2069,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_uninit_slice_mut : @@ -2119,7 +2122,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_unchecked_mut : @@ -2142,7 +2145,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2231,7 +2234,7 @@ Module ptr. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2280,7 +2283,7 @@ Module ptr. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2319,24 +2322,25 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::ptr::non_null::NonNull") [ T ], "as_ptr", [] |), [ M.read (| M.read (| self |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::ptr::non_null::NonNull") [ T ], "as_ptr", [] |), [ M.read (| M.read (| other |) |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2394,7 +2398,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2452,7 +2456,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2501,7 +2505,7 @@ Module ptr. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2546,7 +2550,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2581,7 +2585,7 @@ Module ptr. (* MutToConstPointer *) M.pointer_coercion (M.read (| M.use (M.alloc (| M.read (| reference |) |)) |))) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2612,7 +2616,7 @@ Module ptr. Value.StructRecord "core::ptr::non_null::NonNull" [ ("pointer", M.read (| M.use (M.alloc (| M.read (| reference |) |)) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/ptr/unique.v b/CoqOfRust/core/ptr/unique.v index d0a35dfdd..32af6ca04 100644 --- a/CoqOfRust/core/ptr/unique.v +++ b/CoqOfRust/core/ptr/unique.v @@ -66,7 +66,7 @@ Module ptr. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dangling : @@ -98,7 +98,7 @@ Module ptr. |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -162,7 +162,7 @@ Module ptr. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -196,7 +196,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -230,7 +230,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ref : @@ -264,7 +264,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut : @@ -318,7 +318,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cast : @@ -342,7 +342,7 @@ Module ptr. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -429,7 +429,7 @@ Module ptr. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -478,7 +478,7 @@ Module ptr. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -525,7 +525,7 @@ Module ptr. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -557,7 +557,7 @@ Module ptr. ("pointer", M.read (| pointer |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/result.v b/CoqOfRust/core/result.v index 7aacd0352..e935590ed 100644 --- a/CoqOfRust/core/result.v +++ b/CoqOfRust/core/result.v @@ -80,7 +80,7 @@ Module result. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -154,7 +154,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -282,7 +282,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -329,7 +329,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -459,7 +459,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -529,7 +529,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -600,7 +600,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -639,7 +639,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ok : @@ -690,7 +690,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ok_and : @@ -708,16 +708,17 @@ Module result. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::result::Result") [ T; E ], "is_ok", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_err : @@ -768,7 +769,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_err_and : @@ -809,7 +810,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ok : @@ -850,7 +851,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_err : @@ -890,7 +891,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ref : @@ -930,7 +931,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut : @@ -986,7 +987,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map : @@ -1038,7 +1039,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_or : @@ -1102,7 +1103,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_or_else : @@ -1158,7 +1159,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_err : @@ -1215,7 +1216,7 @@ Module result. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inspect : @@ -1272,7 +1273,7 @@ Module result. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inspect_err : @@ -1339,11 +1340,11 @@ Module result. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_deref : @@ -1410,11 +1411,11 @@ Module result. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_deref_mut : @@ -1456,7 +1457,7 @@ Module result. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -1498,7 +1499,7 @@ Module result. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_mut : @@ -1549,7 +1550,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_expect : @@ -1602,7 +1603,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap : @@ -1649,7 +1650,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or_default : @@ -1700,7 +1701,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_expect_err : @@ -1755,7 +1756,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_err : @@ -1811,7 +1812,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_ok : @@ -1867,7 +1868,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_err : @@ -1907,7 +1908,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_and : @@ -1959,7 +1960,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_and_then : @@ -1999,7 +2000,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or : @@ -2051,7 +2052,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or_else : @@ -2091,7 +2092,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or : @@ -2143,7 +2144,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or_else : @@ -2184,15 +2185,16 @@ Module result. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::result::Result") [ T; E ], "is_ok", [] |), [ self ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2238,7 +2240,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_unchecked : @@ -2279,15 +2281,16 @@ Module result. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::result::Result") [ T; E ], "is_err", [] |), [ self ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2334,7 +2337,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_err_unchecked : @@ -2384,11 +2387,11 @@ Module result. M.read (| t |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copied : @@ -2435,11 +2438,11 @@ Module result. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cloned : @@ -2489,11 +2492,11 @@ Module result. M.read (| t |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copied : @@ -2540,11 +2543,11 @@ Module result. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cloned : @@ -2612,7 +2615,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transpose : @@ -2658,7 +2661,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flatten : @@ -2716,7 +2719,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_unwrap_failed : M.IsFunction "core::result::unwrap_failed" unwrap_failed. @@ -2777,7 +2780,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2874,7 +2877,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2923,7 +2926,7 @@ Module result. [ M.read (| self |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2969,7 +2972,7 @@ Module result. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3015,7 +3018,7 @@ Module result. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3072,7 +3075,7 @@ Module result. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3115,7 +3118,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3160,8 +3163,8 @@ Module result. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -3171,7 +3174,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3216,7 +3219,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3290,7 +3293,7 @@ Module result. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3343,7 +3346,7 @@ Module result. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3386,7 +3389,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3431,8 +3434,8 @@ Module result. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -3442,7 +3445,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3487,7 +3490,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3573,7 +3576,7 @@ Module result. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3617,7 +3620,7 @@ Module result. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3660,7 +3663,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3703,8 +3706,8 @@ Module result. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -3714,7 +3717,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3759,7 +3762,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3890,11 +3893,11 @@ Module result. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3928,7 +3931,7 @@ Module result. ltac:(M.monadic (let output := M.alloc (| output |) in Value.StructTuple "core::result::Result::Ok" [ M.read (| output |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3972,7 +3975,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4028,7 +4031,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4076,7 +4079,7 @@ Module result. ])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/slice/ascii.v b/CoqOfRust/core/slice/ascii.v index 456f8945d..4be66a3b4 100644 --- a/CoqOfRust/core/slice/ascii.v +++ b/CoqOfRust/core/slice/ascii.v @@ -20,7 +20,7 @@ Module slice. M.get_function (| "core::slice::ascii::is_ascii", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii : M.IsAssociatedFunction Self "is_ascii" is_ascii. @@ -79,7 +79,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ascii : M.IsAssociatedFunction Self "as_ascii" as_ascii. @@ -102,7 +102,7 @@ Module slice. let~ ascii_ptr := M.alloc (| M.rust_cast (M.read (| byte_ptr |)) |) in M.alloc (| M.read (| ascii_ptr |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ascii_unchecked : @@ -120,23 +120,24 @@ Module slice. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| other |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -202,12 +203,12 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eq_ignore_ascii_case : @@ -298,7 +299,7 @@ Module slice. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_ascii_uppercase : @@ -389,7 +390,7 @@ Module slice. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_ascii_lowercase : @@ -433,7 +434,7 @@ Module slice. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_ascii : @@ -520,7 +521,7 @@ Module slice. |) in M.alloc (| M.read (| bytes |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_ascii_start : @@ -607,7 +608,7 @@ Module slice. |) in M.alloc (| M.read (| bytes |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_ascii_end : @@ -640,7 +641,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_ascii : M.IsAssociatedFunction Self "trim_ascii" trim_ascii. @@ -656,7 +657,7 @@ Module slice. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::slice::ascii::EscapeByte" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -720,7 +721,7 @@ Module slice. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -769,7 +770,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -804,7 +805,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -847,7 +848,7 @@ Module slice. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -891,7 +892,7 @@ Module slice. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -914,7 +915,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -968,7 +969,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1058,11 +1059,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1106,7 +1107,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1128,14 +1129,15 @@ Module slice. | [], [ v ] => ltac:(M.monadic (let v := M.alloc (| v |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.get_constant (| "core::slice::ascii::contains_nonascii::NONASCII_MASK" |) |)) - (M.read (| v |))) - (Value.Integer 0))) - | _, _ => M.impossible + (M.read (| v |)), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_contains_nonascii : @@ -1148,7 +1150,7 @@ Module slice. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "repeat_u8", [] |), - [ Value.Integer 128 ] + [ Value.Integer IntegerKind.U8 128 ] |) |))). End contains_nonascii. @@ -1193,15 +1195,16 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "u8", "is_ascii", [] |), [ M.read (| last |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1239,7 +1242,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_ascii_simple : @@ -1382,32 +1385,32 @@ Module slice. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.lt - (M.read (| len |)) - (M.read (| + BinOp.lt (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::ascii::is_ascii::USIZE_SIZE" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| len |)) - (M.read (| align_offset |)))) + (BinOp.lt (| M.read (| len |), M.read (| align_offset |) |))) |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| + (BinOp.lt (| + M.read (| M.get_constant (| "core::slice::ascii::is_ascii::USIZE_SIZE" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::align_of", [ Ty.path "usize" ] |), [] - |)))) + |) + |))) |) |)) in let _ := @@ -1437,7 +1440,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| align_offset |)) (Value.Integer 0) + BinOp.eq (| + M.read (| align_offset |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1508,10 +1514,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| offset_to_aligned |)) - (M.read (| len |))) + UnOp.not (| + BinOp.le (| + M.read (| offset_to_aligned |), + M.read (| len |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1569,8 +1577,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") [ Ty.path "usize" ], "is_aligned_to", @@ -1586,7 +1594,8 @@ Module slice. [] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1624,16 +1633,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| byte_pos |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| + BinOp.lt (| + M.read (| byte_pos |), + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::ascii::is_ascii::USIZE_SIZE" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1661,17 +1671,19 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| byte_pos |)) - (M.read (| + UnOp.not (| + BinOp.le (| + BinOp.Wrap.add (| + M.read (| byte_pos |), + M.read (| M.get_constant (| "core::slice::ascii::is_ascii::USIZE_SIZE" |) - |))) - (M.read (| len |))) + |) + |), + M.read (| len |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1723,8 +1735,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.match_operator (| M.alloc (| M.call_closure (| @@ -1801,8 +1813,8 @@ Module slice. Value.Bool true |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |))); fun γ => @@ -1812,7 +1824,8 @@ Module slice. |))) ] |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1889,14 +1902,14 @@ Module slice. let β := byte_pos in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "core::slice::ascii::is_ascii::USIZE_SIZE" |) - |)) + |) + |) |) in let~ _ := M.write (| @@ -1907,7 +1920,7 @@ Module slice. "add", [] |), - [ M.read (| word_ptr |); Value.Integer 1 ] + [ M.read (| word_ptr |); Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -1945,23 +1958,26 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.le - (M.read (| byte_pos |)) - (M.read (| len |)), + UnOp.not (| + LogicalOp.and (| + BinOp.le (| + M.read (| byte_pos |), + M.read (| len |) + |), ltac:(M.monadic - (BinOp.Pure.le - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| byte_pos |))) - (M.read (| + (BinOp.le (| + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| byte_pos |) + |), + M.read (| M.get_constant (| "core::slice::ascii::is_ascii::USIZE_SIZE" |) - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2006,27 +2022,28 @@ Module slice. |), [ M.read (| start |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::ascii::is_ascii::USIZE_SIZE" |) - |)) + |) + |) ] |)) ] |) |) in M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::slice::ascii::contains_nonascii", [] |), [ M.read (| last_word |) ] - |)) + |) + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_ascii : M.IsFunction "core::slice::ascii::is_ascii" is_ascii. diff --git a/CoqOfRust/core/slice/cmp.v b/CoqOfRust/core/slice/cmp.v index 850a57ff1..e36fabfa6 100644 --- a/CoqOfRust/core/slice/cmp.v +++ b/CoqOfRust/core/slice/cmp.v @@ -28,7 +28,7 @@ Module slice. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -53,7 +53,7 @@ Module slice. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,7 +97,7 @@ Module slice. M.get_trait_method (| "core::slice::cmp::SliceOrd", T, [], "compare", [] |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -134,7 +134,7 @@ Module slice. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -154,8 +154,8 @@ Module slice. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::slice::cmp::SlicePartialEq", Self, @@ -164,8 +164,9 @@ Module slice. [] |), [ M.read (| self |); M.read (| other |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_not_equal : @@ -204,23 +205,24 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ A ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ B ], "len", [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -311,14 +313,14 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -366,23 +368,24 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ A ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ B ], "len", [] |), [ M.read (| other |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -403,8 +406,8 @@ Module slice. |) |) in M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::intrinsics::compare_bytes", [] |), [ M.rust_cast @@ -427,12 +430,13 @@ Module slice. |)); M.read (| size |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.I32 0 + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -554,7 +558,10 @@ Module slice. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| l |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| l |)) + ] ] |) |), @@ -690,7 +697,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -725,7 +732,7 @@ Module slice. [ M.read (| left |); M.read (| right |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1064,7 +1071,10 @@ Module slice. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| l |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| l |)) + ] ] |) |), @@ -1188,7 +1198,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1228,9 +1238,8 @@ Module slice. M.read (| let~ diff := M.alloc (| - BinOp.Wrap.sub - Integer.Isize - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -1238,8 +1247,8 @@ Module slice. [] |), [ M.read (| left |) ] - |))) - (M.rust_cast + |)), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -1247,7 +1256,8 @@ Module slice. [] |), [ M.read (| right |) ] - |))) + |)) + |) |) in let~ len := M.copy (| @@ -1259,23 +1269,24 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| left |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| right |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1338,7 +1349,9 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| order |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.eq (| M.read (| order |), Value.Integer IntegerKind.Isize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| order, M.read (| diff |) |) in @@ -1349,11 +1362,11 @@ Module slice. M.alloc (| M.call_closure (| M.get_trait_method (| "core::cmp::Ord", Ty.path "isize", [], "cmp", [] |), - [ order; M.alloc (| Value.Integer 0 |) ] + [ order; M.alloc (| Value.Integer IntegerKind.Isize 0 |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1421,11 +1434,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1466,7 +1479,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1542,7 +1555,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/slice/index.v b/CoqOfRust/core/slice/index.v index d21b62d66..2e839ad96 100644 --- a/CoqOfRust/core/slice/index.v +++ b/CoqOfRust/core/slice/index.v @@ -31,7 +31,7 @@ Module slice. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70,7 +70,7 @@ Module slice. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -116,7 +116,7 @@ Module slice. M.get_function (| "core::slice::index::slice_start_index_len_fail_rt", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_start_index_len_fail : @@ -175,7 +175,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_start_index_len_fail_rt : @@ -233,7 +233,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_start_index_len_fail_ct : @@ -271,7 +271,7 @@ Module slice. M.get_function (| "core::slice::index::slice_end_index_len_fail_rt", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_end_index_len_fail : @@ -330,7 +330,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_end_index_len_fail_rt : @@ -385,7 +385,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_end_index_len_fail_ct : @@ -419,7 +419,7 @@ Module slice. M.get_function (| "core::slice::index::slice_index_order_fail_rt", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_index_order_fail : @@ -478,7 +478,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_index_order_fail_rt : @@ -533,7 +533,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_index_order_fail_ct : @@ -568,7 +568,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_start_index_overflow_fail : @@ -601,7 +601,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_end_index_overflow_fail : @@ -753,16 +753,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| self |)) - (M.call_closure (| + BinOp.lt (| + M.read (| self |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -787,7 +788,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -812,16 +813,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| self |)) - (M.call_closure (| + BinOp.lt (| + M.read (| self |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -846,7 +848,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -890,10 +892,10 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| self |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| self |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") @@ -902,7 +904,9 @@ Module slice. [] |), [ M.read (| slice |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -953,16 +957,17 @@ Module slice. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.lt - (M.read (| self |)) - (M.call_closure (| + BinOp.lt (| + M.read (| self |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") [ Ty.apply (Ty.path "slice") [ T ] ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) ] |) |) in @@ -983,7 +988,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1021,10 +1026,10 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| self |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| self |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -1033,7 +1038,9 @@ Module slice. [] |), [ M.read (| slice |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1096,7 +1103,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1113,7 +1120,7 @@ Module slice. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.SubPointer.get_array_field (| M.read (| slice |), self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1130,7 +1137,7 @@ Module slice. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.SubPointer.get_array_field (| M.read (| slice |), self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1183,23 +1190,24 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "end", [] |), [ self ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1224,7 +1232,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1253,23 +1261,24 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "end", [] |), [ self ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1294,7 +1303,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1335,17 +1344,17 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "end", [] |), [ self ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") @@ -1354,7 +1363,9 @@ Module slice. [] |), [ M.read (| slice |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1437,7 +1448,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1475,17 +1486,17 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "end", [] |), [ self ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -1494,7 +1505,9 @@ Module slice. [] |), [ M.read (| slice |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1577,7 +1590,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1606,23 +1619,24 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "end", [] |), [ self ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1667,7 +1681,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1696,23 +1710,24 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "core::ops::index_range::IndexRange", "end", [] |), [ self ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1757,7 +1772,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1812,38 +1827,40 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| + (BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)))) + |) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1869,7 +1886,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1899,38 +1916,40 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| + (BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)))) + |) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1956,7 +1975,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2000,33 +2019,34 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.ge - (M.read (| + UnOp.not (| + LogicalOp.and (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") @@ -2035,8 +2055,10 @@ Module slice. [] |), [ M.read (| slice |) ] - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2133,7 +2155,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2174,33 +2196,34 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.ge - (M.read (| + UnOp.not (| + LogicalOp.and (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -2209,8 +2232,10 @@ Module slice. [] |), [ M.read (| slice |) ] - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2307,7 +2332,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2338,21 +2363,22 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2389,22 +2415,23 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2456,7 +2483,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2487,21 +2514,22 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2538,22 +2566,23 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2605,7 +2634,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2657,7 +2686,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -2670,7 +2699,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2697,7 +2726,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -2710,7 +2739,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2738,7 +2767,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -2751,7 +2780,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2779,7 +2808,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -2792,7 +2821,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2819,7 +2848,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -2832,7 +2861,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2859,7 +2888,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -2872,7 +2901,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2941,7 +2970,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2985,7 +3014,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3034,7 +3063,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3083,7 +3112,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3112,22 +3141,23 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::RangeFrom", "start" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3174,7 +3204,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3203,22 +3233,23 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::RangeFrom", "start" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3265,7 +3296,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3305,7 +3336,7 @@ Module slice. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in Value.StructTuple "core::option::Option::Some" [ M.read (| slice |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3321,7 +3352,7 @@ Module slice. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in Value.StructTuple "core::option::Option::Some" [ M.read (| slice |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3337,7 +3368,7 @@ Module slice. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.read (| slice |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3353,7 +3384,7 @@ Module slice. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.read (| slice |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3369,7 +3400,7 @@ Module slice. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.read (| slice |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3385,7 +3416,7 @@ Module slice. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.read (| slice |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3434,8 +3465,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -3446,8 +3477,9 @@ Module slice. |), [ self ] |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -3480,7 +3512,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3504,8 +3536,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -3516,8 +3548,9 @@ Module slice. |), [ self ] |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -3550,7 +3583,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3586,7 +3619,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3622,7 +3655,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3650,8 +3683,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -3662,8 +3695,9 @@ Module slice. |), [ self ] |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3704,7 +3738,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3732,8 +3766,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -3744,8 +3778,9 @@ Module slice. |), [ self ] |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3786,7 +3821,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3842,7 +3877,7 @@ Module slice. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -3855,7 +3890,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3886,7 +3921,7 @@ Module slice. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -3899,7 +3934,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3931,7 +3966,7 @@ Module slice. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -3944,7 +3979,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3976,7 +4011,7 @@ Module slice. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -3989,7 +4024,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4020,7 +4055,7 @@ Module slice. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -4033,7 +4068,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4064,7 +4099,7 @@ Module slice. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -4077,7 +4112,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4196,7 +4231,8 @@ Module slice. [ M.call_closure (| M.get_associated_function (| Ty.path "usize", "checked_add", [] |), - [ M.read (| M.read (| start |) |); Value.Integer 1 ] + [ M.read (| M.read (| start |) |); Value.Integer IntegerKind.Usize 1 + ] |); M.closure (fun γ => @@ -4220,7 +4256,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4228,7 +4264,7 @@ Module slice. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::ops::range::Bound::Unbounded" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -4269,7 +4305,8 @@ Module slice. [ M.call_closure (| M.get_associated_function (| Ty.path "usize", "checked_add", [] |), - [ M.read (| M.read (| end_ |) |); Value.Integer 1 ] + [ M.read (| M.read (| end_ |) |); Value.Integer IntegerKind.Usize 1 + ] |); M.closure (fun γ => @@ -4293,7 +4330,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4324,7 +4361,7 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| start |)) (M.read (| end_ |)) |)) in + (M.alloc (| BinOp.gt (| M.read (| start |), M.read (| end_ |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -4344,8 +4381,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use - (M.alloc (| BinOp.Pure.gt (M.read (| end_ |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.gt (| M.read (| end_ |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -4364,7 +4400,7 @@ Module slice. [ ("start", M.read (| start |)); ("end_", M.read (| end_ |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_range : M.IsFunction "core::slice::index::range" range. @@ -4429,13 +4465,16 @@ Module slice. |) in let i := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| i |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::ops::range::Bound::Unbounded" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -4454,7 +4493,10 @@ Module slice. |) in let i := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| i |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic @@ -4482,7 +4524,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_into_range_unchecked : @@ -4573,7 +4615,10 @@ Module slice. "checked_add", [] |), - [ M.read (| start |); Value.Integer 1 ] + [ + M.read (| start |); + Value.Integer IntegerKind.Usize 1 + ] |) ] |) @@ -4635,7 +4680,7 @@ Module slice. γ, "core::ops::range::Bound::Unbounded" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -4672,7 +4717,8 @@ Module slice. "checked_add", [] |), - [ M.read (| end_ |); Value.Integer 1 ] + [ M.read (| end_ |); Value.Integer IntegerKind.Usize 1 + ] |) ] |) @@ -4761,7 +4807,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_into_range : M.IsFunction "core::slice::index::into_range" into_range. @@ -4848,7 +4894,7 @@ Module slice. "checked_add", [] |), - [ M.read (| start |); Value.Integer 1 ] + [ M.read (| start |); Value.Integer IntegerKind.Usize 1 ] |); M.closure (fun γ => @@ -4872,7 +4918,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4881,7 +4927,7 @@ Module slice. ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::ops::range::Bound::Unbounded" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -4913,7 +4959,7 @@ Module slice. "checked_add", [] |), - [ M.read (| end_ |); Value.Integer 1 ] + [ M.read (| end_ |); Value.Integer IntegerKind.Usize 1 ] |); M.closure (fun γ => @@ -4937,7 +4983,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4968,7 +5014,7 @@ Module slice. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_into_slice_range : @@ -5095,7 +5141,7 @@ Module slice. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5208,7 +5254,7 @@ Module slice. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5250,7 +5296,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5292,7 +5338,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5329,7 +5375,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5366,7 +5412,7 @@ Module slice. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/slice/iter.v b/CoqOfRust/core/slice/iter.v index e6c133192..e522f9ac2 100644 --- a/CoqOfRust/core/slice/iter.v +++ b/CoqOfRust/core/slice/iter.v @@ -28,7 +28,7 @@ Module slice. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "iter", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -71,7 +71,7 @@ Module slice. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "iter_mut", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -156,7 +156,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -289,7 +289,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -315,7 +315,7 @@ Module slice. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -365,7 +365,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -399,7 +399,7 @@ Module slice. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -479,7 +479,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -632,7 +632,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -745,7 +745,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_slice : @@ -771,7 +771,7 @@ Module slice. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -884,7 +884,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_slice : @@ -914,7 +914,7 @@ Module slice. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -963,7 +963,7 @@ Module slice. ("pred", M.read (| pred |)); ("finished", Value.Bool false) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1012,7 +1012,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -1088,7 +1088,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1145,7 +1145,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1278,7 +1278,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1371,10 +1371,10 @@ Module slice. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -1384,7 +1384,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1421,8 +1421,10 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -1430,13 +1432,12 @@ Module slice. (M.alloc (| Value.Tuple [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -1451,15 +1452,16 @@ Module slice. |) |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1593,7 +1595,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1652,10 +1654,10 @@ Module slice. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -1699,7 +1701,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1772,7 +1774,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1847,7 +1849,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1927,7 +1929,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1985,7 +1987,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2137,7 +2139,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -2153,13 +2155,13 @@ Module slice. fun γ => ltac:(M.monadic (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1))) + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -2191,9 +2193,9 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| idx |)) - (M.call_closure (| + BinOp.eq (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -2208,7 +2210,8 @@ Module slice. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2286,7 +2289,7 @@ Module slice. ret |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2324,8 +2327,10 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -2333,14 +2338,14 @@ Module slice. (M.alloc (| Value.Tuple [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::option::Option::Some" [ M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "usize" ] |), [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], @@ -2365,7 +2370,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2501,9 +2506,8 @@ Module slice. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -2518,8 +2522,9 @@ Module slice. |) |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -2601,7 +2606,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -2617,17 +2622,17 @@ Module slice. fun γ => ltac:(M.monadic (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1))) + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) in @@ -2640,7 +2645,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| idx |)) (Value.Integer 0) + BinOp.eq (| M.read (| idx |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2718,7 +2723,7 @@ Module slice. ret |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2778,7 +2783,7 @@ Module slice. ("pred", M.read (| pred |)); ("finished", Value.Bool false) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -2855,7 +2860,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2935,7 +2940,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3074,7 +3079,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3130,7 +3135,10 @@ Module slice. |), [ M.read (| tmp |); - BinOp.Wrap.add Integer.Usize (M.read (| idx |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |), @@ -3181,7 +3189,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3218,8 +3226,10 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -3227,13 +3237,12 @@ Module slice. (M.alloc (| Value.Tuple [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -3248,15 +3257,16 @@ Module slice. |) |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3400,7 +3410,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3496,7 +3506,7 @@ Module slice. M.read (| tail |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -3507,7 +3517,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3583,7 +3593,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -3663,7 +3673,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3805,7 +3815,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3843,13 +3853,13 @@ Module slice. fun γ => ltac:(M.monadic (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1))) + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -3881,9 +3891,9 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| idx |)) - (M.call_closure (| + BinOp.eq (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -3898,7 +3908,8 @@ Module slice. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3965,7 +3976,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4003,8 +4014,10 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -4012,14 +4025,14 @@ Module slice. (M.alloc (| Value.Tuple [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::option::Option::Some" [ M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "usize" ] |), [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], @@ -4044,7 +4057,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4196,9 +4209,8 @@ Module slice. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -4213,8 +4225,9 @@ Module slice. |) |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -4273,7 +4286,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4313,17 +4326,17 @@ Module slice. fun γ => ltac:(M.monadic (let idx := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (Value.Integer 1))) + BinOp.Wrap.add (| + M.read (| idx |), + Value.Integer IntegerKind.Usize 1 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) in @@ -4336,7 +4349,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| idx |)) (Value.Integer 0) + BinOp.eq (| M.read (| idx |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4403,7 +4416,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4464,7 +4477,7 @@ Module slice. [ M.read (| slice |); M.read (| pred |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -4552,7 +4565,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4600,7 +4613,7 @@ Module slice. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4647,7 +4660,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4677,7 +4690,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4725,7 +4738,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4768,7 +4781,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4829,7 +4842,7 @@ Module slice. [ M.read (| slice |); M.read (| pred |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -4917,7 +4930,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4960,7 +4973,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5007,7 +5020,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5037,7 +5050,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5085,7 +5098,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5158,7 +5171,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5209,12 +5222,18 @@ Module slice. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 1 + |) in let~ _ := let β := M.SubPointer.get_struct_record_field (| @@ -5224,7 +5243,7 @@ Module slice. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| M.call_closure (| @@ -5255,7 +5274,7 @@ Module slice. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| M.call_closure (| @@ -5278,7 +5297,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5390,7 +5409,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5400,7 +5419,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5454,7 +5473,7 @@ Module slice. "core::slice::iter::GenericSplitN" [ ("iter", M.read (| s |)); ("count", M.read (| n |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -5514,7 +5533,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5563,7 +5582,7 @@ Module slice. "core::slice::iter::GenericSplitN" [ ("iter", M.read (| s |)); ("count", M.read (| n |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -5623,7 +5642,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5672,7 +5691,7 @@ Module slice. "core::slice::iter::GenericSplitN" [ ("iter", M.read (| s |)); ("count", M.read (| n |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -5732,7 +5751,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5781,7 +5800,7 @@ Module slice. "core::slice::iter::GenericSplitN" [ ("iter", M.read (| s |)); ("count", M.read (| n |)) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -5841,7 +5860,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5904,7 +5923,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5934,7 +5953,7 @@ Module slice. Value.StructRecord "core::slice::iter::Windows" [ ("v", M.read (| slice |)); ("size", M.read (| size |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -5976,7 +5995,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6021,8 +6040,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -6037,8 +6056,8 @@ Module slice. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6053,7 +6072,8 @@ Module slice. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -6135,7 +6155,7 @@ Module slice. |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) |) in @@ -6143,7 +6163,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6171,8 +6191,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -6187,8 +6207,8 @@ Module slice. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6203,25 +6223,26 @@ Module slice. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => ltac:(M.monadic (let~ size := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6236,8 +6257,8 @@ Module slice. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -6252,8 +6273,10 @@ Module slice. |) |) ] - |))) - (Value.Integer 1) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple @@ -6265,7 +6288,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6289,7 +6312,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6354,9 +6377,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.gt - (M.read (| end_ |)) - (M.call_closure (| + BinOp.gt (| + M.read (| end_ |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6371,7 +6394,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -6451,10 +6475,10 @@ Module slice. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| n |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -6467,7 +6491,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6495,8 +6519,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -6511,8 +6535,8 @@ Module slice. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6527,7 +6551,8 @@ Module slice. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -6535,9 +6560,8 @@ Module slice. ltac:(M.monadic (let~ start := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6552,8 +6576,8 @@ Module slice. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -6568,7 +6592,8 @@ Module slice. |) |) ] - |)) + |) + |) |) in M.alloc (| Value.StructTuple @@ -6604,7 +6629,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6666,7 +6691,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6716,8 +6741,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -6732,8 +6757,8 @@ Module slice. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6748,7 +6773,8 @@ Module slice. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -6783,9 +6809,8 @@ Module slice. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6800,8 +6825,8 @@ Module slice. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -6816,7 +6841,8 @@ Module slice. |) |) ] - |))) + |) + |)) ] ] |) @@ -6850,9 +6876,8 @@ Module slice. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -6867,8 +6892,9 @@ Module slice. |) |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -6877,7 +6903,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6938,9 +6964,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt - (M.read (| end_ |)) - (M.call_closure (| + BinOp.lt (| + M.read (| end_ |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -6955,7 +6981,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -7002,10 +7029,9 @@ Module slice. "core::ops::range::Range" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| end_ |), + M.call_closure (| M.get_associated_function (| Ty.path "core::num::nonzero::NonZeroUsize", "get", @@ -7020,7 +7046,8 @@ Module slice. |) |) ] - |))); + |) + |)); ("end_", M.read (| end_ |)) ] ] @@ -7057,10 +7084,10 @@ Module slice. "core::ops::range::RangeTo" [ ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| end_ |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -7073,7 +7100,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7207,7 +7234,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7237,7 +7264,7 @@ Module slice. Value.StructRecord "core::slice::iter::Chunks" [ ("v", M.read (| slice |)); ("chunk_size", M.read (| size |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -7279,7 +7306,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7421,7 +7448,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7472,17 +7499,18 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => ltac:(M.monadic (let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -7497,20 +7525,20 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::Chunks", "chunk_size" |) - |)) + |) + |) |) in let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -7525,14 +7553,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::Chunks", "chunk_size" |) - |)) + |) + |) |) in let~ n := M.copy (| @@ -7544,7 +7573,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rem |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7552,7 +7584,10 @@ Module slice. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic n) ] @@ -7568,7 +7603,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7592,7 +7627,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7652,9 +7687,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge - (M.read (| start |)) - (M.call_closure (| + BinOp.ge (| + M.read (| start |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -7669,7 +7704,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -7847,7 +7883,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7898,13 +7934,10 @@ Module slice. ltac:(M.monadic (let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.mul (| + BinOp.Wrap.div (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -7919,22 +7952,25 @@ Module slice. |) |) ] - |)) - (Value.Integer 1)) - (M.read (| + |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::slice::iter::Chunks", "chunk_size" |) - |))) - (M.read (| + |) + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::slice::iter::Chunks", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| Value.StructTuple @@ -7970,7 +8006,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7999,16 +8035,16 @@ Module slice. M.read (| let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| + BinOp.Wrap.mul (| + M.read (| idx |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::Chunks", "chunk_size" |) - |)) + |) + |) |) in let~ len := M.alloc (| @@ -8078,7 +8114,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8167,9 +8203,8 @@ Module slice. ltac:(M.monadic (let~ remainder := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -8184,14 +8219,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::Chunks", "chunk_size" |) - |)) + |) + |) |) in let~ chunksz := M.copy (| @@ -8203,7 +8239,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| remainder |)) (Value.Integer 0) + BinOp.ne (| + M.read (| remainder |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8237,9 +8276,8 @@ Module slice. "v" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -8254,8 +8292,9 @@ Module slice. |) |) ] - |)) - (M.read (| chunksz |)) + |), + M.read (| chunksz |) + |) ] |) |), @@ -8283,7 +8322,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8333,7 +8372,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -8349,19 +8388,22 @@ Module slice. ltac:(M.monadic (let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1)) - (M.read (| n |))) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| n |) + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::Chunks", "chunk_size" |) - |)) + |) + |) |) in let~ end_ := M.copy (| @@ -8500,7 +8542,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8644,7 +8686,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8678,7 +8720,7 @@ Module slice. ("chunk_size", M.read (| size |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -8818,7 +8860,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8869,17 +8911,18 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => ltac:(M.monadic (let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -8894,20 +8937,20 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -8922,14 +8965,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ n := M.copy (| @@ -8941,7 +8985,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rem |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8949,7 +8996,10 @@ Module slice. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic n) ] @@ -8965,7 +9015,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8989,7 +9039,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9053,9 +9103,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge - (M.read (| start |)) - (M.call_closure (| + BinOp.ge (| + M.read (| start |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -9072,7 +9122,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -9256,7 +9307,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9308,13 +9359,10 @@ Module slice. ltac:(M.monadic (let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.mul (| + BinOp.Wrap.div (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -9329,22 +9377,25 @@ Module slice. |) |) ] - |)) - (Value.Integer 1)) - (M.read (| + |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::slice::iter::ChunksMut", "chunk_size" |) - |))) - (M.read (| + |) + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::slice::iter::ChunksMut", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| Value.StructTuple @@ -9378,7 +9429,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9406,16 +9457,16 @@ Module slice. M.read (| let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| + BinOp.Wrap.mul (| + M.read (| idx |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksMut", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| M.read (| @@ -9493,7 +9544,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9571,9 +9622,8 @@ Module slice. ltac:(M.monadic (let~ remainder := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -9588,14 +9638,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ sz := M.copy (| @@ -9607,7 +9658,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| remainder |)) (Value.Integer 0) + BinOp.ne (| + M.read (| remainder |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9660,7 +9714,7 @@ Module slice. "v" |) |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| sz |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| sz |) |) ] |) |), @@ -9688,7 +9742,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9742,7 +9796,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -9758,19 +9812,22 @@ Module slice. ltac:(M.monadic (let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1)) - (M.read (| n |))) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| n |) + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ end_ := M.copy (| @@ -9921,7 +9978,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10089,7 +10146,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10124,23 +10181,23 @@ Module slice. M.read (| let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| chunk_size |)) + |), + M.read (| chunk_size |) + |) |) in let~ fst_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| rem |)) + |), + M.read (| rem |) + |) |) in M.match_operator (| M.alloc (| @@ -10172,7 +10229,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -10197,7 +10254,7 @@ Module slice. "rem" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -10248,7 +10305,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10294,8 +10351,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -10310,14 +10367,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExact", "chunk_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -10373,7 +10431,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10391,9 +10449,8 @@ Module slice. M.read (| let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| @@ -10404,14 +10461,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExact", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -10421,7 +10479,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10445,7 +10503,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10501,9 +10559,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge - (M.read (| start |)) - (M.call_closure (| + BinOp.ge (| + M.read (| start |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -10518,7 +10576,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -10595,7 +10654,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10619,7 +10678,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10639,16 +10698,16 @@ Module slice. M.read (| let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| + BinOp.Wrap.mul (| + M.read (| idx |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExact", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| M.call_closure (| @@ -10687,7 +10746,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10738,8 +10797,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -10754,14 +10813,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExact", "chunk_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -10783,9 +10843,8 @@ Module slice. "v" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -10800,14 +10859,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExact", "chunk_size" |) - |)) + |) + |) ] |) |), @@ -10835,7 +10895,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10882,7 +10942,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -10898,32 +10958,35 @@ Module slice. ltac:(M.monadic (let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1)) - (M.read (| n |))) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| n |) + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExact", "chunk_size" |) - |)) + |) + |) |) in let~ end_ := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| start |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExact", "chunk_size" |) - |)) + |) + |) |) in let~ nth_back := M.alloc (| @@ -10985,7 +11048,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11028,7 +11091,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11170,7 +11233,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11205,23 +11268,23 @@ Module slice. M.read (| let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| chunk_size |)) + |), + M.read (| chunk_size |) + |) |) in let~ fst_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| rem |)) + |), + M.read (| rem |) + |) |) in M.match_operator (| M.alloc (| @@ -11254,7 +11317,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -11279,7 +11342,7 @@ Module slice. "rem" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_remainder : @@ -11323,8 +11386,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -11339,14 +11402,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExactMut", "chunk_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -11402,7 +11466,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11420,9 +11484,8 @@ Module slice. M.read (| let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -11437,14 +11500,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExactMut", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -11454,7 +11518,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11478,7 +11542,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11535,9 +11599,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge - (M.read (| start |)) - (M.call_closure (| + BinOp.ge (| + M.read (| start |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -11554,7 +11618,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -11633,7 +11698,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11657,7 +11722,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11677,16 +11742,16 @@ Module slice. M.read (| let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| + BinOp.Wrap.mul (| + M.read (| idx |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExactMut", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| M.call_closure (| @@ -11725,7 +11790,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11778,8 +11843,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -11794,14 +11859,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExactMut", "chunk_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -11823,9 +11889,8 @@ Module slice. "v" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -11840,14 +11905,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExactMut", "chunk_size" |) - |)) + |) + |) ] |) |), @@ -11875,7 +11941,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11926,7 +11992,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -11942,32 +12008,35 @@ Module slice. ltac:(M.monadic (let~ start := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1)) - (M.read (| n |))) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| n |) + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExactMut", "chunk_size" |) - |)) + |) + |) |) in let~ end_ := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| start |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ChunksExactMut", "chunk_size" |) - |)) + |) + |) |) in M.match_operator (| M.alloc (| @@ -12044,7 +12113,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12091,7 +12160,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12252,7 +12321,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12326,7 +12395,7 @@ Module slice. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12377,10 +12446,10 @@ Module slice. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| M.get_constant (| "core::slice::iter::N" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::slice::iter::N" |) |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -12402,7 +12471,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -12452,15 +12521,16 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ArrayWindows", "num" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -12514,7 +12584,7 @@ Module slice. "slice_head" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -12527,12 +12597,12 @@ Module slice. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| ret |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12567,7 +12637,7 @@ Module slice. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12588,7 +12658,7 @@ Module slice. "num" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12626,15 +12696,16 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ArrayWindows", "num" |) - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -12648,7 +12719,7 @@ Module slice. "core::slice::iter::ArrayWindows", "num" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.return_ (| Value.StructTuple "core::option::Option::None" [] |) |) @@ -12707,7 +12778,7 @@ Module slice. "slice_head" |) |); - BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) ] |) |) in @@ -12720,15 +12791,15 @@ Module slice. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| ret |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12776,7 +12847,7 @@ Module slice. "num" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) ] @@ -12836,7 +12907,7 @@ Module slice. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12889,15 +12960,16 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ArrayWindows", "num" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -12934,16 +13006,16 @@ Module slice. "slice_head" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ArrayWindows", "num" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -12958,12 +13030,12 @@ Module slice. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| ret |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12997,15 +13069,16 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ArrayWindows", "num" |) - |)) - (M.read (| n |)) + |), + M.read (| n |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13019,7 +13092,7 @@ Module slice. "core::slice::iter::ArrayWindows", "num" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.return_ (| Value.StructTuple "core::option::Option::None" [] |) |) @@ -13051,16 +13124,19 @@ Module slice. "slice_head" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ArrayWindows", "num" |) - |)) - (BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1)) + |), + BinOp.Wrap.add (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) + |) ] |) ] @@ -13075,15 +13151,15 @@ Module slice. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| M.read (| n |), Value.Integer IntegerKind.Usize 1 |) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| ret |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13114,16 +13190,17 @@ Module slice. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::ArrayWindows", "num" |) - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13188,7 +13265,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13254,7 +13331,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -13279,7 +13356,7 @@ Module slice. "rem" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -13333,7 +13410,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13380,7 +13457,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13410,7 +13487,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13442,7 +13519,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13474,7 +13551,7 @@ Module slice. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13506,7 +13583,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13540,7 +13617,7 @@ Module slice. M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13592,7 +13669,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13624,7 +13701,7 @@ Module slice. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13671,7 +13748,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13795,7 +13872,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13861,7 +13938,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -13886,7 +13963,7 @@ Module slice. "rem" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_remainder : @@ -13931,7 +14008,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13963,7 +14040,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13997,7 +14074,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14031,7 +14108,7 @@ Module slice. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14065,7 +14142,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14101,7 +14178,7 @@ Module slice. M.read (| i |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14155,7 +14232,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14189,7 +14266,7 @@ Module slice. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14238,7 +14315,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14360,7 +14437,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14390,7 +14467,7 @@ Module slice. Value.StructRecord "core::slice::iter::RChunks" [ ("v", M.read (| slice |)); ("chunk_size", M.read (| size |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -14432,7 +14509,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -14556,7 +14633,7 @@ Module slice. "v" |) |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| chunksz |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| chunksz |) |) ] |) |), @@ -14584,7 +14661,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14635,17 +14712,18 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => ltac:(M.monadic (let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -14660,20 +14738,20 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunks", "chunk_size" |) - |)) + |) + |) |) in let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -14688,14 +14766,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunks", "chunk_size" |) - |)) + |) + |) |) in let~ n := M.copy (| @@ -14707,7 +14786,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rem |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14715,7 +14797,10 @@ Module slice. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic n) ] @@ -14731,7 +14816,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14755,7 +14840,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14817,9 +14902,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge - (M.read (| end_ |)) - (M.call_closure (| + BinOp.ge (| + M.read (| end_ |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -14834,7 +14919,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -14857,9 +14943,8 @@ Module slice. ltac:(M.monadic (let~ end_ := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -14874,8 +14959,9 @@ Module slice. |) |) ] - |)) - (M.read (| end_ |)) + |), + M.read (| end_ |) + |) |) in let~ start := M.copy (| @@ -14917,7 +15003,7 @@ Module slice. γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -14979,7 +15065,10 @@ Module slice. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| start |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| start |)) + ] ] |) |) in @@ -14991,7 +15080,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -15043,9 +15132,8 @@ Module slice. ltac:(M.monadic (let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -15060,14 +15148,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::slice::iter::RChunks", "chunk_size" |) - |)) + |) + |) |) in let~ end_ := M.copy (| @@ -15079,7 +15168,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rem |)) (Value.Integer 0) + BinOp.eq (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -15118,7 +15210,10 @@ Module slice. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| end_ |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| end_ |)) + ] ] |) ] @@ -15126,7 +15221,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -15150,9 +15245,8 @@ Module slice. M.read (| let~ end_ := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| @@ -15163,17 +15257,18 @@ Module slice. |) |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| + |), + BinOp.Wrap.mul (| + M.read (| idx |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunks", "chunk_size" |) - |))) + |) + |) + |) |) in let~ start := M.copy (| @@ -15197,7 +15292,7 @@ Module slice. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -15237,12 +15332,12 @@ Module slice. M.read (| start |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| end_ |)) (M.read (| start |)) + BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15318,9 +15413,8 @@ Module slice. ltac:(M.monadic (let~ remainder := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -15335,14 +15429,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunks", "chunk_size" |) - |)) + |) + |) |) in let~ chunksz := M.copy (| @@ -15354,7 +15449,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| remainder |)) (Value.Integer 0) + BinOp.ne (| + M.read (| remainder |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -15416,7 +15514,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -15465,7 +15563,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -15481,25 +15579,27 @@ Module slice. ltac:(M.monadic (let~ offset_from_end := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1)) - (M.read (| n |))) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| n |) + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunks", "chunk_size" |) - |)) + |) + |) |) in let~ end_ := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -15514,8 +15614,9 @@ Module slice. |) |) ] - |)) - (M.read (| offset_from_end |)) + |), + M.read (| offset_from_end |) + |) |) in let~ start := M.alloc (| @@ -15593,7 +15694,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15737,7 +15838,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15771,7 +15872,7 @@ Module slice. ("chunk_size", M.read (| size |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -15907,7 +16008,7 @@ Module slice. "v" |) |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| sz |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| sz |) |) ] |) |), @@ -15935,7 +16036,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -15986,17 +16087,18 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => ltac:(M.monadic (let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -16011,20 +16113,20 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -16039,14 +16141,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ n := M.copy (| @@ -16058,7 +16161,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| rem |)) (Value.Integer 0) + BinOp.gt (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16066,7 +16172,10 @@ Module slice. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| n |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic n) ] @@ -16082,7 +16191,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -16106,7 +16215,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -16174,9 +16283,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge - (M.read (| end_ |)) - (M.call_closure (| + BinOp.ge (| + M.read (| end_ |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -16193,7 +16302,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -16216,9 +16326,8 @@ Module slice. ltac:(M.monadic (let~ end_ := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -16235,8 +16344,9 @@ Module slice. |) |) ] - |)) - (M.read (| end_ |)) + |), + M.read (| end_ |) + |) |) in let~ start := M.copy (| @@ -16278,7 +16388,7 @@ Module slice. γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -16323,10 +16433,10 @@ Module slice. |), [ M.read (| tail |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (M.read (| start |)) + BinOp.Wrap.sub (| + M.read (| end_ |), + M.read (| start |) + |) ] |) |), @@ -16360,7 +16470,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -16413,9 +16523,8 @@ Module slice. ltac:(M.monadic (let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -16430,14 +16539,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::slice::iter::RChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ end_ := M.copy (| @@ -16449,7 +16559,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| rem |)) (Value.Integer 0) + BinOp.eq (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16485,7 +16598,10 @@ Module slice. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| end_ |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| end_ |)) + ] ] |) ] @@ -16493,7 +16609,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -16518,9 +16634,8 @@ Module slice. M.read (| let~ end_ := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -16535,17 +16650,18 @@ Module slice. |) |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| + |), + BinOp.Wrap.mul (| + M.read (| idx |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksMut", "chunk_size" |) - |))) + |) + |) + |) |) in let~ start := M.copy (| @@ -16569,7 +16685,7 @@ Module slice. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -16609,12 +16725,12 @@ Module slice. M.read (| start |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| end_ |)) (M.read (| start |)) + BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16691,9 +16807,8 @@ Module slice. ltac:(M.monadic (let~ remainder := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -16708,14 +16823,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ sz := M.copy (| @@ -16727,7 +16843,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| remainder |)) (Value.Integer 0) + BinOp.ne (| + M.read (| remainder |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16789,7 +16908,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -16842,7 +16961,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -16858,25 +16977,27 @@ Module slice. ltac:(M.monadic (let~ offset_from_end := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1)) - (M.read (| n |))) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| n |) + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksMut", "chunk_size" |) - |)) + |) + |) |) in let~ end_ := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -16891,8 +17012,9 @@ Module slice. |) |) ] - |)) - (M.read (| offset_from_end |)) + |), + M.read (| offset_from_end |) + |) |) in let~ start := M.alloc (| @@ -16977,7 +17099,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17145,7 +17267,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17179,13 +17301,13 @@ Module slice. M.read (| let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| chunk_size |)) + |), + M.read (| chunk_size |) + |) |) in M.match_operator (| M.alloc (| @@ -17217,7 +17339,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -17242,7 +17364,7 @@ Module slice. "rem" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -17293,7 +17415,7 @@ Module slice. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17339,8 +17461,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -17355,14 +17477,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExact", "chunk_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -17384,9 +17507,8 @@ Module slice. "v" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -17401,14 +17523,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExact", "chunk_size" |) - |)) + |) + |) ] |) |), @@ -17436,7 +17559,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -17454,9 +17577,8 @@ Module slice. M.read (| let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| @@ -17467,14 +17589,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExact", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -17484,7 +17607,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -17508,7 +17631,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -17564,9 +17687,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge - (M.read (| end_ |)) - (M.call_closure (| + BinOp.ge (| + M.read (| end_ |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -17581,7 +17704,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -17618,9 +17742,8 @@ Module slice. "v" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -17635,8 +17758,9 @@ Module slice. |) |) ] - |)) - (M.read (| end_ |)) + |), + M.read (| end_ |) + |) ] |) |), @@ -17676,7 +17800,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -17700,7 +17824,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -17721,9 +17845,8 @@ Module slice. M.read (| let~ end_ := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| @@ -17734,30 +17857,31 @@ Module slice. |) |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| + |), + BinOp.Wrap.mul (| + M.read (| idx |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExact", "chunk_size" |) - |))) + |) + |) + |) |) in let~ start := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| end_ |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExact", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| M.call_closure (| @@ -17796,7 +17920,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -17847,8 +17971,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -17863,14 +17987,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExact", "chunk_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -17926,7 +18051,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -17976,7 +18101,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -17992,22 +18117,21 @@ Module slice. ltac:(M.monadic (let~ offset := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| n |))) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| M.read (| len |), M.read (| n |) |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExact", "chunk_size" |) - |)) + |) + |) |) in let~ start := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -18022,21 +18146,22 @@ Module slice. |) |) ] - |)) - (M.read (| offset |)) + |), + M.read (| offset |) + |) |) in let~ end_ := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| start |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExact", "chunk_size" |) - |)) + |) + |) |) in let~ nth_back := M.alloc (| @@ -18098,7 +18223,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18141,7 +18266,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18273,7 +18398,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18307,13 +18432,13 @@ Module slice. M.read (| let~ rem := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| chunk_size |)) + |), + M.read (| chunk_size |) + |) |) in M.match_operator (| M.alloc (| @@ -18345,7 +18470,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -18370,7 +18495,7 @@ Module slice. "rem" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_remainder : @@ -18415,8 +18540,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -18431,14 +18556,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExactMut", "chunk_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -18479,16 +18605,16 @@ Module slice. "v" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExactMut", "chunk_size" |) - |)) + |) + |) ] |) |), @@ -18516,7 +18642,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -18534,9 +18660,8 @@ Module slice. M.read (| let~ n := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -18551,14 +18676,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExactMut", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -18568,7 +18694,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -18592,7 +18718,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -18650,9 +18776,9 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge - (M.read (| end_ |)) - (M.call_closure (| + BinOp.ge (| + M.read (| end_ |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -18669,7 +18795,8 @@ Module slice. |) |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| overflow |))) |) |)) in @@ -18729,10 +18856,7 @@ Module slice. "v" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| end_ |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| end_ |) |) ] |) |), @@ -18772,7 +18896,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -18796,7 +18920,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -18817,9 +18941,8 @@ Module slice. M.read (| let~ end_ := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -18834,30 +18957,31 @@ Module slice. |) |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| idx |)) - (M.read (| + |), + BinOp.Wrap.mul (| + M.read (| idx |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExactMut", "chunk_size" |) - |))) + |) + |) + |) |) in let~ start := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| end_ |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExactMut", "chunk_size" |) - |)) + |) + |) |) in M.alloc (| M.call_closure (| @@ -18896,7 +19020,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18949,8 +19073,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -18965,14 +19089,15 @@ Module slice. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExactMut", "chunk_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -19028,7 +19153,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -19082,7 +19207,7 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| n |)) (M.read (| len |)) |)) in + M.use (M.alloc (| BinOp.ge (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| @@ -19098,22 +19223,21 @@ Module slice. ltac:(M.monadic (let~ offset := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| n |))) - (M.read (| + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| M.read (| len |), M.read (| n |) |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExactMut", "chunk_size" |) - |)) + |) + |) |) in let~ start := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ Ty.apply (Ty.path "slice") [ T ] ], "len", @@ -19128,21 +19252,22 @@ Module slice. |) |) ] - |)) - (M.read (| offset |)) + |), + M.read (| offset |) + |) |) in let~ end_ := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| start |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::iter::RChunksExactMut", "chunk_size" |) - |)) + |) + |) |) in M.match_operator (| M.alloc (| @@ -19211,7 +19336,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19258,7 +19383,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19445,7 +19570,7 @@ Module slice. Value.StructRecord "core::slice::iter::GroupBy" [ ("slice", M.read (| slice |)); ("predicate", M.read (| predicate |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -19513,7 +19638,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ len := M.alloc (| Value.Integer 1 |) in + (let~ len := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ iter := M.alloc (| M.call_closure (| @@ -19530,7 +19655,7 @@ Module slice. "slice" |) |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -19606,10 +19731,10 @@ Module slice. let β := len in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic @@ -19678,7 +19803,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -19722,8 +19847,10 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -19731,7 +19858,7 @@ Module slice. (M.alloc (| Value.Tuple [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::option::Option::Some" [ @@ -19757,7 +19884,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -19781,7 +19908,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19855,7 +19982,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ len := M.alloc (| Value.Integer 1 |) in + (let~ len := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ iter := M.alloc (| M.call_closure (| @@ -19872,7 +19999,7 @@ Module slice. "slice" |) |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -19948,10 +20075,10 @@ Module slice. let β := len in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic @@ -19992,9 +20119,8 @@ Module slice. "slice" |) |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", @@ -20009,8 +20135,9 @@ Module slice. |) |) ] - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) ] |) |), @@ -20038,7 +20165,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20115,7 +20242,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20157,7 +20284,7 @@ Module slice. Value.StructRecord "core::slice::iter::GroupByMut" [ ("slice", M.read (| slice |)); ("predicate", M.read (| predicate |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -20226,7 +20353,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ len := M.alloc (| Value.Integer 1 |) in + (let~ len := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ iter := M.alloc (| M.call_closure (| @@ -20243,7 +20370,7 @@ Module slice. "slice" |) |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -20319,10 +20446,10 @@ Module slice. let β := len in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic @@ -20398,7 +20525,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -20442,8 +20569,10 @@ Module slice. M.alloc (| Value.Tuple [ - Value.Integer 0; - Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] + Value.Integer IntegerKind.Usize 0; + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 0 ] ] |))); fun γ => @@ -20451,7 +20580,7 @@ Module slice. (M.alloc (| Value.Tuple [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.StructTuple "core::option::Option::Some" [ @@ -20477,7 +20606,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -20501,7 +20630,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20576,7 +20705,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic - (let~ len := M.alloc (| Value.Integer 1 |) in + (let~ len := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ iter := M.alloc (| M.call_closure (| @@ -20593,7 +20722,7 @@ Module slice. "slice" |) |); - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 ] |) |) in @@ -20669,10 +20798,10 @@ Module slice. let β := len in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic @@ -20723,17 +20852,17 @@ Module slice. |), [ M.read (| slice |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| slice |) ] - |)) - (M.read (| len |)) + |), + M.read (| len |) + |) ] |) |), @@ -20761,7 +20890,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -20838,7 +20967,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/slice/iter/macros.v b/CoqOfRust/core/slice/iter/macros.v index 3d6c41c60..6d2dbaec5 100644 --- a/CoqOfRust/core/slice/iter/macros.v +++ b/CoqOfRust/core/slice/iter/macros.v @@ -114,7 +114,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_slice : @@ -235,7 +235,7 @@ Module slice. M.alloc (| Value.Tuple [] |) in old |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_post_inc_start : @@ -342,7 +342,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pre_dec_end : @@ -434,7 +434,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -476,7 +476,9 @@ Module slice. ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) |))); + M.alloc (| + BinOp.eq (| M.read (| len |), Value.Integer IntegerKind.Usize 0 |) + |))); fun γ => ltac:(M.monadic (let~ end_ := @@ -518,7 +520,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -602,7 +604,10 @@ Module slice. |) |) in M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |))); fun γ => ltac:(M.monadic @@ -669,7 +674,7 @@ Module slice. "post_inc_start", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] @@ -679,7 +684,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -775,7 +780,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -859,7 +864,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -898,9 +903,9 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| n |)) - (M.read (| + BinOp.ge (| + M.read (| n |), + M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -984,7 +989,8 @@ Module slice. |))) ] |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1026,7 +1032,10 @@ Module slice. ] |) |) in - M.write (| M.read (| len |), Value.Integer 0 |))); + M.write (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |))); fun γ => ltac:(M.monadic (let~ end_ := @@ -1098,7 +1107,7 @@ Module slice. "post_inc_start", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] @@ -1107,7 +1116,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1250,7 +1259,7 @@ Module slice. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| advance |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| advance |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -1258,7 +1267,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1282,7 +1291,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1372,7 +1381,10 @@ Module slice. |) |) in M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |))); fun γ => ltac:(M.monadic @@ -1435,7 +1447,7 @@ Module slice. ] |) in let~ acc := M.copy (| init |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ len := M.copy (| M.match_operator (| @@ -1568,7 +1580,7 @@ Module slice. i, M.call_closure (| M.get_associated_function (| Ty.path "usize", "unchecked_add", [] |), - [ M.read (| i |); Value.Integer 1 ] + [ M.read (| i |); Value.Integer IntegerKind.Usize 1 ] |) |) in M.match_operator (| @@ -1579,7 +1591,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| i |)) (M.read (| len |)) + BinOp.eq (| M.read (| i |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1594,7 +1606,7 @@ Module slice. acc |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1672,7 +1684,7 @@ Module slice. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1735,8 +1747,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -1745,7 +1757,8 @@ Module slice. [] |), [ f; Value.Tuple [ M.read (| x |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1779,7 +1792,7 @@ Module slice. M.alloc (| Value.Bool true |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1885,7 +1898,7 @@ Module slice. M.alloc (| Value.Bool false |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2004,7 +2017,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2117,7 +2130,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2227,7 +2240,7 @@ Module slice. ] |) |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -2292,9 +2305,10 @@ Module slice. [] |), [ - BinOp.Pure.lt - (M.read (| i |)) - (M.read (| n |)) + BinOp.lt (| + M.read (| i |), + M.read (| n |) + |) ] |) |) in @@ -2313,7 +2327,10 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2335,7 +2352,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2478,7 +2495,10 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -2514,10 +2534,7 @@ Module slice. "core::intrinsics::assume", [] |), - [ - BinOp.Pure.lt - (M.read (| i |)) - (M.read (| n |)) + [ BinOp.lt (| M.read (| i |), M.read (| n |) |) ] |) |) in @@ -2551,7 +2568,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2598,7 +2615,7 @@ Module slice. M.read (| idx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2678,11 +2695,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2780,7 +2797,10 @@ Module slice. |) |) in M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |))); fun γ => ltac:(M.monadic @@ -2847,7 +2867,7 @@ Module slice. "pre_dec_end", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] @@ -2857,7 +2877,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2896,9 +2916,9 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| n |)) - (M.read (| + BinOp.ge (| + M.read (| n |), + M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -2982,7 +3002,8 @@ Module slice. |))) ] |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3024,7 +3045,10 @@ Module slice. ] |) |) in - M.write (| M.read (| len |), Value.Integer 0 |))); + M.write (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |))); fun γ => ltac:(M.monadic (let~ end_ := @@ -3098,7 +3122,7 @@ Module slice. "pre_dec_end", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] @@ -3107,7 +3131,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3250,7 +3274,7 @@ Module slice. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| advance |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| advance |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -3258,7 +3282,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3330,12 +3354,12 @@ Module slice. "post_inc_start", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3370,7 +3394,7 @@ Module slice. |), [ M.alloc (| Value.Array [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3493,7 +3517,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_slice : @@ -3614,7 +3638,7 @@ Module slice. M.alloc (| Value.Tuple [] |) in old |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_post_inc_start : @@ -3721,7 +3745,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pre_dec_end : @@ -3813,7 +3837,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3855,7 +3879,9 @@ Module slice. ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) |))); + M.alloc (| + BinOp.eq (| M.read (| len |), Value.Integer IntegerKind.Usize 0 |) + |))); fun γ => ltac:(M.monadic (let~ end_ := @@ -3897,7 +3923,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3981,7 +4007,10 @@ Module slice. |) |) in M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |))); fun γ => ltac:(M.monadic @@ -4048,7 +4077,7 @@ Module slice. "post_inc_start", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] @@ -4058,7 +4087,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4154,7 +4183,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4238,7 +4267,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4277,9 +4306,9 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| n |)) - (M.read (| + BinOp.ge (| + M.read (| n |), + M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -4363,7 +4392,8 @@ Module slice. |))) ] |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4405,7 +4435,10 @@ Module slice. ] |) |) in - M.write (| M.read (| len |), Value.Integer 0 |))); + M.write (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |))); fun γ => ltac:(M.monadic (let~ end_ := @@ -4477,7 +4510,7 @@ Module slice. "post_inc_start", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] @@ -4486,7 +4519,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4629,7 +4662,7 @@ Module slice. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| advance |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| advance |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -4637,7 +4670,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4661,7 +4694,7 @@ Module slice. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4751,7 +4784,10 @@ Module slice. |) |) in M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |))); fun γ => ltac:(M.monadic @@ -4814,7 +4850,7 @@ Module slice. ] |) in let~ acc := M.copy (| init |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ len := M.copy (| M.match_operator (| @@ -4947,7 +4983,7 @@ Module slice. i, M.call_closure (| M.get_associated_function (| Ty.path "usize", "unchecked_add", [] |), - [ M.read (| i |); Value.Integer 1 ] + [ M.read (| i |); Value.Integer IntegerKind.Usize 1 ] |) |) in M.match_operator (| @@ -4958,7 +4994,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| i |)) (M.read (| len |)) + BinOp.eq (| M.read (| i |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -4973,7 +5009,7 @@ Module slice. acc |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5051,7 +5087,7 @@ Module slice. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5114,8 +5150,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -5125,7 +5161,8 @@ Module slice. [] |), [ f; Value.Tuple [ M.read (| x |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5159,7 +5196,7 @@ Module slice. M.alloc (| Value.Bool true |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5265,7 +5302,7 @@ Module slice. M.alloc (| Value.Bool false |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5384,7 +5421,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5497,7 +5534,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5607,7 +5644,7 @@ Module slice. ] |) |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -5673,9 +5710,10 @@ Module slice. [] |), [ - BinOp.Pure.lt - (M.read (| i |)) - (M.read (| n |)) + BinOp.lt (| + M.read (| i |), + M.read (| n |) + |) ] |) |) in @@ -5694,7 +5732,10 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -5716,7 +5757,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5859,7 +5900,10 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -5895,10 +5939,7 @@ Module slice. "core::intrinsics::assume", [] |), - [ - BinOp.Pure.lt - (M.read (| i |)) - (M.read (| n |)) + [ BinOp.lt (| M.read (| i |), M.read (| n |) |) ] |) |) in @@ -5932,7 +5973,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5979,7 +6020,7 @@ Module slice. M.read (| idx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6076,7 +6117,10 @@ Module slice. |) |) in M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |))); fun γ => ltac:(M.monadic @@ -6143,7 +6187,7 @@ Module slice. "pre_dec_end", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] @@ -6153,7 +6197,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6192,9 +6236,9 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| n |)) - (M.read (| + BinOp.ge (| + M.read (| n |), + M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -6278,7 +6322,8 @@ Module slice. |))) ] |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6320,7 +6365,10 @@ Module slice. ] |) |) in - M.write (| M.read (| len |), Value.Integer 0 |))); + M.write (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |))); fun γ => ltac:(M.monadic (let~ end_ := @@ -6394,7 +6442,7 @@ Module slice. "pre_dec_end", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] @@ -6403,7 +6451,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6546,7 +6594,7 @@ Module slice. "new", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (M.read (| advance |)) ] + [ BinOp.Wrap.sub (| M.read (| n |), M.read (| advance |) |) ] |); Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]; M.constructor_as_closure "core::result::Result::Err" @@ -6554,7 +6602,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6626,12 +6674,12 @@ Module slice. "post_inc_start", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 1 ] |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6666,7 +6714,7 @@ Module slice. |), [ M.alloc (| Value.Array [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6715,7 +6763,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6747,7 +6795,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6814,7 +6862,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6846,7 +6894,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6913,7 +6961,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6945,7 +6993,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7012,7 +7060,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7044,7 +7092,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/slice/memchr.v b/CoqOfRust/core/slice/memchr.v index f09962840..3e93c358c 100644 --- a/CoqOfRust/core/slice/memchr.v +++ b/CoqOfRust/core/slice/memchr.v @@ -9,7 +9,7 @@ Module slice. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "repeat_u8", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U8 1 ] |) |))). @@ -19,7 +19,7 @@ Module slice. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "repeat_u8", [] |), - [ Value.Integer 128 ] + [ Value.Integer IntegerKind.U8 128 ] |) |))). @@ -40,9 +40,9 @@ Module slice. | [], [ x ] => ltac:(M.monadic (let x := M.alloc (| x |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and + (BinOp.bit_and (M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_sub", [] |), [ @@ -50,10 +50,11 @@ Module slice. M.read (| M.get_constant (| "core::slice::memchr::LO_USIZE" |) |) ] |)) - (UnOp.Pure.not (M.read (| x |)))) - (M.read (| M.get_constant (| "core::slice::memchr::HI_USIZE" |) |))) - (Value.Integer 0))) - | _, _ => M.impossible + (UnOp.not (| M.read (| x |) |))) + (M.read (| M.get_constant (| "core::slice::memchr::HI_USIZE" |) |)), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_contains_zero_byte : @@ -87,21 +88,22 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| text |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| + |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| M.get_constant (| "core::slice::memchr::USIZE_BYTES" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -128,7 +130,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_memchr : M.IsFunction "core::slice::memchr::memchr" memchr. @@ -158,7 +160,7 @@ Module slice. M.catch_return (| ltac:(M.monadic (M.read (| - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -170,16 +172,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| i |)) - (M.call_closure (| + BinOp.lt (| + M.read (| i |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| text |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -195,14 +198,15 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| text |), i |) - |)) - (M.read (| x |)) + |), + M.read (| x |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -227,7 +231,10 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -249,7 +256,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_memchr_naive : M.IsFunction "core::slice::memchr::memchr_naive" memchr_naive. @@ -360,7 +367,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| offset |)) (Value.Integer 0) + BinOp.gt (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -376,7 +386,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| offset |)) (M.read (| len |)) + BinOp.lt (| M.read (| offset |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -466,17 +476,18 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| offset |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| + BinOp.le (| + M.read (| offset |), + BinOp.Wrap.sub (| + M.read (| len |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| M.get_constant (| "core::slice::memchr::USIZE_BYTES" |) - |)))) + |) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -507,14 +518,14 @@ Module slice. |), [ M.read (| ptr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| offset |), + M.read (| M.get_constant (| "core::slice::memchr::USIZE_BYTES" |) - |)) + |) + |) ] |)) |) in @@ -525,11 +536,7 @@ Module slice. "core::slice::memchr::contains_zero_byte", [] |), - [ - BinOp.Pure.bit_xor - (M.read (| u |)) - (M.read (| repeated_x |)) - ] + [ BinOp.bit_xor (M.read (| u |)) (M.read (| repeated_x |)) ] |) |) in let~ zv := @@ -539,11 +546,7 @@ Module slice. "core::slice::memchr::contains_zero_byte", [] |), - [ - BinOp.Pure.bit_xor - (M.read (| v |)) - (M.read (| repeated_x |)) - ] + [ BinOp.bit_xor (M.read (| v |)) (M.read (| repeated_x |)) ] |) |) in M.match_operator (| @@ -574,15 +577,15 @@ Module slice. let β := offset in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "core::slice::memchr::USIZE_BYTES" |) - |)) - (Value.Integer 2)) + |), + Value.Integer IntegerKind.Usize 2 + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -624,17 +627,17 @@ Module slice. M.read (| offset |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| text |) ] - |)) - (M.read (| offset |)) + |), + M.read (| offset |) + |) ] |) |) in @@ -660,7 +663,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ BinOp.Wrap.add Integer.Usize (M.read (| offset |)) (M.read (| i |)) ] + [ BinOp.Wrap.add (| M.read (| offset |), M.read (| i |) |) ] |))); fun γ => ltac:(M.monadic @@ -669,7 +672,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_memchr_aligned : @@ -790,17 +793,17 @@ Module slice. |), [ M.read (| prefix |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| suffix |) ] - |)) + |) + |) ] |))) ] @@ -879,12 +882,13 @@ Module slice. fun γ => ltac:(M.monadic (let elt := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| elt |) |)) - (M.read (| x |)))) + BinOp.eq (| + M.read (| M.read (| elt |) |), + M.read (| x |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -903,10 +907,10 @@ Module slice. Value.StructTuple "core::option::Option::Some" [ - BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (M.read (| index |)) + BinOp.Wrap.add (| + M.read (| offset |), + M.read (| index |) + |) ] |) |) @@ -940,9 +944,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| offset |)) - (M.read (| min_aligned_offset |)) + BinOp.gt (| + M.read (| offset |), + M.read (| min_aligned_offset |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -961,13 +966,13 @@ Module slice. |), [ M.read (| ptr |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| offset |)) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| chunk_bytes |))) + BinOp.Wrap.sub (| + M.read (| offset |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| chunk_bytes |) + |) + |) ] |)) |) in @@ -982,10 +987,10 @@ Module slice. |), [ M.read (| ptr |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| offset |)) - (M.read (| chunk_bytes |)) + BinOp.Wrap.sub (| + M.read (| offset |), + M.read (| chunk_bytes |) + |) ] |)) |) in @@ -997,7 +1002,7 @@ Module slice. [] |), [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| u |)) (M.read (| repeated_x |)) ] @@ -1011,7 +1016,7 @@ Module slice. [] |), [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| v |)) (M.read (| repeated_x |)) ] @@ -1045,13 +1050,13 @@ Module slice. let β := offset in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| chunk_bytes |))) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| chunk_bytes |) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1126,12 +1131,13 @@ Module slice. fun γ => ltac:(M.monadic (let elt := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| elt |) |)) - (M.read (| x |)))) + BinOp.eq (| + M.read (| M.read (| elt |) |), + M.read (| x |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1140,7 +1146,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_memrchr : M.IsFunction "core::slice::memchr::memrchr" memrchr. diff --git a/CoqOfRust/core/slice/mod.v b/CoqOfRust/core/slice/mod.v index 2700c5a22..5105e9705 100644 --- a/CoqOfRust/core/slice/mod.v +++ b/CoqOfRust/core/slice/mod.v @@ -110,7 +110,10 @@ Module slice. "checked_add", [] |), - [ M.read (| M.read (| i |) |); Value.Integer 1 ] + [ + M.read (| M.read (| i |) |); + Value.Integer IntegerKind.Usize 1 + ] |) ] |) @@ -207,7 +210,10 @@ Module slice. "checked_add", [] |), - [ M.read (| M.read (| i |) |); Value.Integer 1 ] + [ + M.read (| M.read (| i |) |); + Value.Integer IntegerKind.Usize 1 + ] |) ] |) @@ -306,7 +312,7 @@ Module slice. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_split_point_of : M.IsFunction "core::slice::split_point_of" split_point_of. @@ -345,8 +351,14 @@ Module slice. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.read (| (* thir failed to compile: Any { .. } *) M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + M.call_closure (| + M.get_function (| + "core::ptr::metadata::metadata", + [ Ty.apply (Ty.path "slice") [ T ] ] + |), + [ M.read (| self |) ] + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "len" (len T). @@ -362,13 +374,14 @@ Module slice. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : @@ -405,7 +418,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first : @@ -442,7 +455,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first_mut : @@ -482,7 +495,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_first : @@ -522,7 +535,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_first_mut : @@ -562,7 +575,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_last : @@ -602,7 +615,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_last_mut : @@ -639,7 +652,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last : @@ -676,7 +689,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_mut : @@ -709,16 +722,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::first_chunk::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::first_chunk::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -742,7 +756,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first_chunk : @@ -776,16 +790,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::first_chunk_mut::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::first_chunk_mut::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -809,7 +824,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_first_chunk_mut : @@ -845,16 +860,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::split_first_chunk::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::split_first_chunk::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -905,7 +921,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_first_chunk : @@ -944,18 +960,19 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::slice::split_first_chunk_mut::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -1008,7 +1025,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_first_chunk_mut : @@ -1044,16 +1061,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::split_last_chunk::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::split_last_chunk::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -1069,17 +1087,17 @@ Module slice. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::split_last_chunk::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::split_last_chunk::N" |) |) + |) ] |) |), @@ -1114,7 +1132,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_last_chunk : @@ -1153,18 +1171,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| - M.get_constant (| "core::slice::split_last_chunk_mut::N" |) - |)) + |), + M.read (| M.get_constant (| "core::slice::split_last_chunk_mut::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -1180,19 +1197,19 @@ Module slice. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::slice::split_last_chunk_mut::N" |) - |)) + |) + |) ] |) |), @@ -1227,7 +1244,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_last_chunk_mut : @@ -1264,16 +1281,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::last_chunk::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::last_chunk::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -1291,17 +1309,17 @@ Module slice. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::last_chunk::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::last_chunk::N" |) |) + |) ] |) |), @@ -1326,7 +1344,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_chunk : @@ -1364,16 +1382,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::last_chunk_mut::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::last_chunk_mut::N" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -1392,19 +1411,19 @@ Module slice. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::slice::last_chunk_mut::N" |) - |)) + |) + |) ] |) |), @@ -1430,7 +1449,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_chunk_mut : @@ -1462,7 +1481,7 @@ Module slice. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "get" (get T). @@ -1492,7 +1511,7 @@ Module slice. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -1527,7 +1546,7 @@ Module slice. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_unchecked : @@ -1562,7 +1581,7 @@ Module slice. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_unchecked_mut : @@ -1581,7 +1600,7 @@ Module slice. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -1600,7 +1619,7 @@ Module slice. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_ptr : @@ -1664,7 +1683,7 @@ Module slice. [ ("start", M.read (| start |)); ("end_", M.read (| end_ |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr_range : @@ -1716,7 +1735,7 @@ Module slice. [ ("start", M.read (| start |)); ("end_", M.read (| end_ |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_ptr_range : @@ -1758,7 +1777,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : @@ -1804,30 +1823,33 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.lt - (M.read (| a |)) - (M.call_closure (| + UnOp.not (| + LogicalOp.and (| + BinOp.lt (| + M.read (| a |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| b |)) - (M.call_closure (| + (BinOp.lt (| + M.read (| b |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1899,7 +1921,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_unchecked : @@ -1957,13 +1979,13 @@ Module slice. M.read (| let~ half_len := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |) in M.match_operator (| M.alloc (| @@ -2041,7 +2063,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse : @@ -2067,7 +2089,7 @@ Module slice. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter : @@ -2093,7 +2115,7 @@ Module slice. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_iter_mut : @@ -2148,7 +2170,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_windows : @@ -2178,8 +2200,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| chunk_size |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| chunk_size |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2220,7 +2246,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_chunks : @@ -2250,8 +2276,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| chunk_size |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| chunk_size |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2292,7 +2322,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_chunks_mut : @@ -2322,8 +2352,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| chunk_size |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| chunk_size |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2364,7 +2398,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_chunks_exact : @@ -2394,8 +2428,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| chunk_size |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| chunk_size |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2436,7 +2474,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_chunks_exact_mut : @@ -2479,34 +2517,37 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.ne - (M.read (| + UnOp.not (| + LogicalOp.and (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::as_chunks_unchecked::N" |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + (BinOp.eq (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::slice::as_chunks_unchecked::N" |) - |))) - (Value.Integer 0))) - |)) + |) + |), + Value.Integer IntegerKind.Usize 0 + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2591,7 +2632,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_chunks_unchecked : @@ -2625,10 +2666,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| M.get_constant (| "core::slice::as_chunks::N" |) |)) - (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::as_chunks::N" |) |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2660,13 +2703,13 @@ Module slice. |) in let~ len := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::as_chunks::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::as_chunks::N" |) |) + |) |) in M.match_operator (| M.alloc (| @@ -2674,10 +2717,10 @@ Module slice. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "split_at", [] |), [ M.read (| self |); - BinOp.Wrap.mul - Integer.Usize - (M.read (| len |)) - (M.read (| M.get_constant (| "core::slice::as_chunks::N" |) |)) + BinOp.Wrap.mul (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::as_chunks::N" |) |) + |) ] |) |), @@ -2703,7 +2746,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_chunks : @@ -2737,10 +2780,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| M.get_constant (| "core::slice::as_rchunks::N" |) |)) - (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::as_rchunks::N" |) |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2772,13 +2817,13 @@ Module slice. |) in let~ len := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::as_rchunks::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::as_rchunks::N" |) |) + |) |) in M.match_operator (| M.alloc (| @@ -2786,16 +2831,16 @@ Module slice. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "split_at", [] |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| len |)) - (M.read (| M.get_constant (| "core::slice::as_rchunks::N" |) |))) + |), + BinOp.Wrap.mul (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::as_rchunks::N" |) |) + |) + |) ] |) |), @@ -2821,7 +2866,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_rchunks : @@ -2850,10 +2895,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| M.get_constant (| "core::slice::array_chunks::N" |) |)) - (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::array_chunks::N" |) |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2894,7 +2941,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_array_chunks : @@ -2937,34 +2984,37 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.ne - (M.read (| + UnOp.not (| + LogicalOp.and (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::as_chunks_unchecked_mut::N" |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + (BinOp.eq (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::slice::as_chunks_unchecked_mut::N" |) - |))) - (Value.Integer 0))) - |)) + |) + |), + Value.Integer IntegerKind.Usize 0 + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3049,7 +3099,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_chunks_unchecked_mut : @@ -3083,10 +3133,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| M.get_constant (| "core::slice::as_chunks_mut::N" |) |)) - (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::as_chunks_mut::N" |) |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3118,13 +3170,13 @@ Module slice. |) in let~ len := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::as_chunks_mut::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::as_chunks_mut::N" |) |) + |) |) in M.match_operator (| M.alloc (| @@ -3136,10 +3188,10 @@ Module slice. |), [ M.read (| self |); - BinOp.Wrap.mul - Integer.Usize - (M.read (| len |)) - (M.read (| M.get_constant (| "core::slice::as_chunks_mut::N" |) |)) + BinOp.Wrap.mul (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::as_chunks_mut::N" |) |) + |) ] |) |), @@ -3165,7 +3217,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_chunks_mut : @@ -3199,10 +3251,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| M.get_constant (| "core::slice::as_rchunks_mut::N" |) |)) - (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::as_rchunks_mut::N" |) |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3234,13 +3288,13 @@ Module slice. |) in let~ len := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::as_rchunks_mut::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::as_rchunks_mut::N" |) |) + |) |) in M.match_operator (| M.alloc (| @@ -3252,16 +3306,16 @@ Module slice. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| len |)) - (M.read (| M.get_constant (| "core::slice::as_rchunks_mut::N" |) |))) + |), + BinOp.Wrap.mul (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::as_rchunks_mut::N" |) |) + |) + |) ] |) |), @@ -3287,7 +3341,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_rchunks_mut : @@ -3316,12 +3370,14 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::array_chunks_mut::N" |) - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3362,7 +3418,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_array_chunks_mut : @@ -3391,10 +3447,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.read (| M.get_constant (| "core::slice::array_windows::N" |) |)) - (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| M.get_constant (| "core::slice::array_windows::N" |) |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3435,7 +3493,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_array_windows : @@ -3465,8 +3523,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| chunk_size |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| chunk_size |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3507,7 +3569,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rchunks : @@ -3537,8 +3599,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| chunk_size |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| chunk_size |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3579,7 +3645,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rchunks_mut : @@ -3609,8 +3675,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| chunk_size |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| chunk_size |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3651,7 +3721,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rchunks_exact : @@ -3681,8 +3751,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne (M.read (| chunk_size |)) (Value.Integer 0)) + UnOp.not (| + BinOp.ne (| + M.read (| chunk_size |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3723,7 +3797,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rchunks_exact_mut : @@ -3753,7 +3827,7 @@ Module slice. |), [ M.read (| self |); M.read (| pred |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_group_by : @@ -3783,7 +3857,7 @@ Module slice. |), [ M.read (| self |); M.read (| pred |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_group_by_mut : @@ -3815,17 +3889,19 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| mid |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| mid |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3850,7 +3926,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at : @@ -3882,17 +3958,19 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| mid |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| mid |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3917,7 +3995,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at_mut : @@ -3980,8 +4058,7 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le (M.read (| mid |)) (M.read (| len |))) + UnOp.not (| BinOp.le (| M.read (| mid |), M.read (| len |) |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -4042,13 +4119,13 @@ Module slice. |), [ M.read (| ptr |); M.read (| mid |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| mid |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| mid |) |) ] |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at_unchecked : @@ -4114,8 +4191,7 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le (M.read (| mid |)) (M.read (| len |))) + UnOp.not (| BinOp.le (| M.read (| mid |), M.read (| len |) |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -4172,13 +4248,13 @@ Module slice. M.get_associated_function (| Ty.apply (Ty.path "*mut") [ T ], "add", [] |), [ M.read (| ptr |); M.read (| mid |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| mid |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| mid |) |) ] |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at_mut_unchecked : @@ -4234,7 +4310,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_array_ref : @@ -4294,7 +4370,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_array_mut : @@ -4325,19 +4401,21 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| M.get_constant (| "core::slice::rsplit_array_ref::N" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4357,13 +4435,13 @@ Module slice. M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "split_at", [] |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::rsplit_array_ref::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::rsplit_array_ref::N" |) |) + |) ] |) |), @@ -4392,7 +4470,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit_array_ref : @@ -4423,19 +4501,21 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| M.get_constant (| "core::slice::rsplit_array_mut::N" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4459,13 +4539,13 @@ Module slice. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| M.get_constant (| "core::slice::rsplit_array_mut::N" |) |)) + |), + M.read (| M.get_constant (| "core::slice::rsplit_array_mut::N" |) |) + |) ] |) |), @@ -4494,7 +4574,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit_array_mut : @@ -4524,7 +4604,7 @@ Module slice. |), [ M.read (| self |); M.read (| pred |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split : @@ -4554,7 +4634,7 @@ Module slice. |), [ M.read (| self |); M.read (| pred |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_mut : @@ -4584,7 +4664,7 @@ Module slice. |), [ M.read (| self |); M.read (| pred |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_inclusive : @@ -4614,7 +4694,7 @@ Module slice. |), [ M.read (| self |); M.read (| pred |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_inclusive_mut : @@ -4644,7 +4724,7 @@ Module slice. |), [ M.read (| self |); M.read (| pred |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit : @@ -4674,7 +4754,7 @@ Module slice. |), [ M.read (| self |); M.read (| pred |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit_mut : @@ -4711,7 +4791,7 @@ Module slice. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_splitn : @@ -4752,7 +4832,7 @@ Module slice. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_splitn_mut : @@ -4789,7 +4869,7 @@ Module slice. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplitn : @@ -4830,7 +4910,7 @@ Module slice. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplitn_mut : @@ -4988,10 +5068,10 @@ Module slice. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| index |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| index |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -5000,7 +5080,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_once : @@ -5158,10 +5238,10 @@ Module slice. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| index |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| index |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -5170,7 +5250,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit_once : @@ -5196,7 +5276,7 @@ Module slice. M.get_trait_method (| "core::slice::cmp::SliceContains", T, [], "slice_contains", [] |), [ M.read (| x |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : @@ -5229,12 +5309,13 @@ Module slice. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| n |)), + |), + M.read (| n |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -5268,7 +5349,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_starts_with : @@ -5315,7 +5396,7 @@ Module slice. let n := M.copy (| γ0_1 |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.ge (M.read (| m |)) (M.read (| n |)), + BinOp.ge (| M.read (| m |), M.read (| n |) |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -5346,10 +5427,7 @@ Module slice. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (M.read (| m |)) - (M.read (| n |))) + BinOp.Wrap.sub (| M.read (| m |), M.read (| n |) |)) ] ] |) @@ -5361,7 +5439,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ends_with : @@ -5418,16 +5496,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| n |)) - (M.call_closure (| + BinOp.le (| + M.read (| n |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5501,7 +5580,7 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_strip_prefix : @@ -5580,7 +5659,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| n |)) (M.read (| len |)) + BinOp.le (| M.read (| n |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -5597,10 +5676,7 @@ Module slice. |), [ M.read (| self |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| n |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| n |) |) ] |) |), @@ -5666,7 +5742,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_strip_suffix : @@ -5718,11 +5794,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_binary_search : @@ -5788,7 +5864,7 @@ Module slice. [ M.read (| self |) ] |) |) in - let~ left := M.alloc (| Value.Integer 0 |) in + let~ left := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ right := M.copy (| size |) in let~ _ := M.loop (| @@ -5801,7 +5877,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| left |)) (M.read (| right |)) + BinOp.lt (| M.read (| left |), M.read (| right |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -5810,13 +5886,13 @@ Module slice. |) in let~ mid := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| left |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| size |)) - (Value.Integer 2)) + BinOp.Wrap.add (| + M.read (| left |), + BinOp.Wrap.div (| + M.read (| size |), + Value.Integer IntegerKind.Usize 2 + |) + |) |) in let~ cmp := M.alloc (| @@ -5880,10 +5956,10 @@ Module slice. Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| mid |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| mid |), + Value.Integer IntegerKind.Usize 1 + |) |))); fun γ => ltac:(M.monadic left) ] @@ -5974,16 +6050,17 @@ Module slice. [] |), [ - BinOp.Pure.lt - (M.read (| mid |)) - (M.call_closure (| + BinOp.lt (| + M.read (| mid |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) + |) + |) ] |) |) in @@ -6001,10 +6078,7 @@ Module slice. let~ _ := M.write (| size, - BinOp.Wrap.sub - Integer.Usize - (M.read (| right |)) - (M.read (| left |)) + BinOp.Wrap.sub (| M.read (| right |), M.read (| left |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -6028,23 +6102,24 @@ Module slice. M.call_closure (| M.get_function (| "core::intrinsics::assume", [] |), [ - BinOp.Pure.le - (M.read (| left |)) - (M.call_closure (| + BinOp.le (| + M.read (| left |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) + |) + |) ] |) |) in M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| left |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_binary_search_by : @@ -6112,11 +6187,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_binary_search_by_key : @@ -6158,7 +6233,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort_unstable : @@ -6253,14 +6328,14 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort_unstable_by : @@ -6357,14 +6432,14 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort_unstable_by_key : @@ -6402,7 +6477,7 @@ Module slice. M.get_trait_method (| "core::cmp::PartialOrd", T, [ T ], "lt", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_select_nth_unstable : @@ -6499,11 +6574,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_select_nth_unstable_by : @@ -6601,11 +6676,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_select_nth_unstable_by_key : @@ -6670,11 +6745,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_partition_dedup : @@ -6811,7 +6886,9 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.le (M.read (| len |)) (Value.Integer 1) |)) in + (M.alloc (| + BinOp.le (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6841,8 +6918,8 @@ Module slice. [ M.read (| self |) ] |) |) in - let~ next_read := M.alloc (| Value.Integer 1 |) in - let~ next_write := M.alloc (| Value.Integer 1 |) in + let~ next_read := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in + let~ next_write := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -6854,7 +6931,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| next_read |)) (M.read (| len |)) + BinOp.lt (| M.read (| next_read |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -6882,10 +6959,10 @@ Module slice. |), [ M.read (| ptr |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| next_write |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| next_write |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -6898,8 +6975,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -6921,7 +6998,8 @@ Module slice. M.read (| prev_ptr_write |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6937,9 +7015,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| next_read |)) - (M.read (| next_write |)) + BinOp.ne (| + M.read (| next_read |), + M.read (| next_write |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6956,7 +7035,7 @@ Module slice. |), [ M.read (| prev_ptr_write |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -6982,10 +7061,10 @@ Module slice. let β := next_write in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -6995,7 +7074,10 @@ Module slice. let β := next_read in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -7026,7 +7108,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_partition_dedup_by : @@ -7118,11 +7200,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_partition_dedup_by_key : @@ -7159,17 +7241,19 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| mid |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| mid |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7185,13 +7269,13 @@ Module slice. |) in let~ k := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| mid |)) + |), + M.read (| mid |) + |) |) in let~ p := M.alloc (| @@ -7220,7 +7304,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_left : @@ -7257,17 +7341,19 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| k |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| k |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7283,13 +7369,13 @@ Module slice. |) in let~ mid := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| k |)) + |), + M.read (| k |) + |) |) in let~ p := M.alloc (| @@ -7318,7 +7404,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rotate_right : @@ -7356,7 +7442,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fill : @@ -7452,7 +7538,7 @@ Module slice. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fill_with : @@ -7490,7 +7576,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clone_from_slice : @@ -7543,23 +7629,24 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| src |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7624,7 +7711,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_from_slice : @@ -7700,7 +7787,7 @@ Module slice. let src_end := M.copy (| γ0_1 |) in let~ count := M.alloc (| - BinOp.Wrap.sub Integer.Usize (M.read (| src_end |)) (M.read (| src_start |)) + BinOp.Wrap.sub (| M.read (| src_end |), M.read (| src_start |) |) |) in let~ _ := M.match_operator (| @@ -7711,20 +7798,22 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| dest |)) - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| dest |), + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| count |)))) + |), + M.read (| count |) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7807,7 +7896,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy_within : @@ -7842,24 +7931,26 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| other |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7924,7 +8015,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap_with_slice : @@ -7979,44 +8070,44 @@ Module slice. M.copy (| M.get_constant (| "core::slice::align_to_offsets_discriminant" |) |) in let~ ts := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| M.get_function (| "core::mem::size_of", [ U ] |), [] |)) - (M.read (| gcd |)) + BinOp.Wrap.div (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ U ] |), [] |), + M.read (| gcd |) + |) |) in let~ us := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |)) - (M.read (| gcd |)) + BinOp.Wrap.div (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |), + M.read (| gcd |) + |) |) in let~ us_len := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.mul (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| ts |))) - (M.read (| us |)) + |), + M.read (| ts |) + |), + M.read (| us |) + |) |) in let~ ts_len := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.read (| ts |)) + |), + M.read (| ts |) + |) |) in M.alloc (| Value.Tuple [ M.read (| us_len |); M.read (| ts_len |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align_to_offsets : @@ -8136,16 +8227,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| offset |)) - (M.call_closure (| + BinOp.gt (| + M.read (| offset |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8238,17 +8330,17 @@ Module slice. |), [ M.read (| rest |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| rest |) ] - |)) - (M.read (| ts_len |)) + |), + M.read (| ts_len |) + |) ] |); M.read (| ts_len |) @@ -8264,7 +8356,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align_to : @@ -8392,16 +8484,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| offset |)) - (M.call_closure (| + BinOp.gt (| + M.read (| offset |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8501,10 +8594,10 @@ Module slice. |), [ M.read (| mut_ptr |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| rest_len |)) - (M.read (| ts_len |)) + BinOp.Wrap.sub (| + M.read (| rest_len |), + M.read (| ts_len |) + |) ] |); M.read (| ts_len |) @@ -8520,7 +8613,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_align_to_mut : @@ -8591,10 +8684,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8641,7 +8736,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_simd : @@ -8712,10 +8807,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8762,7 +8859,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_simd_mut : @@ -8827,11 +8924,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_sorted : @@ -8930,11 +9027,11 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_sorted_by : @@ -8973,7 +9070,7 @@ Module slice. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_sorted_by_key : @@ -9065,7 +9162,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -9084,11 +9181,11 @@ Module slice. M.read (| i |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_partition_point : @@ -9211,16 +9308,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| split_index |)) - (M.call_closure (| + BinOp.gt (| + M.read (| split_index |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| M.read (| self |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9296,7 +9394,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take : @@ -9422,16 +9520,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| split_index |)) - (M.call_closure (| + BinOp.gt (| + M.read (| split_index |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| M.read (| self |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9517,7 +9616,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_mut : @@ -9632,7 +9731,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_first : @@ -9755,7 +9854,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_first_mut : @@ -9870,7 +9969,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_last : @@ -9993,7 +10092,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_last_mut : @@ -10075,7 +10174,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.get_constant (| "core::slice::get_many_unchecked_mut::N" |) @@ -10184,7 +10283,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_many_unchecked_mut : @@ -10223,8 +10322,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::slice::get_many_check_valid", [] |), [ indices; @@ -10237,7 +10336,8 @@ Module slice. [ M.read (| self |) ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10275,7 +10375,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_many_mut : @@ -10393,7 +10493,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flatten : @@ -10506,7 +10606,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flatten_mut : @@ -10551,7 +10651,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort_floats : M.IsAssociatedFunction Self "sort_floats" sort_floats. @@ -10594,7 +10694,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort_floats : M.IsAssociatedFunction Self "sort_floats" sort_floats. @@ -10636,24 +10736,26 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| src |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10725,7 +10827,7 @@ Module slice. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| len |)) ] + [ ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| len |)) ] ] |) |), @@ -10790,7 +10892,7 @@ Module slice. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10831,7 +10933,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10856,7 +10958,7 @@ Module slice. let Self : Ty.t := Self T in match τ, α with | [], [] => ltac:(M.monadic (* Unsize *) (M.pointer_coercion (M.alloc (| Value.Array [] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10881,7 +10983,7 @@ Module slice. let Self : Ty.t := Self T in match τ, α with | [], [] => ltac:(M.monadic (* Unsize *) (M.pointer_coercion (M.alloc (| Value.Array [] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10914,7 +11016,7 @@ Module slice. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10945,7 +11047,7 @@ Module slice. ltac:(M.monadic (let self := M.alloc (| self |) in (* Unsize *) M.pointer_coercion (M.read (| self |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11066,9 +11168,9 @@ Module slice. let β := valid in M.write (| β, - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| β |)) - (BinOp.Pure.lt (M.read (| idx |)) (M.read (| len |))) + (BinOp.lt (| M.read (| idx |), M.read (| len |) |)) |) in M.use (M.match_operator (| @@ -11155,11 +11257,12 @@ Module slice. let β := valid in M.write (| β, - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| β |)) - (BinOp.Pure.ne - (M.read (| idx |)) - (M.read (| idx2 |))) + (BinOp.ne (| + M.read (| idx |), + M.read (| idx2 |) + |)) |) in M.alloc (| Value.Tuple [] |))) ] @@ -11176,7 +11279,7 @@ Module slice. |)) in valid |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_get_many_check_valid : @@ -11222,7 +11325,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11256,7 +11359,7 @@ Module slice. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/slice/raw.v b/CoqOfRust/core/slice/raw.v index 3fed614c0..ad60b16cb 100644 --- a/CoqOfRust/core/slice/raw.v +++ b/CoqOfRust/core/slice/raw.v @@ -65,7 +65,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_raw_parts : M.IsFunction "core::slice::raw::from_raw_parts" from_raw_parts. @@ -138,7 +138,7 @@ Module slice. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_raw_parts_mut : @@ -160,7 +160,7 @@ Module slice. M.get_function (| "core::array::from_ref", [ T ] |), [ M.read (| s |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_ref : M.IsFunction "core::slice::raw::from_ref" from_ref. @@ -181,7 +181,7 @@ Module slice. M.get_function (| "core::array::from_mut", [ T ] |), [ M.read (| s |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_mut : M.IsFunction "core::slice::raw::from_mut" from_mut. @@ -224,7 +224,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_ptr_range : M.IsFunction "core::slice::raw::from_ptr_range" from_ptr_range. @@ -269,7 +269,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_mut_ptr_range : diff --git a/CoqOfRust/core/slice/rotate.v b/CoqOfRust/core/slice/rotate.v index 6c1cbecdb..89beff251 100644 --- a/CoqOfRust/core/slice/rotate.v +++ b/CoqOfRust/core/slice/rotate.v @@ -217,9 +217,15 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq (M.read (| right |)) (Value.Integer 0), + BinOp.eq (| + M.read (| right |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq (M.read (| left |)) (Value.Integer 0))) + (BinOp.eq (| + M.read (| left |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -244,25 +250,27 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt - (BinOp.Wrap.add - Integer.Usize - (M.read (| left |)) - (M.read (| right |))) - (Value.Integer 24), + BinOp.lt (| + BinOp.Wrap.add (| + M.read (| left |), + M.read (| right |) + |), + Value.Integer IntegerKind.Usize 24 + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.call_closure (| + (BinOp.gt (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.apply (Ty.path "array") [ Ty.path "usize" ] ] |), [] - |)))) + |) + |))) |) |)) in let _ := @@ -330,9 +338,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| i |)) - (M.read (| left |)) + BinOp.ge (| + M.read (| i |), + M.read (| left |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -343,10 +352,10 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| left |)) + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| left |) + |) |) in let~ _ := M.match_operator (| @@ -357,9 +366,12 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| i |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| i |), + Value.Integer + IntegerKind.Usize + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -402,9 +414,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| i |)) - (M.read (| gcd |)) + BinOp.lt (| + M.read (| i |), + M.read (| gcd |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -425,10 +438,10 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| right |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| right |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -452,7 +465,8 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 1); + ("start", + Value.Integer IntegerKind.Usize 1); ("end_", M.read (| gcd |)) ] ] @@ -534,10 +548,10 @@ Module slice. let~ _ := M.write (| i, - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| right |)) + BinOp.Wrap.add (| + M.read (| start |), + M.read (| right |) + |) |) in M.loop (| ltac:(M.monadic @@ -580,13 +594,14 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| i - |)) - (M.read (| + |), + M.read (| left - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -597,12 +612,12 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| left - |)) + |) + |) |) in M.match_operator (| M.alloc (| @@ -614,13 +629,14 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| i - |)) - (M.read (| + |), + M.read (| start - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -692,12 +708,12 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| right - |)) + |) + |) |) in M.alloc (| Value.Tuple [] @@ -725,17 +741,16 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "usize" ] |), [ M.read (| left |); M.read (| right |) ] - |)) - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.div (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ @@ -745,14 +760,16 @@ Module slice. ] |), [] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -837,9 +854,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| left |)) - (M.read (| right |)) + BinOp.le (| + M.read (| left |), + M.read (| right |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1010,9 +1028,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| left |)) - (M.read (| right |)) + BinOp.ge (| + M.read (| left |), + M.read (| right |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1064,10 +1083,10 @@ Module slice. let β := left in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| right |)) + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| right |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1077,9 +1096,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| left |)) - (M.read (| right |)) + BinOp.lt (| + M.read (| left |), + M.read (| right |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1144,10 +1164,10 @@ Module slice. let β := right in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| left |)) + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| left |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1157,9 +1177,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| right |)) - (M.read (| left |)) + BinOp.lt (| + M.read (| right |), + M.read (| left |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1189,7 +1210,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ptr_rotate : M.IsFunction "core::slice::rotate::ptr_rotate" ptr_rotate. diff --git a/CoqOfRust/core/slice/select.v b/CoqOfRust/core/slice/select.v index f943cde61..fef791f6f 100644 --- a/CoqOfRust/core/slice/select.v +++ b/CoqOfRust/core/slice/select.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Module slice. Module select. Definition value_MAX_INSERTION : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 10 |))). (* fn partition_at_index_loop<'a, T, F>( @@ -102,7 +102,7 @@ Module slice. M.catch_return (| ltac:(M.monadic (M.read (| - let~ limit := M.alloc (| Value.Integer 16 |) in + let~ limit := M.alloc (| Value.Integer IntegerKind.I32 16 |) in let~ was_balanced := M.alloc (| Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -118,20 +118,21 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::slice::select::MAX_INSERTION" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -150,16 +151,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -175,7 +177,7 @@ Module slice. |), [ M.read (| v |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.read (| is_less |) ] |) @@ -201,7 +203,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| limit |)) (Value.Integer 0) + BinOp.eq (| + M.read (| limit |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -240,7 +245,7 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| UnOp.Pure.not (M.read (| was_balanced |)) |)) in + (M.alloc (| UnOp.not (| M.read (| was_balanced |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -260,10 +265,10 @@ Module slice. let β := limit in M.write (| β, - BinOp.Wrap.sub - Integer.I32 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -304,8 +309,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -330,7 +335,8 @@ Module slice. |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -363,9 +369,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| mid |)) - (M.read (| index |)) + BinOp.gt (| + M.read (| mid |), + M.read (| index |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -413,10 +420,10 @@ Module slice. let~ _ := M.write (| index, - BinOp.Wrap.sub - Integer.Usize - (M.read (| index |)) - (M.read (| mid |)) + BinOp.Wrap.sub (| + M.read (| index |), + M.read (| mid |) + |) |) in let~ _ := M.write (| @@ -455,38 +462,39 @@ Module slice. let~ _ := M.write (| was_balanced, - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "usize" ] |), [ M.read (| mid |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (M.read (| mid |)) + |), + M.read (| mid |) + |) ] - |)) - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + |), + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 8)) + |), + Value.Integer IntegerKind.Usize 8 + |) + |) |) in M.match_operator (| M.alloc (| @@ -516,7 +524,10 @@ Module slice. "split_at_mut", [] |), - [ M.read (| right |); Value.Integer 1 ] + [ + M.read (| right |); + Value.Integer IntegerKind.Usize 1 + ] |) |), [ @@ -538,7 +549,9 @@ Module slice. M.alloc (| M.SubPointer.get_array_field (| M.read (| pivot |), - M.alloc (| Value.Integer 0 |) + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) |) |) in M.match_operator (| @@ -549,9 +562,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| mid |)) - (M.read (| index |)) + BinOp.lt (| + M.read (| mid |), + M.read (| index |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -566,13 +580,15 @@ Module slice. let~ _ := M.write (| index, - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| index |)) - (M.read (| mid |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| index |), + M.read (| mid |) + |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in let~ _ := M.write (| @@ -592,11 +608,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| mid |)) - (M.read (| - index - |)) + BinOp.gt (| + M.read (| mid |), + M.read (| index |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -640,7 +655,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_partition_at_index_loop : @@ -790,7 +805,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -811,11 +826,11 @@ Module slice. M.read (| i |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_min_index : M.IsFunction "core::slice::select::min_index" min_index. @@ -964,7 +979,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -985,11 +1000,11 @@ Module slice. M.read (| i |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_max_index : M.IsFunction "core::slice::select::max_index" max_index. @@ -1046,16 +1061,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| index |)) - (M.call_closure (| + BinOp.ge (| + M.read (| index |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1142,19 +1158,20 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| index |)) - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.eq (| + M.read (| index |), + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1202,7 +1219,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| index |)) (Value.Integer 0) + BinOp.eq (| + M.read (| index |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1296,7 +1316,7 @@ Module slice. "split_at_mut", [] |), - [ M.read (| right |); Value.Integer 1 ] + [ M.read (| right |); Value.Integer IntegerKind.Usize 1 ] |) |), [ @@ -1310,7 +1330,7 @@ Module slice. M.alloc (| M.SubPointer.get_array_field (| M.read (| pivot |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) in M.alloc (| @@ -1322,7 +1342,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_partition_at_index : @@ -1404,17 +1424,19 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| k |)) - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.read (| k |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1458,13 +1480,15 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.read (| + UnOp.not (| + UnOp.not (| + M.read (| M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1501,20 +1525,21 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::slice::select::MAX_INSERTION" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1533,16 +1558,17 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1558,7 +1584,7 @@ Module slice. |), [ M.read (| v |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.read (| is_less |) ] |) @@ -1584,19 +1610,20 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| k |)) - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.eq (| + M.read (| k |), + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1656,7 +1683,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| k |)) (Value.Integer 0) + BinOp.eq (| + M.read (| k |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1729,7 +1759,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| p |)) (M.read (| k |)) + BinOp.eq (| M.read (| p |), M.read (| k |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1749,7 +1779,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| p |)) (M.read (| k |)) + BinOp.gt (| M.read (| p |), M.read (| k |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1803,10 +1833,10 @@ Module slice. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| p |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| p |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -1815,13 +1845,13 @@ Module slice. let β := k in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| p |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| p |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -1834,7 +1864,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_median_of_medians : @@ -1884,31 +1914,32 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 1024) + |), + Value.Integer IntegerKind.Usize 1024 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 12) + |), + Value.Integer IntegerKind.Usize 12 + |) |))); fun γ => ltac:(M.monadic @@ -1920,23 +1951,27 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_mul", [] |), - [ Value.Integer 128; Value.Integer 1024 ] - |)) + [ + Value.Integer IntegerKind.Usize 128; + Value.Integer IntegerKind.Usize 1024 + ] + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1944,32 +1979,32 @@ Module slice. Value.Bool true |) in M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 64) + |), + Value.Integer IntegerKind.Usize 64 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 1024) + |), + Value.Integer IntegerKind.Usize 1024 + |) |))) ] |))) @@ -1977,47 +2012,47 @@ Module slice. |) |) in let~ pivot := - M.alloc (| BinOp.Wrap.div Integer.Usize (M.read (| frac |)) (Value.Integer 2) |) in + M.alloc (| + BinOp.Wrap.div (| M.read (| frac |), Value.Integer IntegerKind.Usize 2 |) + |) in let~ lo := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 2)) - (M.read (| pivot |)) + |), + Value.Integer IntegerKind.Usize 2 + |), + M.read (| pivot |) + |) |) in - let~ hi := - M.alloc (| BinOp.Wrap.add Integer.Usize (M.read (| frac |)) (M.read (| lo |)) |) in + let~ hi := M.alloc (| BinOp.Wrap.add (| M.read (| frac |), M.read (| lo |) |) |) in let~ gap := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (BinOp.Wrap.mul Integer.Usize (Value.Integer 9) (M.read (| frac |)))) - (Value.Integer 4) + |), + BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 9, M.read (| frac |) |) + |), + Value.Integer IntegerKind.Usize 4 + |) |) in let~ a := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| lo |)) - (BinOp.Wrap.mul Integer.Usize (Value.Integer 4) (M.read (| frac |)))) - (M.read (| gap |)) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| lo |), + BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 4, M.read (| frac |) |) + |), + M.read (| gap |) + |) |) in - let~ b := - M.alloc (| BinOp.Wrap.add Integer.Usize (M.read (| hi |)) (M.read (| gap |)) |) in + let~ b := M.alloc (| BinOp.Wrap.add (| M.read (| hi |), M.read (| gap |) |) |) in let~ _ := M.use (M.match_operator (| @@ -2087,32 +2122,32 @@ Module slice. M.read (| v |); M.read (| is_less |); M.read (| a |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (M.read (| frac |)); + BinOp.Wrap.sub (| + M.read (| i |), + M.read (| frac |) + |); M.read (| b |); - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (Value.Integer 1); + BinOp.Wrap.add (| + M.read (| a |), + Value.Integer IntegerKind.Usize 1 + |); M.read (| i |); - BinOp.Wrap.add - Integer.Usize - (M.read (| b |)) - (Value.Integer 1); - BinOp.Wrap.add - Integer.Usize - (M.read (| a |)) - (Value.Integer 2); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| frac |)); - BinOp.Wrap.add - Integer.Usize - (M.read (| b |)) - (Value.Integer 2) + BinOp.Wrap.add (| + M.read (| b |), + Value.Integer IntegerKind.Usize 1 + |); + BinOp.Wrap.add (| + M.read (| a |), + Value.Integer IntegerKind.Usize 2 + |); + BinOp.Wrap.add (| + M.read (| i |), + M.read (| frac |) + |); + BinOp.Wrap.add (| + M.read (| b |), + Value.Integer IntegerKind.Usize 2 + |) ] |) |) in @@ -2120,19 +2155,19 @@ Module slice. let β := a in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 3) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 3 + |) |) in let~ _ := let β := b in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 3) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 3 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2160,8 +2195,7 @@ Module slice. "core::ops::range::Range" [ ("start", M.read (| lo |)); - ("end_", - BinOp.Wrap.add Integer.Usize (M.read (| lo |)) (M.read (| frac |))) + ("end_", BinOp.Wrap.add (| M.read (| lo |), M.read (| frac |) |)) ] ] |); @@ -2176,7 +2210,7 @@ Module slice. M.get_function (| "core::slice::sort::partition", [ T; F ] |), [ M.read (| v |); - BinOp.Wrap.add Integer.Usize (M.read (| lo |)) (M.read (| pivot |)); + BinOp.Wrap.add (| M.read (| lo |), M.read (| pivot |) |); M.read (| is_less |) ] |) @@ -2184,7 +2218,7 @@ Module slice. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_median_of_ninthers : @@ -2684,7 +2718,7 @@ Module slice. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ninther : M.IsFunction "core::slice::select::ninther" ninther. @@ -2846,7 +2880,7 @@ Module slice. b |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_median_idx : M.IsFunction "core::slice::select::median_idx" median_idx. diff --git a/CoqOfRust/core/slice/sort.v b/CoqOfRust/core/slice/sort.v index 610c18e8f..f911d3840 100644 --- a/CoqOfRust/core/slice/sort.v +++ b/CoqOfRust/core/slice/sort.v @@ -51,13 +51,13 @@ Module slice. "dest" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -144,17 +144,19 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 2)) + |), + Value.Integer IntegerKind.Usize 2 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -189,13 +191,13 @@ Module slice. |) in let~ i := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ i_ptr := M.alloc (| @@ -234,7 +236,7 @@ Module slice. "sub", [] |), - [ M.read (| i_ptr |); Value.Integer 1 ] + [ M.read (| i_ptr |); Value.Integer IntegerKind.Usize 1 ] |) ] ] @@ -280,7 +282,7 @@ Module slice. "sub", [] |), - [ M.read (| i_ptr |); Value.Integer 1 ] + [ M.read (| i_ptr |); Value.Integer IntegerKind.Usize 1 ] |)) ] |) in @@ -299,7 +301,7 @@ Module slice. |) |)); M.read (| i_ptr |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -330,12 +332,12 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -408,8 +410,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -445,7 +447,8 @@ Module slice. M.read (| j_ptr |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -478,7 +481,7 @@ Module slice. "dest" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -502,7 +505,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_insert_tail : M.IsFunction "core::slice::sort::insert_tail" insert_tail. @@ -587,17 +590,19 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 2)) + |), + Value.Integer IntegerKind.Usize 2 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -648,7 +653,7 @@ Module slice. "get_unchecked", [ Ty.path "usize" ] |), - [ M.read (| v |); Value.Integer 1 ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 1 ] |); M.call_closure (| M.get_associated_function (| @@ -656,7 +661,7 @@ Module slice. "get_unchecked", [ Ty.path "usize" ] |), - [ M.read (| v |); Value.Integer 0 ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 0 ] |) ] ] @@ -713,7 +718,7 @@ Module slice. "add", [] |), - [ M.read (| arr_ptr |); Value.Integer 1 ] + [ M.read (| arr_ptr |); Value.Integer IntegerKind.Usize 1 ] |)) ] |) in @@ -730,7 +735,7 @@ Module slice. "add", [] |), - [ M.read (| arr_ptr |); Value.Integer 1 ] + [ M.read (| arr_ptr |); Value.Integer IntegerKind.Usize 1 ] |)); M.call_closure (| M.get_associated_function (| @@ -738,9 +743,9 @@ Module slice. "add", [] |), - [ M.read (| arr_ptr |); Value.Integer 0 ] + [ M.read (| arr_ptr |); Value.Integer IntegerKind.Usize 0 ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -759,7 +764,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 2); + ("start", Value.Integer IntegerKind.Usize 2); ("end_", M.call_closure (| M.get_associated_function (| @@ -824,8 +829,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -873,7 +878,8 @@ Module slice. |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -915,13 +921,13 @@ Module slice. |), [ M.read (| arr_ptr |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -952,7 +958,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_insert_head : M.IsFunction "core::slice::sort::insert_head" insert_head. @@ -1002,12 +1008,16 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.ne (M.read (| offset |)) (Value.Integer 0), + UnOp.not (| + LogicalOp.and (| + BinOp.ne (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.le (M.read (| offset |)) (M.read (| len |)))) - |)) + (BinOp.le (| M.read (| offset |), M.read (| len |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1119,7 +1129,7 @@ Module slice. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_insertion_sort_shift_left : @@ -1171,16 +1181,23 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.ne (M.read (| offset |)) (Value.Integer 0), + BinOp.ne (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.le (M.read (| offset |)) (M.read (| len |)))) + (BinOp.le (| M.read (| offset |), M.read (| len |) |))) |), ltac:(M.monadic - (BinOp.Pure.ge (M.read (| len |)) (Value.Integer 2))) - |)) + (BinOp.ge (| + M.read (| len |), + Value.Integer IntegerKind.Usize 2 + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1224,7 +1241,10 @@ Module slice. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| offset |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| offset |)) + ] ] |) ] @@ -1313,7 +1333,7 @@ Module slice. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_insertion_sort_shift_right : @@ -1384,7 +1404,7 @@ Module slice. [ M.read (| v |) ] |) |) in - let~ i := M.alloc (| Value.Integer 1 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ _ := M.use (M.match_operator (| @@ -1401,7 +1421,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.get_constant (| @@ -1465,12 +1485,13 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| i |)) - (M.read (| len |)), + BinOp.lt (| + M.read (| i |), + M.read (| len |) + |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -1515,15 +1536,18 @@ Module slice. |), [ M.read (| v |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| i |), + Value.Integer + IntegerKind.Usize + 1 + |) ] |) ] ] - |)))) + |) + |))) |) |)) in let _ := @@ -1535,10 +1559,10 @@ Module slice. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1568,9 +1592,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| i |)) - (M.read (| len |)) + BinOp.eq (| + M.read (| i |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1595,13 +1620,14 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| len |)) - (M.read (| + BinOp.lt (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::sort::partial_insertion_sort::SHORTEST_SHIFTING" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1629,10 +1655,10 @@ Module slice. |), [ M.read (| v |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (Value.Integer 1); + BinOp.Wrap.sub (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |); M.read (| i |) ] |) @@ -1645,9 +1671,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| i |)) - (Value.Integer 2) + BinOp.ge (| + M.read (| i |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1682,10 +1709,10 @@ Module slice. [ ("end_", M.read (| i |)) ] ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (Value.Integer 1); + BinOp.Wrap.sub (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |); M.read (| is_less |) ] |) @@ -1718,7 +1745,7 @@ Module slice. [ ("end_", M.read (| i |)) ] ] |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.read (| is_less |) ] |) @@ -1737,7 +1764,7 @@ Module slice. M.alloc (| Value.Bool false |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_partial_insertion_sort : @@ -1745,10 +1772,10 @@ Module slice. Module partial_insertion_sort. Definition value_MAX_STEPS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 5 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 5 |))). Definition value_SHORTEST_SHIFTING : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 50 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 50 |))). End partial_insertion_sort. (* @@ -1828,13 +1855,13 @@ Module slice. ltac:(M.monadic (let~ child := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| node |))) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| node |) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -1845,9 +1872,9 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| child |)) - (M.call_closure (| + BinOp.ge (| + M.read (| child |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -1856,7 +1883,8 @@ Module slice. [] |), [ M.read (| v |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1882,12 +1910,14 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.add - Integer.Usize - (M.read (| child |)) - (Value.Integer 1)) - (M.call_closure (| + BinOp.lt (| + BinOp.Wrap.add (| + M.read (| child |), + Value.Integer + IntegerKind.Usize + 1 + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -1896,7 +1926,8 @@ Module slice. [] |), [ M.read (| v |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1907,10 +1938,9 @@ Module slice. let β := child in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", @@ -1940,15 +1970,18 @@ Module slice. M.SubPointer.get_array_field (| M.read (| v |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| child |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| child |), + Value.Integer + IntegerKind.Usize + 1 + |) |) |) ] ] - |))) + |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1965,8 +1998,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -1998,7 +2031,8 @@ Module slice. |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2038,7 +2072,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -2068,19 +2102,19 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| v |) ] - |)) - (Value.Integer 2)) + |), + Value.Integer IntegerKind.Usize 2 + |)) ] ] |) @@ -2197,7 +2231,7 @@ Module slice. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 1); + ("start", Value.Integer IntegerKind.Usize 1); ("end_", M.call_closure (| M.get_associated_function (| @@ -2262,7 +2296,11 @@ Module slice. "swap", [] |), - [ M.read (| v |); Value.Integer 0; M.read (| i |) ] + [ + M.read (| v |); + Value.Integer IntegerKind.Usize 0; + M.read (| i |) + ] |) |) in let~ _ := @@ -2316,7 +2354,7 @@ Module slice. [ ("end_", M.read (| i |)) ] ] |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] ] |) @@ -2329,7 +2367,7 @@ Module slice. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_heapsort : M.IsFunction "core::slice::sort::heapsort" heapsort. @@ -2681,17 +2719,18 @@ Module slice. ltac:(M.monadic (let~ is_done := M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_function (| "core::slice::sort::partition_in_blocks.width", [] |), [ M.read (| l |); M.read (| r |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| + |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| M.get_constant (| "core::slice::sort::partition_in_blocks::BLOCK" |) - |))) + |) + |) + |) |) in let~ _ := M.match_operator (| @@ -2722,13 +2761,15 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt - (M.read (| start_l |)) - (M.read (| end_l |)), + BinOp.lt (| + M.read (| start_l |), + M.read (| end_l |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| start_r |)) - (M.read (| end_r |)))) + (BinOp.lt (| + M.read (| start_r |), + M.read (| end_r |) + |))) |) |)) in let _ := @@ -2740,14 +2781,14 @@ Module slice. let β := rem in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| M.get_constant (| "core::slice::sort::partition_in_blocks::BLOCK" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -2762,9 +2803,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| start_l |)) - (M.read (| end_l |)) + BinOp.lt (| M.read (| start_l |), M.read (| end_l |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -2783,9 +2822,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| start_r |)) - (M.read (| end_r |)) + BinOp.lt (| + M.read (| start_r |), + M.read (| end_r |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2799,18 +2839,18 @@ Module slice. (let~ _ := M.write (| block_l, - BinOp.Wrap.div - Integer.Usize - (M.read (| rem |)) - (Value.Integer 2) + BinOp.Wrap.div (| + M.read (| rem |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ _ := M.write (| block_r, - BinOp.Wrap.sub - Integer.Usize - (M.read (| rem |)) - (M.read (| block_l |)) + BinOp.Wrap.sub (| + M.read (| rem |), + M.read (| block_l |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2838,24 +2878,27 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.le - (M.read (| block_l |)) - (M.read (| + UnOp.not (| + LogicalOp.and (| + BinOp.le (| + M.read (| block_l |), + M.read (| M.get_constant (| "core::slice::sort::partition_in_blocks::BLOCK" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| block_r |)) - (M.read (| + (BinOp.le (| + M.read (| block_r |), + M.read (| M.get_constant (| "core::slice::sort::partition_in_blocks::BLOCK" |) - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2906,19 +2949,21 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_function (| "core::slice::sort::partition_in_blocks.width", [] |), [ M.read (| l |); M.read (| r |) ] - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| block_l |)) - (M.read (| block_r |)))) + |), + BinOp.Wrap.add (| + M.read (| block_l |), + M.read (| block_r |) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2961,7 +3006,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| start_l |)) (M.read (| end_l |)) + BinOp.eq (| M.read (| start_l |), M.read (| end_l |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2997,7 +3042,9 @@ Module slice. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| block_l |)) + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| block_l |)) ] ] |) @@ -3063,8 +3110,8 @@ Module slice. [ M.read (| end_l |); M.rust_cast - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -3090,7 +3137,8 @@ Module slice. M.read (| pivot |) ] ] - |))) + |) + |)) ] |) |) in @@ -3103,7 +3151,10 @@ Module slice. "add", [] |), - [ M.read (| elem |); Value.Integer 1 ] + [ + M.read (| elem |); + Value.Integer IntegerKind.Usize 1 + ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -3125,7 +3176,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| start_r |)) (M.read (| end_r |)) + BinOp.eq (| M.read (| start_r |), M.read (| end_r |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3161,7 +3212,9 @@ Module slice. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| block_r |)) + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| block_r |)) ] ] |) @@ -3217,7 +3270,10 @@ Module slice. "sub", [] |), - [ M.read (| elem |); Value.Integer 1 ] + [ + M.read (| elem |); + Value.Integer IntegerKind.Usize 1 + ] |) |) in let~ _ := @@ -3302,7 +3358,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| count |)) (Value.Integer 0) + BinOp.gt (| + M.read (| count |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3354,9 +3413,8 @@ Module slice. |), [ M.read (| r |); - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "usize", @@ -3365,8 +3423,9 @@ Module slice. [] |), [ M.read (| M.read (| start_r |) |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |)); M.call_closure (| @@ -3389,7 +3448,7 @@ Module slice. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -3410,7 +3469,9 @@ Module slice. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 1); ("end_", M.read (| count |)) + [ + ("start", Value.Integer IntegerKind.Usize 1); + ("end_", M.read (| count |)) ] ] |) @@ -3469,7 +3530,9 @@ Module slice. "add", [] |), - [ M.read (| start_l |); Value.Integer 1 + [ + M.read (| start_l |); + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -3515,9 +3578,8 @@ Module slice. |), [ M.read (| r |); - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "usize", @@ -3530,11 +3592,14 @@ Module slice. M.read (| start_r |) |) ] - |)) - (Value.Integer 1) + |), + Value.Integer + IntegerKind.Usize + 1 + |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -3549,7 +3614,9 @@ Module slice. "add", [] |), - [ M.read (| start_r |); Value.Integer 1 + [ + M.read (| start_r |); + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -3571,9 +3638,8 @@ Module slice. |), [ M.read (| r |); - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "usize", @@ -3586,8 +3652,11 @@ Module slice. M.read (| start_r |) |) ] - |)) - (Value.Integer 1) + |), + Value.Integer + IntegerKind.Usize + 1 + |) ] |)); M.call_closure (| @@ -3614,7 +3683,7 @@ Module slice. |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -3642,9 +3711,8 @@ Module slice. |), [ M.read (| r |); - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "usize", @@ -3653,11 +3721,12 @@ Module slice. [] |), [ M.read (| M.read (| start_r |) |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -3677,7 +3746,7 @@ Module slice. "add", [] |), - [ M.read (| start_l |); Value.Integer 1 ] + [ M.read (| start_l |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -3689,7 +3758,7 @@ Module slice. "add", [] |), - [ M.read (| start_r |); Value.Integer 1 ] + [ M.read (| start_r |); Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -3705,7 +3774,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| start_l |)) (M.read (| end_l |)) + BinOp.eq (| M.read (| start_l |), M.read (| end_l |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3734,7 +3803,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| start_r |)) (M.read (| end_r |)) + BinOp.eq (| M.read (| start_r |), M.read (| end_r |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3774,7 +3843,7 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| start_l |)) (M.read (| end_l |)) |)) in + (M.alloc (| BinOp.lt (| M.read (| start_l |), M.read (| end_l |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.match_operator (| @@ -3820,10 +3889,12 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3878,7 +3949,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| start_l |)) (M.read (| end_l |)) + BinOp.lt (| M.read (| start_l |), M.read (| end_l |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -3894,7 +3965,7 @@ Module slice. "sub", [] |), - [ M.read (| end_l |); Value.Integer 1 ] + [ M.read (| end_l |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -3928,7 +3999,7 @@ Module slice. "sub", [] |), - [ M.read (| r |); Value.Integer 1 ] + [ M.read (| r |); Value.Integer IntegerKind.Usize 1 ] |) ] |) @@ -3942,7 +4013,7 @@ Module slice. "sub", [] |), - [ M.read (| r |); Value.Integer 1 ] + [ M.read (| r |); Value.Integer IntegerKind.Usize 1 ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -3988,7 +4059,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| start_r |)) (M.read (| end_r |)) + BinOp.lt (| M.read (| start_r |), M.read (| end_r |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4038,14 +4109,16 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4105,9 +4178,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| start_r |)) - (M.read (| end_r |)) + BinOp.lt (| + M.read (| start_r |), + M.read (| end_r |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4123,7 +4197,10 @@ Module slice. "sub", [] |), - [ M.read (| end_r |); Value.Integer 1 ] + [ + M.read (| end_r |); + Value.Integer IntegerKind.Usize 1 + ] |) |) in let~ _ := @@ -4140,9 +4217,8 @@ Module slice. |), [ M.read (| r |); - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "usize", @@ -4151,8 +4227,9 @@ Module slice. [] |), [ M.read (| M.read (| end_r |) |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -4167,7 +4244,8 @@ Module slice. "add", [] |), - [ M.read (| l |); Value.Integer 1 ] + [ M.read (| l |); Value.Integer IntegerKind.Usize 1 + ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -4232,14 +4310,15 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_partition_in_blocks : M.IsFunction "core::slice::sort::partition_in_blocks" partition_in_blocks. Module partition_in_blocks. - Definition value_BLOCK : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 128 |))). + Definition value_BLOCK : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 128 |))). (* fn width(l: *mut T, r: *mut T) -> usize { @@ -4265,13 +4344,15 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.call_closure (| + UnOp.not (| + BinOp.gt (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Usize 0 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4291,22 +4372,22 @@ Module slice. ] |) in M.alloc (| - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ T ], "addr", [] |), [ M.read (| r |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") [ T ], "addr", [] |), [ M.read (| l |) ] - |))) - (M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |)) + |) + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ T ] |), [] |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_width : M.IsFunction "core::slice::sort::partition_in_blocks::width" width. @@ -4377,7 +4458,7 @@ Module slice. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "swap", [] |), - [ M.read (| v |); Value.Integer 0; M.read (| pivot |) ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 0; M.read (| pivot |) ] |) |) in M.match_operator (| @@ -4388,7 +4469,7 @@ Module slice. "split_at_mut", [] |), - [ M.read (| v |); Value.Integer 1 ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 1 ] |) |), [ @@ -4402,7 +4483,7 @@ Module slice. M.alloc (| M.SubPointer.get_array_field (| M.read (| pivot |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) in let~ tmp := @@ -4455,7 +4536,7 @@ Module slice. [ tmp ] |) |) in - let~ l := M.alloc (| Value.Integer 0 |) in + let~ l := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ r := M.alloc (| M.call_closure (| @@ -4480,7 +4561,7 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| l |)) (M.read (| r |)), + BinOp.lt (| M.read (| l |), M.read (| r |) |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -4523,10 +4604,10 @@ Module slice. let β := l in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4556,10 +4637,10 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| l |)) (M.read (| r |)), + BinOp.lt (| M.read (| l |), M.read (| r |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -4585,16 +4666,17 @@ Module slice. |), [ M.read (| v |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| r |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| r |), + Value.Integer IntegerKind.Usize 1 + |) ] |); M.read (| pivot |) ] ] - |)))) + |) + |))) |) |)) in let _ := @@ -4606,10 +4688,10 @@ Module slice. let β := r in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4631,10 +4713,9 @@ Module slice. M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| l |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| l |), + M.call_closure (| M.get_function (| "core::slice::sort::partition_in_blocks", [ T; F ] @@ -4662,8 +4743,9 @@ Module slice. M.read (| pivot |); M.read (| is_less |) ] - |)); - BinOp.Pure.ge (M.read (| l |)) (M.read (| r |)) + |) + |); + BinOp.ge (| M.read (| l |), M.read (| r |) |) ] |))) ] @@ -4683,14 +4765,14 @@ Module slice. "swap", [] |), - [ M.read (| v |); Value.Integer 0; M.read (| mid |) ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 0; M.read (| mid |) ] |) |) in M.alloc (| Value.Tuple [ M.read (| mid |); M.read (| was_partitioned |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_partition : M.IsFunction "core::slice::sort::partition" partition. @@ -4772,7 +4854,7 @@ Module slice. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "swap", [] |), - [ M.read (| v |); Value.Integer 0; M.read (| pivot |) ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 0; M.read (| pivot |) ] |) |) in M.match_operator (| @@ -4783,7 +4865,7 @@ Module slice. "split_at_mut", [] |), - [ M.read (| v |); Value.Integer 1 ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 1 ] |) |), [ @@ -4797,7 +4879,7 @@ Module slice. M.alloc (| M.SubPointer.get_array_field (| M.read (| pivot |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) in let~ tmp := @@ -4870,7 +4952,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4879,13 +4964,13 @@ Module slice. |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| Value.Integer 0 |) |) + M.read (| M.return_ (| Value.Integer IntegerKind.Usize 0 |) |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ l := M.alloc (| Value.Integer 0 |) in + let~ l := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ r := M.copy (| len |) in let~ _ := M.loop (| @@ -4902,10 +4987,10 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| l |)) (M.read (| r |)), + BinOp.lt (| M.read (| l |), M.read (| r |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -4936,7 +5021,8 @@ Module slice. |) ] ] - |)))) + |) + |))) |) |)) in let _ := @@ -4948,10 +5034,10 @@ Module slice. let β := l in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4977,10 +5063,10 @@ Module slice. let β := r in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -4991,10 +5077,10 @@ Module slice. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ge (M.read (| l |)) (M.read (| r |)), + BinOp.ge (| M.read (| l |), M.read (| r |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -5025,7 +5111,8 @@ Module slice. |) ] ] - |)))) + |) + |))) |) |)) in let _ := @@ -5049,7 +5136,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| l |)) (M.read (| r |)) + BinOp.ge (| M.read (| l |), M.read (| r |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -5101,18 +5188,21 @@ Module slice. let β := l in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) |) in M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| l |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| l |), Value.Integer IntegerKind.Usize 1 |) |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_partition_equal : @@ -5184,7 +5274,10 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| len |)) (Value.Integer 8) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| len |), Value.Integer IntegerKind.Usize 8 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ seed := M.copy (| len |) in let~ gen_usize := @@ -5209,11 +5302,12 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.get_constant (| "core::num::BITS" |) - |)) - (Value.Integer 32) + |), + Value.Integer IntegerKind.U32 32 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5228,31 +5322,34 @@ Module slice. let β := r in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Wrap.shl - (M.read (| r |)) - (Value.Integer 13)) + (BinOp.Wrap.shl (| + M.read (| r |), + Value.Integer IntegerKind.I32 13 + |)) |) in let~ _ := let β := r in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Wrap.shr - (M.read (| r |)) - (Value.Integer 17)) + (BinOp.Wrap.shr (| + M.read (| r |), + Value.Integer IntegerKind.I32 17 + |)) |) in let~ _ := let β := r in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Wrap.shl - (M.read (| r |)) - (Value.Integer 5)) + (BinOp.Wrap.shl (| + M.read (| r |), + Value.Integer IntegerKind.I32 5 + |)) |) in let~ _ := M.write (| @@ -5270,31 +5367,34 @@ Module slice. let β := r in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Wrap.shl - (M.read (| r |)) - (Value.Integer 13)) + (BinOp.Wrap.shl (| + M.read (| r |), + Value.Integer IntegerKind.I32 13 + |)) |) in let~ _ := let β := r in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Wrap.shr - (M.read (| r |)) - (Value.Integer 7)) + (BinOp.Wrap.shr (| + M.read (| r |), + Value.Integer IntegerKind.I32 7 + |)) |) in let~ _ := let β := r in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Wrap.shl - (M.read (| r |)) - (Value.Integer 17)) + (BinOp.Wrap.shl (| + M.read (| r |), + Value.Integer IntegerKind.I32 17 + |)) |) in let~ _ := M.write (| @@ -5307,7 +5407,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ modulus := @@ -5319,10 +5419,10 @@ Module slice. |) in let~ pos := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.div Integer.Usize (M.read (| len |)) (Value.Integer 4)) - (Value.Integer 2) + BinOp.Wrap.mul (| + BinOp.Wrap.div (| M.read (| len |), Value.Integer IntegerKind.Usize 4 |), + Value.Integer IntegerKind.Usize 2 + |) |) in M.use (M.match_operator (| @@ -5338,7 +5438,10 @@ Module slice. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 3) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 3) + ] ] |) |), @@ -5386,7 +5489,7 @@ Module slice. let i := M.copy (| γ0_0 |) in let~ other := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", @@ -5397,10 +5500,10 @@ Module slice. |), [ gen_usize; Value.Tuple [] ] |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| modulus |)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + M.read (| modulus |), + Value.Integer IntegerKind.Usize 1 + |)) |) in let~ _ := M.match_operator (| @@ -5411,9 +5514,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| other |)) - (M.read (| len |)) + BinOp.ge (| + M.read (| other |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5424,10 +5528,10 @@ Module slice. let β := other in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| len |)) + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| len |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -5444,13 +5548,13 @@ Module slice. |), [ M.read (| v |); - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| pos |)) - (Value.Integer 1)) - (M.read (| i |)); + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| pos |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| i |) + |); M.read (| other |) ] |) @@ -5466,7 +5570,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_break_patterns : M.IsFunction "core::slice::sort::break_patterns" break_patterns. @@ -5557,26 +5661,26 @@ Module slice. |) in let~ a := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.div Integer.Usize (M.read (| len |)) (Value.Integer 4)) - (Value.Integer 1) + BinOp.Wrap.mul (| + BinOp.Wrap.div (| M.read (| len |), Value.Integer IntegerKind.Usize 4 |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ b := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.div Integer.Usize (M.read (| len |)) (Value.Integer 4)) - (Value.Integer 2) + BinOp.Wrap.mul (| + BinOp.Wrap.div (| M.read (| len |), Value.Integer IntegerKind.Usize 4 |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ c := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.div Integer.Usize (M.read (| len |)) (Value.Integer 4)) - (Value.Integer 3) + BinOp.Wrap.mul (| + BinOp.Wrap.div (| M.read (| len |), Value.Integer IntegerKind.Usize 4 |), + Value.Integer IntegerKind.Usize 3 + |) |) in - let~ swaps := M.alloc (| Value.Integer 0 |) in + let~ swaps := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -5584,7 +5688,10 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ge (M.read (| len |)) (Value.Integer 8) |)) in + M.use + (M.alloc (| + BinOp.ge (| M.read (| len |), Value.Integer IntegerKind.Usize 8 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ sort2 := M.alloc (| @@ -5691,10 +5798,12 @@ Module slice. let β := swaps in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -5707,7 +5816,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ sort3 := @@ -5871,7 +5980,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -5883,13 +5992,14 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| len |)) - (M.read (| + BinOp.ge (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::sort::choose_pivot::SHORTEST_MEDIAN_OF_MEDIANS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5955,17 +6065,21 @@ Module slice. Value.Tuple [ M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| tmp |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| tmp |), + Value.Integer + IntegerKind.Usize + 1 + |) |); M.read (| a |); M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| tmp |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| tmp |), + Value.Integer + IntegerKind.Usize + 1 + |) |) ] ] @@ -5975,7 +6089,7 @@ Module slice. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -6080,16 +6194,20 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| swaps |)) - (M.read (| + BinOp.lt (| + M.read (| swaps |), + M.read (| M.get_constant (| "core::slice::sort::choose_pivot::MAX_SWAPS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple - [ M.read (| b |); BinOp.Pure.eq (M.read (| swaps |)) (Value.Integer 0) ] + [ + M.read (| b |); + BinOp.eq (| M.read (| swaps |), Value.Integer IntegerKind.Usize 0 |) + ] |))); fun γ => ltac:(M.monadic @@ -6107,29 +6225,37 @@ Module slice. M.alloc (| Value.Tuple [ - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1)) - (M.read (| b |)); + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| b |) + |); Value.Bool true ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_choose_pivot : M.IsFunction "core::slice::sort::choose_pivot" choose_pivot. Module choose_pivot. Definition value_SHORTEST_MEDIAN_OF_MEDIANS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 50 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 50 |))). Definition value_MAX_SWAPS : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.mul Integer.Usize (Value.Integer 4) (Value.Integer 3) |))). + (M.alloc (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 4, + Value.Integer IntegerKind.Usize 3 + |) + |))). End choose_pivot. (* @@ -6258,13 +6384,14 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| len |)) - (M.read (| + BinOp.le (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::sort::recurse::MAX_INSERTION" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6283,9 +6410,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| len |)) - (Value.Integer 2) + BinOp.ge (| + M.read (| len |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6301,7 +6429,7 @@ Module slice. |), [ M.read (| v |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.read (| is_less |) ] |) @@ -6327,7 +6455,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| limit |)) (Value.Integer 0) + BinOp.eq (| + M.read (| limit |), + Value.Integer IntegerKind.U32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6362,7 +6493,7 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| UnOp.Pure.not (M.read (| was_balanced |)) |)) in + (M.alloc (| UnOp.not (| M.read (| was_balanced |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -6382,10 +6513,10 @@ Module slice. let β := limit in M.write (| β, - BinOp.Wrap.sub - Integer.U32 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -6483,8 +6614,8 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -6509,7 +6640,8 @@ Module slice. |) ] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6588,24 +6720,25 @@ Module slice. let~ _ := M.write (| was_balanced, - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "usize" ] |), [ M.read (| mid |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| mid |)) + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| mid |) + |) ] - |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| len |)) - (Value.Integer 8)) + |), + BinOp.Wrap.div (| + M.read (| len |), + Value.Integer IntegerKind.Usize 8 + |) + |) |) in let~ _ := M.write (| was_partitioned, M.read (| was_p |) |) in @@ -6637,7 +6770,10 @@ Module slice. "split_at_mut", [] |), - [ M.read (| right |); Value.Integer 1 ] + [ + M.read (| right |); + Value.Integer IntegerKind.Usize 1 + ] |) |), [ @@ -6659,7 +6795,9 @@ Module slice. M.alloc (| M.SubPointer.get_array_field (| M.read (| pivot |), - M.alloc (| Value.Integer 0 |) + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) |) |) in M.match_operator (| @@ -6670,8 +6808,8 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -6680,8 +6818,8 @@ Module slice. [] |), [ M.read (| left |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -6690,7 +6828,8 @@ Module slice. [] |), [ M.read (| right |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6766,14 +6905,14 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_recurse : M.IsFunction "core::slice::sort::recurse" recurse. Module recurse. Definition value_MAX_INSERTION : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 20 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 20 |))). End recurse. (* @@ -6819,10 +6958,9 @@ Module slice. |) in let~ limit := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::num::BITS" |) |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::num::BITS" |) |), + M.call_closure (| M.get_associated_function (| Ty.path "usize", "leading_zeros", [] |), [ M.call_closure (| @@ -6834,7 +6972,8 @@ Module slice. [ M.read (| v |) ] |) ] - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -6851,7 +6990,7 @@ Module slice. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_quicksort : M.IsFunction "core::slice::sort::quicksort" quicksort. @@ -7022,12 +7161,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| mid |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| mid |))) + BinOp.le (| + M.read (| mid |), + BinOp.Wrap.sub (| M.read (| len |), M.read (| mid |) |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7097,19 +7234,21 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| M.read (| left |) |)) - (M.read (| + BinOp.lt (| + M.read (| M.read (| left |) |), + M.read (| M.SubPointer.get_struct_record_field (| hole, "core::slice::sort::merge::MergeHole", "end" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| right |)) - (M.read (| v_end |)))) + (BinOp.lt (| + M.read (| right |), + M.read (| v_end |) + |))) |) |)) in let _ := @@ -7172,7 +7311,7 @@ Module slice. (* MutToConstPointer *) M.pointer_coercion (M.read (| to_copy |)); M.read (| M.read (| out |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -7185,7 +7324,10 @@ Module slice. "add", [] |), - [ M.read (| M.read (| out |) |); Value.Integer 1 ] + [ + M.read (| M.read (| out |) |); + Value.Integer IntegerKind.Usize 1 + ] |) |) in let~ _ := @@ -7214,7 +7356,7 @@ Module slice. |), [ M.read (| M.read (| left |) |); - M.rust_cast (UnOp.Pure.not (M.read (| is_l |))) + M.rust_cast (UnOp.not (| M.read (| is_l |) |)) ] |) |) in @@ -7249,10 +7391,7 @@ Module slice. (* MutToConstPointer *) M.pointer_coercion (M.read (| v_mid |)); M.read (| buf |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| mid |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| mid |) |) ] |) |) in @@ -7272,10 +7411,10 @@ Module slice. |), [ M.read (| buf |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| mid |)) + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| mid |) + |) ] |)); ("dest", M.read (| v_mid |)) @@ -7310,13 +7449,15 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| v |)) - (M.read (| M.read (| left |) |)), + BinOp.lt (| + M.read (| v |), + M.read (| M.read (| left |) |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| buf |)) - (M.read (| M.read (| right |) |)))) + (BinOp.lt (| + M.read (| buf |), + M.read (| M.read (| right |) |) + |))) |) |)) in let _ := @@ -7352,7 +7493,7 @@ Module slice. |), [ M.read (| M.read (| right |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |); M.call_closure (| @@ -7363,7 +7504,7 @@ Module slice. |), [ M.read (| M.read (| left |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) ] @@ -7396,7 +7537,7 @@ Module slice. |), [ M.read (| M.read (| right |) |); - M.rust_cast (UnOp.Pure.not (M.read (| is_l |))) + M.rust_cast (UnOp.not (| M.read (| is_l |) |)) ] |) |) in @@ -7427,7 +7568,10 @@ Module slice. "sub", [] |), - [ M.read (| out |); Value.Integer 1 ] + [ + M.read (| out |); + Value.Integer IntegerKind.Usize 1 + ] |) |) in let~ _ := @@ -7441,7 +7585,7 @@ Module slice. (* MutToConstPointer *) M.pointer_coercion (M.read (| to_copy |)); M.read (| out |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -7468,7 +7612,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_merge : M.IsFunction "core::slice::sort::merge" merge. @@ -7561,7 +7705,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7884,13 +8028,15 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.read (| + UnOp.not (| + UnOp.not (| + M.read (| M.get_constant (| "core::mem::SizedTypeProperties::IS_ZST" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7929,13 +8075,14 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| len |)) - (M.read (| + BinOp.le (| + M.read (| len |), + M.read (| M.get_constant (| "core::slice::sort::merge_sort::MAX_INSERTION" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7951,7 +8098,10 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| len |)) (Value.Integer 2) + BinOp.ge (| + M.read (| len |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7967,7 +8117,7 @@ Module slice. |), [ M.read (| v |); - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; M.read (| is_less |) ] |) @@ -7994,7 +8144,7 @@ Module slice. [ ElemAllocF ] |), [ - BinOp.Wrap.div Integer.Usize (M.read (| len |)) (Value.Integer 2); + BinOp.Wrap.div (| M.read (| len |), Value.Integer IntegerKind.Usize 2 |); M.read (| elem_alloc_fn |); M.read (| elem_dealloc_fn |) ] @@ -8032,8 +8182,8 @@ Module slice. [ M.read (| run_alloc_fn |); M.read (| run_dealloc_fn |) ] |) |) in - let~ end_ := M.alloc (| Value.Integer 0 |) in - let~ start := M.alloc (| Value.Integer 0 |) in + let~ end_ := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ start := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -8045,7 +8195,7 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| end_ |)) (M.read (| len |)) + BinOp.lt (| M.read (| end_ |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -8094,10 +8244,10 @@ Module slice. let β := end_ in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| streak_end |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| streak_end |) + |) |) in let~ _ := M.match_operator (| @@ -8182,10 +8332,10 @@ Module slice. [ ("start", M.read (| start |)); ("len", - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (M.read (| start |))) + BinOp.Wrap.sub (| + M.read (| end_ |), + M.read (| start |) + |)) ] ] |) @@ -8259,10 +8409,10 @@ Module slice. |), [ runs; - BinOp.Wrap.add - Integer.Usize - (M.read (| r |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| r |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -8294,22 +8444,22 @@ Module slice. |) |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| right, "core::slice::sort::TimSortRun", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| right, "core::slice::sort::TimSortRun", "len" |) - |))) + |) + |)) ] ] |) @@ -8352,10 +8502,10 @@ Module slice. |), [ runs; - BinOp.Wrap.add - Integer.Usize - (M.read (| r |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| r |), + Value.Integer IntegerKind.Usize 1 + |) ] |), Value.StructRecord @@ -8370,22 +8520,22 @@ Module slice. |) |)); ("len", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| left, "core::slice::sort::TimSortRun", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| right, "core::slice::sort::TimSortRun", "len" |) - |))) + |) + |)) ] |) in let~ _ := @@ -8457,11 +8607,11 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -8471,11 +8621,12 @@ Module slice. [] |), [ runs ] - |)) - (Value.Integer 1), + |), + Value.Integer IntegerKind.Usize 1 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.call_closure (| M.get_trait_method (| @@ -8488,17 +8639,19 @@ Module slice. "index", [] |), - [ runs; Value.Integer 0 ] + [ runs; Value.Integer IntegerKind.Usize 0 + ] |), "core::slice::sort::TimSortRun", "start" |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.Usize 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.call_closure (| M.get_trait_method (| @@ -8511,14 +8664,16 @@ Module slice. "index", [] |), - [ runs; Value.Integer 0 ] + [ runs; Value.Integer IntegerKind.Usize 0 ] |), "core::slice::sort::TimSortRun", "len" |) - |)) - (M.read (| len |)))) - |)) + |), + M.read (| len |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8548,14 +8703,14 @@ Module slice. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_merge_sort : M.IsFunction "core::slice::sort::merge_sort" merge_sort. Module merge_sort. Definition value_MAX_INSERTION : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 20 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 20 |))). (* fn collapse(runs: &[TimSortRun], stop: usize) -> Option { @@ -8599,184 +8754,194 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 2), + BinOp.ge (| M.read (| n |), Value.Integer IntegerKind.Usize 2 |), ltac:(M.monadic (LogicalOp.or (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.eq - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.eq (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |) |), "core::slice::sort::TimSortRun", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |))) - (M.read (| stop |)), + |) + |), + M.read (| stop |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 2) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 2 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |)))) + |) + |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 3), + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.Usize 3 + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 3) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 3 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| + |), + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 2) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 2 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |))))) + |) + |) + |))) |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 4), + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.Usize 4 + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 4) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 4 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| + |), + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 3) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 3 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 2) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 2 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |))))) + |) + |) + |))) |))) |))) |) @@ -8791,39 +8956,43 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ge (M.read (| n |)) (Value.Integer 3), + BinOp.ge (| + M.read (| n |), + Value.Integer IntegerKind.Usize 3 + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| + (BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 3) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 3 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| M.read (| runs |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 1 + |) |) |), "core::slice::sort::TimSortRun", "len" |) - |)))) + |) + |))) |) |)) in let _ := @@ -8834,7 +9003,11 @@ Module slice. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (Value.Integer 3) + [ + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 3 + |) ] |))); fun γ => @@ -8842,7 +9015,11 @@ Module slice. (M.alloc (| Value.StructTuple "core::option::Option::Some" - [ BinOp.Wrap.sub Integer.Usize (M.read (| n |)) (Value.Integer 2) + [ + BinOp.Wrap.sub (| + M.read (| n |), + Value.Integer IntegerKind.Usize 2 + |) ] |))) ] @@ -8853,7 +9030,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_collapse : M.IsFunction "core::slice::sort::merge_sort::collapse" collapse. @@ -8935,7 +9112,7 @@ Module slice. ("capacity", M.read (| len |)); ("elem_dealloc_fn", M.read (| elem_dealloc_fn |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -9006,7 +9183,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9114,11 +9291,11 @@ Module slice. M.read (| M.get_constant (| "core::slice::sort::merge_sort::new::START_RUN_CAPACITY" |) |)); - ("len", Value.Integer 0); + ("len", Value.Integer IntegerKind.Usize 0); ("run_alloc_fn", M.read (| run_alloc_fn |)); ("run_dealloc_fn", M.read (| run_dealloc_fn |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -9167,21 +9344,22 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::sort::merge_sort::RunVec", "len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::sort::merge_sort::RunVec", "capacity" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9221,16 +9399,16 @@ Module slice. "core::slice::sort::merge_sort::RunVec", "capacity" |), - BinOp.Wrap.mul - Integer.Usize - (M.read (| + BinOp.Wrap.mul (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::sort::merge_sort::RunVec", "capacity" |) - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ _ := M.write (| @@ -9417,11 +9595,11 @@ Module slice. |) in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : @@ -9462,15 +9640,16 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| index |)) - (M.read (| + BinOp.ge (| + M.read (| index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::sort::merge_sort::RunVec", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9551,22 +9730,22 @@ Module slice. "add", [] |), - [ M.read (| ptr |); Value.Integer 1 ] + [ M.read (| ptr |); Value.Integer IntegerKind.Usize 1 ] |)); M.read (| ptr |); - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::sort::merge_sort::RunVec", "len" |) - |)) - (M.read (| index |))) - (Value.Integer 1) + |), + M.read (| index |) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -9580,11 +9759,11 @@ Module slice. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove : @@ -9641,7 +9820,7 @@ Module slice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : @@ -9669,7 +9848,7 @@ Module slice. "len" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : @@ -9717,15 +9896,16 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| index |)) - (M.read (| + BinOp.lt (| + M.read (| index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::sort::merge_sort::RunVec", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9797,7 +9977,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9853,15 +10033,16 @@ Module slice. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| index |)) - (M.read (| + BinOp.lt (| + M.read (| index |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::slice::sort::merge_sort::RunVec", "len" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9933,7 +10114,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10019,7 +10200,7 @@ Module slice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10054,7 +10235,7 @@ Module slice. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10115,7 +10296,7 @@ Module slice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10180,12 +10361,13 @@ Module slice. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.ge (M.read (| end_ |)) (M.read (| start |)), + UnOp.not (| + LogicalOp.and (| + BinOp.ge (| M.read (| end_ |), M.read (| start |) |), ltac:(M.monadic - (BinOp.Pure.le (M.read (| end_ |)) (M.read (| len |)))) - |)) + (BinOp.le (| M.read (| end_ |), M.read (| len |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10204,7 +10386,7 @@ Module slice. ] |) in let~ start_end_diff := - M.alloc (| BinOp.Wrap.sub Integer.Usize (M.read (| end_ |)) (M.read (| start |)) |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10215,15 +10397,15 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| start_end_diff |)) - (M.read (| + BinOp.lt (| + M.read (| start_end_diff |), + M.read (| M.get_constant (| "core::slice::sort::provide_sorted_batch::MIN_INSERTION_RUN" |) - |)), - ltac:(M.monadic - (BinOp.Pure.lt (M.read (| end_ |)) (M.read (| len |)))) + |) + |), + ltac:(M.monadic (BinOp.lt (| M.read (| end_ |), M.read (| len |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10233,14 +10415,14 @@ Module slice. M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "usize" ] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| start |), + M.read (| M.get_constant (| "core::slice::sort::provide_sorted_batch::MIN_INSERTION_RUN" |) - |)); + |) + |); M.read (| len |) ] |) @@ -10249,7 +10431,7 @@ Module slice. M.alloc (| M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "usize" ] |), - [ M.read (| start_end_diff |); Value.Integer 1 ] + [ M.read (| start_end_diff |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -10287,7 +10469,7 @@ Module slice. |) in end_ |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_provide_sorted_batch : @@ -10295,7 +10477,7 @@ Module slice. Module provide_sorted_batch. Definition value_MIN_INSERTION_RUN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 10 |))). End provide_sorted_batch. (* @@ -10357,7 +10539,9 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| len |)) (Value.Integer 2) |)) in + (M.alloc (| + BinOp.lt (| M.read (| len |), Value.Integer IntegerKind.Usize 2 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10370,7 +10554,7 @@ Module slice. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ end_ := M.alloc (| Value.Integer 2 |) in + let~ end_ := M.alloc (| Value.Integer IntegerKind.Usize 2 |) in let~ assume_reverse := M.alloc (| M.call_closure (| @@ -10391,7 +10575,7 @@ Module slice. "get_unchecked", [ Ty.path "usize" ] |), - [ M.read (| v |); Value.Integer 1 ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 1 ] |); M.call_closure (| M.get_associated_function (| @@ -10399,7 +10583,7 @@ Module slice. "get_unchecked", [ Ty.path "usize" ] |), - [ M.read (| v |); Value.Integer 0 ] + [ M.read (| v |); Value.Integer IntegerKind.Usize 0 ] |) ] ] @@ -10425,7 +10609,7 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| end_ |)) (M.read (| len |)), + BinOp.lt (| M.read (| end_ |), M.read (| len |) |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -10461,10 +10645,10 @@ Module slice. |), [ M.read (| v |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| end_ |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -10481,10 +10665,10 @@ Module slice. let β := end_ in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -10518,10 +10702,10 @@ Module slice. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| end_ |)) (M.read (| len |)), + BinOp.lt (| M.read (| end_ |), M.read (| len |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::ops::function::FnMut", F, @@ -10555,15 +10739,16 @@ Module slice. |), [ M.read (| v |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| end_ |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| end_ |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] ] - |)))) + |) + |))) |) |)) in let _ := @@ -10575,10 +10760,10 @@ Module slice. let β := end_ in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -10602,7 +10787,7 @@ Module slice. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_find_streak : M.IsFunction "core::slice::sort::find_streak" find_streak. diff --git a/CoqOfRust/core/slice/specialize.v b/CoqOfRust/core/slice/specialize.v index 03ca5d717..531542903 100644 --- a/CoqOfRust/core/slice/specialize.v +++ b/CoqOfRust/core/slice/specialize.v @@ -136,7 +136,7 @@ Module slice. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -236,7 +236,7 @@ Module slice. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/str/converts.v b/CoqOfRust/core/str/converts.v index a0ba14a87..880674673 100644 --- a/CoqOfRust/core/str/converts.v +++ b/CoqOfRust/core/str/converts.v @@ -54,7 +54,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_utf8 : M.IsFunction "core::str::converts::from_utf8" from_utf8. @@ -110,7 +110,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_utf8_mut : M.IsFunction "core::str::converts::from_utf8_mut" from_utf8_mut. @@ -137,7 +137,7 @@ Module str. |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_utf8_unchecked : @@ -158,7 +158,7 @@ Module str. ltac:(M.monadic (let v := M.alloc (| v |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| v |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_from_utf8_unchecked_mut : diff --git a/CoqOfRust/core/str/count.v b/CoqOfRust/core/str/count.v index a44ce3cf9..1f0599b20 100644 --- a/CoqOfRust/core/str/count.v +++ b/CoqOfRust/core/str/count.v @@ -11,7 +11,7 @@ Module str. |))). Definition value_UNROLL_INNER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). (* pub(super) fn count_chars(s: &str) -> usize { @@ -40,15 +40,16 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| s |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| M.get_constant (| "core::str::count::USIZE_SIZE" |) |)) - (M.read (| M.get_constant (| "core::str::count::UNROLL_INNER" |) |))) + |), + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "core::str::count::USIZE_SIZE" |) |), + M.read (| M.get_constant (| "core::str::count::UNROLL_INNER" |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -73,7 +74,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_count_chars : M.IsFunction "core::str::count::count_chars" count_chars. @@ -206,36 +207,38 @@ Module str. [ M.read (| body |) ] |), ltac:(M.monadic - (BinOp.Pure.gt - (M.call_closure (| + (BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| head |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::str::count::USIZE_SIZE" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.gt - (M.call_closure (| + (BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| tail |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::str::count::USIZE_SIZE" |) - |)))) + |) + |))) |) ] |) @@ -274,22 +277,22 @@ Module str. |) in let~ total := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_function (| "core::str::count::char_count_general_case", [] |), [ M.read (| head |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::str::count::char_count_general_case", [] |), [ M.read (| tail |) ] - |)) + |) + |) |) in let~ _ := M.use @@ -366,7 +369,10 @@ Module str. 0 |) in let chunk := M.copy (| γ0_0 |) in - let~ counts := M.alloc (| Value.Integer 0 |) in + let~ counts := + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) in M.match_operator (| M.alloc (| M.call_closure (| @@ -585,12 +591,11 @@ Module str. counts in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| β - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::str::count::contains_non_continuation_byte", [] @@ -600,7 +605,8 @@ Module str. word |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -627,16 +633,16 @@ Module str. let β := total in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_function (| "core::str::count::sum_bytes_in_usize", [] |), [ M.read (| counts |) ] - |)) + |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -646,8 +652,8 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -657,7 +663,8 @@ Module str. |), [ M.read (| remainder |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -669,7 +676,9 @@ Module str. M.read (| let~ counts := M.alloc (| - Value.Integer 0 + Value.Integer + IntegerKind.Usize + 0 |) in let~ _ := M.use @@ -775,12 +784,11 @@ Module str. counts in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| β - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::str::count::contains_non_continuation_byte", [] @@ -790,7 +798,8 @@ Module str. word |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -809,10 +818,9 @@ Module str. let β := total in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_function (| "core::str::count::sum_bytes_in_usize", [] @@ -822,7 +830,8 @@ Module str. counts |) ] - |)) + |) + |) |) in M.break (||) |) @@ -846,14 +855,14 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_do_count_chars : M.IsFunction "core::str::count::do_count_chars" do_count_chars. Module do_count_chars. Definition value_CHUNK_SIZE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 192 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 192 |))). End do_count_chars. (* @@ -867,14 +876,14 @@ Module str. | [], [ w ] => ltac:(M.monadic (let w := M.alloc (| w |) in - BinOp.Pure.bit_and - (BinOp.Pure.bit_or - (BinOp.Wrap.shr (UnOp.Pure.not (M.read (| w |))) (Value.Integer 7)) - (BinOp.Wrap.shr (M.read (| w |)) (Value.Integer 6))) + BinOp.bit_and + (BinOp.bit_or + (BinOp.Wrap.shr (| UnOp.not (| M.read (| w |) |), Value.Integer IntegerKind.I32 7 |)) + (BinOp.Wrap.shr (| M.read (| w |), Value.Integer IntegerKind.I32 6 |))) (M.read (| M.get_constant (| "core::str::count::contains_non_continuation_byte::LSB" |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_contains_non_continuation_byte : @@ -889,7 +898,7 @@ Module str. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "repeat_u8", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U8 1 ] |) |))). End contains_non_continuation_byte. @@ -911,22 +920,22 @@ Module str. M.read (| let~ pair_sum := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Pure.bit_and + BinOp.Wrap.add (| + BinOp.bit_and (M.read (| values |)) (M.read (| M.get_constant (| "core::str::count::sum_bytes_in_usize::SKIP_BYTES" |) - |))) - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| values |)) (Value.Integer 8)) + |)), + BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| values |), Value.Integer IntegerKind.I32 8 |)) (M.read (| M.get_constant (| "core::str::count::sum_bytes_in_usize::SKIP_BYTES" |) - |))) + |)) + |) |) in M.alloc (| - BinOp.Wrap.shr - (M.call_closure (| + BinOp.Wrap.shr (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_mul", [] |), [ M.read (| pair_sum |); @@ -934,17 +943,18 @@ Module str. M.get_constant (| "core::str::count::sum_bytes_in_usize::LSB_SHORTS" |) |) ] - |)) - (BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| M.get_constant (| "core::str::count::USIZE_SIZE" |) |)) - (Value.Integer 2)) - (Value.Integer 8)) + |), + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::str::count::USIZE_SIZE" |) |), + Value.Integer IntegerKind.Usize 2 + |), + Value.Integer IntegerKind.Usize 8 + |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sum_bytes_in_usize : @@ -957,7 +967,7 @@ Module str. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "repeat_u16", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U16 1 ] |) |))). @@ -967,7 +977,7 @@ Module str. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "repeat_u16", [] |), - [ Value.Integer 255 ] + [ Value.Integer IntegerKind.U16 255 ] |) |))). End sum_bytes_in_usize. @@ -1039,23 +1049,24 @@ Module str. (let γ := M.read (| γ |) in let γ := M.read (| γ |) in let byte := M.copy (| γ |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::str::validations::utf8_is_cont_byte", [] |), [ M.read (| byte |) ] - |)))) + |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_char_count_general_case : diff --git a/CoqOfRust/core/str/error.v b/CoqOfRust/core/str/error.v index 558501311..712a59d4d 100644 --- a/CoqOfRust/core/str/error.v +++ b/CoqOfRust/core/str/error.v @@ -58,7 +58,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -92,21 +92,22 @@ Module str. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::error::Utf8Error", "valid_up_to" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::str::error::Utf8Error", "valid_up_to" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -130,7 +131,7 @@ Module str. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -163,7 +164,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -213,7 +214,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -244,7 +245,7 @@ Module str. "valid_up_to" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_valid_up_to : M.IsAssociatedFunction Self "valid_up_to" valid_up_to. @@ -292,7 +293,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_error_len : M.IsAssociatedFunction Self "error_len" error_len. @@ -455,7 +456,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -480,7 +481,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "invalid utf-8: corrupt contents" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -512,7 +513,7 @@ Module str. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "ParseBoolError" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -533,7 +534,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::error::ParseBoolError" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -566,7 +567,7 @@ Module str. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -598,7 +599,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -631,7 +632,7 @@ Module str. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -656,7 +657,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "failed to parse bool" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/str/iter.v b/CoqOfRust/core/str/iter.v index 03f3d9bc3..9c4ed465f 100644 --- a/CoqOfRust/core/str/iter.v +++ b/CoqOfRust/core/str/iter.v @@ -40,7 +40,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111,11 +111,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -137,7 +137,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -205,11 +205,12 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| remainder |)) - (M.read (| + BinOp.ge (| + M.read (| remainder |), + M.read (| M.get_constant (| "core::str::iter::advance_by::CHUNK_SIZE" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -239,7 +240,7 @@ Module str. ] |) |) in - let~ bytes_skipped := M.alloc (| Value.Integer 0 |) in + let~ bytes_skipped := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -251,13 +252,14 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| remainder |)) - (M.read (| + BinOp.gt (| + M.read (| remainder |), + M.read (| M.get_constant (| "core::str::iter::advance_by::CHUNK_SIZE" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -290,14 +292,14 @@ Module str. let β := bytes_skipped in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "core::str::iter::advance_by::CHUNK_SIZE" |) - |)) + |) + |) |) in let~ start_bytes := M.alloc (| repeat (Value.Bool false) 32 |) in @@ -319,7 +321,7 @@ Module str. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.get_constant (| @@ -381,8 +383,8 @@ Module str. start_bytes, i |), - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::str::validations::utf8_is_cont_byte", [] @@ -395,7 +397,8 @@ Module str. |) |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -408,10 +411,9 @@ Module str. let β := remainder in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.sub (| + M.read (| β |), + M.rust_cast (M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", @@ -475,12 +477,14 @@ Module str. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) ] - |))) + |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -540,8 +544,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -558,8 +562,9 @@ Module str. "iter" |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -585,7 +590,7 @@ Module str. |) ] |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) in let~ _ := @@ -597,14 +602,15 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::str::validations::utf8_is_cont_byte", [] |), [ M.read (| b |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -647,7 +653,7 @@ Module str. "core::str::iter::Chars", "iter" |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) ] @@ -685,10 +691,13 @@ Module str. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.gt (M.read (| remainder |)) (Value.Integer 0), + BinOp.gt (| + M.read (| remainder |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.call_closure (| + (BinOp.gt (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -705,8 +714,9 @@ Module str. "iter" |) ] - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -715,7 +725,10 @@ Module str. let β := remainder in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ b := M.copy (| @@ -734,7 +747,7 @@ Module str. |) ] |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) in let~ slurp := @@ -828,7 +841,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -868,15 +881,15 @@ Module str. M.alloc (| Value.Tuple [ - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.add Integer.Usize (M.read (| len |)) (Value.Integer 3)) - (Value.Integer 4); + BinOp.Wrap.div (| + BinOp.Wrap.add (| M.read (| len |), Value.Integer IntegerKind.Usize 3 |), + Value.Integer IntegerKind.Usize 4 + |); Value.StructTuple "core::option::Option::Some" [ M.read (| len |) ] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -900,7 +913,7 @@ Module str. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1224,7 +1237,7 @@ Module str. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1292,11 +1305,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1351,7 +1364,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -1405,7 +1418,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1455,7 +1468,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1588,10 +1601,10 @@ Module str. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.sub Integer.Usize (M.read (| pre_len |)) (M.read (| len |))) + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.sub (| M.read (| pre_len |), M.read (| len |) |) + |) |) in M.alloc (| Value.StructTuple @@ -1601,7 +1614,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1632,7 +1645,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1661,7 +1674,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1685,7 +1698,7 @@ Module str. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1762,16 +1775,15 @@ Module str. M.read (| let~ index := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::iter::CharIndices", "front_offset" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply @@ -1792,7 +1804,8 @@ Module str. "iter" |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [ M.read (| index |); M.read (| ch |) ] @@ -1800,11 +1813,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1849,7 +1862,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -1871,7 +1884,7 @@ Module str. "front_offset" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_offset : M.IsAssociatedFunction Self "offset" offset. @@ -1920,7 +1933,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1961,7 +1974,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2006,7 +2019,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2037,7 +2050,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2066,7 +2079,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2095,7 +2108,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2128,7 +2141,7 @@ Module str. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2164,7 +2177,7 @@ Module str. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2200,7 +2213,7 @@ Module str. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2236,7 +2249,7 @@ Module str. M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2272,7 +2285,7 @@ Module str. M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2308,7 +2321,7 @@ Module str. M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2343,7 +2356,7 @@ Module str. M.read (| idx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2399,7 +2412,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2432,7 +2445,7 @@ Module str. M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2468,7 +2481,7 @@ Module str. M.read (| predicate |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2515,7 +2528,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2546,7 +2559,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2650,7 +2663,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2803,7 +2816,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2852,14 +2865,15 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::iter::SplitInternal", "finished" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2889,24 +2903,25 @@ Module str. |) |), ltac:(M.monadic - (BinOp.Pure.gt - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + (BinOp.gt (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::iter::SplitInternal", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::iter::SplitInternal", "start" |) - |))) - (Value.Integer 0))) + |) + |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -2986,7 +3001,7 @@ Module str. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_end : @@ -3152,7 +3167,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next : @@ -3319,7 +3334,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_inclusive : @@ -3406,14 +3421,15 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::iter::SplitInternal", "allow_trailing_empty" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3449,15 +3465,16 @@ Module str. let elt := M.copy (| γ0_0 |) in let γ := M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", [] |), [ M.read (| elt |) ] - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| @@ -3659,7 +3676,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back : @@ -3752,14 +3769,15 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::iter::SplitInternal", "allow_trailing_empty" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3795,15 +3813,16 @@ Module str. let elt := M.copy (| γ0_0 |) in let γ := M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_empty", [] |), [ M.read (| elt |) ] - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| @@ -4004,7 +4023,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back_inclusive : @@ -4109,7 +4128,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -4176,7 +4195,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4219,7 +4238,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4266,7 +4285,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4337,7 +4356,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4380,7 +4399,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4427,7 +4446,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4491,7 +4510,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4531,7 +4550,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4571,7 +4590,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -4607,7 +4626,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -4675,7 +4694,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4719,7 +4738,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4767,7 +4786,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4839,7 +4858,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4883,7 +4902,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4931,7 +4950,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4998,7 +5017,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5039,7 +5058,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5080,7 +5099,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -5117,7 +5136,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -5167,7 +5186,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5262,7 +5281,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5310,12 +5329,18 @@ Module str. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 1 + |) in let~ _ := M.write (| M.SubPointer.get_struct_record_field (| @@ -5323,7 +5348,7 @@ Module str. "core::str::iter::SplitNInternal", "count" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| M.call_closure (| @@ -5352,7 +5377,7 @@ Module str. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| M.call_closure (| @@ -5373,7 +5398,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next : @@ -5415,12 +5440,18 @@ Module str. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 1 + |) in let~ _ := M.write (| M.SubPointer.get_struct_record_field (| @@ -5428,7 +5459,7 @@ Module str. "core::str::iter::SplitNInternal", "count" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| M.call_closure (| @@ -5457,7 +5488,7 @@ Module str. |) in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| M.call_closure (| @@ -5478,7 +5509,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back : @@ -5510,7 +5541,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -5577,7 +5608,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5620,7 +5651,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5667,7 +5698,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5738,7 +5769,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5781,7 +5812,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5828,7 +5859,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5892,7 +5923,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -5928,7 +5959,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -5971,7 +6002,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6041,7 +6072,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6157,11 +6188,11 @@ Module str. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next : @@ -6271,11 +6302,11 @@ Module str. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back : @@ -6342,7 +6373,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6386,7 +6417,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6433,7 +6464,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6505,7 +6536,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6550,7 +6581,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6598,7 +6629,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6663,7 +6694,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6704,7 +6735,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6751,7 +6782,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6821,7 +6852,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6931,11 +6962,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next : @@ -7039,11 +7070,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back : @@ -7110,7 +7141,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7153,7 +7184,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7200,7 +7231,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7271,7 +7302,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7314,7 +7345,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7361,7 +7392,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7425,7 +7456,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7465,7 +7496,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7526,7 +7557,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7567,7 +7598,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7615,7 +7646,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7649,7 +7680,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7672,7 +7703,7 @@ Module str. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7723,7 +7754,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7781,7 +7812,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7822,7 +7853,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7865,7 +7896,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7894,7 +7925,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7939,7 +7970,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8014,7 +8045,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8056,7 +8087,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8132,7 +8163,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8174,7 +8205,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8231,7 +8262,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8267,7 +8298,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8290,7 +8321,7 @@ Module str. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8343,7 +8374,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8396,7 +8427,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : M.IsAssociatedFunction Self "remainder" remainder. @@ -8446,7 +8477,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8487,7 +8518,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8510,7 +8541,7 @@ Module str. |), [ self ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8568,7 +8599,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8680,7 +8711,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : M.IsAssociatedFunction Self "remainder" remainder. @@ -8718,7 +8749,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8783,7 +8814,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8830,7 +8861,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8871,7 +8902,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8925,7 +8956,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remainder : @@ -8981,7 +9012,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9025,7 +9056,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9077,15 +9108,16 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::iter::EncodeUtf16", "extra" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U16 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9107,7 +9139,7 @@ Module str. "core::str::iter::EncodeUtf16", "extra" |), - Value.Integer 0 + Value.Integer IntegerKind.U16 0 |) in M.return_ (| Value.StructTuple @@ -9120,7 +9152,7 @@ Module str. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ buf := M.alloc (| repeat (Value.Integer 0) 2 |) in + let~ buf := M.alloc (| repeat (Value.Integer IntegerKind.U16 0) 2 |) in M.alloc (| M.call_closure (| M.get_associated_function (| @@ -9191,9 +9223,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| n |)) - (Value.Integer 2) + BinOp.eq (| + M.read (| n |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9210,7 +9243,9 @@ Module str. M.read (| M.SubPointer.get_array_field (| buf, - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) |) |) in @@ -9221,19 +9256,19 @@ Module str. |) in M.SubPointer.get_array_field (| buf, - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9293,24 +9328,28 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::iter::EncodeUtf16", "extra" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U16 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [ - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.add Integer.Usize (M.read (| len |)) (Value.Integer 2)) - (Value.Integer 3); + BinOp.Wrap.div (| + BinOp.Wrap.add (| + M.read (| len |), + Value.Integer IntegerKind.Usize 2 + |), + Value.Integer IntegerKind.Usize 3 + |); Value.StructTuple "core::option::Option::Some" [ M.read (| len |) ] ] |))); @@ -9319,22 +9358,30 @@ Module str. (M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.add Integer.Usize (M.read (| len |)) (Value.Integer 2)) - (Value.Integer 3)) - (Value.Integer 1); + BinOp.Wrap.add (| + BinOp.Wrap.div (| + BinOp.Wrap.add (| + M.read (| len |), + Value.Integer IntegerKind.Usize 2 + |), + Value.Integer IntegerKind.Usize 3 + |), + Value.Integer IntegerKind.Usize 1 + |); Value.StructTuple "core::option::Option::Some" - [ BinOp.Wrap.add Integer.Usize (M.read (| len |)) (Value.Integer 1) ] + [ + BinOp.Wrap.add (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |) + ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9436,7 +9483,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9478,7 +9525,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9542,7 +9589,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9584,7 +9631,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9648,7 +9695,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9690,7 +9737,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9769,11 +9816,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9829,7 +9876,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn size_hint(&self) -> (usize, Option) { self.inner.size_hint() } *) @@ -9871,7 +9918,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9923,7 +9970,7 @@ Module str. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9977,7 +10024,7 @@ Module str. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10074,11 +10121,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10123,7 +10170,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn size_hint(&self) -> (usize, Option) { self.inner.size_hint() } *) @@ -10154,7 +10201,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10195,7 +10242,7 @@ Module str. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10238,7 +10285,7 @@ Module str. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10335,11 +10382,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10384,7 +10431,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn size_hint(&self) -> (usize, Option) { self.inner.size_hint() } *) @@ -10415,7 +10462,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10456,7 +10503,7 @@ Module str. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10499,7 +10546,7 @@ Module str. M.read (| fold |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/str/lossy.v b/CoqOfRust/core/str/lossy.v index a447ab8da..9af2f5b6e 100644 --- a/CoqOfRust/core/str/lossy.v +++ b/CoqOfRust/core/str/lossy.v @@ -61,7 +61,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111,7 +111,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -188,7 +188,7 @@ Module str. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -232,7 +232,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -264,7 +264,7 @@ Module str. "valid" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_valid : M.IsAssociatedFunction Self "valid" valid. @@ -286,7 +286,7 @@ Module str. "invalid" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_invalid : M.IsAssociatedFunction Self "invalid" invalid. @@ -504,7 +504,8 @@ Module str. [ chunk ] |) |) in - let~ from := M.alloc (| Value.Integer 0 |) in + let~ from := + M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.use (M.match_operator (| @@ -608,8 +609,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.path @@ -619,9 +620,11 @@ Module str. [] |), [ esc ] - |)) - (Value.Integer - 1) + |), + Value.Integer + IntegerKind.Usize + 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -982,12 +985,11 @@ Module str. let~ _ := M.write (| from, - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| i - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "char", @@ -999,7 +1001,8 @@ Module str. c |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] @@ -1277,6 +1280,7 @@ Module str. |), [ Value.Integer + IntegerKind.Usize 0; Value.UnicodeChar 32; @@ -1284,6 +1288,7 @@ Module str. "core::fmt::rt::Alignment::Unknown" []; Value.Integer + IntegerKind.U32 8; Value.StructTuple "core::fmt::rt::Count::Implied" @@ -1292,6 +1297,7 @@ Module str. "core::fmt::rt::Count::Is" [ Value.Integer + IntegerKind.Usize 2 ] ] @@ -1405,7 +1411,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1454,7 +1460,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1479,7 +1485,7 @@ Module str. ltac:(M.monadic (let bytes := M.alloc (| bytes |) in Value.StructRecord "core::str::lossy::Utf8Chunks" [ ("source", M.read (| bytes |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1505,7 +1511,7 @@ Module str. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug : M.IsAssociatedFunction Self "debug" debug. @@ -1658,8 +1664,8 @@ Module str. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ i := M.alloc (| Value.Integer 0 |) in - let~ valid_up_to := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ valid_up_to := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -1671,9 +1677,9 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| i |)) - (M.call_closure (| + BinOp.lt (| + M.read (| i |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", @@ -1688,7 +1694,8 @@ Module str. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1719,7 +1726,10 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -1730,9 +1740,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| byte |)) - (Value.Integer 128) + BinOp.lt (| + M.read (| byte |), + Value.Integer IntegerKind.U8 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1760,7 +1771,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 |) in let~ _ := M.match_operator (| @@ -1771,8 +1782,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Self, @@ -1790,12 +1801,15 @@ Module str. M.read (| i |) ] |)) - (Value.Integer 192)) - (M.read (| + (Value.Integer + IntegerKind.U8 + 192), + M.read (| M.get_constant (| "core::str::lossy::next::TAG_CONT_U8" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1816,10 +1830,10 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1827,7 +1841,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 3 + Value.Integer IntegerKind.Usize 3 |) in let~ _ := M.match_operator (| @@ -1870,7 +1884,7 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 224 + Value.Integer IntegerKind.U8 224 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1901,7 +1915,7 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 237 + Value.Integer IntegerKind.U8 237 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1930,10 +1944,10 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -1944,8 +1958,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Self, @@ -1963,12 +1977,15 @@ Module str. M.read (| i |) ] |)) - (Value.Integer 192)) - (M.read (| + (Value.Integer + IntegerKind.U8 + 192), + M.read (| M.get_constant (| "core::str::lossy::next::TAG_CONT_U8" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1989,10 +2006,10 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2000,7 +2017,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 4 + Value.Integer IntegerKind.Usize 4 |) in let~ _ := M.match_operator (| @@ -2043,7 +2060,7 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 240 + Value.Integer IntegerKind.U8 240 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2074,7 +2091,7 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 244 + Value.Integer IntegerKind.U8 244 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2090,10 +2107,10 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -2104,8 +2121,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Self, @@ -2123,12 +2140,15 @@ Module str. M.read (| i |) ] |)) - (Value.Integer 192)) - (M.read (| + (Value.Integer + IntegerKind.U8 + 192), + M.read (| M.get_constant (| "core::str::lossy::next::TAG_CONT_U8" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2149,10 +2169,10 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -2163,8 +2183,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.call_closure (| M.get_associated_function (| Self, @@ -2182,12 +2202,15 @@ Module str. M.read (| i |) ] |)) - (Value.Integer 192)) - (M.read (| + (Value.Integer + IntegerKind.U8 + 192), + M.read (| M.get_constant (| "core::str::lossy::next::TAG_CONT_U8" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2208,10 +2231,10 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2320,7 +2343,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2397,7 +2420,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/str/mod.v b/CoqOfRust/core/str/mod.v index 36c4068db..6a9026fa8 100644 --- a/CoqOfRust/core/str/mod.v +++ b/CoqOfRust/core/str/mod.v @@ -42,7 +42,7 @@ Module str. M.get_function (| "core::str::slice_error_fail_rt", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_error_fail : M.IsFunction "core::str::slice_error_fail" slice_error_fail. @@ -100,7 +100,7 @@ Module str. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_error_fail_ct : @@ -190,12 +190,13 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| trunc_len |)) - (M.call_closure (| + BinOp.lt (| + M.read (| trunc_len |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| s |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in Value.String "[...]")); @@ -213,19 +214,21 @@ Module str. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.gt - (M.read (| begin |)) - (M.call_closure (| + BinOp.gt (| + M.read (| begin |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| s |) ] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| end_ |)) - (M.call_closure (| + (BinOp.gt (| + M.read (| end_ |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| s |) ] - |)))) + |) + |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -242,16 +245,17 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| begin |)) - (M.call_closure (| + BinOp.gt (| + M.read (| begin |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| s |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -335,7 +339,7 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.le (M.read (| begin |)) (M.read (| end_ |))) + UnOp.not (| BinOp.le (| M.read (| begin |), M.read (| end_ |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -419,15 +423,16 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", [] |), [ M.read (| s |); M.read (| begin |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in begin)); @@ -498,13 +503,13 @@ Module str. [ ("start", M.read (| char_start |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| char_start |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| char_start |), + M.call_closure (| M.get_associated_function (| Ty.path "char", "len_utf8", [] |), [ M.read (| ch |) ] - |))) + |) + |)) ] |) in M.alloc (| @@ -579,7 +584,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slice_error_fail_rt : @@ -587,7 +592,7 @@ Module str. Module slice_error_fail_rt. Definition value_MAX_DISPLAY_LENGTH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 256 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). End slice_error_fail_rt. Module Impl_str. @@ -603,8 +608,16 @@ Module str. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.read (| (* thir failed to compile: Any { .. } *) M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + M.call_closure (| + M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), + [ + M.call_closure (| + M.get_associated_function (| Ty.path "str", "as_bytes", [] |), + [ M.read (| self |) ] + |) + ] + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -619,13 +632,14 @@ Module str. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -674,7 +688,7 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| index |)) (Value.Integer 0) + BinOp.eq (| M.read (| index |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -706,12 +720,13 @@ Module str. ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in M.alloc (| - BinOp.Pure.eq - (M.read (| index |)) - (M.call_closure (| + BinOp.eq (| + M.read (| index |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| self |) ] - |)) + |) + |) |))); fun γ => ltac:(M.monadic @@ -737,7 +752,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_char_boundary : @@ -773,12 +788,13 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| index |)) - (M.call_closure (| + BinOp.ge (| + M.read (| index |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -793,7 +809,7 @@ Module str. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_sub", [] |), - [ M.read (| index |); Value.Integer 3 ] + [ M.read (| index |); Value.Integer IntegerKind.Usize 3 ] |) |) in let~ new_index := @@ -877,28 +893,28 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| lower_bound |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| lower_bound |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "usize" ], "unwrap_unchecked", [] |), [ M.read (| new_index |) ] - |)) + |) + |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_floor_char_boundary : @@ -932,12 +948,13 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| index |)) - (M.call_closure (| + BinOp.gt (| + M.read (| index |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| self |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -953,7 +970,10 @@ Module str. M.call_closure (| M.get_trait_method (| "core::cmp::Ord", Ty.path "usize", [], "min", [] |), [ - BinOp.Wrap.add Integer.Usize (M.read (| index |)) (Value.Integer 4); + BinOp.Wrap.add (| + M.read (| index |), + Value.Integer IntegerKind.Usize 4 + |); M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| self |) ] @@ -1047,7 +1067,7 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -1064,13 +1084,13 @@ Module str. fun γ => ltac:(M.monadic (let pos := M.copy (| γ |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| pos |)) - (M.read (| index |)))) + BinOp.Wrap.add (| + M.read (| pos |), + M.read (| index |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1078,7 +1098,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ceil_char_boundary : @@ -1095,8 +1115,17 @@ Module str. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.read (| (* thir failed to compile: Any { .. } *) M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + M.call_closure (| + M.get_function (| + "core::intrinsics::transmute", + [ + Ty.apply (Ty.path "&") [ Ty.path "str" ]; + Ty.apply (Ty.path "&") [ Ty.apply (Ty.path "slice") [ Ty.path "u8" ] ] + ] + |), + [ M.read (| self |) ] + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes : M.IsAssociatedFunction Self "as_bytes" as_bytes. @@ -1116,7 +1145,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_bytes_mut : M.IsAssociatedFunction Self "as_bytes_mut" as_bytes_mut. @@ -1132,7 +1161,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -1148,7 +1177,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| self |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_mut_ptr : M.IsAssociatedFunction Self "as_mut_ptr" as_mut_ptr. @@ -1174,7 +1203,7 @@ Module str. |), [ M.read (| i |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -1200,7 +1229,7 @@ Module str. |), [ M.read (| i |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -1229,7 +1258,7 @@ Module str. |), [ M.read (| i |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_unchecked : @@ -1259,7 +1288,7 @@ Module str. |), [ M.read (| i |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_unchecked_mut : @@ -1295,7 +1324,7 @@ Module str. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_unchecked : @@ -1331,7 +1360,7 @@ Module str. M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_mut_unchecked : @@ -1382,7 +1411,10 @@ Module str. M.read (| self |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| mid |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| mid |)) + ] ] |); M.call_closure (| @@ -1413,14 +1445,14 @@ Module str. M.never_to_any (| M.call_closure (| M.get_function (| "core::str::slice_error_fail", [] |), - [ M.read (| self |); Value.Integer 0; M.read (| mid |) ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0; M.read (| mid |) ] |) |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at : M.IsAssociatedFunction Self "split_at" split_at. @@ -1510,7 +1542,7 @@ Module str. |), [ M.read (| ptr |); M.read (| mid |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (M.read (| mid |)) + BinOp.Wrap.sub (| M.read (| len |), M.read (| mid |) |) ] |) ] @@ -1523,14 +1555,14 @@ Module str. M.never_to_any (| M.call_closure (| M.get_function (| "core::str::slice_error_fail", [] |), - [ M.read (| self |); Value.Integer 0; M.read (| mid |) ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0; M.read (| mid |) ] |) |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_at_mut : M.IsAssociatedFunction Self "split_at_mut" split_at_mut. @@ -1563,7 +1595,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_chars : M.IsAssociatedFunction Self "chars" chars. @@ -1581,14 +1613,14 @@ Module str. Value.StructRecord "core::str::iter::CharIndices" [ - ("front_offset", Value.Integer 0); + ("front_offset", Value.Integer IntegerKind.Usize 0); ("iter", M.call_closure (| M.get_associated_function (| Ty.path "str", "chars", [] |), [ M.read (| self |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_char_indices : M.IsAssociatedFunction Self "char_indices" char_indices. @@ -1631,7 +1663,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bytes : M.IsAssociatedFunction Self "bytes" bytes. @@ -1673,7 +1705,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_whitespace : @@ -1751,7 +1783,7 @@ Module str. [ ("inner", M.read (| inner |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_ascii_whitespace : @@ -1791,7 +1823,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_lines : M.IsAssociatedFunction Self "lines" lines. @@ -1814,7 +1846,7 @@ Module str. [ M.read (| self |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_lines_any : M.IsAssociatedFunction Self "lines_any" lines_any. @@ -1837,9 +1869,9 @@ Module str. M.get_associated_function (| Ty.path "str", "chars", [] |), [ M.read (| self |) ] |)); - ("extra", Value.Integer 0) + ("extra", Value.Integer IntegerKind.U16 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_encode_utf16 : M.IsAssociatedFunction Self "encode_utf16" encode_utf16. @@ -1859,7 +1891,7 @@ Module str. M.get_trait_method (| "core::str::pattern::Pattern", P, [], "is_contained_in", [] |), [ M.read (| pat |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : M.IsAssociatedFunction Self "contains" contains. @@ -1879,7 +1911,7 @@ Module str. M.get_trait_method (| "core::str::pattern::Pattern", P, [], "is_prefix_of", [] |), [ M.read (| pat |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_starts_with : M.IsAssociatedFunction Self "starts_with" starts_with. @@ -1902,7 +1934,7 @@ Module str. M.get_trait_method (| "core::str::pattern::Pattern", P, [], "is_suffix_of", [] |), [ M.read (| pat |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ends_with : M.IsAssociatedFunction Self "ends_with" ends_with. @@ -1972,11 +2004,11 @@ Module str. M.read (| i |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_find : M.IsAssociatedFunction Self "find" find. @@ -2049,11 +2081,11 @@ Module str. M.read (| i |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rfind : M.IsAssociatedFunction Self "rfind" rfind. @@ -2081,7 +2113,7 @@ Module str. Value.StructRecord "core::str::iter::SplitInternal" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), @@ -2102,7 +2134,7 @@ Module str. ("finished", Value.Bool false) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split : M.IsAssociatedFunction Self "split" split. @@ -2130,7 +2162,7 @@ Module str. Value.StructRecord "core::str::iter::SplitInternal" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), @@ -2151,7 +2183,7 @@ Module str. ("finished", Value.Bool false) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_inclusive : @@ -2187,7 +2219,7 @@ Module str. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit : M.IsAssociatedFunction Self "rsplit" rsplit. @@ -2221,7 +2253,7 @@ Module str. |)) [ ("allow_trailing_empty", Value.Bool false) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_terminator : @@ -2257,7 +2289,7 @@ Module str. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit_terminator : @@ -2297,7 +2329,7 @@ Module str. ("count", M.read (| n |)) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_splitn : M.IsAssociatedFunction Self "splitn" splitn. @@ -2333,7 +2365,7 @@ Module str. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplitn : M.IsAssociatedFunction Self "rsplitn" rsplitn. @@ -2500,7 +2532,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_split_once : M.IsAssociatedFunction Self "split_once" split_once. @@ -2670,7 +2702,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rsplit_once : M.IsAssociatedFunction Self "rsplit_once" rsplit_once. @@ -2704,7 +2736,7 @@ Module str. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_matches : M.IsAssociatedFunction Self "matches" matches. @@ -2739,7 +2771,7 @@ Module str. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rmatches : M.IsAssociatedFunction Self "rmatches" rmatches. @@ -2773,7 +2805,7 @@ Module str. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_match_indices : @@ -2809,7 +2841,7 @@ Module str. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_rmatch_indices : @@ -2855,11 +2887,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim : M.IsAssociatedFunction Self "trim" trim. @@ -2904,11 +2936,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_start : M.IsAssociatedFunction Self "trim_start" trim_start. @@ -2953,11 +2985,11 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_end : M.IsAssociatedFunction Self "trim_end" trim_end. @@ -2976,7 +3008,7 @@ Module str. M.get_associated_function (| Ty.path "str", "trim_start", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_left : M.IsAssociatedFunction Self "trim_left" trim_left. @@ -2995,7 +3027,7 @@ Module str. M.get_associated_function (| Ty.path "str", "trim_end", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_right : M.IsAssociatedFunction Self "trim_right" trim_right. @@ -3027,8 +3059,8 @@ Module str. (let self := M.alloc (| self |) in let pat := M.alloc (| pat |) in M.read (| - let~ i := M.alloc (| Value.Integer 0 |) in - let~ j := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ j := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ matcher := M.alloc (| M.call_closure (| @@ -3126,7 +3158,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_matches : M.IsAssociatedFunction Self "trim_matches" trim_matches. @@ -3225,7 +3257,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_start_matches : @@ -3246,7 +3278,7 @@ Module str. M.get_trait_method (| "core::str::pattern::Pattern", P, [], "strip_prefix_of", [] |), [ M.read (| prefix |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_strip_prefix : M.IsAssociatedFunction Self "strip_prefix" strip_prefix. @@ -3270,7 +3302,7 @@ Module str. M.get_trait_method (| "core::str::pattern::Pattern", P, [], "strip_suffix_of", [] |), [ M.read (| suffix |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_strip_suffix : M.IsAssociatedFunction Self "strip_suffix" strip_suffix. @@ -3296,7 +3328,7 @@ Module str. (let self := M.alloc (| self |) in let pat := M.alloc (| pat |) in M.read (| - let~ j := M.alloc (| Value.Integer 0 |) in + let~ j := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ matcher := M.alloc (| M.call_closure (| @@ -3354,12 +3386,12 @@ Module str. M.read (| self |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| j |)) ] + [ ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| j |)) ] ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_end_matches : @@ -3380,7 +3412,7 @@ Module str. M.get_associated_function (| Ty.path "str", "trim_start_matches", [ P ] |), [ M.read (| self |); M.read (| pat |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_left_matches : @@ -3404,7 +3436,7 @@ Module str. M.get_associated_function (| Ty.path "str", "trim_end_matches", [ P ] |), [ M.read (| self |); M.read (| pat |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_right_matches : @@ -3424,7 +3456,7 @@ Module str. M.get_trait_method (| "core::str::traits::FromStr", F, [], "from_str", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse : M.IsAssociatedFunction Self "parse" parse. @@ -3455,7 +3487,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ascii : M.IsAssociatedFunction Self "is_ascii" is_ascii. @@ -3484,7 +3516,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ascii : M.IsAssociatedFunction Self "as_ascii" as_ascii. @@ -3517,7 +3549,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eq_ignore_ascii_case : @@ -3554,7 +3586,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_ascii_uppercase : @@ -3591,7 +3623,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_ascii_lowercase : @@ -3627,7 +3659,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_ascii_start : @@ -3663,7 +3695,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_ascii_end : @@ -3699,7 +3731,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trim_ascii : M.IsAssociatedFunction Self "trim_ascii" trim_ascii. @@ -3831,7 +3863,7 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3860,7 +3892,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_debug : M.IsAssociatedFunction Self "escape_debug" escape_debug. @@ -3896,7 +3928,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_default : @@ -3933,7 +3965,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_escape_unicode : @@ -3957,7 +3989,7 @@ Module str. M.get_associated_function (| Ty.path "str", "as_bytes", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3979,7 +4011,7 @@ Module str. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (M.read (| Value.String "" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4007,7 +4039,7 @@ Module str. M.get_function (| "core::str::converts::from_utf8_unchecked_mut", [] |), [ (* Unsize *) M.pointer_coercion (M.alloc (| Value.Array [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4028,7 +4060,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::LinesMap" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4049,7 +4081,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::CharEscapeDebugContinue" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4070,7 +4102,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::CharEscapeUnicode" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4091,7 +4123,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::CharEscapeDefault" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4112,7 +4144,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::IsWhitespace" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4133,7 +4165,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::IsAsciiWhitespace" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4154,7 +4186,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::IsNotEmpty" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4175,7 +4207,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::BytesIsNotEmpty" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4196,7 +4228,7 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "core::str::UnsafeBytesToStr" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/str/pattern.v b/CoqOfRust/core/str/pattern.v index e7fec7782..804e76b02 100644 --- a/CoqOfRust/core/str/pattern.v +++ b/CoqOfRust/core/str/pattern.v @@ -47,7 +47,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_is_contained_in : @@ -101,13 +101,16 @@ Module str. 1 |) in let _ := - M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_is_prefix_of : @@ -163,12 +166,13 @@ Module str. let j := M.copy (| γ0_1 |) in let γ := M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| haystack |) ] - |)) - (M.read (| j |)) + |), + M.read (| j |) + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Bool true |))); @@ -176,7 +180,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_is_suffix_of : @@ -248,7 +252,8 @@ Module str. let~ _ := M.match_operator (| M.alloc (| - Value.Tuple [ start; M.alloc (| Value.Integer 0 |) ] + Value.Tuple + [ start; M.alloc (| Value.Integer IntegerKind.Usize 0 |) ] |), [ fun γ => @@ -265,10 +270,12 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -364,7 +371,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_strip_prefix_of : @@ -466,10 +473,12 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -562,7 +571,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_strip_suffix_of : @@ -620,7 +629,7 @@ Module str. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -657,7 +666,7 @@ Module str. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -713,7 +722,7 @@ Module str. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -755,13 +764,15 @@ Module str. let __arg1_1 := M.alloc (| γ2_1 |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)), + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| __self_1 |) |)) - (M.read (| M.read (| __arg1_1 |) |)))) + (BinOp.eq (| + M.read (| M.read (| __self_1 |) |), + M.read (| M.read (| __arg1_1 |) |) + |))) |) |))); fun γ => @@ -800,13 +811,15 @@ Module str. let __arg1_1 := M.alloc (| γ2_1 |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)), + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| __self_1 |) |)) - (M.read (| M.read (| __arg1_1 |) |)))) + (BinOp.eq (| + M.read (| M.read (| __self_1 |) |), + M.read (| M.read (| __arg1_1 |) |) + |))) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool true |))) @@ -816,7 +829,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -922,7 +935,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1012,7 +1025,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_next_match : @@ -1094,7 +1107,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_next_reject : @@ -1180,7 +1193,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_next_match_back : @@ -1262,7 +1275,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_next_reject_back : @@ -1381,7 +1394,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1487,7 +1500,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1518,7 +1531,7 @@ Module str. "haystack" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1655,13 +1668,11 @@ Module str. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| old_len |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.sub (| + M.read (| old_len |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply (Ty.path "core::slice::iter::Iter") [ Ty.path "u8" ], @@ -1676,7 +1687,9 @@ Module str. "iter" |) ] - |))) + |) + |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1686,15 +1699,16 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| ch |)) - (M.read (| + BinOp.eq (| + M.read (| ch |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "needle" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1739,7 +1753,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1930,16 +1944,16 @@ Module str. "core::str::pattern::CharSearcher", "utf8_encoded" |)); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "utf8_size" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1971,13 +1985,13 @@ Module str. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| index |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| index |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1987,21 +2001,22 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "finger" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "utf8_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2010,22 +2025,22 @@ Module str. |) in let~ found_char := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "finger" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "utf8_size" |) - |)) + |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -2142,7 +2157,9 @@ Module str. "core::ops::range::Range" [ ("start", - Value.Integer 0); + Value.Integer + IntegerKind.Usize + 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -2229,7 +2246,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2375,13 +2392,11 @@ Module str. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| old_len |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.sub (| + M.read (| old_len |), + M.call_closure (| M.get_trait_method (| "core::iter::traits::exact_size::ExactSizeIterator", Ty.apply (Ty.path "core::slice::iter::Iter") [ Ty.path "u8" ], @@ -2396,7 +2411,9 @@ Module str. "iter" |) ] - |))) + |) + |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -2406,15 +2423,16 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| ch |)) - (M.read (| + BinOp.eq (| + M.read (| ch |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "needle" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2459,7 +2477,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2662,16 +2680,16 @@ Module str. "core::str::pattern::CharSearcher", "utf8_encoded" |)); - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "utf8_size" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -2696,29 +2714,29 @@ Module str. let index := M.copy (| γ0_0 |) in let~ index := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "finger" |) - |)) - (M.read (| index |)) + |), + M.read (| index |) + |) |) in let~ shift := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "utf8_size" |) - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -2729,9 +2747,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| index |)) - (M.read (| shift |)) + BinOp.ge (| + M.read (| index |), + M.read (| shift |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2740,10 +2759,10 @@ Module str. |) in let~ found_char := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| index |)) - (M.read (| shift |)) + BinOp.Wrap.sub (| + M.read (| index |), + M.read (| shift |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -2773,16 +2792,16 @@ Module str. ("start", M.read (| found_char |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| found_char |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| found_char |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::CharSearcher", "utf8_size" |) - |))) + |) + |)) ] ] |) @@ -2854,6 +2873,7 @@ Module str. [ ("start", Value.Integer + IntegerKind.Usize 0); ("end_", M.read (| @@ -2902,9 +2922,8 @@ Module str. "finger_back" |) |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self @@ -2912,8 +2931,8 @@ Module str. "core::str::pattern::CharSearcher", "finger_back" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self @@ -2921,7 +2940,8 @@ Module str. "core::str::pattern::CharSearcher", "utf8_size" |) - |)) + |) + |) ] ] |) @@ -2984,7 +3004,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3037,7 +3057,7 @@ Module str. (let self := M.alloc (| self |) in let haystack := M.alloc (| haystack |) in M.read (| - let~ utf8_encoded := M.alloc (| repeat (Value.Integer 0) 4 |) in + let~ utf8_encoded := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |) in let~ utf8_size := M.alloc (| M.call_closure (| @@ -3055,7 +3075,7 @@ Module str. "core::str::pattern::CharSearcher" [ ("haystack", M.read (| haystack |)); - ("finger", Value.Integer 0); + ("finger", Value.Integer IntegerKind.Usize 0); ("finger_back", M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), @@ -3067,7 +3087,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3095,7 +3115,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.rust_cast (M.read (| self |))) (Value.Integer 128) + BinOp.lt (| + M.rust_cast (M.read (| self |)), + Value.Integer IntegerKind.U32 128 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3116,7 +3139,7 @@ Module str. |))); fun γ => ltac:(M.monadic - (let~ buffer := M.alloc (| repeat (Value.Integer 0) 4 |) in + (let~ buffer := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |) in M.alloc (| M.call_closure (| M.get_trait_method (| @@ -3138,7 +3161,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3165,13 +3188,14 @@ Module str. M.get_associated_function (| Ty.path "char", "encode_utf8", [] |), [ M.read (| self |); - (* Unsize *) M.pointer_coercion (M.alloc (| repeat (Value.Integer 0) 4 |)) + (* Unsize *) + M.pointer_coercion (M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |)) ] |); M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3198,13 +3222,14 @@ Module str. M.get_associated_function (| Ty.path "char", "encode_utf8", [] |), [ M.read (| self |); - (* Unsize *) M.pointer_coercion (M.alloc (| repeat (Value.Integer 0) 4 |)) + (* Unsize *) + M.pointer_coercion (M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |)) ] |); M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3234,13 +3259,14 @@ Module str. M.get_associated_function (| Ty.path "char", "encode_utf8", [] |), [ M.read (| self |); - (* Unsize *) M.pointer_coercion (M.alloc (| repeat (Value.Integer 0) 4 |)) + (* Unsize *) + M.pointer_coercion (M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |)) ] |); M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3270,13 +3296,14 @@ Module str. M.get_associated_function (| Ty.path "char", "encode_utf8", [] |), [ M.read (| self |); - (* Unsize *) M.pointer_coercion (M.alloc (| repeat (Value.Integer 0) 4 |)) + (* Unsize *) + M.pointer_coercion (M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 4 |)) ] |); M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3324,7 +3351,7 @@ Module str. |), [ M.read (| self |); Value.Tuple [ M.read (| c |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3386,14 +3413,14 @@ Module str. ltac:(M.monadic (let γ := M.read (| γ |) in let m := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) + BinOp.eq (| M.read (| m |), M.read (| c |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3455,14 +3482,14 @@ Module str. ltac:(M.monadic (let γ := M.read (| γ |) in let m := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) + BinOp.eq (| M.read (| m |), M.read (| c |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3524,14 +3551,14 @@ Module str. ltac:(M.monadic (let γ := M.read (| γ |) in let m := M.copy (| γ |) in - BinOp.Pure.eq (M.read (| m |)) (M.read (| c |)))) + BinOp.eq (| M.read (| m |), M.read (| c |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3621,7 +3648,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3682,7 +3709,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3732,7 +3759,7 @@ Module str. [ M.read (| haystack |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3770,7 +3797,7 @@ Module str. "haystack" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3885,10 +3912,7 @@ Module str. |) in let~ char_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| pre_len |)) - (M.read (| len |)) + BinOp.Wrap.sub (| M.read (| pre_len |), M.read (| len |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3929,10 +3953,10 @@ Module str. "core::str::pattern::SearchStep::Match" [ M.read (| i |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| char_len |)) + BinOp.Wrap.add (| + M.read (| i |), + M.read (| char_len |) + |) ] |) |) @@ -3948,10 +3972,10 @@ Module str. "core::str::pattern::SearchStep::Reject" [ M.read (| i |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| char_len |)) + BinOp.Wrap.add (| + M.read (| i |), + M.read (| char_len |) + |) ] |) |) @@ -3965,7 +3989,7 @@ Module str. M.alloc (| Value.StructTuple "core::str::pattern::SearchStep::Done" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4095,10 +4119,7 @@ Module str. |) in let~ char_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| pre_len |)) - (M.read (| len |)) + BinOp.Wrap.sub (| M.read (| pre_len |), M.read (| len |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -4139,10 +4160,10 @@ Module str. "core::str::pattern::SearchStep::Match" [ M.read (| i |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| char_len |)) + BinOp.Wrap.add (| + M.read (| i |), + M.read (| char_len |) + |) ] |) |) @@ -4158,10 +4179,10 @@ Module str. "core::str::pattern::SearchStep::Reject" [ M.read (| i |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| char_len |)) + BinOp.Wrap.add (| + M.read (| i |), + M.read (| char_len |) + |) ] |) |) @@ -4175,7 +4196,7 @@ Module str. M.alloc (| Value.StructTuple "core::str::pattern::SearchStep::Done" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4238,7 +4259,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4279,7 +4300,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4328,7 +4349,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4369,7 +4390,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4418,7 +4439,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4447,7 +4468,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4476,7 +4497,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4505,7 +4526,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4537,7 +4558,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4569,7 +4590,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4620,7 +4641,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4651,7 +4672,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4682,7 +4703,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4713,7 +4734,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4761,7 +4782,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4792,7 +4813,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4823,7 +4844,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4889,7 +4910,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4918,7 +4939,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4947,7 +4968,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4976,7 +4997,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5008,7 +5029,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5040,7 +5061,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5091,7 +5112,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5122,7 +5143,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5153,7 +5174,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5184,7 +5205,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5232,7 +5253,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5263,7 +5284,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5294,7 +5315,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5359,7 +5380,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5400,7 +5421,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5442,7 +5463,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5473,7 +5494,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5504,7 +5525,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5535,7 +5556,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5583,7 +5604,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5614,7 +5635,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5645,7 +5666,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5711,7 +5732,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5740,7 +5761,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5769,7 +5790,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5798,7 +5819,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5830,7 +5851,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5862,7 +5883,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5920,7 +5941,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6012,7 +6033,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6055,7 +6076,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6085,7 +6106,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6115,7 +6136,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6145,7 +6166,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6194,7 +6215,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6224,7 +6245,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6254,7 +6275,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6322,7 +6343,7 @@ Module str. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6350,7 +6371,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6378,7 +6399,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6406,7 +6427,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6437,7 +6458,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6468,7 +6489,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6533,7 +6554,7 @@ Module str. M.read (| s |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple @@ -6589,7 +6610,7 @@ Module str. M.read (| s |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| self |) ] @@ -6601,7 +6622,7 @@ Module str. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6658,7 +6679,7 @@ Module str. M.read (| s |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| self |) ] @@ -6667,7 +6688,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6724,7 +6745,7 @@ Module str. M.read (| s |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| self |) ] @@ -6733,7 +6754,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6790,7 +6811,7 @@ Module str. M.read (| s |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| self |) ] @@ -6799,7 +6820,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6859,7 +6880,7 @@ Module str. M.read (| s |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| self |) ] @@ -6868,7 +6889,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6928,7 +6949,7 @@ Module str. M.read (| s |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |); Value.Tuple [ M.read (| self |) ] @@ -6937,7 +6958,7 @@ Module str. M.read (| haystack |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6978,7 +6999,7 @@ Module str. M.get_associated_function (| Ty.path "core::str::pattern::StrSearcher", "new", [] |), [ M.read (| haystack |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7009,7 +7030,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7055,12 +7076,13 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7103,16 +7125,17 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7147,7 +7170,7 @@ Module str. |), [ M.read (| self |) ] |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) ] |) @@ -7167,16 +7190,17 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.call_closure (| + BinOp.le (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 32) + |), + Value.Integer IntegerKind.Usize 32 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7272,7 +7296,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7360,7 +7384,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7391,7 +7415,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7434,13 +7458,12 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ i := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| haystack |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", @@ -7452,7 +7475,8 @@ Module str. [ M.read (| self |) ] |) ] - |)) + |) + |) |) in M.alloc (| Value.StructTuple @@ -7480,7 +7504,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7576,7 +7600,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7634,7 +7658,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7733,7 +7757,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7809,7 +7833,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7902,7 +7926,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7976,7 +8000,7 @@ Module str. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8050,7 +8074,7 @@ Module str. Value.StructRecord "core::str::pattern::EmptyNeedle" [ - ("position", Value.Integer 0); + ("position", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), @@ -8102,7 +8126,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -8128,7 +8152,7 @@ Module str. "haystack" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8254,14 +8278,15 @@ Module str. "core::str::pattern::EmptyNeedle", "is_match_fw" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| searcher |), "core::str::pattern::EmptyNeedle", "is_match_fw" |) - |)) + |) + |) |) in let~ pos := M.copy (| @@ -8365,17 +8390,17 @@ Module str. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "char", "len_utf8", [] |), [ M.read (| ch |) ] - |)) + |) + |) |) in M.alloc (| Value.StructTuple @@ -8411,15 +8436,15 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| searcher |), "core::str::pattern::TwoWaySearcher", "position" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", @@ -8434,7 +8459,8 @@ Module str. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8457,15 +8483,16 @@ Module str. |) in let~ is_long := M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| searcher |), "core::str::pattern::TwoWaySearcher", "memory" |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |) in M.match_operator (| M.alloc (| @@ -8533,8 +8560,8 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -8550,7 +8577,8 @@ Module str. |); M.read (| b |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8561,10 +8589,10 @@ Module str. let β := b in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -8621,7 +8649,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8769,15 +8797,16 @@ Module str. let searcher := M.alloc (| γ0_0 |) in let~ is_long := M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| searcher |), "core::str::pattern::TwoWaySearcher", "memory" |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8888,7 +8917,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9024,14 +9053,15 @@ Module str. "core::str::pattern::EmptyNeedle", "is_match_bw" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| searcher |), "core::str::pattern::EmptyNeedle", "is_match_bw" |) - |)) + |) + |) |) in let~ end_ := M.copy (| @@ -9135,17 +9165,17 @@ Module str. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "char", "len_utf8", [] |), [ M.read (| ch |) ] - |)) + |) + |) |) in M.alloc (| Value.StructTuple @@ -9181,15 +9211,16 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| searcher |), "core::str::pattern::TwoWaySearcher", "end" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9212,15 +9243,16 @@ Module str. |) in let~ is_long := M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| searcher |), "core::str::pattern::TwoWaySearcher", "memory" |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |) in M.match_operator (| M.alloc (| @@ -9288,8 +9320,8 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "is_char_boundary", @@ -9305,7 +9337,8 @@ Module str. |); M.read (| a |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -9316,10 +9349,10 @@ Module str. let β := a in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -9376,7 +9409,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9523,15 +9556,16 @@ Module str. let searcher := M.alloc (| γ0_0 |) in let~ is_long := M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| searcher |), "core::str::pattern::TwoWaySearcher", "memory" |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9642,7 +9676,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9775,7 +9809,7 @@ Module str. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9897,7 +9931,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10032,9 +10066,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| crit_pos_false |)) - (M.read (| crit_pos_true |)) + BinOp.gt (| + M.read (| crit_pos_false |), + M.read (| crit_pos_true |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10125,10 +10160,10 @@ Module str. [ ("start", M.read (| period |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| period |)) - (M.read (| crit_pos |))) + BinOp.Wrap.add (| + M.read (| period |), + M.read (| crit_pos |) + |)) ] ] |) @@ -10142,17 +10177,16 @@ Module str. |) in let~ crit_pos_back := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "usize" ] @@ -10185,7 +10219,8 @@ Module str. ] |) ] - |)) + |) + |) |) in M.alloc (| Value.StructRecord @@ -10227,9 +10262,9 @@ Module str. |) ] |)); - ("position", Value.Integer 0); + ("position", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| end_ |)); - ("memory", Value.Integer 0); + ("memory", Value.Integer IntegerKind.Usize 0); ("memory_back", M.call_closure (| M.get_associated_function (| @@ -10252,18 +10287,16 @@ Module str. ("crit_pos", M.read (| crit_pos |)); ("crit_pos_back", M.read (| crit_pos |)); ("period", - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "usize" ] |), [ M.read (| crit_pos |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -10272,11 +10305,13 @@ Module str. [] |), [ M.read (| needle |) ] - |)) - (M.read (| crit_pos |)) + |), + M.read (| crit_pos |) + |) ] - |)) - (Value.Integer 1)); + |), + Value.Integer IntegerKind.Usize 1 + |)); ("byteset", M.call_closure (| M.get_associated_function (| @@ -10287,7 +10322,7 @@ Module str. |), [ M.read (| needle |) ] |)); - ("position", Value.Integer 0); + ("position", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| end_ |)); ("memory", M.read (| @@ -10308,7 +10343,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -10345,7 +10380,7 @@ Module str. |), [ M.read (| bytes |) ] |); - Value.Integer 0; + Value.Integer IntegerKind.U64 0; M.closure (fun γ => ltac:(M.monadic @@ -10365,22 +10400,23 @@ Module str. ltac:(M.monadic (let γ := M.read (| γ |) in let b := M.copy (| γ |) in - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Pure.bit_and + BinOp.bit_or + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + BinOp.bit_and (M.read (| b |)) - (Value.Integer 63))) + (Value.Integer IntegerKind.U8 63) + |)) (M.read (| a |)))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byteset_create : @@ -10397,20 +10433,22 @@ Module str. ltac:(M.monadic (let self := M.alloc (| self |) in let byte := M.alloc (| byte |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and - (BinOp.Wrap.shr - (M.read (| + BinOp.ne (| + BinOp.bit_and + (BinOp.Wrap.shr (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "byteset" |) - |)) - (M.rust_cast (BinOp.Pure.bit_and (M.read (| byte |)) (Value.Integer 63)))) - (Value.Integer 1)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + M.rust_cast (BinOp.bit_and (M.read (| byte |)) (Value.Integer IntegerKind.U8 63)) + |)) + (Value.Integer IntegerKind.U64 1), + Value.Integer IntegerKind.U64 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byteset_contains : @@ -10508,17 +10546,17 @@ Module str. |) in let~ needle_last := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| M.never_to_any (| @@ -10537,16 +10575,16 @@ Module str. |), [ M.read (| haystack |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "position" |) - |)) - (M.read (| needle_last |)) + |), + M.read (| needle_last |) + |) ] |) |), @@ -10633,15 +10671,16 @@ Module str. [] |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| old_pos |)) - (M.read (| + (BinOp.ne (| + M.read (| old_pos |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "position" |) - |)))) + |) + |))) |) |)) in let _ := @@ -10688,15 +10727,16 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::str::pattern::TwoWaySearcher", "byteset_contains", [] |), [ M.read (| self |); M.read (| tail_byte |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10715,17 +10755,17 @@ Module str. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -10736,7 +10776,7 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not (M.read (| long_period |)) + UnOp.not (| M.read (| long_period |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -10750,7 +10790,7 @@ Module str. "core::str::pattern::TwoWaySearcher", "memory" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -10895,30 +10935,31 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| needle |), i |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_array_field (| M.read (| haystack |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "position" |) - |)) - (M.read (| i |)) + |), + M.read (| i |) + |) |) |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10937,22 +10978,24 @@ Module str. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| i |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| i |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "crit_pos" |) - |))) - (Value.Integer 1)) + |) + |), + Value.Integer + IntegerKind.Usize + 1 + |) + |) |) in let~ _ := M.match_operator (| @@ -10965,10 +11008,11 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| long_period - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10984,7 +11028,9 @@ Module str. "core::str::pattern::TwoWaySearcher", "memory" |), - Value.Integer 0 + Value.Integer + IntegerKind.Usize + 0 |) in M.alloc (| Value.Tuple [] @@ -11024,7 +11070,7 @@ Module str. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.SubPointer.get_struct_record_field (| @@ -11139,30 +11185,31 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| needle |), i |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_array_field (| M.read (| haystack |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "position" |) - |)) - (M.read (| i |)) + |), + M.read (| i |) + |) |) |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11181,16 +11228,16 @@ Module str. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "period" |) - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -11203,10 +11250,11 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| long_period - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11222,9 +11270,8 @@ Module str. "core::str::pattern::TwoWaySearcher", "memory" |), - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -11241,8 +11288,8 @@ Module str. needle |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self @@ -11250,7 +11297,8 @@ Module str. "core::str::pattern::TwoWaySearcher", "period" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] @@ -11294,17 +11342,17 @@ Module str. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -11314,9 +11362,7 @@ Module str. ltac:(M.monadic (let γ := M.use - (M.alloc (| - UnOp.Pure.not (M.read (| long_period |)) - |)) in + (M.alloc (| UnOp.not (| M.read (| long_period |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -11329,7 +11375,7 @@ Module str. "core::str::pattern::TwoWaySearcher", "memory" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -11346,17 +11392,17 @@ Module str. |), [ M.read (| match_pos |); - BinOp.Wrap.add - Integer.Usize - (M.read (| match_pos |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| match_pos |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) + |) + |) ] |) |))) @@ -11366,7 +11412,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next : M.IsAssociatedFunction Self "next" next. @@ -11534,7 +11580,7 @@ Module str. "core::str::pattern::TwoWaySearcher", "end" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.return_ (| M.call_closure (| @@ -11545,7 +11591,10 @@ Module str. "rejecting", [] |), - [ Value.Integer 0; M.read (| old_end |) ] + [ + Value.Integer IntegerKind.Usize 0; + M.read (| old_end |) + ] |) |) |) @@ -11575,15 +11624,16 @@ Module str. [] |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| old_end |)) - (M.read (| + (BinOp.ne (| + M.read (| old_end |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "end" |) - |)))) + |) + |))) |) |)) in let _ := @@ -11630,15 +11680,16 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::str::pattern::TwoWaySearcher", "byteset_contains", [] |), [ M.read (| self |); M.read (| front_byte |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11657,17 +11708,17 @@ Module str. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -11678,7 +11729,7 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not (M.read (| long_period |)) + UnOp.not (| M.read (| long_period |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -11795,7 +11846,7 @@ Module str. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| crit |)) ] ] @@ -11859,22 +11910,20 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| needle |), i |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_array_field (| M.read (| haystack |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self @@ -11882,8 +11931,8 @@ Module str. "core::str::pattern::TwoWaySearcher", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -11898,11 +11947,14 @@ Module str. needle |) ] - |))) - (M.read (| i |)) + |) + |), + M.read (| i |) + |) |) |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11921,19 +11973,19 @@ Module str. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "crit_pos_back" |) - |)) - (M.read (| i |))) + |), + M.read (| i |) + |) + |) |) in let~ _ := M.match_operator (| @@ -11946,10 +11998,11 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| long_period - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12125,22 +12178,20 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| needle |), i |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_array_field (| M.read (| haystack |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self @@ -12148,8 +12199,8 @@ Module str. "core::str::pattern::TwoWaySearcher", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -12164,11 +12215,14 @@ Module str. needle |) ] - |))) - (M.read (| i |)) + |) + |), + M.read (| i |) + |) |) |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12187,16 +12241,16 @@ Module str. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "period" |) - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -12209,10 +12263,11 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| long_period - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12265,23 +12320,23 @@ Module str. |)) in let~ match_pos := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::str::pattern::TwoWaySearcher", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) + |) + |) |) in let~ _ := let β := @@ -12292,17 +12347,17 @@ Module str. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -12312,9 +12367,7 @@ Module str. ltac:(M.monadic (let γ := M.use - (M.alloc (| - UnOp.Pure.not (M.read (| long_period |)) - |)) in + (M.alloc (| UnOp.not (| M.read (| long_period |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -12351,17 +12404,17 @@ Module str. |), [ M.read (| match_pos |); - BinOp.Wrap.add - Integer.Usize - (M.read (| match_pos |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| match_pos |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) + |) + |) ] |) |))) @@ -12371,7 +12424,7 @@ Module str. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_next_back : M.IsAssociatedFunction Self "next_back" next_back. @@ -12418,10 +12471,10 @@ Module str. (let arr := M.alloc (| arr |) in let order_greater := M.alloc (| order_greater |) in M.read (| - let~ left := M.alloc (| Value.Integer 0 |) in - let~ right := M.alloc (| Value.Integer 1 |) in - let~ offset := M.alloc (| Value.Integer 0 |) in - let~ period := M.alloc (| Value.Integer 1 |) in + let~ left := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ right := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in + let~ offset := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ period := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -12440,10 +12493,7 @@ Module str. |), [ M.read (| arr |); - BinOp.Wrap.add - Integer.Usize - (M.read (| right |)) - (M.read (| offset |)) + BinOp.Wrap.add (| M.read (| right |), M.read (| offset |) |) ] |) |) in @@ -12460,10 +12510,7 @@ Module str. M.SubPointer.get_array_field (| M.read (| arr |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| left |)) - (M.read (| offset |)) + BinOp.Wrap.add (| M.read (| left |), M.read (| offset |) |) |) |) |) in @@ -12477,13 +12524,13 @@ Module str. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| a |)) (M.read (| b |)), + BinOp.lt (| M.read (| a |), M.read (| b |) |), ltac:(M.monadic - (UnOp.Pure.not (M.read (| order_greater |)))) + (UnOp.not (| M.read (| order_greater |) |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.gt (M.read (| a |)) (M.read (| b |)), + BinOp.gt (| M.read (| a |), M.read (| b |) |), ltac:(M.monadic (M.read (| order_greater |))) |))) |) @@ -12497,22 +12544,20 @@ Module str. let β := right in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in - let~ _ := M.write (| offset, Value.Integer 0 |) in + let~ _ := + M.write (| offset, Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| period, - BinOp.Wrap.sub - Integer.Usize - (M.read (| right |)) - (M.read (| left |)) + BinOp.Wrap.sub (| M.read (| right |), M.read (| left |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -12525,7 +12570,7 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| a |)) (M.read (| b |)) + BinOp.eq (| M.read (| a |), M.read (| b |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -12540,12 +12585,13 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (Value.Integer 1)) - (M.read (| period |)) + BinOp.eq (| + BinOp.Wrap.add (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| period |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12556,16 +12602,19 @@ Module str. let β := right in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in let~ _ := - M.write (| offset, Value.Integer 0 |) in + M.write (| + offset, + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -12573,10 +12622,10 @@ Module str. let β := offset in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -12588,13 +12637,21 @@ Module str. let β := right in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) + |) in + let~ _ := + M.write (| + offset, + Value.Integer IntegerKind.Usize 0 + |) in + let~ _ := + M.write (| + period, + Value.Integer IntegerKind.Usize 1 |) in - let~ _ := M.write (| offset, Value.Integer 0 |) in - let~ _ := M.write (| period, Value.Integer 1 |) in M.alloc (| Value.Tuple [] |))) ] |))) @@ -12616,7 +12673,7 @@ Module str. |) in M.alloc (| Value.Tuple [ M.read (| left |); M.read (| period |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_maximal_suffix : @@ -12670,10 +12727,10 @@ Module str. let known_period := M.alloc (| known_period |) in let order_greater := M.alloc (| order_greater |) in M.read (| - let~ left := M.alloc (| Value.Integer 0 |) in - let~ right := M.alloc (| Value.Integer 1 |) in - let~ offset := M.alloc (| Value.Integer 0 |) in - let~ period := M.alloc (| Value.Integer 1 |) in + let~ left := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ right := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in + let~ offset := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ period := M.alloc (| Value.Integer IntegerKind.Usize 1 |) in let~ n := M.alloc (| M.call_closure (| @@ -12696,12 +12753,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (BinOp.Wrap.add - Integer.Usize - (M.read (| right |)) - (M.read (| offset |))) - (M.read (| n |)) + BinOp.lt (| + BinOp.Wrap.add (| M.read (| right |), M.read (| offset |) |), + M.read (| n |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -12710,16 +12765,16 @@ Module str. M.SubPointer.get_array_field (| M.read (| arr |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.read (| right |))) - (M.read (| offset |))) + BinOp.Wrap.sub (| + M.read (| n |), + BinOp.Wrap.add (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.read (| right |) + |), + M.read (| offset |) + |) + |) |) |) |) in @@ -12728,16 +12783,16 @@ Module str. M.SubPointer.get_array_field (| M.read (| arr |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| n |)) - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.read (| left |))) - (M.read (| offset |))) + BinOp.Wrap.sub (| + M.read (| n |), + BinOp.Wrap.add (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.read (| left |) + |), + M.read (| offset |) + |) + |) |) |) |) in @@ -12752,13 +12807,13 @@ Module str. (M.alloc (| LogicalOp.or (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| a |)) (M.read (| b |)), + BinOp.lt (| M.read (| a |), M.read (| b |) |), ltac:(M.monadic - (UnOp.Pure.not (M.read (| order_greater |)))) + (UnOp.not (| M.read (| order_greater |) |))) |), ltac:(M.monadic (LogicalOp.and (| - BinOp.Pure.gt (M.read (| a |)) (M.read (| b |)), + BinOp.gt (| M.read (| a |), M.read (| b |) |), ltac:(M.monadic (M.read (| order_greater |))) |))) |) @@ -12772,22 +12827,20 @@ Module str. let β := right in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in - let~ _ := M.write (| offset, Value.Integer 0 |) in + let~ _ := + M.write (| offset, Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.write (| period, - BinOp.Wrap.sub - Integer.Usize - (M.read (| right |)) - (M.read (| left |)) + BinOp.Wrap.sub (| M.read (| right |), M.read (| left |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -12800,7 +12853,7 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| a |)) (M.read (| b |)) + BinOp.eq (| M.read (| a |), M.read (| b |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -12815,12 +12868,13 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (Value.Integer 1)) - (M.read (| period |)) + BinOp.eq (| + BinOp.Wrap.add (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| period |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12831,16 +12885,19 @@ Module str. let β := right in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (Value.Integer 1)) + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.add (| + M.read (| offset |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in let~ _ := - M.write (| offset, Value.Integer 0 |) in + M.write (| + offset, + Value.Integer IntegerKind.Usize 0 + |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -12848,10 +12905,10 @@ Module str. let β := offset in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -12863,13 +12920,21 @@ Module str. let β := right in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) + |) in + let~ _ := + M.write (| + offset, + Value.Integer IntegerKind.Usize 0 + |) in + let~ _ := + M.write (| + period, + Value.Integer IntegerKind.Usize 1 |) in - let~ _ := M.write (| offset, Value.Integer 0 |) in - let~ _ := M.write (| period, Value.Integer 1 |) in M.alloc (| Value.Tuple [] |))) ] |))) @@ -12883,9 +12948,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| period |)) - (M.read (| known_period |)) + BinOp.eq (| + M.read (| period |), + M.read (| known_period |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12928,10 +12994,12 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| period |)) - (M.read (| known_period |))) + UnOp.not (| + BinOp.le (| + M.read (| period |), + M.read (| known_period |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12959,7 +13027,7 @@ Module str. |) in left |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reverse_maximal_suffix : @@ -12990,7 +13058,10 @@ Module str. } *) Definition use_early_reject (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Bool false)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Bool false)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn rejecting(_a: usize, _b: usize) -> Self::Output { @@ -13004,7 +13075,7 @@ Module str. (let _a := M.alloc (| _a |) in let _b := M.alloc (| _b |) in Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13021,7 +13092,7 @@ Module str. Value.StructTuple "core::option::Option::Some" [ Value.Tuple [ M.read (| a |); M.read (| b |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13058,7 +13129,10 @@ Module str. } *) Definition use_early_reject (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Bool true)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Bool true)) + | _, _ => M.impossible "wrong number of arguments" + end. (* fn rejecting(a: usize, b: usize) -> Self::Output { @@ -13074,7 +13148,7 @@ Module str. Value.StructTuple "core::str::pattern::SearchStep::Reject" [ M.read (| a |); M.read (| b |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13091,7 +13165,7 @@ Module str. Value.StructTuple "core::str::pattern::SearchStep::Match" [ M.read (| a |); M.read (| b |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -13273,17 +13347,19 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.gt - (M.call_closure (| + UnOp.not (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13313,22 +13389,22 @@ Module str. M.copy (| M.SubPointer.get_array_field (| M.read (| needle |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) in let~ last_byte_offset := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ second_probe_offset := M.copy (| @@ -13340,20 +13416,21 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| needle |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))); + M.alloc (| Value.Integer IntegerKind.Usize 1 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -13393,7 +13470,7 @@ Module str. |), [ M.read (| needle |) ] |); - Value.Integer 4 + Value.Integer IntegerKind.Usize 4 ] |)); ("end_", @@ -13420,17 +13497,18 @@ Module str. ltac:(M.monadic (let γ := M.read (| γ |) in let idx := M.copy (| γ |) in - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| needle |), idx |) - |)) - (M.read (| first_probe |)))) + |), + M.read (| first_probe |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -13460,21 +13538,22 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| haystack |) ] - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| + |), + BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) - |)) - (M.read (| last_byte_offset |))) + |), + M.read (| last_byte_offset |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13566,7 +13645,7 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -13621,7 +13700,7 @@ Module str. M.read (| needle |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) |) in @@ -13691,9 +13770,12 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| mask |)) - (Value.Integer 0) + BinOp.ne (| + M.read (| mask |), + Value.Integer + IntegerKind.U16 + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13713,16 +13795,18 @@ Module str. |) in let~ offset := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| idx |)) - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| idx |), + M.rust_cast (M.read (| trailing - |)))) - (Value.Integer 1) + |)) + |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in let~ _ := let~ sub := @@ -13860,14 +13944,18 @@ Module str. let β := mask in M.write (| β, - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| β |)) - (UnOp.Pure.not - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| + (UnOp.not (| + BinOp.Wrap.shl (| + Value.Integer + IntegerKind.U16 + 1, + M.read (| trailing - |)))) + |) + |) + |)) |) in M.alloc (| Value.Tuple [] @@ -13903,7 +13991,7 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ test_chunk := @@ -14108,10 +14196,10 @@ Module str. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ result := M.alloc (| Value.Bool false |) in let~ _ := M.loop (| @@ -14125,32 +14213,33 @@ Module str. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| last_byte_offset |))) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| + BinOp.lt (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| i |), + M.read (| last_byte_offset |) + |), + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "core::str::pattern::simd_contains::UNROLL" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) - |)))) - (M.call_closure (| + |) + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| haystack |) ] - |)), - ltac:(M.monadic (UnOp.Pure.not (M.read (| result |)))) + |) + |), + ltac:(M.monadic (UnOp.not (| M.read (| result |) |))) |) |)) in let _ := @@ -14158,7 +14247,8 @@ Module str. M.read (| γ |), Value.Bool true |) in - let~ masks := M.alloc (| repeat (Value.Integer 0) 4 |) in + let~ masks := + M.alloc (| repeat (Value.Integer IntegerKind.U16 0) 4 |) in let~ _ := M.use (M.match_operator (| @@ -14177,7 +14267,7 @@ Module str. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.get_constant (| @@ -14252,17 +14342,17 @@ Module str. test_chunk; Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| j |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| i |), + BinOp.Wrap.mul (| + M.read (| j |), + M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) - |))) + |) + |) + |) ] ] |) @@ -14292,7 +14382,7 @@ Module str. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.get_constant (| @@ -14362,9 +14452,12 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| mask |)) - (Value.Integer 0) + BinOp.ne (| + M.read (| mask |), + Value.Integer + IntegerKind.U16 + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14375,7 +14468,7 @@ Module str. let β := result in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.call_closure (| M.get_trait_method (| @@ -14405,17 +14498,17 @@ Module str. check_mask; Value.Tuple [ - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| j |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| i |), + BinOp.Wrap.mul (| + M.read (| j |), + M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) - |))); + |) + |) + |); M.read (| mask |); M.read (| result |) ] @@ -14438,19 +14531,19 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "core::str::pattern::simd_contains::UNROLL" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) - |))) + |) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -14481,25 +14574,26 @@ Module str. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.read (| last_byte_offset |))) - (M.read (| + BinOp.lt (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| i |), + M.read (| last_byte_offset |) + |), + M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| haystack |) ] - |)), - ltac:(M.monadic (UnOp.Pure.not (M.read (| result |)))) + |) + |), + ltac:(M.monadic (UnOp.not (| M.read (| result |) |))) |) |)) in let _ := @@ -14529,7 +14623,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| mask |)) (Value.Integer 0) + BinOp.ne (| + M.read (| mask |), + Value.Integer IntegerKind.U16 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14540,7 +14637,7 @@ Module str. let β := result in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.call_closure (| M.get_trait_method (| @@ -14585,12 +14682,10 @@ Module str. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| - M.get_constant (| "core::core_simd::vector::LEN" |) - |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -14611,20 +14706,20 @@ Module str. |) in let~ i := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| haystack |) ] - |)) - (M.read (| last_byte_offset |))) - (M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) |)) + |), + M.read (| last_byte_offset |) + |), + M.read (| M.get_constant (| "core::core_simd::vector::LEN" |) |) + |) |) in let~ mask := M.alloc (| @@ -14647,14 +14742,16 @@ Module str. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.ne (M.read (| mask |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.ne (| M.read (| mask |), Value.Integer IntegerKind.U16 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := result in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) (M.call_closure (| M.get_trait_method (| @@ -14681,13 +14778,14 @@ Module str. M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| result |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_simd_contains : M.IsFunction "core::str::pattern::simd_contains" simd_contains. Module simd_contains. - Definition value_UNROLL : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 4 |))). + Definition value_UNROLL : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). End simd_contains. (* @@ -14810,10 +14908,12 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14866,16 +14966,17 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| x |) ] - |)) - (Value.Integer 4) + |), + Value.Integer IntegerKind.Usize 4 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -15006,9 +15107,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| b1 |)) - (M.read (| b2 |)) + BinOp.ne (| + M.read (| b1 |), + M.read (| b2 |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -15083,17 +15185,17 @@ Module str. |), [ M.read (| px |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| x |) ] - |)) - (Value.Integer 4) + |), + Value.Integer IntegerKind.Usize 4 + |) ] |); M.call_closure (| @@ -15104,17 +15206,17 @@ Module str. |), [ M.read (| py |); - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| y |) ] - |)) - (Value.Integer 4) + |), + Value.Integer IntegerKind.Usize 4 + |) ] |) ] @@ -15137,9 +15239,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| px |)) - (M.read (| pxend |)) + BinOp.lt (| + M.read (| px |), + M.read (| pxend |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -15177,9 +15280,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| vx |)) - (M.read (| vy |)) + BinOp.ne (| + M.read (| vx |), + M.read (| vy |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -15207,7 +15311,10 @@ Module str. "add", [] |), - [ M.read (| px |); Value.Integer 4 ] + [ + M.read (| px |); + Value.Integer IntegerKind.Usize 4 + ] |) |) in let~ _ := @@ -15219,7 +15326,10 @@ Module str. "add", [] |), - [ M.read (| py |); Value.Integer 4 ] + [ + M.read (| py |); + Value.Integer IntegerKind.Usize 4 + ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -15263,14 +15373,14 @@ Module str. [ M.rust_cast (M.read (| pyend |)) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| vx |)) (M.read (| vy |)) |))) + M.alloc (| BinOp.eq (| M.read (| vx |), M.read (| vy |) |) |))) ] |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_small_slice_eq : diff --git a/CoqOfRust/core/str/traits.v b/CoqOfRust/core/str/traits.v index 6ed8a307b..40347c343 100644 --- a/CoqOfRust/core/str/traits.v +++ b/CoqOfRust/core/str/traits.v @@ -36,7 +36,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -84,7 +84,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -124,7 +124,7 @@ Module str. [ M.read (| self |); M.read (| other |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -163,7 +163,7 @@ Module str. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -201,7 +201,7 @@ Module str. |), [ M.read (| index |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -238,7 +238,7 @@ Module str. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_str_index_overflow_fail : @@ -262,7 +262,7 @@ Module str. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in Value.StructTuple "core::option::Option::Some" [ M.read (| slice |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -277,7 +277,7 @@ Module str. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in Value.StructTuple "core::option::Option::Some" [ M.read (| slice |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -292,7 +292,7 @@ Module str. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.read (| slice |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -307,7 +307,7 @@ Module str. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.read (| slice |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -322,7 +322,7 @@ Module str. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.read (| slice |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -337,7 +337,7 @@ Module str. (let self := M.alloc (| self |) in let slice := M.alloc (| slice |) in M.read (| slice |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -395,21 +395,22 @@ Module str. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| @@ -472,7 +473,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -506,21 +507,22 @@ Module str. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| @@ -583,7 +585,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -633,33 +635,34 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.ge - (M.read (| + UnOp.not (| + LogicalOp.and (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*const") @@ -668,8 +671,10 @@ Module str. [] |), [ M.read (| slice |) ] - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -746,22 +751,22 @@ Module str. |) in let~ len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) + |) + |) |) in M.alloc (| M.rust_cast @@ -771,7 +776,7 @@ Module str. |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -814,33 +819,34 @@ Module str. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.ge - (M.read (| + UnOp.not (| + LogicalOp.and (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "*mut") @@ -849,8 +855,10 @@ Module str. [] |), [ M.read (| slice |) ] - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -925,22 +933,22 @@ Module str. |) in let~ len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) + |) + |) |) in M.alloc (| M.rust_cast @@ -950,7 +958,7 @@ Module str. |)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1036,7 +1044,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1072,21 +1080,22 @@ Module str. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "start" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| self, "core::ops::range::Range", "end" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| @@ -1168,7 +1177,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1300,7 +1309,7 @@ Module str. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1404,7 +1413,7 @@ Module str. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1451,7 +1460,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1498,7 +1507,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1534,7 +1543,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1570,7 +1579,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1659,7 +1668,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1725,7 +1734,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1752,7 +1761,7 @@ Module str. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -1765,7 +1774,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1792,7 +1801,7 @@ Module str. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.SubPointer.get_struct_record_field (| @@ -1805,7 +1814,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1863,14 +1872,18 @@ Module str. M.never_to_any (| M.call_closure (| M.get_function (| "core::str::slice_error_fail", [] |), - [ M.read (| slice |); Value.Integer 0; M.read (| end_ |) ] + [ + M.read (| slice |); + Value.Integer IntegerKind.Usize 0; + M.read (| end_ |) + ] |) |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1934,7 +1947,7 @@ Module str. M.get_function (| "core::str::slice_error_fail", [] |), [ M.read (| slice |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -1949,7 +1962,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2041,7 +2054,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2109,7 +2122,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2165,7 +2178,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2221,7 +2234,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2304,7 +2317,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2386,7 +2399,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2433,8 +2446,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -2445,8 +2458,9 @@ Module str. |), [ self ] |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -2479,7 +2493,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2502,8 +2516,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -2514,8 +2528,9 @@ Module str. |), [ self ] |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); @@ -2548,7 +2563,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2583,7 +2598,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2618,7 +2633,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2645,8 +2660,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -2657,8 +2672,9 @@ Module str. |), [ self ] |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2696,7 +2712,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2723,8 +2739,8 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -2735,8 +2751,9 @@ Module str. |), [ self ] |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2774,7 +2791,7 @@ Module str. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2828,7 +2845,7 @@ Module str. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -2841,7 +2858,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2871,7 +2888,7 @@ Module str. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -2884,7 +2901,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2915,7 +2932,7 @@ Module str. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -2928,7 +2945,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2959,7 +2976,7 @@ Module str. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -2972,7 +2989,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3002,7 +3019,7 @@ Module str. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -3015,7 +3032,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3045,7 +3062,7 @@ Module str. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.read (| M.SubPointer.get_struct_record_field (| self, @@ -3058,7 +3075,7 @@ Module str. M.read (| slice |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3129,7 +3146,7 @@ Module str. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/str/validations.v b/CoqOfRust/core/str/validations.v index 27beb8efc..faf3f5eac 100644 --- a/CoqOfRust/core/str/validations.v +++ b/CoqOfRust/core/str/validations.v @@ -15,10 +15,10 @@ Module str. (let byte := M.alloc (| byte |) in let width := M.alloc (| width |) in M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| byte |)) - (BinOp.Wrap.shr (Value.Integer 127) (M.read (| width |)))))) - | _, _ => M.impossible + (BinOp.Wrap.shr (| Value.Integer IntegerKind.U8 127, M.read (| width |) |))))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_utf8_first_byte : @@ -35,13 +35,13 @@ Module str. ltac:(M.monadic (let ch := M.alloc (| ch |) in let byte := M.alloc (| byte |) in - BinOp.Pure.bit_or - (BinOp.Wrap.shl (M.read (| ch |)) (Value.Integer 6)) + BinOp.bit_or + (BinOp.Wrap.shl (| M.read (| ch |), Value.Integer IntegerKind.I32 6 |)) (M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| byte |)) (M.read (| M.get_constant (| "core::str::validations::CONT_MASK" |) |)))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_utf8_acc_cont_byte : @@ -57,8 +57,8 @@ Module str. | [], [ byte ] => ltac:(M.monadic (let byte := M.alloc (| byte |) in - BinOp.Pure.lt (M.rust_cast (M.read (| byte |))) (Value.Integer (-64)))) - | _, _ => M.impossible + BinOp.lt (| M.rust_cast (M.read (| byte |)), Value.Integer IntegerKind.I8 (-64) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_utf8_is_cont_byte : @@ -194,7 +194,9 @@ Module str. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| x |)) (Value.Integer 128) |)) in + (M.alloc (| + BinOp.lt (| M.read (| x |), Value.Integer IntegerKind.U8 128 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -215,7 +217,7 @@ Module str. M.alloc (| M.call_closure (| M.get_function (| "core::str::validations::utf8_first_byte", [] |), - [ M.read (| x |); Value.Integer 2 ] + [ M.read (| x |); Value.Integer IntegerKind.U32 2 ] |) |) in let~ y := @@ -257,7 +259,9 @@ Module str. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.ge (M.read (| x |)) (Value.Integer 224) |)) in + (M.alloc (| + BinOp.ge (| M.read (| x |), Value.Integer IntegerKind.U8 224 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ z := @@ -293,7 +297,7 @@ Module str. |), [ M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| y |)) (M.read (| M.get_constant (| "core::str::validations::CONT_MASK" |) @@ -305,8 +309,11 @@ Module str. let~ _ := M.write (| ch, - BinOp.Pure.bit_or - (BinOp.Wrap.shl (M.read (| init |)) (Value.Integer 12)) + BinOp.bit_or + (BinOp.Wrap.shl (| + M.read (| init |), + Value.Integer IntegerKind.I32 12 + |)) (M.read (| y_z |)) |) in M.match_operator (| @@ -317,7 +324,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| x |)) (Value.Integer 240) + BinOp.ge (| + M.read (| x |), + Value.Integer IntegerKind.U8 240 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -351,10 +361,13 @@ Module str. let~ _ := M.write (| ch, - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (BinOp.Pure.bit_and (M.read (| init |)) (Value.Integer 7)) - (Value.Integer 18)) + BinOp.bit_or + (BinOp.Wrap.shl (| + BinOp.bit_and + (M.read (| init |)) + (Value.Integer IntegerKind.U32 7), + Value.Integer IntegerKind.I32 18 + |)) (M.call_closure (| M.get_function (| "core::str::validations::utf8_acc_cont_byte", @@ -373,7 +386,7 @@ Module str. M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| ch |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_next_code_point : @@ -507,7 +520,10 @@ Module str. (let next_byte := M.copy (| γ |) in let γ := M.alloc (| - BinOp.Pure.lt (M.read (| next_byte |)) (Value.Integer 128) + BinOp.lt (| + M.read (| next_byte |), + Value.Integer IntegerKind.U8 128 + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -559,7 +575,7 @@ Module str. ch, M.call_closure (| M.get_function (| "core::str::validations::utf8_first_byte", [] |), - [ M.read (| z |); Value.Integer 2 ] + [ M.read (| z |); Value.Integer IntegerKind.U32 2 ] |) |) in let~ _ := @@ -610,7 +626,7 @@ Module str. ch, M.call_closure (| M.get_function (| "core::str::validations::utf8_first_byte", [] |), - [ M.read (| y |); Value.Integer 3 ] + [ M.read (| y |); Value.Integer IntegerKind.U32 3 ] |) |) in let~ _ := @@ -667,7 +683,7 @@ Module str. "core::str::validations::utf8_first_byte", [] |), - [ M.read (| x |); Value.Integer 4 ] + [ M.read (| x |); Value.Integer IntegerKind.U32 4 ] |) |) in let~ _ := @@ -711,7 +727,7 @@ Module str. M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| ch |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_next_code_point_reverse : @@ -723,7 +739,7 @@ Module str. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "repeat_u8", [] |), - [ Value.Integer 128 ] + [ Value.Integer IntegerKind.U8 128 ] |) |))). @@ -737,12 +753,13 @@ Module str. | [], [ x ] => ltac:(M.monadic (let x := M.alloc (| x |) in - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| x |)) - (M.read (| M.get_constant (| "core::str::validations::NONASCII_MASK" |) |))) - (Value.Integer 0))) - | _, _ => M.impossible + (M.read (| M.get_constant (| "core::str::validations::NONASCII_MASK" |) |)), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_contains_nonascii : @@ -874,7 +891,7 @@ Module str. M.catch_return (| ltac:(M.monadic (M.read (| - let~ index := M.alloc (| Value.Integer 0 |) in + let~ index := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ len := M.alloc (| M.call_closure (| @@ -895,7 +912,7 @@ Module str. |) in let~ ascii_block_size := M.alloc (| - BinOp.Wrap.mul Integer.Usize (Value.Integer 2) (M.read (| usize_bytes |)) + BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, M.read (| usize_bytes |) |) |) in let~ blocks_end := M.copy (| @@ -907,20 +924,20 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| len |)) (M.read (| ascii_block_size |)) + BinOp.ge (| M.read (| len |), M.read (| ascii_block_size |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| ascii_block_size |))) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| len |), + M.read (| ascii_block_size |) + |), + Value.Integer IntegerKind.Usize 1 + |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -956,7 +973,7 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| index |)) (M.read (| len |)) + BinOp.lt (| M.read (| index |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -976,7 +993,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| first |)) (Value.Integer 128) + BinOp.ge (| + M.read (| first |), + Value.Integer IntegerKind.U8 128 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1002,7 +1022,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 2 + Value.Integer IntegerKind.Usize 2 |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1012,17 +1032,19 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.rust_cast + BinOp.ge (| + M.rust_cast (M.read (| let~ _ := let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in let~ _ := M.match_operator (| @@ -1035,13 +1057,14 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| index - |)) - (M.read (| + |), + M.read (| len - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1083,8 +1106,9 @@ Module str. M.read (| v |), index |) - |))) - (Value.Integer (-64)) + |)), + Value.Integer IntegerKind.I8 (-64) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1106,7 +1130,11 @@ Module str. ("error_len", Value.StructTuple "core::option::Option::Some" - [ Value.Integer 1 ]) + [ + Value.Integer + IntegerKind.U8 + 1 + ]) ] ] |) @@ -1123,7 +1151,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 3 + Value.Integer IntegerKind.Usize 3 |) in let~ _ := M.match_operator (| @@ -1136,10 +1164,10 @@ Module str. let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -1150,9 +1178,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| index |)) - (M.read (| len |)) + BinOp.ge (| + M.read (| index |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1218,7 +1247,9 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 224 + Value.Integer + IntegerKind.U8 + 224 |) in Value.Tuple [])); fun γ => @@ -1249,7 +1280,9 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 237 + Value.Integer + IntegerKind.U8 + 237 |) in Value.Tuple [])); fun γ => @@ -1276,8 +1309,8 @@ Module str. Value.Tuple [] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |))); fun γ => @@ -1299,7 +1332,11 @@ Module str. ("error_len", Value.StructTuple "core::option::Option::Some" - [ Value.Integer 1 ]) + [ + Value.Integer + IntegerKind.U8 + 1 + ]) ] ] |) @@ -1316,17 +1353,19 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.rust_cast + BinOp.ge (| + M.rust_cast (M.read (| let~ _ := let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in let~ _ := M.match_operator (| @@ -1339,13 +1378,14 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| index - |)) - (M.read (| + |), + M.read (| len - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1387,8 +1427,9 @@ Module str. M.read (| v |), index |) - |))) - (Value.Integer (-64)) + |)), + Value.Integer IntegerKind.I8 (-64) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1410,7 +1451,11 @@ Module str. ("error_len", Value.StructTuple "core::option::Option::Some" - [ Value.Integer 2 ]) + [ + Value.Integer + IntegerKind.U8 + 2 + ]) ] ] |) @@ -1427,7 +1472,7 @@ Module str. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 4 + Value.Integer IntegerKind.Usize 4 |) in let~ _ := M.match_operator (| @@ -1440,10 +1485,10 @@ Module str. let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.match_operator (| @@ -1454,9 +1499,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| index |)) - (M.read (| len |)) + BinOp.ge (| + M.read (| index |), + M.read (| len |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1522,7 +1568,9 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 240 + Value.Integer + IntegerKind.U8 + 240 |) in Value.Tuple [])); fun γ => @@ -1553,7 +1601,9 @@ Module str. let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 244 + Value.Integer + IntegerKind.U8 + 244 |) in Value.Tuple [])) ], @@ -1567,8 +1617,8 @@ Module str. Value.Tuple [] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |))); fun γ => @@ -1590,7 +1640,11 @@ Module str. ("error_len", Value.StructTuple "core::option::Option::Some" - [ Value.Integer 1 ]) + [ + Value.Integer + IntegerKind.U8 + 1 + ]) ] ] |) @@ -1608,17 +1662,19 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.rust_cast + BinOp.ge (| + M.rust_cast (M.read (| let~ _ := let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in let~ _ := M.match_operator (| @@ -1631,13 +1687,14 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| index - |)) - (M.read (| + |), + M.read (| len - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1679,8 +1736,9 @@ Module str. M.read (| v |), index |) - |))) - (Value.Integer (-64)) + |)), + Value.Integer IntegerKind.I8 (-64) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1704,7 +1762,11 @@ Module str. ("error_len", Value.StructTuple "core::option::Option::Some" - [ Value.Integer 2 ]) + [ + Value.Integer + IntegerKind.U8 + 2 + ]) ] ] |) @@ -1724,17 +1786,19 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.rust_cast + BinOp.ge (| + M.rust_cast (M.read (| let~ _ := let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in let~ _ := M.match_operator (| @@ -1747,13 +1811,14 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| index - |)) - (M.read (| + |), + M.read (| len - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1795,8 +1860,9 @@ Module str. M.read (| v |), index |) - |))) - (Value.Integer (-64)) + |)), + Value.Integer IntegerKind.I8 (-64) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1818,7 +1884,11 @@ Module str. ("error_len", Value.StructTuple "core::option::Option::Some" - [ Value.Integer 3 ]) + [ + Value.Integer + IntegerKind.U8 + 3 + ]) ] ] |) @@ -1847,7 +1917,8 @@ Module str. ("error_len", Value.StructTuple "core::option::Option::Some" - [ Value.Integer 1 ]) + [ Value.Integer IntegerKind.U8 1 + ]) ] ] |) @@ -1860,10 +1931,10 @@ Module str. let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -1877,16 +1948,16 @@ Module str. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.ne - (M.read (| align |)) - (M.read (| + BinOp.ne (| + M.read (| align |), + M.read (| M.get_constant (| "core::num::MAX" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + (BinOp.eq (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_sub", @@ -1896,9 +1967,11 @@ Module str. M.read (| align |); M.read (| index |) ] - |)) - (M.read (| usize_bytes |))) - (Value.Integer 0))) + |), + M.read (| usize_bytes |) + |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -1928,9 +2001,10 @@ Module str. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| index |)) - (M.read (| blocks_end |)) + BinOp.lt (| + M.read (| index |), + M.read (| blocks_end |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1988,7 +2062,9 @@ Module str. |), [ M.read (| block |); - Value.Integer 1 + Value.Integer + IntegerKind.Usize + 1 ] |) |) @@ -2030,10 +2106,10 @@ Module str. let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| ascii_block_size |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| ascii_block_size |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2065,18 +2141,22 @@ Module str. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| index |)) - (M.read (| len |)), + BinOp.lt (| + M.read (| index |), + M.read (| len |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| + (BinOp.lt (| + M.read (| M.SubPointer.get_array_field (| M.read (| v |), index |) - |)) - (Value.Integer 128))) + |), + Value.Integer + IntegerKind.U8 + 128 + |))) |) |)) in let _ := @@ -2088,10 +2168,10 @@ Module str. let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -2118,10 +2198,10 @@ Module str. let β := index in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2147,7 +2227,7 @@ Module str. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_run_utf8_validation : @@ -2160,262 +2240,262 @@ Module str. M.alloc (| Value.Array [ - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 4; - Value.Integer 4; - Value.Integer 4; - Value.Integer 4; - Value.Integer 4; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ] |) |))). @@ -2437,12 +2517,13 @@ Module str. M.alloc (| M.rust_cast (M.read (| b |)) |) |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_utf8_char_width : M.IsFunction "core::str::validations::utf8_char_width" utf8_char_width. - Definition value_CONT_MASK : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 63 |))). + Definition value_CONT_MASK : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 63 |))). End validations. End str. diff --git a/CoqOfRust/core/sync/atomic.v b/CoqOfRust/core/sync/atomic.v index 6caedb0a2..bc949bb73 100644 --- a/CoqOfRust/core/sync/atomic.v +++ b/CoqOfRust/core/sync/atomic.v @@ -29,7 +29,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicBool", "new", [] |), [ Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81,7 +81,7 @@ Module sync. |), [ M.call_closure (| M.get_function (| "core::ptr::null_mut", [ T ] |), [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -173,7 +173,7 @@ Module sync. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -237,7 +237,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -269,7 +269,7 @@ Module sync. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -323,9 +323,9 @@ Module sync. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -364,7 +364,7 @@ Module sync. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -411,7 +411,7 @@ Module sync. [ M.rust_cast (M.read (| v |)) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -435,7 +435,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -466,7 +466,7 @@ Module sync. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -484,7 +484,7 @@ Module sync. ltac:(M.monadic (let v := M.alloc (| v |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| v |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -501,7 +501,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -520,7 +520,7 @@ Module sync. ltac:(M.monadic (let v := M.alloc (| v |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| v |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -536,8 +536,8 @@ Module sync. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::cell::UnsafeCell") [ Ty.path "u8" ], "into_inner", @@ -552,9 +552,10 @@ Module sync. |) |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U8 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -572,8 +573,8 @@ Module sync. ltac:(M.monadic (let self := M.alloc (| self |) in let order := M.alloc (| order |) in - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_function (| "core::sync::atomic::atomic_load", [ Ty.path "u8" ] |), [ (* MutToConstPointer *) @@ -594,9 +595,10 @@ Module sync. |)); M.read (| order |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U8 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -644,7 +646,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -713,8 +715,8 @@ Module sync. fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_function (| "core::sync::atomic::atomic_swap", [ Ty.path "u8" ] @@ -737,13 +739,14 @@ Module sync. M.rust_cast (M.read (| val |)); M.read (| order |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U8 0 + |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -809,7 +812,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -1084,7 +1087,7 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| current |)) (M.read (| new |)) + BinOp.eq (| M.read (| current |), M.read (| new |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1124,7 +1127,7 @@ Module sync. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| old |)) (M.read (| current |)) + BinOp.eq (| M.read (| old |), M.read (| current |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1185,7 +1188,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0) ] + [ BinOp.ne (| M.read (| x |), Value.Integer IntegerKind.U8 0 |) ] |))); fun γ => ltac:(M.monadic @@ -1199,14 +1202,14 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" - [ BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0) ] + [ BinOp.ne (| M.read (| x |), Value.Integer IntegerKind.U8 0 |) ] |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -1323,7 +1326,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0) ] + [ BinOp.ne (| M.read (| x |), Value.Integer IntegerKind.U8 0 |) ] |))); fun γ => ltac:(M.monadic @@ -1337,13 +1340,13 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" - [ BinOp.Pure.ne (M.read (| x |)) (Value.Integer 0) ] + [ BinOp.ne (| M.read (| x |), Value.Integer IntegerKind.U8 0 |) ] |))) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -1362,8 +1365,8 @@ Module sync. (let self := M.alloc (| self |) in let val := M.alloc (| val |) in let order := M.alloc (| order |) in - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_function (| "core::sync::atomic::atomic_and", [ Ty.path "u8" ] |), [ M.call_closure (| @@ -1383,9 +1386,10 @@ Module sync. M.rust_cast (M.read (| val |)); M.read (| order |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U8 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -1447,7 +1451,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -1465,8 +1469,8 @@ Module sync. (let self := M.alloc (| self |) in let val := M.alloc (| val |) in let order := M.alloc (| order |) in - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_function (| "core::sync::atomic::atomic_or", [ Ty.path "u8" ] |), [ M.call_closure (| @@ -1486,9 +1490,10 @@ Module sync. M.rust_cast (M.read (| val |)); M.read (| order |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U8 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -1506,8 +1511,8 @@ Module sync. (let self := M.alloc (| self |) in let val := M.alloc (| val |) in let order := M.alloc (| order |) in - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_function (| "core::sync::atomic::atomic_xor", [ Ty.path "u8" ] |), [ M.call_closure (| @@ -1527,9 +1532,10 @@ Module sync. M.rust_cast (M.read (| val |)); M.read (| order |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.U8 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -1553,7 +1559,7 @@ Module sync. |), [ M.read (| self |); Value.Bool true; M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_not : M.IsAssociatedFunction Self "fetch_not" fetch_not. @@ -1591,7 +1597,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -1729,7 +1735,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -1765,7 +1771,7 @@ Module sync. [ M.read (| p |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1792,7 +1798,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : @@ -1824,7 +1830,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -1860,7 +1866,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : @@ -1880,7 +1886,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -1903,7 +1909,7 @@ Module sync. ltac:(M.monadic (let v := M.alloc (| v |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| v |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -1937,7 +1943,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -1984,7 +1990,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : @@ -2039,7 +2045,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : @@ -2084,7 +2090,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : @@ -2153,7 +2159,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -2208,7 +2214,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -2266,7 +2272,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -2407,7 +2413,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -2445,7 +2451,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_ptr_add : @@ -2483,7 +2489,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_ptr_sub : @@ -2538,7 +2544,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_byte_add : @@ -2593,7 +2599,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_byte_sub : @@ -2648,7 +2654,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : @@ -2703,7 +2709,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : @@ -2758,7 +2764,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : @@ -2790,7 +2796,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : @@ -2815,7 +2821,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicBool", "new", [] |), [ M.read (| b |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2848,7 +2854,7 @@ Module sync. |), [ M.read (| p |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2894,7 +2900,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2918,7 +2924,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicI8", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2962,7 +2968,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3010,7 +3016,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -3034,7 +3040,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -3063,7 +3069,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -3096,7 +3102,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -3113,7 +3119,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -3147,7 +3153,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -3179,7 +3185,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -3218,7 +3224,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -3263,7 +3269,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -3302,7 +3308,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -3374,7 +3380,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -3422,7 +3428,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -3475,7 +3481,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -3515,7 +3521,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -3554,7 +3560,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -3593,7 +3599,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -3632,7 +3638,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -3671,7 +3677,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -3710,7 +3716,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -3844,7 +3850,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -3884,7 +3890,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -3923,7 +3929,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -3952,7 +3958,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -3992,7 +3998,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4016,7 +4022,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicU8", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4060,7 +4066,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4108,7 +4114,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -4132,7 +4138,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -4161,7 +4167,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -4194,7 +4200,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -4211,7 +4217,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -4245,7 +4251,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -4277,7 +4283,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -4316,7 +4322,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -4361,7 +4367,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -4400,7 +4406,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -4472,7 +4478,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -4520,7 +4526,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -4573,7 +4579,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -4613,7 +4619,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -4652,7 +4658,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -4691,7 +4697,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -4730,7 +4736,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -4769,7 +4775,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -4808,7 +4814,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -4942,7 +4948,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -4982,7 +4988,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -5021,7 +5027,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -5050,7 +5056,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -5090,7 +5096,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5114,7 +5120,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicI16", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5158,7 +5164,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5206,7 +5212,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -5230,7 +5236,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -5259,7 +5265,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -5292,7 +5298,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -5309,7 +5315,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -5343,7 +5349,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -5375,7 +5381,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -5414,7 +5420,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -5459,7 +5465,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -5498,7 +5504,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -5570,7 +5576,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -5618,7 +5624,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -5671,7 +5677,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -5711,7 +5717,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -5750,7 +5756,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -5789,7 +5795,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -5828,7 +5834,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -5867,7 +5873,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -5906,7 +5912,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -6040,7 +6046,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -6080,7 +6086,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -6119,7 +6125,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -6148,7 +6154,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -6188,7 +6194,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6212,7 +6218,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicU16", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6256,7 +6262,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6304,7 +6310,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -6328,7 +6334,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -6357,7 +6363,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -6390,7 +6396,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -6407,7 +6413,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -6441,7 +6447,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -6473,7 +6479,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -6512,7 +6518,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -6557,7 +6563,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -6596,7 +6602,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -6668,7 +6674,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -6716,7 +6722,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -6769,7 +6775,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -6809,7 +6815,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -6848,7 +6854,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -6887,7 +6893,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -6926,7 +6932,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -6965,7 +6971,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -7004,7 +7010,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -7138,7 +7144,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -7178,7 +7184,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -7217,7 +7223,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -7246,7 +7252,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -7286,7 +7292,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7310,7 +7316,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicI32", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7354,7 +7360,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7402,7 +7408,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -7426,7 +7432,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -7455,7 +7461,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -7488,7 +7494,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -7505,7 +7511,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -7539,7 +7545,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -7571,7 +7577,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -7610,7 +7616,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -7655,7 +7661,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -7694,7 +7700,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -7766,7 +7772,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -7814,7 +7820,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -7867,7 +7873,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -7907,7 +7913,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -7946,7 +7952,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -7985,7 +7991,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -8024,7 +8030,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -8063,7 +8069,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -8102,7 +8108,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -8236,7 +8242,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -8276,7 +8282,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -8315,7 +8321,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -8344,7 +8350,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -8384,7 +8390,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8408,7 +8414,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicU32", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8452,7 +8458,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -8500,7 +8506,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -8524,7 +8530,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -8553,7 +8559,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -8586,7 +8592,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -8603,7 +8609,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -8637,7 +8643,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -8669,7 +8675,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -8708,7 +8714,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -8753,7 +8759,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -8792,7 +8798,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -8864,7 +8870,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -8912,7 +8918,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -8965,7 +8971,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -9005,7 +9011,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -9044,7 +9050,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -9083,7 +9089,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -9122,7 +9128,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -9161,7 +9167,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -9200,7 +9206,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -9334,7 +9340,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -9374,7 +9380,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -9413,7 +9419,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -9442,7 +9448,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -9482,7 +9488,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9506,7 +9512,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicI64", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9550,7 +9556,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9598,7 +9604,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -9622,7 +9628,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -9651,7 +9657,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -9684,7 +9690,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -9701,7 +9707,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -9735,7 +9741,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -9767,7 +9773,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -9806,7 +9812,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -9851,7 +9857,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -9890,7 +9896,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -9962,7 +9968,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -10010,7 +10016,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -10063,7 +10069,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -10103,7 +10109,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -10142,7 +10148,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -10181,7 +10187,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -10220,7 +10226,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -10259,7 +10265,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -10298,7 +10304,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -10432,7 +10438,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -10472,7 +10478,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -10511,7 +10517,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -10540,7 +10546,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -10580,7 +10586,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10604,7 +10610,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicU64", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10648,7 +10654,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10696,7 +10702,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -10720,7 +10726,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -10749,7 +10755,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -10782,7 +10788,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -10799,7 +10805,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -10833,7 +10839,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -10865,7 +10871,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -10904,7 +10910,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -10949,7 +10955,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -10988,7 +10994,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -11060,7 +11066,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -11108,7 +11114,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -11161,7 +11167,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -11201,7 +11207,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -11240,7 +11246,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -11279,7 +11285,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -11318,7 +11324,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -11357,7 +11363,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -11396,7 +11402,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -11530,7 +11536,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -11570,7 +11576,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -11609,7 +11615,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -11638,7 +11644,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -11678,7 +11684,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11702,7 +11708,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicIsize", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11746,7 +11752,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11794,7 +11800,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -11818,7 +11824,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -11847,7 +11853,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -11880,7 +11886,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -11897,7 +11903,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -11931,7 +11937,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -11963,7 +11969,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -12002,7 +12008,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -12047,7 +12053,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -12086,7 +12092,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -12158,7 +12164,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -12209,7 +12215,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -12262,7 +12268,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -12302,7 +12308,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -12341,7 +12347,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -12380,7 +12386,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -12419,7 +12425,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -12458,7 +12464,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -12497,7 +12503,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -12631,7 +12637,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -12671,7 +12677,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -12710,7 +12716,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -12739,7 +12745,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -12779,7 +12785,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12803,7 +12809,7 @@ Module sync. M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", "new", [] |), [ M.read (| v |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12847,7 +12853,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12895,7 +12901,7 @@ Module sync. [ M.read (| v |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -12919,7 +12925,7 @@ Module sync. |), [ M.read (| ptr |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_ptr : M.IsAssociatedFunction Self "from_ptr" from_ptr. @@ -12948,7 +12954,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -12981,7 +12987,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : M.IsAssociatedFunction Self "from_mut" from_mut. @@ -12998,7 +13004,7 @@ Module sync. ltac:(M.monadic (let this := M.alloc (| this |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| this |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut_slice : @@ -13032,7 +13038,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut_slice : @@ -13064,7 +13070,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : M.IsAssociatedFunction Self "into_inner" into_inner. @@ -13103,7 +13109,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load : M.IsAssociatedFunction Self "load" load. @@ -13148,7 +13154,7 @@ Module sync. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_store : M.IsAssociatedFunction Self "store" store. @@ -13187,7 +13193,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -13259,7 +13265,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_and_swap : @@ -13310,7 +13316,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange : @@ -13363,7 +13369,7 @@ Module sync. M.read (| failure |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_compare_exchange_weak : @@ -13403,7 +13409,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_add : M.IsAssociatedFunction Self "fetch_add" fetch_add. @@ -13442,7 +13448,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_sub : M.IsAssociatedFunction Self "fetch_sub" fetch_sub. @@ -13481,7 +13487,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_and : M.IsAssociatedFunction Self "fetch_and" fetch_and. @@ -13520,7 +13526,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_nand : M.IsAssociatedFunction Self "fetch_nand" fetch_nand. @@ -13559,7 +13565,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_or : M.IsAssociatedFunction Self "fetch_or" fetch_or. @@ -13598,7 +13604,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_xor : M.IsAssociatedFunction Self "fetch_xor" fetch_xor. @@ -13732,7 +13738,7 @@ Module sync. M.alloc (| Value.StructTuple "core::result::Result::Err" [ M.read (| prev |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_update : @@ -13772,7 +13778,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_max : M.IsAssociatedFunction Self "fetch_max" fetch_max. @@ -13811,7 +13817,7 @@ Module sync. M.read (| order |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_fetch_min : M.IsAssociatedFunction Self "fetch_min" fetch_min. @@ -13840,7 +13846,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_ptr : M.IsAssociatedFunction Self "as_ptr" as_ptr. @@ -13852,7 +13858,7 @@ Module sync. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::sync::atomic::AtomicIsize", "new", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Isize 0 ] |) |))). @@ -13862,7 +13868,7 @@ Module sync. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", "new", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.Usize 0 ] |) |))). @@ -13909,7 +13915,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_strongest_failure_ordering : @@ -14033,7 +14039,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_store : M.IsFunction "core::sync::atomic::atomic_store" atomic_store. @@ -14155,7 +14161,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_load : M.IsFunction "core::sync::atomic::atomic_load" atomic_load. @@ -14233,7 +14239,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_swap : M.IsFunction "core::sync::atomic::atomic_swap" atomic_swap. @@ -14311,7 +14317,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_add : M.IsFunction "core::sync::atomic::atomic_add" atomic_add. @@ -14389,7 +14395,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_sub : M.IsFunction "core::sync::atomic::atomic_sub" atomic_sub. @@ -14796,7 +14802,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_compare_exchange : @@ -15204,7 +15210,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_compare_exchange_weak : @@ -15283,7 +15289,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_and : M.IsFunction "core::sync::atomic::atomic_and" atomic_and. @@ -15361,7 +15367,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_nand : M.IsFunction "core::sync::atomic::atomic_nand" atomic_nand. @@ -15439,7 +15445,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_or : M.IsFunction "core::sync::atomic::atomic_or" atomic_or. @@ -15517,7 +15523,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_xor : M.IsFunction "core::sync::atomic::atomic_xor" atomic_xor. @@ -15595,7 +15601,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_max : M.IsFunction "core::sync::atomic::atomic_max" atomic_max. @@ -15673,7 +15679,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_min : M.IsFunction "core::sync::atomic::atomic_min" atomic_min. @@ -15751,7 +15757,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_umax : M.IsFunction "core::sync::atomic::atomic_umax" atomic_umax. @@ -15829,7 +15835,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_atomic_umin : M.IsFunction "core::sync::atomic::atomic_umin" atomic_umin. @@ -15927,7 +15933,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_fence : M.IsFunction "core::sync::atomic::fence" fence. @@ -16038,7 +16044,7 @@ Module sync. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_compiler_fence : @@ -16077,7 +16083,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16128,7 +16134,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16178,7 +16184,7 @@ Module sync. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -16199,7 +16205,7 @@ Module sync. match τ, α with | [], [] => ltac:(M.monadic (M.call_closure (| M.get_function (| "core::hint::spin_loop", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_spin_loop_hint : diff --git a/CoqOfRust/core/sync/exclusive.v b/CoqOfRust/core/sync/exclusive.v index 6184f6d1e..5676d9c73 100644 --- a/CoqOfRust/core/sync/exclusive.v +++ b/CoqOfRust/core/sync/exclusive.v @@ -29,7 +29,7 @@ Module sync. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89,7 +89,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -117,7 +117,7 @@ Module sync. ltac:(M.monadic (let t := M.alloc (| t |) in Value.StructRecord "core::sync::exclusive::Exclusive" [ ("inner", M.read (| t |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -142,7 +142,7 @@ Module sync. "inner" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_inner : @@ -164,7 +164,7 @@ Module sync. "core::sync::exclusive::Exclusive", "inner" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : @@ -211,7 +211,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_pin_mut : @@ -231,7 +231,7 @@ Module sync. ltac:(M.monadic (let r := M.alloc (| r |) in M.rust_cast (M.read (| M.use (M.alloc (| M.read (| r |) |)) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_mut : @@ -283,7 +283,7 @@ Module sync. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_pin_mut : @@ -315,7 +315,7 @@ Module sync. |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -360,7 +360,7 @@ Module sync. M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -406,7 +406,7 @@ Module sync. M.read (| args |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -451,7 +451,7 @@ Module sync. M.read (| cx |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -500,7 +500,7 @@ Module sync. M.read (| arg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/task/poll.v b/CoqOfRust/core/task/poll.v index 5fad9ed74..9a3d436a4 100644 --- a/CoqOfRust/core/task/poll.v +++ b/CoqOfRust/core/task/poll.v @@ -77,7 +77,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -145,7 +145,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -185,7 +185,7 @@ Module task. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -244,7 +244,7 @@ Module task. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -289,7 +289,7 @@ Module task. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -385,7 +385,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -481,7 +481,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -551,7 +551,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -620,7 +620,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map : @@ -655,7 +655,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ready : @@ -673,16 +673,17 @@ Module task. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::task::poll::Poll") [ T ], "is_ready", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_pending : @@ -781,7 +782,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_ok : @@ -873,7 +874,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_err : @@ -1011,7 +1012,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_ok : @@ -1138,7 +1139,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map_err : @@ -1161,7 +1162,7 @@ Module task. ltac:(M.monadic (let t := M.alloc (| t |) in Value.StructTuple "core::task::poll::Poll::Ready" [ M.read (| t |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1208,7 +1209,7 @@ Module task. |), [ M.read (| c |); M.constructor_as_closure "core::result::Result::Ok" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1281,7 +1282,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1354,7 +1355,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1450,11 +1451,11 @@ Module task. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1562,7 +1563,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1643,7 +1644,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/task/wake.v b/CoqOfRust/core/task/wake.v index 942eccabd..d68b073fc 100644 --- a/CoqOfRust/core/task/wake.v +++ b/CoqOfRust/core/task/wake.v @@ -36,21 +36,22 @@ Module task. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::task::wake::RawWaker", "data" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::task::wake::RawWaker", "data" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -74,7 +75,7 @@ Module task. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -124,7 +125,7 @@ Module task. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -152,7 +153,7 @@ Module task. Value.StructRecord "core::task::wake::RawWaker" [ ("data", M.read (| data |)); ("vtable", M.read (| vtable |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -174,7 +175,7 @@ Module task. "data" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_data : M.IsAssociatedFunction Self "data" data. @@ -196,7 +197,7 @@ Module task. "vtable" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_vtable : M.IsAssociatedFunction Self "vtable" vtable. @@ -243,73 +244,77 @@ Module task. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::task::wake::RawWakerVTable", "clone" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::task::wake::RawWakerVTable", "clone" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::task::wake::RawWakerVTable", "wake" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::task::wake::RawWakerVTable", "wake" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::task::wake::RawWakerVTable", "wake_by_ref" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::task::wake::RawWakerVTable", "wake_by_ref" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::task::wake::RawWakerVTable", "drop" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::task::wake::RawWakerVTable", "drop" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -367,7 +372,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -433,7 +438,7 @@ Module task. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -473,7 +478,7 @@ Module task. ("wake_by_ref", M.read (| wake_by_ref |)); ("drop", M.read (| drop |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -521,7 +526,7 @@ Module task. ("_marker", Value.StructTuple "core::marker::PhantomData" []); ("_marker2", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_waker : M.IsAssociatedFunction Self "from_waker" from_waker. @@ -543,7 +548,7 @@ Module task. "waker" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_waker : M.IsAssociatedFunction Self "waker" waker. @@ -599,7 +604,7 @@ Module task. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -716,7 +721,7 @@ Module task. M.alloc (| M.call_closure (| M.read (| wake |), [ M.read (| data |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wake : M.IsAssociatedFunction Self "wake" wake. @@ -767,7 +772,7 @@ Module task. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wake_by_ref : M.IsAssociatedFunction Self "wake_by_ref" wake_by_ref. @@ -804,7 +809,7 @@ Module task. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_will_wake : M.IsAssociatedFunction Self "will_wake" will_wake. @@ -820,7 +825,7 @@ Module task. ltac:(M.monadic (let waker := M.alloc (| waker |) in Value.StructRecord "core::task::wake::Waker" [ ("waker", M.read (| waker |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_raw : M.IsAssociatedFunction Self "from_raw" from_raw. @@ -849,7 +854,7 @@ Module task. (Value.StructRecord "core::task::wake::Waker" [ ("waker", M.read (| M.get_constant (| "core::task::wake::noop::RAW" |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_noop : M.IsAssociatedFunction Self "noop" noop. @@ -869,7 +874,7 @@ Module task. "core::task::wake::Waker", "waker" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_raw : M.IsAssociatedFunction Self "as_raw" as_raw. @@ -930,7 +935,7 @@ Module task. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -955,15 +960,16 @@ Module task. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "core::task::wake::Waker", "will_wake", [] |), [ M.read (| self |); M.read (| source |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -985,7 +991,7 @@ Module task. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1046,7 +1052,7 @@ Module task. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1147,7 +1153,7 @@ Module task. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/time.v b/CoqOfRust/core/time.v index 3d7c9ba3b..72a93698e 100644 --- a/CoqOfRust/core/time.v +++ b/CoqOfRust/core/time.v @@ -3,19 +3,19 @@ Require Import CoqOfRust.CoqOfRust. Module time. Definition value_NANOS_PER_SEC : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000000000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000000 |))). Definition value_NANOS_PER_MILLI : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000 |))). Definition value_NANOS_PER_MICRO : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000 |))). Definition value_MILLIS_PER_SEC : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000 |))). Definition value_MICROS_PER_SEC : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1000000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000000 |))). (* StructTuple { @@ -39,7 +39,7 @@ Module time. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82,22 +82,23 @@ Module time. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "core::time::Nanoseconds", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -134,7 +135,7 @@ Module time. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -177,7 +178,7 @@ Module time. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -213,7 +214,7 @@ Module time. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -245,7 +246,7 @@ Module time. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -267,8 +268,10 @@ Module time. *) Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with - | [], [] => ltac:(M.monadic (Value.StructTuple "core::time::Nanoseconds" [ Value.Integer 0 ])) - | _, _ => M.impossible + | [], [] => + ltac:(M.monadic + (Value.StructTuple "core::time::Nanoseconds" [ Value.Integer IntegerKind.U32 0 ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -308,7 +311,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -352,21 +355,22 @@ Module time. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::time::Duration", "secs" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "core::time::Duration", "secs" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -390,7 +394,7 @@ Module time. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -434,7 +438,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -521,7 +525,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -595,7 +599,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -651,7 +655,7 @@ Module time. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -696,7 +700,7 @@ Module time. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -718,7 +722,7 @@ Module time. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_secs", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U64 1 ] |) |))). @@ -732,7 +736,7 @@ Module time. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_millis", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U64 1 ] |) |))). @@ -747,7 +751,7 @@ Module time. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_micros", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U64 1 ] |) |))). @@ -762,7 +766,7 @@ Module time. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_nanos", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U64 1 ] |) |))). @@ -777,7 +781,7 @@ Module time. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_nanos", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.U64 0 ] |) |))). @@ -793,10 +797,10 @@ Module time. M.get_associated_function (| Ty.path "core::time::Duration", "new", [] |), [ M.read (| M.get_constant (| "core::num::MAX" |) |); - BinOp.Wrap.sub - Integer.U32 - (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |), + Value.Integer IntegerKind.U32 1 + |) ] |) |))). @@ -830,10 +834,10 @@ Module time. [ M.read (| secs |); M.rust_cast - (BinOp.Wrap.div - Integer.U32 - (M.read (| nanos |)) - (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |))) + (BinOp.Wrap.div (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |) + |)) ] |) |), @@ -880,10 +884,10 @@ Module time. |) in let~ nanos := M.alloc (| - BinOp.Wrap.rem - Integer.U32 - (M.read (| nanos |)) - (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + BinOp.Wrap.rem (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |) + |) |) in M.alloc (| Value.StructRecord @@ -894,7 +898,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -911,9 +915,9 @@ Module time. (let secs := M.alloc (| secs |) in M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "new", [] |), - [ M.read (| secs |); Value.Integer 0 ] + [ M.read (| secs |); Value.Integer IntegerKind.U32 0 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_secs : M.IsAssociatedFunction Self "from_secs" from_secs. @@ -931,21 +935,21 @@ Module time. M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "new", [] |), [ - BinOp.Wrap.div - Integer.U64 - (M.read (| millis |)) - (M.read (| M.get_constant (| "core::time::MILLIS_PER_SEC" |) |)); - BinOp.Wrap.mul - Integer.U32 - (M.rust_cast - (BinOp.Wrap.rem - Integer.U64 - (M.read (| millis |)) - (M.read (| M.get_constant (| "core::time::MILLIS_PER_SEC" |) |)))) - (M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |)) + BinOp.Wrap.div (| + M.read (| millis |), + M.read (| M.get_constant (| "core::time::MILLIS_PER_SEC" |) |) + |); + BinOp.Wrap.mul (| + M.rust_cast + (BinOp.Wrap.rem (| + M.read (| millis |), + M.read (| M.get_constant (| "core::time::MILLIS_PER_SEC" |) |) + |)), + M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_millis : M.IsAssociatedFunction Self "from_millis" from_millis. @@ -963,21 +967,21 @@ Module time. M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "new", [] |), [ - BinOp.Wrap.div - Integer.U64 - (M.read (| micros |)) - (M.read (| M.get_constant (| "core::time::MICROS_PER_SEC" |) |)); - BinOp.Wrap.mul - Integer.U32 - (M.rust_cast - (BinOp.Wrap.rem - Integer.U64 - (M.read (| micros |)) - (M.read (| M.get_constant (| "core::time::MICROS_PER_SEC" |) |)))) - (M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) |)) + BinOp.Wrap.div (| + M.read (| micros |), + M.read (| M.get_constant (| "core::time::MICROS_PER_SEC" |) |) + |); + BinOp.Wrap.mul (| + M.rust_cast + (BinOp.Wrap.rem (| + M.read (| micros |), + M.read (| M.get_constant (| "core::time::MICROS_PER_SEC" |) |) + |)), + M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_micros : M.IsAssociatedFunction Self "from_micros" from_micros. @@ -995,18 +999,18 @@ Module time. M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "new", [] |), [ - BinOp.Wrap.div - Integer.U64 - (M.read (| nanos |)) - (M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |))); + BinOp.Wrap.div (| + M.read (| nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |); M.rust_cast - (BinOp.Wrap.rem - Integer.U64 - (M.read (| nanos |)) - (M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)))) + (BinOp.Wrap.rem (| + M.read (| nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_nanos : M.IsAssociatedFunction Self "from_nanos" from_nanos. @@ -1022,18 +1026,19 @@ Module time. ltac:(M.monadic (let self := M.alloc (| self |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::time::Duration", "secs" |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1043,10 +1048,11 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U32 0 + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_zero : M.IsAssociatedFunction Self "is_zero" is_zero. @@ -1068,7 +1074,7 @@ Module time. "secs" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_secs : M.IsAssociatedFunction Self "as_secs" as_secs. @@ -1083,9 +1089,8 @@ Module time. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.div - Integer.U32 - (M.read (| + BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1095,9 +1100,10 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_subsec_millis : @@ -1113,9 +1119,8 @@ Module time. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.div - Integer.U32 - (M.read (| + BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1125,9 +1130,10 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_subsec_micros : @@ -1154,7 +1160,7 @@ Module time. 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_subsec_nanos : M.IsAssociatedFunction Self "subsec_nanos" subsec_nanos. @@ -1169,23 +1175,21 @@ Module time. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.mul - Integer.U128 - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::time::Duration", "secs" |) - |))) - (M.rust_cast (M.read (| M.get_constant (| "core::time::MILLIS_PER_SEC" |) |)))) - (M.rust_cast - (BinOp.Wrap.div - Integer.U32 - (M.read (| + |)), + M.rust_cast (M.read (| M.get_constant (| "core::time::MILLIS_PER_SEC" |) |)) + |), + M.rust_cast + (BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1195,9 +1199,11 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |)))))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |) + |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_millis : M.IsAssociatedFunction Self "as_millis" as_millis. @@ -1212,23 +1218,21 @@ Module time. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.mul - Integer.U128 - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::time::Duration", "secs" |) - |))) - (M.rust_cast (M.read (| M.get_constant (| "core::time::MICROS_PER_SEC" |) |)))) - (M.rust_cast - (BinOp.Wrap.div - Integer.U32 - (M.read (| + |)), + M.rust_cast (M.read (| M.get_constant (| "core::time::MICROS_PER_SEC" |) |)) + |), + M.rust_cast + (BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1238,9 +1242,11 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) |)))))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) |) + |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_micros : M.IsAssociatedFunction Self "as_micros" as_micros. @@ -1255,20 +1261,19 @@ Module time. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.mul - Integer.U128 - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::time::Duration", "secs" |) - |))) - (M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)))) - (M.rust_cast + |)), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| @@ -1279,8 +1284,9 @@ Module time. "core::time::Nanoseconds", 0 |) - |))))) - | _, _ => M.impossible + |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_nanos : M.IsAssociatedFunction Self "as_nanos" as_nanos. @@ -1347,7 +1353,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_abs_diff : M.IsAssociatedFunction Self "abs_diff" abs_diff. @@ -1416,9 +1422,8 @@ Module time. let secs := M.copy (| γ0_0 |) in let~ nanos := M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| self, @@ -1428,8 +1433,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| rhs, @@ -1439,7 +1444,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -1450,11 +1456,12 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| nanos |)) - (M.read (| + BinOp.ge (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1465,12 +1472,12 @@ Module time. let β := nanos in M.write (| β, - BinOp.Wrap.sub - Integer.U32 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)) + |) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1485,7 +1492,8 @@ Module time. "checked_add", [] |), - [ M.read (| secs |); Value.Integer 1 ] + [ M.read (| secs |); Value.Integer IntegerKind.U64 1 + ] |) |) in let γ0_0 := @@ -1534,14 +1542,16 @@ Module time. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| nanos |)) - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1589,7 +1599,7 @@ Module time. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_add : M.IsAssociatedFunction Self "checked_add" checked_add. @@ -1634,7 +1644,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_add : @@ -1711,8 +1721,8 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| self, @@ -1722,8 +1732,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| rhs, @@ -1733,7 +1743,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1741,9 +1752,8 @@ Module time. Value.Bool true |) in M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| self, @@ -1753,8 +1763,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| rhs, @@ -1764,7 +1774,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) + |) + |) |))); fun γ => ltac:(M.monadic @@ -1781,7 +1792,10 @@ Module time. "checked_sub", [] |), - [ M.read (| secs |); Value.Integer 1 ] + [ + M.read (| secs |); + Value.Integer IntegerKind.U64 1 + ] |) |) in let γ0_0 := @@ -1793,11 +1807,9 @@ Module time. let sub_secs := M.copy (| γ0_0 |) in let~ _ := M.write (| secs, M.read (| sub_secs |) |) in M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.add - Integer.U32 - (M.read (| + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| self, @@ -1807,11 +1819,12 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |))) - (M.read (| + |) + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| rhs, @@ -1821,7 +1834,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) + |) + |) |))); fun γ => ltac:(M.monadic @@ -1862,14 +1876,16 @@ Module time. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| nanos |)) - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1917,7 +1933,7 @@ Module time. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_sub : M.IsAssociatedFunction Self "checked_sub" checked_sub. @@ -1962,7 +1978,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_sub : @@ -1994,9 +2010,8 @@ Module time. (M.read (| let~ total_nanos := M.alloc (| - BinOp.Wrap.mul - Integer.U64 - (M.rust_cast + BinOp.Wrap.mul (| + M.rust_cast (M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| @@ -2007,24 +2022,24 @@ Module time. "core::time::Nanoseconds", 0 |) - |))) - (M.rust_cast (M.read (| rhs |))) + |)), + M.rust_cast (M.read (| rhs |)) + |) |) in let~ extra_secs := M.alloc (| - BinOp.Wrap.div - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |))) + BinOp.Wrap.div (| + M.read (| total_nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |) |) in let~ nanos := M.alloc (| M.rust_cast - (BinOp.Wrap.rem - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)))) + (BinOp.Wrap.rem (| + M.read (| total_nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |)) |) in let~ _ := M.match_operator (| @@ -2102,14 +2117,16 @@ Module time. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| nanos |)) - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2168,7 +2185,7 @@ Module time. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_mul : M.IsAssociatedFunction Self "checked_mul" checked_mul. @@ -2213,7 +2230,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_saturating_mul : @@ -2246,32 +2263,35 @@ Module time. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.ne (M.read (| rhs |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.ne (| M.read (| rhs |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| M.alloc (| Value.Tuple [ - BinOp.Wrap.div - Integer.U64 - (M.read (| + BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::time::Duration", "secs" |) - |)) - (M.rust_cast (M.read (| rhs |))); - BinOp.Wrap.rem - Integer.U64 - (M.read (| + |), + M.rust_cast (M.read (| rhs |)) + |); + BinOp.Wrap.rem (| + M.read (| M.SubPointer.get_struct_record_field (| self, "core::time::Duration", "secs" |) - |)) - (M.rust_cast (M.read (| rhs |))) + |), + M.rust_cast (M.read (| rhs |)) + |) ] |), [ @@ -2285,9 +2305,8 @@ Module time. M.alloc (| Value.Tuple [ - BinOp.Wrap.div - Integer.U32 - (M.read (| + BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| self, @@ -2297,11 +2316,11 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| rhs |)); - BinOp.Wrap.rem - Integer.U32 - (M.read (| + |), + M.read (| rhs |) + |); + BinOp.Wrap.rem (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| self, @@ -2311,8 +2330,9 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| rhs |)) + |), + M.read (| rhs |) + |) ] |), [ @@ -2326,25 +2346,25 @@ Module time. let β := nanos in M.write (| β, - BinOp.Wrap.add - Integer.U32 - (M.read (| β |)) - (M.rust_cast - (BinOp.Wrap.div - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (M.read (| extra_secs |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast + (BinOp.Wrap.div (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.read (| extra_secs |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)))) - (M.rust_cast (M.read (| extra_nanos |)))) - (M.rust_cast (M.read (| rhs |))))) + |)) + |), + M.rust_cast (M.read (| extra_nanos |)) + |), + M.rust_cast (M.read (| rhs |)) + |)) + |) |) in let~ _ := M.match_operator (| @@ -2367,14 +2387,16 @@ Module time. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| nanos |)) - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2429,7 +2451,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checked_div : M.IsAssociatedFunction Self "checked_div" checked_div. @@ -2444,19 +2466,17 @@ Module time. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (M.rust_cast + BinOp.Wrap.add (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::time::Duration", "secs" |) - |))) - (BinOp.Wrap.div - Integer.Usize - (M.rust_cast + |)), + BinOp.Wrap.div (| + M.rust_cast (M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| @@ -2467,9 +2487,11 @@ Module time. "core::time::Nanoseconds", 0 |) - |))) - (M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)))))) - | _, _ => M.impossible + |)), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_secs_f64 : M.IsAssociatedFunction Self "as_secs_f64" as_secs_f64. @@ -2484,19 +2506,17 @@ Module time. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (M.rust_cast + BinOp.Wrap.add (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::time::Duration", "secs" |) - |))) - (BinOp.Wrap.div - Integer.Usize - (M.rust_cast + |)), + BinOp.Wrap.div (| + M.rust_cast (M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| @@ -2507,9 +2527,11 @@ Module time. "core::time::Nanoseconds", 0 |) - |))) - (M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)))))) - | _, _ => M.impossible + |)), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_secs_f32 : M.IsAssociatedFunction Self "as_secs_f32" as_secs_f32. @@ -2577,7 +2599,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_secs_f64 : @@ -2646,7 +2668,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_secs_f32 : @@ -2666,16 +2688,16 @@ Module time. M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_secs_f64", [] |), [ - BinOp.Wrap.mul - Integer.Usize - (M.read (| rhs |)) - (M.call_closure (| + BinOp.Wrap.mul (| + M.read (| rhs |), + M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "as_secs_f64", [] |), [ self ] - |)) + |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_f64 : M.IsAssociatedFunction Self "mul_f64" mul_f64. @@ -2694,16 +2716,16 @@ Module time. M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_secs_f32", [] |), [ - BinOp.Wrap.mul - Integer.Usize - (M.read (| rhs |)) - (M.call_closure (| + BinOp.Wrap.mul (| + M.read (| rhs |), + M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "as_secs_f32", [] |), [ self ] - |)) + |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mul_f32 : M.IsAssociatedFunction Self "mul_f32" mul_f32. @@ -2722,16 +2744,16 @@ Module time. M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_secs_f64", [] |), [ - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "as_secs_f64", [] |), [ self ] - |)) - (M.read (| rhs |)) + |), + M.read (| rhs |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_f64 : M.IsAssociatedFunction Self "div_f64" div_f64. @@ -2750,16 +2772,16 @@ Module time. M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_secs_f32", [] |), [ - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "as_secs_f32", [] |), [ self ] - |)) - (M.read (| rhs |)) + |), + M.read (| rhs |) + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_f32 : M.IsAssociatedFunction Self "div_f32" div_f32. @@ -2775,17 +2797,17 @@ Module time. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "as_secs_f64", [] |), [ self ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "as_secs_f64", [] |), [ rhs ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_duration_f64 : @@ -2802,17 +2824,17 @@ Module time. ltac:(M.monadic (let self := M.alloc (| self |) in let rhs := M.alloc (| rhs |) in - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "as_secs_f32", [] |), [ self ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "as_secs_f32", [] |), [ rhs ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_div_duration_f32 : @@ -2846,7 +2868,7 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| secs |)) (M.read (| UnsupportedLiteral |)) + BinOp.lt (| M.read (| secs |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2882,30 +2904,30 @@ Module time. |) in let~ mant := M.alloc (| - BinOp.Pure.bit_or - (BinOp.Pure.bit_and + BinOp.bit_or + (BinOp.bit_and (M.read (| bits |)) (M.read (| M.get_constant (| "core::time::try_from_secs_f32::MANT_MASK" |) |))) - (BinOp.Wrap.add - Integer.U32 - (M.read (| + (BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::time::try_from_secs_f32::MANT_MASK" |) - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U32 1 + |)) |) in let~ exp := M.alloc (| - BinOp.Wrap.add - Integer.I16 - (M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| bits |)) (Value.Integer 23)) + BinOp.Wrap.add (| + M.rust_cast + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| bits |), Value.Integer IntegerKind.I32 23 |)) (M.read (| M.get_constant (| "core::time::try_from_secs_f32::EXP_MASK" |) - |)))) - (M.read (| M.get_constant (| "core::time::try_from_secs_f32::MIN_EXP" |) |)) + |))), + M.read (| M.get_constant (| "core::time::try_from_secs_f32::MIN_EXP" |) |) + |) |) in M.match_operator (| M.match_operator (| @@ -2916,11 +2938,14 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exp |)) (Value.Integer (-31)) + BinOp.lt (| M.read (| exp |), Value.Integer IntegerKind.I16 (-31) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Tuple [ Value.Integer 0; Value.Integer 0 ] |))); + M.alloc (| + Value.Tuple + [ Value.Integer IntegerKind.U64 0; Value.Integer IntegerKind.U32 0 ] + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -2931,7 +2956,10 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exp |)) (Value.Integer 0) + BinOp.lt (| + M.read (| exp |), + Value.Integer IntegerKind.I16 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2940,8 +2968,8 @@ Module time. |) in let~ t := M.alloc (| - BinOp.Wrap.shl - (M.call_closure (| + BinOp.Wrap.shl (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u64", @@ -2950,24 +2978,24 @@ Module time. [] |), [ M.read (| mant |) ] - |)) - (BinOp.Wrap.add - Integer.I16 - (Value.Integer 41) - (M.read (| exp |))) + |), + BinOp.Wrap.add (| + Value.Integer IntegerKind.I16 41, + M.read (| exp |) + |) + |) |) in let~ nanos_offset := M.alloc (| - BinOp.Wrap.add - Integer.I32 - (Value.Integer 23) - (Value.Integer 41) + BinOp.Wrap.add (| + Value.Integer IntegerKind.I32 23, + Value.Integer IntegerKind.I32 41 + |) |) in let~ nanos_tmp := M.alloc (| - BinOp.Wrap.mul - Integer.U128 - (M.call_closure (| + BinOp.Wrap.mul (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u128", @@ -2980,8 +3008,8 @@ Module time. M.get_constant (| "core::time::NANOS_PER_SEC" |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u128", @@ -2990,75 +3018,82 @@ Module time. [] |), [ M.read (| t |) ] - |)) + |) + |) |) in let~ nanos := M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| nanos_tmp |)) - (M.read (| nanos_offset |))) + (BinOp.Wrap.shr (| + M.read (| nanos_tmp |), + M.read (| nanos_offset |) + |)) |) in let~ rem_mask := M.alloc (| - BinOp.Wrap.sub - Integer.U128 - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| nanos_offset |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + M.read (| nanos_offset |) + |), + Value.Integer IntegerKind.U128 1 + |) |) in let~ rem_msb_mask := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.sub - Integer.I32 - (M.read (| nanos_offset |)) - (Value.Integer 1)) + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + BinOp.Wrap.sub (| + M.read (| nanos_offset |), + Value.Integer IntegerKind.I32 1 + |) + |) |) in let~ rem := M.alloc (| - BinOp.Pure.bit_and - (M.read (| nanos_tmp |)) - (M.read (| rem_mask |)) + BinOp.bit_and (M.read (| nanos_tmp |)) (M.read (| rem_mask |)) |) in let~ is_tie := M.alloc (| - BinOp.Pure.eq (M.read (| rem |)) (M.read (| rem_msb_mask |)) + BinOp.eq (| M.read (| rem |), M.read (| rem_msb_mask |) |) |) in let~ is_even := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and (M.read (| nanos |)) (Value.Integer 1)) - (Value.Integer 0) + BinOp.eq (| + BinOp.bit_and + (M.read (| nanos |)) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 0 + |) |) in let~ rem_msb := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| nanos_tmp |)) - (M.read (| rem_msb_mask |))) - (Value.Integer 0) + (M.read (| rem_msb_mask |)), + Value.Integer IntegerKind.U128 0 + |) |) in let~ add_ns := M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| + UnOp.not (| + LogicalOp.or (| M.read (| rem_msb |), ltac:(M.monadic (LogicalOp.and (| M.read (| is_even |), ltac:(M.monadic (M.read (| is_tie |))) |))) - |)) + |) + |) |) in let~ nanos := M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| nanos |)) - (M.rust_cast (M.read (| add_ns |))) + BinOp.Wrap.add (| + M.read (| nanos |), + M.rust_cast (M.read (| add_ns |)) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3069,17 +3104,19 @@ Module time. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (Value.Integer 23) - (Value.Integer 23), + BinOp.eq (| + Value.Integer IntegerKind.I32 23, + Value.Integer IntegerKind.I32 23 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| nanos |)) - (M.read (| + (BinOp.ne (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)))) + |) + |))) |) |)) in let _ := @@ -3088,12 +3125,18 @@ Module time. Value.Bool true |) in M.alloc (| - Value.Tuple [ Value.Integer 0; M.read (| nanos |) ] + Value.Tuple + [ Value.Integer IntegerKind.U64 0; M.read (| nanos |) + ] |))); fun γ => ltac:(M.monadic (M.alloc (| - Value.Tuple [ Value.Integer 1; Value.Integer 0 ] + Value.Tuple + [ + Value.Integer IntegerKind.U64 1; + Value.Integer IntegerKind.U32 0 + ] |))) ] |))); @@ -3107,7 +3150,10 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exp |)) (Value.Integer 23) + BinOp.lt (| + M.read (| exp |), + Value.Integer IntegerKind.I16 23 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3125,12 +3171,13 @@ Module time. [] |), [ - BinOp.Wrap.shr - (M.read (| mant |)) - (BinOp.Wrap.sub - Integer.I16 - (Value.Integer 23) - (M.read (| exp |))) + BinOp.Wrap.shr (| + M.read (| mant |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I16 23, + M.read (| exp |) + |) + |) ] |) |) in @@ -3145,10 +3192,11 @@ Module time. [] |), [ - BinOp.Pure.bit_and - (BinOp.Wrap.shl - (M.read (| mant |)) - (M.read (| exp |))) + BinOp.bit_and + (BinOp.Wrap.shl (| + M.read (| mant |), + M.read (| exp |) + |)) (M.read (| M.get_constant (| "core::time::try_from_secs_f32::MANT_MASK" @@ -3157,12 +3205,12 @@ Module time. ] |) |) in - let~ nanos_offset := M.alloc (| Value.Integer 23 |) in + let~ nanos_offset := + M.alloc (| Value.Integer IntegerKind.I32 23 |) in let~ nanos_tmp := M.alloc (| - BinOp.Wrap.mul - Integer.U64 - (M.call_closure (| + BinOp.Wrap.mul (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u64", @@ -3177,80 +3225,88 @@ Module time. |) |) ] - |)) - (M.read (| t |)) + |), + M.read (| t |) + |) |) in let~ nanos := M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| nanos_tmp |)) - (M.read (| nanos_offset |))) + (BinOp.Wrap.shr (| + M.read (| nanos_tmp |), + M.read (| nanos_offset |) + |)) |) in let~ rem_mask := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| nanos_offset |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| nanos_offset |) + |), + Value.Integer IntegerKind.U64 1 + |) |) in let~ rem_msb_mask := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.sub - Integer.I32 - (M.read (| nanos_offset |)) - (Value.Integer 1)) + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + BinOp.Wrap.sub (| + M.read (| nanos_offset |), + Value.Integer IntegerKind.I32 1 + |) + |) |) in let~ rem := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| nanos_tmp |)) (M.read (| rem_mask |)) |) in let~ is_tie := M.alloc (| - BinOp.Pure.eq - (M.read (| rem |)) - (M.read (| rem_msb_mask |)) + BinOp.eq (| + M.read (| rem |), + M.read (| rem_msb_mask |) + |) |) in let~ is_even := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| nanos |)) - (Value.Integer 1)) - (Value.Integer 0) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 0 + |) |) in let~ rem_msb := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| nanos_tmp |)) - (M.read (| rem_msb_mask |))) - (Value.Integer 0) + (M.read (| rem_msb_mask |)), + Value.Integer IntegerKind.U64 0 + |) |) in let~ add_ns := M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| + UnOp.not (| + LogicalOp.or (| M.read (| rem_msb |), ltac:(M.monadic (LogicalOp.and (| M.read (| is_even |), ltac:(M.monadic (M.read (| is_tie |))) |))) - |)) + |) + |) |) in let~ nanos := M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| nanos |)) - (M.rust_cast (M.read (| add_ns |))) + BinOp.Wrap.add (| + M.read (| nanos |), + M.rust_cast (M.read (| add_ns |)) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3261,17 +3317,19 @@ Module time. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (Value.Integer 23) - (Value.Integer 23), + BinOp.eq (| + Value.Integer IntegerKind.I32 23, + Value.Integer IntegerKind.I32 23 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| nanos |)) - (M.read (| + (BinOp.ne (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)))) + |) + |))) |) |)) in let _ := @@ -3288,11 +3346,11 @@ Module time. (M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.U64 - (M.read (| secs |)) - (Value.Integer 1); - Value.Integer 0 + BinOp.Wrap.add (| + M.read (| secs |), + Value.Integer IntegerKind.U64 1 + |); + Value.Integer IntegerKind.U32 0 ] |))) ] @@ -3307,9 +3365,10 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| exp |)) - (Value.Integer 64) + BinOp.lt (| + M.read (| exp |), + Value.Integer IntegerKind.I16 64 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3318,8 +3377,8 @@ Module time. |) in let~ secs := M.alloc (| - BinOp.Wrap.shl - (M.call_closure (| + BinOp.Wrap.shl (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u64", @@ -3328,15 +3387,19 @@ Module time. [] |), [ M.read (| mant |) ] - |)) - (BinOp.Wrap.sub - Integer.I16 - (M.read (| exp |)) - (Value.Integer 23)) + |), + BinOp.Wrap.sub (| + M.read (| exp |), + Value.Integer IntegerKind.I16 23 + |) + |) |) in M.alloc (| Value.Tuple - [ M.read (| secs |); Value.Integer 0 ] + [ + M.read (| secs |); + Value.Integer IntegerKind.U32 0 + ] |))); fun γ => ltac:(M.monadic @@ -3393,7 +3456,7 @@ Module time. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_from_secs_f32 : @@ -3428,7 +3491,7 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| secs |)) (M.read (| UnsupportedLiteral |)) + BinOp.lt (| M.read (| secs |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3464,30 +3527,30 @@ Module time. |) in let~ mant := M.alloc (| - BinOp.Pure.bit_or - (BinOp.Pure.bit_and + BinOp.bit_or + (BinOp.bit_and (M.read (| bits |)) (M.read (| M.get_constant (| "core::time::try_from_secs_f64::MANT_MASK" |) |))) - (BinOp.Wrap.add - Integer.U64 - (M.read (| + (BinOp.Wrap.add (| + M.read (| M.get_constant (| "core::time::try_from_secs_f64::MANT_MASK" |) - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.U64 1 + |)) |) in let~ exp := M.alloc (| - BinOp.Wrap.add - Integer.I16 - (M.rust_cast - (BinOp.Pure.bit_and - (BinOp.Wrap.shr (M.read (| bits |)) (Value.Integer 52)) + BinOp.Wrap.add (| + M.rust_cast + (BinOp.bit_and + (BinOp.Wrap.shr (| M.read (| bits |), Value.Integer IntegerKind.I32 52 |)) (M.read (| M.get_constant (| "core::time::try_from_secs_f64::EXP_MASK" |) - |)))) - (M.read (| M.get_constant (| "core::time::try_from_secs_f64::MIN_EXP" |) |)) + |))), + M.read (| M.get_constant (| "core::time::try_from_secs_f64::MIN_EXP" |) |) + |) |) in M.match_operator (| M.match_operator (| @@ -3498,11 +3561,14 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exp |)) (Value.Integer (-31)) + BinOp.lt (| M.read (| exp |), Value.Integer IntegerKind.I16 (-31) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Tuple [ Value.Integer 0; Value.Integer 0 ] |))); + M.alloc (| + Value.Tuple + [ Value.Integer IntegerKind.U64 0; Value.Integer IntegerKind.U32 0 ] + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -3513,7 +3579,10 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exp |)) (Value.Integer 0) + BinOp.lt (| + M.read (| exp |), + Value.Integer IntegerKind.I16 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3522,8 +3591,8 @@ Module time. |) in let~ t := M.alloc (| - BinOp.Wrap.shl - (M.call_closure (| + BinOp.Wrap.shl (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u128", @@ -3532,24 +3601,24 @@ Module time. [] |), [ M.read (| mant |) ] - |)) - (BinOp.Wrap.add - Integer.I16 - (Value.Integer 44) - (M.read (| exp |))) + |), + BinOp.Wrap.add (| + Value.Integer IntegerKind.I16 44, + M.read (| exp |) + |) + |) |) in let~ nanos_offset := M.alloc (| - BinOp.Wrap.add - Integer.I32 - (Value.Integer 52) - (Value.Integer 44) + BinOp.Wrap.add (| + Value.Integer IntegerKind.I32 52, + Value.Integer IntegerKind.I32 44 + |) |) in let~ nanos_tmp := M.alloc (| - BinOp.Wrap.mul - Integer.U128 - (M.call_closure (| + BinOp.Wrap.mul (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u128", @@ -3562,8 +3631,8 @@ Module time. M.get_constant (| "core::time::NANOS_PER_SEC" |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u128", @@ -3572,75 +3641,82 @@ Module time. [] |), [ M.read (| t |) ] - |)) + |) + |) |) in let~ nanos := M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| nanos_tmp |)) - (M.read (| nanos_offset |))) + (BinOp.Wrap.shr (| + M.read (| nanos_tmp |), + M.read (| nanos_offset |) + |)) |) in let~ rem_mask := M.alloc (| - BinOp.Wrap.sub - Integer.U128 - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| nanos_offset |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + M.read (| nanos_offset |) + |), + Value.Integer IntegerKind.U128 1 + |) |) in let~ rem_msb_mask := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.sub - Integer.I32 - (M.read (| nanos_offset |)) - (Value.Integer 1)) + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + BinOp.Wrap.sub (| + M.read (| nanos_offset |), + Value.Integer IntegerKind.I32 1 + |) + |) |) in let~ rem := M.alloc (| - BinOp.Pure.bit_and - (M.read (| nanos_tmp |)) - (M.read (| rem_mask |)) + BinOp.bit_and (M.read (| nanos_tmp |)) (M.read (| rem_mask |)) |) in let~ is_tie := M.alloc (| - BinOp.Pure.eq (M.read (| rem |)) (M.read (| rem_msb_mask |)) + BinOp.eq (| M.read (| rem |), M.read (| rem_msb_mask |) |) |) in let~ is_even := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and (M.read (| nanos |)) (Value.Integer 1)) - (Value.Integer 0) + BinOp.eq (| + BinOp.bit_and + (M.read (| nanos |)) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 0 + |) |) in let~ rem_msb := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| nanos_tmp |)) - (M.read (| rem_msb_mask |))) - (Value.Integer 0) + (M.read (| rem_msb_mask |)), + Value.Integer IntegerKind.U128 0 + |) |) in let~ add_ns := M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| + UnOp.not (| + LogicalOp.or (| M.read (| rem_msb |), ltac:(M.monadic (LogicalOp.and (| M.read (| is_even |), ltac:(M.monadic (M.read (| is_tie |))) |))) - |)) + |) + |) |) in let~ nanos := M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| nanos |)) - (M.rust_cast (M.read (| add_ns |))) + BinOp.Wrap.add (| + M.read (| nanos |), + M.rust_cast (M.read (| add_ns |)) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3651,17 +3727,19 @@ Module time. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (Value.Integer 52) - (Value.Integer 23), + BinOp.eq (| + Value.Integer IntegerKind.I32 52, + Value.Integer IntegerKind.I32 23 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| nanos |)) - (M.read (| + (BinOp.ne (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)))) + |) + |))) |) |)) in let _ := @@ -3670,12 +3748,18 @@ Module time. Value.Bool true |) in M.alloc (| - Value.Tuple [ Value.Integer 0; M.read (| nanos |) ] + Value.Tuple + [ Value.Integer IntegerKind.U64 0; M.read (| nanos |) + ] |))); fun γ => ltac:(M.monadic (M.alloc (| - Value.Tuple [ Value.Integer 1; Value.Integer 0 ] + Value.Tuple + [ + Value.Integer IntegerKind.U64 1; + Value.Integer IntegerKind.U32 0 + ] |))) ] |))); @@ -3689,7 +3773,10 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| exp |)) (Value.Integer 52) + BinOp.lt (| + M.read (| exp |), + Value.Integer IntegerKind.I16 52 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3707,12 +3794,13 @@ Module time. [] |), [ - BinOp.Wrap.shr - (M.read (| mant |)) - (BinOp.Wrap.sub - Integer.I16 - (Value.Integer 52) - (M.read (| exp |))) + BinOp.Wrap.shr (| + M.read (| mant |), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I16 52, + M.read (| exp |) + |) + |) ] |) |) in @@ -3727,10 +3815,11 @@ Module time. [] |), [ - BinOp.Pure.bit_and - (BinOp.Wrap.shl - (M.read (| mant |)) - (M.read (| exp |))) + BinOp.bit_and + (BinOp.Wrap.shl (| + M.read (| mant |), + M.read (| exp |) + |)) (M.read (| M.get_constant (| "core::time::try_from_secs_f64::MANT_MASK" @@ -3739,12 +3828,12 @@ Module time. ] |) |) in - let~ nanos_offset := M.alloc (| Value.Integer 52 |) in + let~ nanos_offset := + M.alloc (| Value.Integer IntegerKind.I32 52 |) in let~ nanos_tmp := M.alloc (| - BinOp.Wrap.mul - Integer.U128 - (M.call_closure (| + BinOp.Wrap.mul (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u128", @@ -3759,80 +3848,88 @@ Module time. |) |) ] - |)) - (M.read (| t |)) + |), + M.read (| t |) + |) |) in let~ nanos := M.alloc (| M.rust_cast - (BinOp.Wrap.shr - (M.read (| nanos_tmp |)) - (M.read (| nanos_offset |))) + (BinOp.Wrap.shr (| + M.read (| nanos_tmp |), + M.read (| nanos_offset |) + |)) |) in let~ rem_mask := M.alloc (| - BinOp.Wrap.sub - Integer.U128 - (BinOp.Wrap.shl - (Value.Integer 1) - (M.read (| nanos_offset |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + M.read (| nanos_offset |) + |), + Value.Integer IntegerKind.U128 1 + |) |) in let~ rem_msb_mask := M.alloc (| - BinOp.Wrap.shl - (Value.Integer 1) - (BinOp.Wrap.sub - Integer.I32 - (M.read (| nanos_offset |)) - (Value.Integer 1)) + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + BinOp.Wrap.sub (| + M.read (| nanos_offset |), + Value.Integer IntegerKind.I32 1 + |) + |) |) in let~ rem := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| nanos_tmp |)) (M.read (| rem_mask |)) |) in let~ is_tie := M.alloc (| - BinOp.Pure.eq - (M.read (| rem |)) - (M.read (| rem_msb_mask |)) + BinOp.eq (| + M.read (| rem |), + M.read (| rem_msb_mask |) + |) |) in let~ is_even := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| nanos |)) - (Value.Integer 1)) - (Value.Integer 0) + (Value.Integer IntegerKind.U32 1), + Value.Integer IntegerKind.U32 0 + |) |) in let~ rem_msb := M.alloc (| - BinOp.Pure.eq - (BinOp.Pure.bit_and + BinOp.eq (| + BinOp.bit_and (M.read (| nanos_tmp |)) - (M.read (| rem_msb_mask |))) - (Value.Integer 0) + (M.read (| rem_msb_mask |)), + Value.Integer IntegerKind.U128 0 + |) |) in let~ add_ns := M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| + UnOp.not (| + LogicalOp.or (| M.read (| rem_msb |), ltac:(M.monadic (LogicalOp.and (| M.read (| is_even |), ltac:(M.monadic (M.read (| is_tie |))) |))) - |)) + |) + |) |) in let~ nanos := M.alloc (| - BinOp.Wrap.add - Integer.U32 - (M.read (| nanos |)) - (M.rust_cast (M.read (| add_ns |))) + BinOp.Wrap.add (| + M.read (| nanos |), + M.rust_cast (M.read (| add_ns |)) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3843,17 +3940,19 @@ Module time. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.eq - (Value.Integer 52) - (Value.Integer 23), + BinOp.eq (| + Value.Integer IntegerKind.I32 52, + Value.Integer IntegerKind.I32 23 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| nanos |)) - (M.read (| + (BinOp.ne (| + M.read (| nanos |), + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)))) + |) + |))) |) |)) in let _ := @@ -3870,11 +3969,11 @@ Module time. (M.alloc (| Value.Tuple [ - BinOp.Wrap.add - Integer.U64 - (M.read (| secs |)) - (Value.Integer 1); - Value.Integer 0 + BinOp.Wrap.add (| + M.read (| secs |), + Value.Integer IntegerKind.U64 1 + |); + Value.Integer IntegerKind.U32 0 ] |))) ] @@ -3889,9 +3988,10 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| exp |)) - (Value.Integer 64) + BinOp.lt (| + M.read (| exp |), + Value.Integer IntegerKind.I16 64 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3900,8 +4000,8 @@ Module time. |) in let~ secs := M.alloc (| - BinOp.Wrap.shl - (M.call_closure (| + BinOp.Wrap.shl (| + M.call_closure (| M.get_trait_method (| "core::convert::From", Ty.path "u64", @@ -3910,15 +4010,19 @@ Module time. [] |), [ M.read (| mant |) ] - |)) - (BinOp.Wrap.sub - Integer.I16 - (M.read (| exp |)) - (Value.Integer 52)) + |), + BinOp.Wrap.sub (| + M.read (| exp |), + Value.Integer IntegerKind.I16 52 + |) + |) |) in M.alloc (| Value.Tuple - [ M.read (| secs |); Value.Integer 0 ] + [ + M.read (| secs |); + Value.Integer IntegerKind.U32 0 + ] |))); fun γ => ltac:(M.monadic @@ -3975,7 +4079,7 @@ Module time. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_from_secs_f64 : @@ -4013,7 +4117,7 @@ Module time. M.read (| Value.String "overflow when adding durations" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4055,7 +4159,7 @@ Module time. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4097,7 +4201,7 @@ Module time. M.read (| Value.String "overflow when subtracting durations" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4139,7 +4243,7 @@ Module time. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4181,7 +4285,7 @@ Module time. M.read (| Value.String "overflow when multiplying duration by scalar" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4219,7 +4323,7 @@ Module time. |), [ M.read (| rhs |); M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4261,7 +4365,7 @@ Module time. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4303,7 +4407,7 @@ Module time. M.read (| Value.String "divide by zero error when dividing duration by scalar" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4345,7 +4449,7 @@ Module time. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4370,8 +4474,8 @@ Module time. ltac:(M.monadic (let iter := M.alloc (| iter |) in M.read (| - let~ total_secs := M.alloc (| Value.Integer 0 |) in - let~ total_nanos := M.alloc (| Value.Integer 0 |) in + let~ total_secs := M.alloc (| Value.Integer IntegerKind.U64 0 |) in + let~ total_nanos := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ _ := M.use (M.match_operator (| @@ -4526,15 +4630,15 @@ Module time. |), [ M.read (| total_secs |); - BinOp.Wrap.div - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast + BinOp.Wrap.div (| + M.read (| total_nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |))) + |)) + |) ] |); M.read (| @@ -4545,18 +4649,17 @@ Module time. |) |) in M.alloc (| - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.rem - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.rem (| + M.read (| total_nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)))) - (M.rust_cast + |)) + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| @@ -4567,7 +4670,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |))) + |)) + |) |))) ] |) @@ -4594,11 +4698,11 @@ Module time. M.get_associated_function (| Ty.path "u64", "checked_add", [] |), [ M.read (| total_secs |); - BinOp.Wrap.div - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |))) + BinOp.Wrap.div (| + M.read (| total_nanos |), + M.rust_cast + (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |) ] |); M.read (| Value.String "overflow in iter::sum over durations" |) @@ -4608,10 +4712,10 @@ Module time. let~ _ := M.write (| total_nanos, - BinOp.Wrap.rem - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |))) + BinOp.Wrap.rem (| + M.read (| total_nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |) |) in M.alloc (| M.call_closure (| @@ -4620,7 +4724,7 @@ Module time. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4645,8 +4749,8 @@ Module time. ltac:(M.monadic (let iter := M.alloc (| iter |) in M.read (| - let~ total_secs := M.alloc (| Value.Integer 0 |) in - let~ total_nanos := M.alloc (| Value.Integer 0 |) in + let~ total_secs := M.alloc (| Value.Integer IntegerKind.U64 0 |) in + let~ total_nanos := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ _ := M.use (M.match_operator (| @@ -4801,15 +4905,15 @@ Module time. |), [ M.read (| total_secs |); - BinOp.Wrap.div - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast + BinOp.Wrap.div (| + M.read (| total_nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |))) + |)) + |) ] |); M.read (| @@ -4820,18 +4924,17 @@ Module time. |) |) in M.alloc (| - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.rem - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast + BinOp.Wrap.add (| + BinOp.Wrap.rem (| + M.read (| total_nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) - |)))) - (M.rust_cast + |)) + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| @@ -4842,7 +4945,8 @@ Module time. "core::time::Nanoseconds", 0 |) - |))) + |)) + |) |))) ] |) @@ -4869,11 +4973,11 @@ Module time. M.get_associated_function (| Ty.path "u64", "checked_add", [] |), [ M.read (| total_secs |); - BinOp.Wrap.div - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast - (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |))) + BinOp.Wrap.div (| + M.read (| total_nanos |), + M.rust_cast + (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |) ] |); M.read (| Value.String "overflow in iter::sum over durations" |) @@ -4883,10 +4987,10 @@ Module time. let~ _ := M.write (| total_nanos, - BinOp.Wrap.rem - Integer.U64 - (M.read (| total_nanos |)) - (M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |))) + BinOp.Wrap.rem (| + M.read (| total_nanos |), + M.rust_cast (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) + |) |) in M.alloc (| M.call_closure (| @@ -4895,7 +4999,7 @@ Module time. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5140,15 +5244,16 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "core::time::Duration", "secs" |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -5174,10 +5279,10 @@ Module time. 0 |) |); - BinOp.Wrap.div - Integer.U32 - (M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |)) - (Value.Integer 10); + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::time::NANOS_PER_SEC" |) |), + Value.Integer IntegerKind.U32 10 + |); M.read (| prefix |); M.read (| Value.String "s" |) ] @@ -5193,8 +5298,8 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -5204,10 +5309,9 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| - M.get_constant (| "core::time::NANOS_PER_MILLI" |) - |)) + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5217,9 +5321,8 @@ Module time. [ M.read (| f |); M.rust_cast - (BinOp.Wrap.div - Integer.U32 - (M.read (| + (BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -5229,13 +5332,13 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) - |))); - BinOp.Wrap.rem - Integer.U32 - (M.read (| + |) + |)); + BinOp.Wrap.rem (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -5245,16 +5348,13 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| - M.get_constant (| "core::time::NANOS_PER_MILLI" |) - |)); - BinOp.Wrap.div - Integer.U32 - (M.read (| - M.get_constant (| "core::time::NANOS_PER_MILLI" |) - |)) - (Value.Integer 10); + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |) + |); + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::time::NANOS_PER_MILLI" |) |), + Value.Integer IntegerKind.U32 10 + |); M.read (| prefix |); M.read (| Value.String "ms" |) ] @@ -5270,8 +5370,8 @@ Module time. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -5281,10 +5381,11 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5297,9 +5398,8 @@ Module time. [ M.read (| f |); M.rust_cast - (BinOp.Wrap.div - Integer.U32 - (M.read (| + (BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -5309,13 +5409,13 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) - |))); - BinOp.Wrap.rem - Integer.U32 - (M.read (| + |) + |)); + BinOp.Wrap.rem (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -5325,16 +5425,17 @@ Module time. "core::time::Nanoseconds", 0 |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) - |)); - BinOp.Wrap.div - Integer.U32 - (M.read (| + |) + |); + BinOp.Wrap.div (| + M.read (| M.get_constant (| "core::time::NANOS_PER_MICRO" |) - |)) - (Value.Integer 10); + |), + Value.Integer IntegerKind.U32 10 + |); M.read (| prefix |); M.read (| Value.String (String.String "181" "s") |) ] @@ -5359,8 +5460,8 @@ Module time. 0 |) |)); - Value.Integer 0; - Value.Integer 1; + Value.Integer IntegerKind.U32 0; + Value.Integer IntegerKind.U32 1; M.read (| prefix |); M.read (| Value.String "ns" |) ] @@ -5373,7 +5474,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5422,7 +5523,7 @@ Module time. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5463,7 +5564,7 @@ Module time. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5516,7 +5617,7 @@ Module time. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5553,7 +5654,7 @@ Module time. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5613,7 +5714,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_description : M.IsAssociatedFunction Self "description" description. @@ -5647,7 +5748,7 @@ Module time. M.read (| f |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5719,7 +5820,7 @@ Module time. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5768,7 +5869,7 @@ Module time. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5821,9 +5922,9 @@ Module time. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5855,7 +5956,7 @@ Module time. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/tuple.v b/CoqOfRust/core/tuple.v index 92b679e52..ee54e1132 100644 --- a/CoqOfRust/core/tuple.v +++ b/CoqOfRust/core/tuple.v @@ -20,9 +20,9 @@ Module tuple. ltac:(M.monadic (let c := M.alloc (| c |) in let x := M.alloc (| x |) in - BinOp.Pure.eq - (M.rust_cast (M.read (| x |))) - (M.read (| + BinOp.eq (| + M.rust_cast (M.read (| x |)), + M.read (| M.match_operator (| c, [ @@ -39,11 +39,12 @@ Module tuple. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.alloc (| Value.Integer 2 |))) + M.alloc (| Value.Integer IntegerKind.I8 2 |))) ] |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ordering_is_some : M.IsFunction "core::tuple::ordering_is_some" ordering_is_some. @@ -70,7 +71,7 @@ Module tuple. M.SubPointer.get_tuple_field (| M.read (| other |), 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -92,7 +93,7 @@ Module tuple. M.SubPointer.get_tuple_field (| M.read (| other |), 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -170,7 +171,7 @@ Module tuple. M.SubPointer.get_tuple_field (| M.read (| other |), 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -192,7 +193,7 @@ Module tuple. M.SubPointer.get_tuple_field (| M.read (| other |), 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -214,7 +215,7 @@ Module tuple. M.SubPointer.get_tuple_field (| M.read (| other |), 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -236,7 +237,7 @@ Module tuple. M.SubPointer.get_tuple_field (| M.read (| other |), 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -258,7 +259,7 @@ Module tuple. M.SubPointer.get_tuple_field (| M.read (| other |), 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -299,7 +300,7 @@ Module tuple. M.SubPointer.get_tuple_field (| M.read (| other |), 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -337,7 +338,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -376,7 +377,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -415,7 +416,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -459,7 +460,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -491,7 +492,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -610,7 +611,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -644,11 +645,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -671,7 +673,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -705,11 +707,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -732,7 +735,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -766,11 +769,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -793,7 +797,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -827,11 +831,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -854,7 +859,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -919,7 +924,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -967,7 +972,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1008,7 +1013,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1049,7 +1054,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1103,7 +1108,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1145,7 +1150,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1296,7 +1301,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1330,11 +1335,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1369,14 +1375,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1408,7 +1415,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1442,11 +1449,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1481,14 +1489,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1520,7 +1529,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1554,11 +1563,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1593,14 +1603,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1635,7 +1646,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1669,11 +1680,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1708,14 +1720,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1750,7 +1763,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1835,7 +1848,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1893,7 +1906,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1939,7 +1952,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1985,7 +1998,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2049,7 +2062,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2101,7 +2114,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2285,7 +2298,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2319,11 +2332,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2358,14 +2372,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2401,8 +2416,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -2411,7 +2426,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2451,7 +2467,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2485,11 +2501,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2524,14 +2541,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2567,8 +2585,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -2577,7 +2595,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2617,7 +2636,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2651,11 +2670,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2690,14 +2710,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2736,8 +2757,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -2746,7 +2767,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2786,7 +2808,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2820,11 +2842,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2859,14 +2882,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2905,8 +2929,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -2915,7 +2939,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2955,7 +2980,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3061,7 +3086,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3129,7 +3154,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3182,7 +3207,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3235,7 +3260,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3309,7 +3334,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3371,7 +3396,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3598,7 +3623,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3632,11 +3657,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3671,14 +3697,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3714,8 +3741,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -3724,7 +3751,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3766,8 +3794,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -3778,7 +3806,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3829,7 +3858,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3863,11 +3892,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3902,14 +3932,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3945,8 +3976,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -3955,7 +3986,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3997,8 +4029,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -4009,7 +4041,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4060,7 +4093,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4094,11 +4127,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4133,14 +4167,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4179,8 +4214,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -4189,7 +4224,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4231,8 +4267,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -4243,7 +4279,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4296,7 +4333,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -4330,11 +4367,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4369,14 +4407,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4415,8 +4454,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -4425,7 +4464,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4467,8 +4507,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -4479,7 +4519,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4532,7 +4573,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4680,7 +4721,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4758,7 +4799,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4814,7 +4855,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4870,7 +4911,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4954,7 +4995,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5026,7 +5067,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5297,7 +5338,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5331,11 +5372,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -5370,14 +5412,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5413,8 +5456,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -5423,7 +5466,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5465,8 +5509,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -5477,7 +5521,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5528,8 +5573,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -5540,7 +5585,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5595,7 +5641,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5629,11 +5675,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -5668,14 +5715,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5711,8 +5759,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -5721,7 +5769,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5763,8 +5812,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -5775,7 +5824,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5826,8 +5876,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -5838,7 +5888,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5893,7 +5944,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5927,11 +5978,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -5966,14 +6018,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6012,8 +6065,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -6022,7 +6075,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6064,8 +6118,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -6076,7 +6130,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6129,8 +6184,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -6141,7 +6196,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6196,7 +6252,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6230,11 +6286,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6269,14 +6326,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6315,8 +6373,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -6325,7 +6383,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6367,8 +6426,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -6379,7 +6438,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6432,8 +6492,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -6444,7 +6504,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6499,7 +6560,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6683,7 +6744,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6771,7 +6832,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6830,7 +6891,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6889,7 +6950,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6983,7 +7044,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7065,7 +7126,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7378,7 +7439,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7412,11 +7473,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7451,14 +7513,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7494,8 +7557,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -7504,7 +7567,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7546,8 +7610,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -7558,7 +7622,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7609,8 +7674,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -7621,7 +7686,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7674,8 +7740,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -7686,7 +7752,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7743,7 +7810,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -7777,11 +7844,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7816,14 +7884,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7859,8 +7928,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -7869,7 +7938,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7911,8 +7981,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -7923,7 +7993,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7974,8 +8045,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -7986,7 +8057,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8039,8 +8111,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8051,7 +8123,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8108,7 +8181,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8142,11 +8215,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8181,14 +8255,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8227,8 +8302,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8237,7 +8312,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8279,8 +8355,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8291,7 +8367,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8344,8 +8421,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8356,7 +8433,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8409,8 +8487,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8421,7 +8499,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8478,7 +8557,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -8512,11 +8591,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8551,14 +8631,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8597,8 +8678,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8607,7 +8688,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8649,8 +8731,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8661,7 +8743,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8714,8 +8797,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8726,7 +8809,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8779,8 +8863,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -8791,7 +8875,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8848,7 +8933,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9068,7 +9153,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9166,7 +9251,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9228,7 +9313,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9290,7 +9375,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9394,7 +9479,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9486,7 +9571,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9842,7 +9927,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -9876,11 +9961,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9915,14 +10001,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -9958,8 +10045,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -9968,7 +10055,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10010,8 +10098,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10022,7 +10110,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10073,8 +10162,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10085,7 +10174,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10138,8 +10228,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10150,7 +10240,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10203,8 +10294,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10215,7 +10306,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10274,7 +10366,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10308,11 +10400,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10347,14 +10440,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10390,8 +10484,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10400,7 +10494,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10442,8 +10537,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10454,7 +10549,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10505,8 +10601,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10517,7 +10613,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10570,8 +10667,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10582,7 +10679,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10635,8 +10733,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10647,7 +10745,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10706,7 +10805,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -10740,11 +10839,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10779,14 +10879,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10825,8 +10926,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10835,7 +10936,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10877,8 +10979,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10889,7 +10991,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -10942,8 +11045,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -10954,7 +11057,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11007,8 +11111,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -11019,7 +11123,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11072,8 +11177,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -11084,7 +11189,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11143,7 +11249,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -11177,11 +11283,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11216,14 +11323,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -11262,8 +11370,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -11272,7 +11380,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11314,8 +11423,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -11326,7 +11435,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11379,8 +11489,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -11391,7 +11501,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11444,8 +11555,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -11456,7 +11567,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11509,8 +11621,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -11521,7 +11633,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -11580,7 +11693,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11837,7 +11950,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -11945,7 +12058,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12010,7 +12123,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12075,7 +12188,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12189,7 +12302,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12291,7 +12404,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -12694,7 +12807,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -12728,11 +12841,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12767,14 +12881,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -12810,8 +12925,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -12820,7 +12935,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12862,8 +12978,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -12874,7 +12990,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12925,8 +13042,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -12937,7 +13054,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -12990,8 +13108,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13002,7 +13120,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13055,8 +13174,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13067,7 +13186,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13120,8 +13240,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13134,7 +13254,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13199,7 +13320,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13233,11 +13354,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13272,14 +13394,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13315,8 +13438,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13325,7 +13448,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13367,8 +13491,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13379,7 +13503,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13430,8 +13555,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13442,7 +13567,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13495,8 +13621,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13507,7 +13633,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13560,8 +13687,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13572,7 +13699,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13625,8 +13753,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13639,7 +13767,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13704,7 +13833,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -13738,11 +13867,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13777,14 +13907,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13823,8 +13954,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13833,7 +13964,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13875,8 +14007,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13887,7 +14019,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -13940,8 +14073,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -13952,7 +14085,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14005,8 +14139,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14017,7 +14151,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14070,8 +14205,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14082,7 +14217,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14135,8 +14271,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14149,7 +14285,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14214,7 +14351,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -14248,11 +14385,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14287,14 +14425,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -14333,8 +14472,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14343,7 +14482,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14385,8 +14525,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14397,7 +14537,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14450,8 +14591,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14462,7 +14603,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14515,8 +14657,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14527,7 +14669,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14580,8 +14723,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14592,7 +14735,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14645,8 +14789,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -14659,7 +14803,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -14724,7 +14869,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15022,7 +15167,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15140,7 +15285,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15208,7 +15353,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15276,7 +15421,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15401,7 +15546,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -15513,7 +15658,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -15970,7 +16115,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -16004,11 +16149,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16043,14 +16189,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -16086,8 +16233,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16096,7 +16243,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16138,8 +16286,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16150,7 +16298,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16201,8 +16350,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16213,7 +16362,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16266,8 +16416,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16278,7 +16428,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16331,8 +16482,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16343,7 +16494,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16396,8 +16548,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16410,7 +16562,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16469,8 +16622,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16483,7 +16636,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16555,7 +16709,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -16589,11 +16743,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16628,14 +16783,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -16671,8 +16827,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16681,7 +16837,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16723,8 +16880,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16735,7 +16892,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16786,8 +16944,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16798,7 +16956,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16851,8 +17010,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16863,7 +17022,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16916,8 +17076,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16928,7 +17088,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -16981,8 +17142,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -16995,7 +17156,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17054,8 +17216,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17068,7 +17230,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17140,7 +17303,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -17174,11 +17337,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17213,14 +17377,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -17259,8 +17424,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17269,7 +17434,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17311,8 +17477,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17323,7 +17489,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17376,8 +17543,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17388,7 +17555,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17441,8 +17609,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17453,7 +17621,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17506,8 +17675,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17518,7 +17687,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17571,8 +17741,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17585,7 +17755,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17644,8 +17815,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17658,7 +17829,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17730,7 +17902,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -17764,11 +17936,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17803,14 +17976,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -17849,8 +18023,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17859,7 +18033,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17901,8 +18076,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17913,7 +18088,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -17966,8 +18142,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -17978,7 +18154,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18031,8 +18208,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -18043,7 +18220,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18096,8 +18274,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -18108,7 +18286,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18161,8 +18340,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -18175,7 +18354,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18234,8 +18414,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -18248,7 +18428,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -18320,7 +18501,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18662,7 +18843,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18791,7 +18972,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18862,7 +19043,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -18933,7 +19114,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19074,7 +19255,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -19202,7 +19383,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -19712,7 +19893,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -19746,11 +19927,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -19785,14 +19967,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -19828,8 +20011,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -19838,7 +20021,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -19880,8 +20064,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -19892,7 +20076,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -19943,8 +20128,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -19955,7 +20140,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20008,8 +20194,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20020,7 +20206,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20073,8 +20260,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20085,7 +20272,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20138,8 +20326,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20152,7 +20340,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20211,8 +20400,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20225,7 +20414,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20291,8 +20481,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20305,7 +20495,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20381,7 +20572,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -20415,11 +20606,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -20454,14 +20646,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -20497,8 +20690,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20507,7 +20700,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20549,8 +20743,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20561,7 +20755,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20612,8 +20807,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20624,7 +20819,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20677,8 +20873,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20689,7 +20885,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20742,8 +20939,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20754,7 +20951,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20807,8 +21005,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20821,7 +21019,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20880,8 +21079,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20894,7 +21093,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -20960,8 +21160,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -20974,7 +21174,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21050,7 +21251,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -21084,11 +21285,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -21123,14 +21325,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -21169,8 +21372,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21179,7 +21382,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21221,8 +21425,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21233,7 +21437,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21286,8 +21491,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21298,7 +21503,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21351,8 +21557,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21363,7 +21569,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21416,8 +21623,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21428,7 +21635,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21481,8 +21689,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21495,7 +21703,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21554,8 +21763,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21568,7 +21777,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21634,8 +21844,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21648,7 +21858,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21724,7 +21935,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -21758,11 +21969,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -21797,14 +22009,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -21843,8 +22056,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21853,7 +22066,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21895,8 +22109,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21907,7 +22121,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -21960,8 +22175,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -21972,7 +22187,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -22025,8 +22241,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -22037,7 +22253,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -22090,8 +22307,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -22102,7 +22319,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -22155,8 +22373,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -22169,7 +22387,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -22228,8 +22447,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -22242,7 +22461,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -22308,8 +22528,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -22322,7 +22542,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -22398,7 +22619,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22785,7 +23006,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22924,7 +23145,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -22998,7 +23219,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23072,7 +23293,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23235,7 +23456,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -23385,7 +23606,7 @@ Module tuple. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -23955,7 +24176,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -23989,11 +24210,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -24028,14 +24250,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -24071,8 +24294,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24081,7 +24304,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24123,8 +24347,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24135,7 +24359,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24186,8 +24411,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24198,7 +24423,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24251,8 +24477,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24263,7 +24489,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24316,8 +24543,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24328,7 +24555,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24381,8 +24609,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24395,7 +24623,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24454,8 +24683,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24468,7 +24697,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24534,8 +24764,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24548,7 +24778,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24618,8 +24849,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24632,7 +24863,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := @@ -24712,7 +24944,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -24746,11 +24978,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -24785,14 +25018,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -24828,8 +25062,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24838,7 +25072,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24880,8 +25115,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24892,7 +25127,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -24943,8 +25179,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -24955,7 +25191,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25008,8 +25245,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25020,7 +25257,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25073,8 +25311,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25085,7 +25323,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25138,8 +25377,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25152,7 +25391,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25211,8 +25451,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25225,7 +25465,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25291,8 +25532,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25305,7 +25546,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25375,8 +25617,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25389,7 +25631,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := @@ -25469,7 +25712,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -25503,11 +25746,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -25542,14 +25786,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -25588,8 +25833,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25598,7 +25843,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25640,8 +25886,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25652,7 +25898,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25705,8 +25952,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25717,7 +25964,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25770,8 +26018,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25782,7 +26030,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25835,8 +26084,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25847,7 +26096,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25900,8 +26150,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25914,7 +26164,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -25973,8 +26224,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -25987,7 +26238,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26053,8 +26305,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26067,7 +26319,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26137,8 +26390,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26151,7 +26404,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := @@ -26231,7 +26485,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -26265,11 +26519,12 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -26304,14 +26559,15 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] |), [ M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -26350,8 +26606,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26360,7 +26616,8 @@ Module tuple. M.read (| c |); Value.StructTuple "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26402,8 +26659,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26414,7 +26671,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26467,8 +26725,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26479,7 +26737,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26532,8 +26791,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26544,7 +26803,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26597,8 +26857,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26609,7 +26869,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26662,8 +26923,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26676,7 +26937,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26735,8 +26997,8 @@ Module tuple. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26749,7 +27011,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26815,8 +27078,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26829,7 +27092,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -26899,8 +27163,8 @@ Module tuple. γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "core::tuple::ordering_is_some", [] @@ -26913,7 +27177,8 @@ Module tuple. "core::cmp::Ordering::Equal" [] ] - |)) + |) + |) |)) in let _ := @@ -26993,7 +27258,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27427,7 +27692,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27576,7 +27841,7 @@ Module tuple. x |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27653,7 +27918,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -27730,7 +27995,7 @@ Module tuple. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/core/unicode/printable.v b/CoqOfRust/core/unicode/printable.v index 32c558748..5851f8374 100644 --- a/CoqOfRust/core/unicode/printable.v +++ b/CoqOfRust/core/unicode/printable.v @@ -51,8 +51,11 @@ Module unicode. ltac:(M.monadic (M.read (| let~ xupper := - M.alloc (| M.rust_cast (BinOp.Wrap.shr (M.read (| x |)) (Value.Integer 8)) |) in - let~ lowerstart := M.alloc (| Value.Integer 0 |) in + M.alloc (| + M.rust_cast + (BinOp.Wrap.shr (| M.read (| x |), Value.Integer IntegerKind.I32 8 |)) + |) in + let~ lowerstart := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.use (M.match_operator (| @@ -122,10 +125,10 @@ Module unicode. let lowercount := M.copy (| γ2_1 |) in let~ lowerend := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| lowerstart |)) - (M.rust_cast (M.read (| lowercount |))) + BinOp.Wrap.add (| + M.read (| lowerstart |), + M.rust_cast (M.read (| lowercount |)) + |) |) in let~ _ := M.match_operator (| @@ -136,9 +139,10 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| xupper |)) - (M.read (| upper |)) + BinOp.eq (| + M.read (| xupper |), + M.read (| upper |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -253,14 +257,15 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| lower - |)) - (M.rust_cast + |), + M.rust_cast (M.read (| x - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -303,9 +308,10 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| xupper |)) - (M.read (| upper |)) + BinOp.lt (| + M.read (| xupper |), + M.read (| upper |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -401,11 +407,12 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| v |)) - (Value.Integer 128)) - (Value.Integer 0) + (Value.Integer IntegerKind.U8 128), + Value.Integer IntegerKind.U8 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -413,13 +420,14 @@ Module unicode. Value.Bool true |) in M.alloc (| - BinOp.Pure.bit_or - (BinOp.Wrap.shl - (M.rust_cast - (BinOp.Pure.bit_and + BinOp.bit_or + (BinOp.Wrap.shl (| + M.rust_cast + (BinOp.bit_and (M.read (| v |)) - (Value.Integer 127))) - (Value.Integer 8)) + (Value.Integer IntegerKind.U8 127)), + Value.Integer IntegerKind.I32 8 + |)) (M.rust_cast (M.call_closure (| M.get_associated_function (| @@ -460,7 +468,7 @@ Module unicode. let β := x in M.write (| β, - BinOp.Wrap.sub Integer.I32 (M.read (| β |)) (M.read (| len |)) + BinOp.Wrap.sub (| M.read (| β |), M.read (| len |) |) |) in let~ _ := M.match_operator (| @@ -471,7 +479,10 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| x |)) (Value.Integer 0) + BinOp.lt (| + M.read (| x |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -485,7 +496,7 @@ Module unicode. ] |) in let~ _ := - M.write (| current, UnOp.Pure.not (M.read (| current |)) |) in + M.write (| current, UnOp.not (| M.read (| current |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -506,7 +517,7 @@ Module unicode. current |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_check : M.IsFunction "core::unicode::printable::check" check. @@ -574,7 +585,10 @@ Module unicode. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| x |)) (Value.Integer 32) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| x |), Value.Integer IntegerKind.U32 32 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Bool false |))); @@ -588,7 +602,10 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| x |)) (Value.Integer 127) + BinOp.lt (| + M.read (| x |), + Value.Integer IntegerKind.U32 127 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -606,7 +623,10 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| x |)) (Value.Integer 65536) + BinOp.lt (| + M.read (| x |), + Value.Integer IntegerKind.U32 65536 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -649,9 +669,10 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 131072) + BinOp.lt (| + M.read (| x |), + Value.Integer IntegerKind.U32 131072 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -696,13 +717,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 173792) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 173792, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 173824))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 173824 + |))) |) |)) in let _ := @@ -732,13 +759,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 177978) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 177978, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 177984))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 177984 + |))) |) |)) in let _ := @@ -768,13 +801,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 178206) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 178206, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 178208))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 178208 + |))) |) |)) in let _ := @@ -804,13 +843,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 183970) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 183970, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 183984))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 183984 + |))) |) |)) in let _ := @@ -840,13 +885,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 191457) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 191457, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 194560))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 194560 + |))) |) |)) in let _ := @@ -876,13 +927,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 195102) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 195102, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 196608))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 196608 + |))) |) |)) in let _ := @@ -912,13 +969,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 201547) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 201547, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 201552))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 201552 + |))) |) |)) in let _ := @@ -948,13 +1011,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 205744) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 205744, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 917760))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 917760 + |))) |) |)) in let _ := @@ -984,13 +1053,19 @@ Module unicode. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le - (Value.Integer 918000) - (M.read (| x |)), + BinOp.le (| + Value.Integer + IntegerKind.U32 + 918000, + M.read (| x |) + |), ltac:(M.monadic - (BinOp.Pure.lt - (M.read (| x |)) - (Value.Integer 1114112))) + (BinOp.lt (| + M.read (| x |), + Value.Integer + IntegerKind.U32 + 1114112 + |))) |) |)) in let _ := @@ -1021,7 +1096,7 @@ Module unicode. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_printable : @@ -1036,46 +1111,62 @@ Module unicode. (M.alloc (| Value.Array [ - Value.Tuple [ Value.Integer 0; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 3; Value.Integer 5 ]; - Value.Tuple [ Value.Integer 5; Value.Integer 6 ]; - Value.Tuple [ Value.Integer 6; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 7; Value.Integer 6 ]; - Value.Tuple [ Value.Integer 8; Value.Integer 7 ]; - Value.Tuple [ Value.Integer 9; Value.Integer 17 ]; - Value.Tuple [ Value.Integer 10; Value.Integer 28 ]; - Value.Tuple [ Value.Integer 11; Value.Integer 25 ]; - Value.Tuple [ Value.Integer 12; Value.Integer 26 ]; - Value.Tuple [ Value.Integer 13; Value.Integer 16 ]; - Value.Tuple [ Value.Integer 14; Value.Integer 12 ]; - Value.Tuple [ Value.Integer 15; Value.Integer 4 ]; - Value.Tuple [ Value.Integer 16; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 18; Value.Integer 18 ]; - Value.Tuple [ Value.Integer 19; Value.Integer 9 ]; - Value.Tuple [ Value.Integer 22; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 23; Value.Integer 4 ]; - Value.Tuple [ Value.Integer 24; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 25; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 26; Value.Integer 7 ]; - Value.Tuple [ Value.Integer 27; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 28; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 31; Value.Integer 22 ]; - Value.Tuple [ Value.Integer 32; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 43; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 45; Value.Integer 11 ]; - Value.Tuple [ Value.Integer 46; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 48; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 49; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 50; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 167; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 169; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 170; Value.Integer 4 ]; - Value.Tuple [ Value.Integer 171; Value.Integer 8 ]; - Value.Tuple [ Value.Integer 250; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 251; Value.Integer 5 ]; - Value.Tuple [ Value.Integer 253; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 254; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 255; Value.Integer 9 ] + Value.Tuple [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 5 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 5; Value.Integer IntegerKind.U8 6 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 6; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 7; Value.Integer IntegerKind.U8 6 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 8; Value.Integer IntegerKind.U8 7 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 9; Value.Integer IntegerKind.U8 17 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 10; Value.Integer IntegerKind.U8 28 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 11; Value.Integer IntegerKind.U8 25 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 12; Value.Integer IntegerKind.U8 26 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 13; Value.Integer IntegerKind.U8 16 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 14; Value.Integer IntegerKind.U8 12 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 15; Value.Integer IntegerKind.U8 4 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 16; Value.Integer IntegerKind.U8 3 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 18; Value.Integer IntegerKind.U8 18 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 19; Value.Integer IntegerKind.U8 9 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 22; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 23; Value.Integer IntegerKind.U8 4 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 24; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 25; Value.Integer IntegerKind.U8 3 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 26; Value.Integer IntegerKind.U8 7 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 27; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 28; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 31; Value.Integer IntegerKind.U8 22 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 32; Value.Integer IntegerKind.U8 3 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 43; Value.Integer IntegerKind.U8 3 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 45; Value.Integer IntegerKind.U8 11 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 46; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 48; Value.Integer IntegerKind.U8 3 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 49; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 50; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 167; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 169; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 170; Value.Integer IntegerKind.U8 4 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 171; Value.Integer IntegerKind.U8 8 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 250; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 251; Value.Integer IntegerKind.U8 5 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 253; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 254; Value.Integer IntegerKind.U8 3 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 255; Value.Integer IntegerKind.U8 9 ] ] |)) |))). @@ -1089,293 +1180,293 @@ Module unicode. (M.alloc (| Value.Array [ - Value.Integer 173; - Value.Integer 120; - Value.Integer 121; - Value.Integer 139; - Value.Integer 141; - Value.Integer 162; - Value.Integer 48; - Value.Integer 87; - Value.Integer 88; - Value.Integer 139; - Value.Integer 140; - Value.Integer 144; - Value.Integer 28; - Value.Integer 221; - Value.Integer 14; - Value.Integer 15; - Value.Integer 75; - Value.Integer 76; - Value.Integer 251; - Value.Integer 252; - Value.Integer 46; - Value.Integer 47; - Value.Integer 63; - Value.Integer 92; - Value.Integer 93; - Value.Integer 95; - Value.Integer 226; - Value.Integer 132; - Value.Integer 141; - Value.Integer 142; - Value.Integer 145; - Value.Integer 146; - Value.Integer 169; - Value.Integer 177; - Value.Integer 186; - Value.Integer 187; - Value.Integer 197; - Value.Integer 198; - Value.Integer 201; - Value.Integer 202; - Value.Integer 222; - Value.Integer 228; - Value.Integer 229; - Value.Integer 255; - Value.Integer 0; - Value.Integer 4; - Value.Integer 17; - Value.Integer 18; - Value.Integer 41; - Value.Integer 49; - Value.Integer 52; - Value.Integer 55; - Value.Integer 58; - Value.Integer 59; - Value.Integer 61; - Value.Integer 73; - Value.Integer 74; - Value.Integer 93; - Value.Integer 132; - Value.Integer 142; - Value.Integer 146; - Value.Integer 169; - Value.Integer 177; - Value.Integer 180; - Value.Integer 186; - Value.Integer 187; - Value.Integer 198; - Value.Integer 202; - Value.Integer 206; - Value.Integer 207; - Value.Integer 228; - Value.Integer 229; - Value.Integer 0; - Value.Integer 4; - Value.Integer 13; - Value.Integer 14; - Value.Integer 17; - Value.Integer 18; - Value.Integer 41; - Value.Integer 49; - Value.Integer 52; - Value.Integer 58; - Value.Integer 59; - Value.Integer 69; - Value.Integer 70; - Value.Integer 73; - Value.Integer 74; - Value.Integer 94; - Value.Integer 100; - Value.Integer 101; - Value.Integer 132; - Value.Integer 145; - Value.Integer 155; - Value.Integer 157; - Value.Integer 201; - Value.Integer 206; - Value.Integer 207; - Value.Integer 13; - Value.Integer 17; - Value.Integer 41; - Value.Integer 58; - Value.Integer 59; - Value.Integer 69; - Value.Integer 73; - Value.Integer 87; - Value.Integer 91; - Value.Integer 92; - Value.Integer 94; - Value.Integer 95; - Value.Integer 100; - Value.Integer 101; - Value.Integer 141; - Value.Integer 145; - Value.Integer 169; - Value.Integer 180; - Value.Integer 186; - Value.Integer 187; - Value.Integer 197; - Value.Integer 201; - Value.Integer 223; - Value.Integer 228; - Value.Integer 229; - Value.Integer 240; - Value.Integer 13; - Value.Integer 17; - Value.Integer 69; - Value.Integer 73; - Value.Integer 100; - Value.Integer 101; - Value.Integer 128; - Value.Integer 132; - Value.Integer 178; - Value.Integer 188; - Value.Integer 190; - Value.Integer 191; - Value.Integer 213; - Value.Integer 215; - Value.Integer 240; - Value.Integer 241; - Value.Integer 131; - Value.Integer 133; - Value.Integer 139; - Value.Integer 164; - Value.Integer 166; - Value.Integer 190; - Value.Integer 191; - Value.Integer 197; - Value.Integer 199; - Value.Integer 207; - Value.Integer 218; - Value.Integer 219; - Value.Integer 72; - Value.Integer 152; - Value.Integer 189; - Value.Integer 205; - Value.Integer 198; - Value.Integer 206; - Value.Integer 207; - Value.Integer 73; - Value.Integer 78; - Value.Integer 79; - Value.Integer 87; - Value.Integer 89; - Value.Integer 94; - Value.Integer 95; - Value.Integer 137; - Value.Integer 142; - Value.Integer 143; - Value.Integer 177; - Value.Integer 182; - Value.Integer 183; - Value.Integer 191; - Value.Integer 193; - Value.Integer 198; - Value.Integer 199; - Value.Integer 215; - Value.Integer 17; - Value.Integer 22; - Value.Integer 23; - Value.Integer 91; - Value.Integer 92; - Value.Integer 246; - Value.Integer 247; - Value.Integer 254; - Value.Integer 255; - Value.Integer 128; - Value.Integer 109; - Value.Integer 113; - Value.Integer 222; - Value.Integer 223; - Value.Integer 14; - Value.Integer 31; - Value.Integer 110; - Value.Integer 111; - Value.Integer 28; - Value.Integer 29; - Value.Integer 95; - Value.Integer 125; - Value.Integer 126; - Value.Integer 174; - Value.Integer 175; - Value.Integer 127; - Value.Integer 187; - Value.Integer 188; - Value.Integer 22; - Value.Integer 23; - Value.Integer 30; - Value.Integer 31; - Value.Integer 70; - Value.Integer 71; - Value.Integer 78; - Value.Integer 79; - Value.Integer 88; - Value.Integer 90; - Value.Integer 92; - Value.Integer 94; - Value.Integer 126; - Value.Integer 127; - Value.Integer 181; - Value.Integer 197; - Value.Integer 212; - Value.Integer 213; - Value.Integer 220; - Value.Integer 240; - Value.Integer 241; - Value.Integer 245; - Value.Integer 114; - Value.Integer 115; - Value.Integer 143; - Value.Integer 116; - Value.Integer 117; - Value.Integer 150; - Value.Integer 38; - Value.Integer 46; - Value.Integer 47; - Value.Integer 167; - Value.Integer 175; - Value.Integer 183; - Value.Integer 191; - Value.Integer 199; - Value.Integer 207; - Value.Integer 215; - Value.Integer 223; - Value.Integer 154; - Value.Integer 64; - Value.Integer 151; - Value.Integer 152; - Value.Integer 48; - Value.Integer 143; - Value.Integer 31; - Value.Integer 210; - Value.Integer 212; - Value.Integer 206; - Value.Integer 255; - Value.Integer 78; - Value.Integer 79; - Value.Integer 90; - Value.Integer 91; - Value.Integer 7; - Value.Integer 8; - Value.Integer 15; - Value.Integer 16; - Value.Integer 39; - Value.Integer 47; - Value.Integer 238; - Value.Integer 239; - Value.Integer 110; - Value.Integer 111; - Value.Integer 55; - Value.Integer 61; - Value.Integer 63; - Value.Integer 66; - Value.Integer 69; - Value.Integer 144; - Value.Integer 145; - Value.Integer 83; - Value.Integer 103; - Value.Integer 117; - Value.Integer 200; - Value.Integer 201; - Value.Integer 208; - Value.Integer 209; - Value.Integer 216; - Value.Integer 217; - Value.Integer 231; - Value.Integer 254; - Value.Integer 255 + Value.Integer IntegerKind.U8 173; + Value.Integer IntegerKind.U8 120; + Value.Integer IntegerKind.U8 121; + Value.Integer IntegerKind.U8 139; + Value.Integer IntegerKind.U8 141; + Value.Integer IntegerKind.U8 162; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 87; + Value.Integer IntegerKind.U8 88; + Value.Integer IntegerKind.U8 139; + Value.Integer IntegerKind.U8 140; + Value.Integer IntegerKind.U8 144; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 221; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 251; + Value.Integer IntegerKind.U8 252; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 92; + Value.Integer IntegerKind.U8 93; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 226; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 141; + Value.Integer IntegerKind.U8 142; + Value.Integer IntegerKind.U8 145; + Value.Integer IntegerKind.U8 146; + Value.Integer IntegerKind.U8 169; + Value.Integer IntegerKind.U8 177; + Value.Integer IntegerKind.U8 186; + Value.Integer IntegerKind.U8 187; + Value.Integer IntegerKind.U8 197; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 201; + Value.Integer IntegerKind.U8 202; + Value.Integer IntegerKind.U8 222; + Value.Integer IntegerKind.U8 228; + Value.Integer IntegerKind.U8 229; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 74; + Value.Integer IntegerKind.U8 93; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 142; + Value.Integer IntegerKind.U8 146; + Value.Integer IntegerKind.U8 169; + Value.Integer IntegerKind.U8 177; + Value.Integer IntegerKind.U8 180; + Value.Integer IntegerKind.U8 186; + Value.Integer IntegerKind.U8 187; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 202; + Value.Integer IntegerKind.U8 206; + Value.Integer IntegerKind.U8 207; + Value.Integer IntegerKind.U8 228; + Value.Integer IntegerKind.U8 229; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 74; + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 145; + Value.Integer IntegerKind.U8 155; + Value.Integer IntegerKind.U8 157; + Value.Integer IntegerKind.U8 201; + Value.Integer IntegerKind.U8 206; + Value.Integer IntegerKind.U8 207; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 87; + Value.Integer IntegerKind.U8 91; + Value.Integer IntegerKind.U8 92; + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 141; + Value.Integer IntegerKind.U8 145; + Value.Integer IntegerKind.U8 169; + Value.Integer IntegerKind.U8 180; + Value.Integer IntegerKind.U8 186; + Value.Integer IntegerKind.U8 187; + Value.Integer IntegerKind.U8 197; + Value.Integer IntegerKind.U8 201; + Value.Integer IntegerKind.U8 223; + Value.Integer IntegerKind.U8 228; + Value.Integer IntegerKind.U8 229; + Value.Integer IntegerKind.U8 240; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 178; + Value.Integer IntegerKind.U8 188; + Value.Integer IntegerKind.U8 190; + Value.Integer IntegerKind.U8 191; + Value.Integer IntegerKind.U8 213; + Value.Integer IntegerKind.U8 215; + Value.Integer IntegerKind.U8 240; + Value.Integer IntegerKind.U8 241; + Value.Integer IntegerKind.U8 131; + Value.Integer IntegerKind.U8 133; + Value.Integer IntegerKind.U8 139; + Value.Integer IntegerKind.U8 164; + Value.Integer IntegerKind.U8 166; + Value.Integer IntegerKind.U8 190; + Value.Integer IntegerKind.U8 191; + Value.Integer IntegerKind.U8 197; + Value.Integer IntegerKind.U8 199; + Value.Integer IntegerKind.U8 207; + Value.Integer IntegerKind.U8 218; + Value.Integer IntegerKind.U8 219; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 152; + Value.Integer IntegerKind.U8 189; + Value.Integer IntegerKind.U8 205; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 206; + Value.Integer IntegerKind.U8 207; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 87; + Value.Integer IntegerKind.U8 89; + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 137; + Value.Integer IntegerKind.U8 142; + Value.Integer IntegerKind.U8 143; + Value.Integer IntegerKind.U8 177; + Value.Integer IntegerKind.U8 182; + Value.Integer IntegerKind.U8 183; + Value.Integer IntegerKind.U8 191; + Value.Integer IntegerKind.U8 193; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 199; + Value.Integer IntegerKind.U8 215; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 91; + Value.Integer IntegerKind.U8 92; + Value.Integer IntegerKind.U8 246; + Value.Integer IntegerKind.U8 247; + Value.Integer IntegerKind.U8 254; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 109; + Value.Integer IntegerKind.U8 113; + Value.Integer IntegerKind.U8 222; + Value.Integer IntegerKind.U8 223; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 110; + Value.Integer IntegerKind.U8 111; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 125; + Value.Integer IntegerKind.U8 126; + Value.Integer IntegerKind.U8 174; + Value.Integer IntegerKind.U8 175; + Value.Integer IntegerKind.U8 127; + Value.Integer IntegerKind.U8 187; + Value.Integer IntegerKind.U8 188; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 88; + Value.Integer IntegerKind.U8 90; + Value.Integer IntegerKind.U8 92; + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 126; + Value.Integer IntegerKind.U8 127; + Value.Integer IntegerKind.U8 181; + Value.Integer IntegerKind.U8 197; + Value.Integer IntegerKind.U8 212; + Value.Integer IntegerKind.U8 213; + Value.Integer IntegerKind.U8 220; + Value.Integer IntegerKind.U8 240; + Value.Integer IntegerKind.U8 241; + Value.Integer IntegerKind.U8 245; + Value.Integer IntegerKind.U8 114; + Value.Integer IntegerKind.U8 115; + Value.Integer IntegerKind.U8 143; + Value.Integer IntegerKind.U8 116; + Value.Integer IntegerKind.U8 117; + Value.Integer IntegerKind.U8 150; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 167; + Value.Integer IntegerKind.U8 175; + Value.Integer IntegerKind.U8 183; + Value.Integer IntegerKind.U8 191; + Value.Integer IntegerKind.U8 199; + Value.Integer IntegerKind.U8 207; + Value.Integer IntegerKind.U8 215; + Value.Integer IntegerKind.U8 223; + Value.Integer IntegerKind.U8 154; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 151; + Value.Integer IntegerKind.U8 152; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 143; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 210; + Value.Integer IntegerKind.U8 212; + Value.Integer IntegerKind.U8 206; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 90; + Value.Integer IntegerKind.U8 91; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 238; + Value.Integer IntegerKind.U8 239; + Value.Integer IntegerKind.U8 110; + Value.Integer IntegerKind.U8 111; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 144; + Value.Integer IntegerKind.U8 145; + Value.Integer IntegerKind.U8 83; + Value.Integer IntegerKind.U8 103; + Value.Integer IntegerKind.U8 117; + Value.Integer IntegerKind.U8 200; + Value.Integer IntegerKind.U8 201; + Value.Integer IntegerKind.U8 208; + Value.Integer IntegerKind.U8 209; + Value.Integer IntegerKind.U8 216; + Value.Integer IntegerKind.U8 217; + Value.Integer IntegerKind.U8 231; + Value.Integer IntegerKind.U8 254; + Value.Integer IntegerKind.U8 255 ] |)) |))). @@ -1389,50 +1480,72 @@ Module unicode. (M.alloc (| Value.Array [ - Value.Tuple [ Value.Integer 0; Value.Integer 6 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 3; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 4; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 5; Value.Integer 7 ]; - Value.Tuple [ Value.Integer 7; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 8; Value.Integer 8 ]; - Value.Tuple [ Value.Integer 9; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 10; Value.Integer 5 ]; - Value.Tuple [ Value.Integer 11; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 14; Value.Integer 4 ]; - Value.Tuple [ Value.Integer 16; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 17; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 18; Value.Integer 5 ]; - Value.Tuple [ Value.Integer 19; Value.Integer 17 ]; - Value.Tuple [ Value.Integer 20; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 21; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 23; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 25; Value.Integer 13 ]; - Value.Tuple [ Value.Integer 28; Value.Integer 5 ]; - Value.Tuple [ Value.Integer 29; Value.Integer 8 ]; - Value.Tuple [ Value.Integer 31; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 36; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 106; Value.Integer 4 ]; - Value.Tuple [ Value.Integer 107; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 175; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 177; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 188; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 207; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 209; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 212; Value.Integer 12 ]; - Value.Tuple [ Value.Integer 213; Value.Integer 9 ]; - Value.Tuple [ Value.Integer 214; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 215; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 218; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 224; Value.Integer 5 ]; - Value.Tuple [ Value.Integer 225; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 231; Value.Integer 4 ]; - Value.Tuple [ Value.Integer 232; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 238; Value.Integer 32 ]; - Value.Tuple [ Value.Integer 240; Value.Integer 4 ]; - Value.Tuple [ Value.Integer 248; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 250; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 251; Value.Integer 1 ] + Value.Tuple [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 6 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 5; Value.Integer IntegerKind.U8 7 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 7; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 8; Value.Integer IntegerKind.U8 8 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 9; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 10; Value.Integer IntegerKind.U8 5 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 11; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 14; Value.Integer IntegerKind.U8 4 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 16; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 17; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 18; Value.Integer IntegerKind.U8 5 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 19; Value.Integer IntegerKind.U8 17 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 20; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 21; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 23; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 25; Value.Integer IntegerKind.U8 13 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 28; Value.Integer IntegerKind.U8 5 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 29; Value.Integer IntegerKind.U8 8 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 31; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 36; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 106; Value.Integer IntegerKind.U8 4 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 107; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 175; Value.Integer IntegerKind.U8 3 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 177; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 188; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 207; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 209; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 212; Value.Integer IntegerKind.U8 12 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 213; Value.Integer IntegerKind.U8 9 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 214; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 215; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 218; Value.Integer IntegerKind.U8 1 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 224; Value.Integer IntegerKind.U8 5 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 225; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 231; Value.Integer IntegerKind.U8 4 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 232; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 238; Value.Integer IntegerKind.U8 32 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 240; Value.Integer IntegerKind.U8 4 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 248; Value.Integer IntegerKind.U8 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 250; Value.Integer IntegerKind.U8 3 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 251; Value.Integer IntegerKind.U8 1 ] ] |)) |))). @@ -1446,202 +1559,202 @@ Module unicode. (M.alloc (| Value.Array [ - Value.Integer 12; - Value.Integer 39; - Value.Integer 59; - Value.Integer 62; - Value.Integer 78; - Value.Integer 79; - Value.Integer 143; - Value.Integer 158; - Value.Integer 158; - Value.Integer 159; - Value.Integer 123; - Value.Integer 139; - Value.Integer 147; - Value.Integer 150; - Value.Integer 162; - Value.Integer 178; - Value.Integer 186; - Value.Integer 134; - Value.Integer 177; - Value.Integer 6; - Value.Integer 7; - Value.Integer 9; - Value.Integer 54; - Value.Integer 61; - Value.Integer 62; - Value.Integer 86; - Value.Integer 243; - Value.Integer 208; - Value.Integer 209; - Value.Integer 4; - Value.Integer 20; - Value.Integer 24; - Value.Integer 54; - Value.Integer 55; - Value.Integer 86; - Value.Integer 87; - Value.Integer 127; - Value.Integer 170; - Value.Integer 174; - Value.Integer 175; - Value.Integer 189; - Value.Integer 53; - Value.Integer 224; - Value.Integer 18; - Value.Integer 135; - Value.Integer 137; - Value.Integer 142; - Value.Integer 158; - Value.Integer 4; - Value.Integer 13; - Value.Integer 14; - Value.Integer 17; - Value.Integer 18; - Value.Integer 41; - Value.Integer 49; - Value.Integer 52; - Value.Integer 58; - Value.Integer 69; - Value.Integer 70; - Value.Integer 73; - Value.Integer 74; - Value.Integer 78; - Value.Integer 79; - Value.Integer 100; - Value.Integer 101; - Value.Integer 92; - Value.Integer 182; - Value.Integer 183; - Value.Integer 27; - Value.Integer 28; - Value.Integer 7; - Value.Integer 8; - Value.Integer 10; - Value.Integer 11; - Value.Integer 20; - Value.Integer 23; - Value.Integer 54; - Value.Integer 57; - Value.Integer 58; - Value.Integer 168; - Value.Integer 169; - Value.Integer 216; - Value.Integer 217; - Value.Integer 9; - Value.Integer 55; - Value.Integer 144; - Value.Integer 145; - Value.Integer 168; - Value.Integer 7; - Value.Integer 10; - Value.Integer 59; - Value.Integer 62; - Value.Integer 102; - Value.Integer 105; - Value.Integer 143; - Value.Integer 146; - Value.Integer 17; - Value.Integer 111; - Value.Integer 95; - Value.Integer 191; - Value.Integer 238; - Value.Integer 239; - Value.Integer 90; - Value.Integer 98; - Value.Integer 244; - Value.Integer 252; - Value.Integer 255; - Value.Integer 83; - Value.Integer 84; - Value.Integer 154; - Value.Integer 155; - Value.Integer 46; - Value.Integer 47; - Value.Integer 39; - Value.Integer 40; - Value.Integer 85; - Value.Integer 157; - Value.Integer 160; - Value.Integer 161; - Value.Integer 163; - Value.Integer 164; - Value.Integer 167; - Value.Integer 168; - Value.Integer 173; - Value.Integer 186; - Value.Integer 188; - Value.Integer 196; - Value.Integer 6; - Value.Integer 11; - Value.Integer 12; - Value.Integer 21; - Value.Integer 29; - Value.Integer 58; - Value.Integer 63; - Value.Integer 69; - Value.Integer 81; - Value.Integer 166; - Value.Integer 167; - Value.Integer 204; - Value.Integer 205; - Value.Integer 160; - Value.Integer 7; - Value.Integer 25; - Value.Integer 26; - Value.Integer 34; - Value.Integer 37; - Value.Integer 62; - Value.Integer 63; - Value.Integer 231; - Value.Integer 236; - Value.Integer 239; - Value.Integer 255; - Value.Integer 197; - Value.Integer 198; - Value.Integer 4; - Value.Integer 32; - Value.Integer 35; - Value.Integer 37; - Value.Integer 38; - Value.Integer 40; - Value.Integer 51; - Value.Integer 56; - Value.Integer 58; - Value.Integer 72; - Value.Integer 74; - Value.Integer 76; - Value.Integer 80; - Value.Integer 83; - Value.Integer 85; - Value.Integer 86; - Value.Integer 88; - Value.Integer 90; - Value.Integer 92; - Value.Integer 94; - Value.Integer 96; - Value.Integer 99; - Value.Integer 101; - Value.Integer 102; - Value.Integer 107; - Value.Integer 115; - Value.Integer 120; - Value.Integer 125; - Value.Integer 127; - Value.Integer 138; - Value.Integer 164; - Value.Integer 170; - Value.Integer 175; - Value.Integer 176; - Value.Integer 192; - Value.Integer 208; - Value.Integer 174; - Value.Integer 175; - Value.Integer 110; - Value.Integer 111; - Value.Integer 190; - Value.Integer 147 + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 143; + Value.Integer IntegerKind.U8 158; + Value.Integer IntegerKind.U8 158; + Value.Integer IntegerKind.U8 159; + Value.Integer IntegerKind.U8 123; + Value.Integer IntegerKind.U8 139; + Value.Integer IntegerKind.U8 147; + Value.Integer IntegerKind.U8 150; + Value.Integer IntegerKind.U8 162; + Value.Integer IntegerKind.U8 178; + Value.Integer IntegerKind.U8 186; + Value.Integer IntegerKind.U8 134; + Value.Integer IntegerKind.U8 177; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 243; + Value.Integer IntegerKind.U8 208; + Value.Integer IntegerKind.U8 209; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 87; + Value.Integer IntegerKind.U8 127; + Value.Integer IntegerKind.U8 170; + Value.Integer IntegerKind.U8 174; + Value.Integer IntegerKind.U8 175; + Value.Integer IntegerKind.U8 189; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 224; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 135; + Value.Integer IntegerKind.U8 137; + Value.Integer IntegerKind.U8 142; + Value.Integer IntegerKind.U8 158; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 74; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 92; + Value.Integer IntegerKind.U8 182; + Value.Integer IntegerKind.U8 183; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 168; + Value.Integer IntegerKind.U8 169; + Value.Integer IntegerKind.U8 216; + Value.Integer IntegerKind.U8 217; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 144; + Value.Integer IntegerKind.U8 145; + Value.Integer IntegerKind.U8 168; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 105; + Value.Integer IntegerKind.U8 143; + Value.Integer IntegerKind.U8 146; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 111; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 191; + Value.Integer IntegerKind.U8 238; + Value.Integer IntegerKind.U8 239; + Value.Integer IntegerKind.U8 90; + Value.Integer IntegerKind.U8 98; + Value.Integer IntegerKind.U8 244; + Value.Integer IntegerKind.U8 252; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 83; + Value.Integer IntegerKind.U8 84; + Value.Integer IntegerKind.U8 154; + Value.Integer IntegerKind.U8 155; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 85; + Value.Integer IntegerKind.U8 157; + Value.Integer IntegerKind.U8 160; + Value.Integer IntegerKind.U8 161; + Value.Integer IntegerKind.U8 163; + Value.Integer IntegerKind.U8 164; + Value.Integer IntegerKind.U8 167; + Value.Integer IntegerKind.U8 168; + Value.Integer IntegerKind.U8 173; + Value.Integer IntegerKind.U8 186; + Value.Integer IntegerKind.U8 188; + Value.Integer IntegerKind.U8 196; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 81; + Value.Integer IntegerKind.U8 166; + Value.Integer IntegerKind.U8 167; + Value.Integer IntegerKind.U8 204; + Value.Integer IntegerKind.U8 205; + Value.Integer IntegerKind.U8 160; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 231; + Value.Integer IntegerKind.U8 236; + Value.Integer IntegerKind.U8 239; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 197; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 74; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 83; + Value.Integer IntegerKind.U8 85; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 88; + Value.Integer IntegerKind.U8 90; + Value.Integer IntegerKind.U8 92; + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 99; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 107; + Value.Integer IntegerKind.U8 115; + Value.Integer IntegerKind.U8 120; + Value.Integer IntegerKind.U8 125; + Value.Integer IntegerKind.U8 127; + Value.Integer IntegerKind.U8 138; + Value.Integer IntegerKind.U8 164; + Value.Integer IntegerKind.U8 170; + Value.Integer IntegerKind.U8 175; + Value.Integer IntegerKind.U8 176; + Value.Integer IntegerKind.U8 192; + Value.Integer IntegerKind.U8 208; + Value.Integer IntegerKind.U8 174; + Value.Integer IntegerKind.U8 175; + Value.Integer IntegerKind.U8 110; + Value.Integer IntegerKind.U8 111; + Value.Integer IntegerKind.U8 190; + Value.Integer IntegerKind.U8 147 ] |)) |))). @@ -1655,309 +1768,309 @@ Module unicode. (M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 32; - Value.Integer 95; - Value.Integer 34; - Value.Integer 130; - Value.Integer 223; - Value.Integer 4; - Value.Integer 130; - Value.Integer 68; - Value.Integer 8; - Value.Integer 27; - Value.Integer 4; - Value.Integer 6; - Value.Integer 17; - Value.Integer 129; - Value.Integer 172; - Value.Integer 14; - Value.Integer 128; - Value.Integer 171; - Value.Integer 5; - Value.Integer 31; - Value.Integer 9; - Value.Integer 129; - Value.Integer 27; - Value.Integer 3; - Value.Integer 25; - Value.Integer 8; - Value.Integer 1; - Value.Integer 4; - Value.Integer 47; - Value.Integer 4; - Value.Integer 52; - Value.Integer 4; - Value.Integer 7; - Value.Integer 3; - Value.Integer 1; - Value.Integer 7; - Value.Integer 6; - Value.Integer 7; - Value.Integer 17; - Value.Integer 10; - Value.Integer 80; - Value.Integer 15; - Value.Integer 18; - Value.Integer 7; - Value.Integer 85; - Value.Integer 7; - Value.Integer 3; - Value.Integer 4; - Value.Integer 28; - Value.Integer 10; - Value.Integer 9; - Value.Integer 3; - Value.Integer 8; - Value.Integer 3; - Value.Integer 7; - Value.Integer 3; - Value.Integer 2; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 12; - Value.Integer 4; - Value.Integer 5; - Value.Integer 3; - Value.Integer 11; - Value.Integer 6; - Value.Integer 1; - Value.Integer 14; - Value.Integer 21; - Value.Integer 5; - Value.Integer 78; - Value.Integer 7; - Value.Integer 27; - Value.Integer 7; - Value.Integer 87; - Value.Integer 7; - Value.Integer 2; - Value.Integer 6; - Value.Integer 23; - Value.Integer 12; - Value.Integer 80; - Value.Integer 4; - Value.Integer 67; - Value.Integer 3; - Value.Integer 45; - Value.Integer 3; - Value.Integer 1; - Value.Integer 4; - Value.Integer 17; - Value.Integer 6; - Value.Integer 15; - Value.Integer 12; - Value.Integer 58; - Value.Integer 4; - Value.Integer 29; - Value.Integer 37; - Value.Integer 95; - Value.Integer 32; - Value.Integer 109; - Value.Integer 4; - Value.Integer 106; - Value.Integer 37; - Value.Integer 128; - Value.Integer 200; - Value.Integer 5; - Value.Integer 130; - Value.Integer 176; - Value.Integer 3; - Value.Integer 26; - Value.Integer 6; - Value.Integer 130; - Value.Integer 253; - Value.Integer 3; - Value.Integer 89; - Value.Integer 7; - Value.Integer 22; - Value.Integer 9; - Value.Integer 24; - Value.Integer 9; - Value.Integer 20; - Value.Integer 12; - Value.Integer 20; - Value.Integer 12; - Value.Integer 106; - Value.Integer 6; - Value.Integer 10; - Value.Integer 6; - Value.Integer 26; - Value.Integer 6; - Value.Integer 89; - Value.Integer 7; - Value.Integer 43; - Value.Integer 5; - Value.Integer 70; - Value.Integer 10; - Value.Integer 44; - Value.Integer 4; - Value.Integer 12; - Value.Integer 4; - Value.Integer 1; - Value.Integer 3; - Value.Integer 49; - Value.Integer 11; - Value.Integer 44; - Value.Integer 4; - Value.Integer 26; - Value.Integer 6; - Value.Integer 11; - Value.Integer 3; - Value.Integer 128; - Value.Integer 172; - Value.Integer 6; - Value.Integer 10; - Value.Integer 6; - Value.Integer 47; - Value.Integer 49; - Value.Integer 77; - Value.Integer 3; - Value.Integer 128; - Value.Integer 164; - Value.Integer 8; - Value.Integer 60; - Value.Integer 3; - Value.Integer 15; - Value.Integer 3; - Value.Integer 60; - Value.Integer 7; - Value.Integer 56; - Value.Integer 8; - Value.Integer 43; - Value.Integer 5; - Value.Integer 130; - Value.Integer 255; - Value.Integer 17; - Value.Integer 24; - Value.Integer 8; - Value.Integer 47; - Value.Integer 17; - Value.Integer 45; - Value.Integer 3; - Value.Integer 33; - Value.Integer 15; - Value.Integer 33; - Value.Integer 15; - Value.Integer 128; - Value.Integer 140; - Value.Integer 4; - Value.Integer 130; - Value.Integer 151; - Value.Integer 25; - Value.Integer 11; - Value.Integer 21; - Value.Integer 136; - Value.Integer 148; - Value.Integer 5; - Value.Integer 47; - Value.Integer 5; - Value.Integer 59; - Value.Integer 7; - Value.Integer 2; - Value.Integer 14; - Value.Integer 24; - Value.Integer 9; - Value.Integer 128; - Value.Integer 190; - Value.Integer 34; - Value.Integer 116; - Value.Integer 12; - Value.Integer 128; - Value.Integer 214; - Value.Integer 26; - Value.Integer 12; - Value.Integer 5; - Value.Integer 128; - Value.Integer 255; - Value.Integer 5; - Value.Integer 128; - Value.Integer 223; - Value.Integer 12; - Value.Integer 242; - Value.Integer 157; - Value.Integer 3; - Value.Integer 55; - Value.Integer 9; - Value.Integer 129; - Value.Integer 92; - Value.Integer 20; - Value.Integer 128; - Value.Integer 184; - Value.Integer 8; - Value.Integer 128; - Value.Integer 203; - Value.Integer 5; - Value.Integer 10; - Value.Integer 24; - Value.Integer 59; - Value.Integer 3; - Value.Integer 10; - Value.Integer 6; - Value.Integer 56; - Value.Integer 8; - Value.Integer 70; - Value.Integer 8; - Value.Integer 12; - Value.Integer 6; - Value.Integer 116; - Value.Integer 11; - Value.Integer 30; - Value.Integer 3; - Value.Integer 90; - Value.Integer 4; - Value.Integer 89; - Value.Integer 9; - Value.Integer 128; - Value.Integer 131; - Value.Integer 24; - Value.Integer 28; - Value.Integer 10; - Value.Integer 22; - Value.Integer 9; - Value.Integer 76; - Value.Integer 4; - Value.Integer 128; - Value.Integer 138; - Value.Integer 6; - Value.Integer 171; - Value.Integer 164; - Value.Integer 12; - Value.Integer 23; - Value.Integer 4; - Value.Integer 49; - Value.Integer 161; - Value.Integer 4; - Value.Integer 129; - Value.Integer 218; - Value.Integer 38; - Value.Integer 7; - Value.Integer 12; - Value.Integer 5; - Value.Integer 5; - Value.Integer 128; - Value.Integer 166; - Value.Integer 16; - Value.Integer 129; - Value.Integer 245; - Value.Integer 7; - Value.Integer 1; - Value.Integer 32; - Value.Integer 42; - Value.Integer 6; - Value.Integer 76; - Value.Integer 4; - Value.Integer 128; - Value.Integer 141; - Value.Integer 4; - Value.Integer 128; - Value.Integer 190; - Value.Integer 3; - Value.Integer 27; - Value.Integer 3; - Value.Integer 15; - Value.Integer 13 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 223; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 172; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 171; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 85; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 87; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 109; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 106; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 200; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 176; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 253; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 89; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 106; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 89; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 172; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 77; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 164; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 140; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 151; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 136; + Value.Integer IntegerKind.U8 148; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 190; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 116; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 214; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 223; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 242; + Value.Integer IntegerKind.U8 157; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 92; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 184; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 203; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 116; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 90; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 89; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 131; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 138; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 171; + Value.Integer IntegerKind.U8 164; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 161; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 218; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 166; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 245; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 141; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 190; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 13 ] |)) |))). @@ -1971,456 +2084,456 @@ Module unicode. (M.alloc (| Value.Array [ - Value.Integer 94; - Value.Integer 34; - Value.Integer 123; - Value.Integer 5; - Value.Integer 3; - Value.Integer 4; - Value.Integer 45; - Value.Integer 3; - Value.Integer 102; - Value.Integer 3; - Value.Integer 1; - Value.Integer 47; - Value.Integer 46; - Value.Integer 128; - Value.Integer 130; - Value.Integer 29; - Value.Integer 3; - Value.Integer 49; - Value.Integer 15; - Value.Integer 28; - Value.Integer 4; - Value.Integer 36; - Value.Integer 9; - Value.Integer 30; - Value.Integer 5; - Value.Integer 43; - Value.Integer 5; - Value.Integer 68; - Value.Integer 4; - Value.Integer 14; - Value.Integer 42; - Value.Integer 128; - Value.Integer 170; - Value.Integer 6; - Value.Integer 36; - Value.Integer 4; - Value.Integer 36; - Value.Integer 4; - Value.Integer 40; - Value.Integer 8; - Value.Integer 52; - Value.Integer 11; - Value.Integer 78; - Value.Integer 67; - Value.Integer 129; - Value.Integer 55; - Value.Integer 9; - Value.Integer 22; - Value.Integer 10; - Value.Integer 8; - Value.Integer 24; - Value.Integer 59; - Value.Integer 69; - Value.Integer 57; - Value.Integer 3; - Value.Integer 99; - Value.Integer 8; - Value.Integer 9; - Value.Integer 48; - Value.Integer 22; - Value.Integer 5; - Value.Integer 33; - Value.Integer 3; - Value.Integer 27; - Value.Integer 5; - Value.Integer 1; - Value.Integer 64; - Value.Integer 56; - Value.Integer 4; - Value.Integer 75; - Value.Integer 5; - Value.Integer 47; - Value.Integer 4; - Value.Integer 10; - Value.Integer 7; - Value.Integer 9; - Value.Integer 7; - Value.Integer 64; - Value.Integer 32; - Value.Integer 39; - Value.Integer 4; - Value.Integer 12; - Value.Integer 9; - Value.Integer 54; - Value.Integer 3; - Value.Integer 58; - Value.Integer 5; - Value.Integer 26; - Value.Integer 7; - Value.Integer 4; - Value.Integer 12; - Value.Integer 7; - Value.Integer 80; - Value.Integer 73; - Value.Integer 55; - Value.Integer 51; - Value.Integer 13; - Value.Integer 51; - Value.Integer 7; - Value.Integer 46; - Value.Integer 8; - Value.Integer 10; - Value.Integer 129; - Value.Integer 38; - Value.Integer 82; - Value.Integer 75; - Value.Integer 43; - Value.Integer 8; - Value.Integer 42; - Value.Integer 22; - Value.Integer 26; - Value.Integer 38; - Value.Integer 28; - Value.Integer 20; - Value.Integer 23; - Value.Integer 9; - Value.Integer 78; - Value.Integer 4; - Value.Integer 36; - Value.Integer 9; - Value.Integer 68; - Value.Integer 13; - Value.Integer 25; - Value.Integer 7; - Value.Integer 10; - Value.Integer 6; - Value.Integer 72; - Value.Integer 8; - Value.Integer 39; - Value.Integer 9; - Value.Integer 117; - Value.Integer 11; - Value.Integer 66; - Value.Integer 62; - Value.Integer 42; - Value.Integer 6; - Value.Integer 59; - Value.Integer 5; - Value.Integer 10; - Value.Integer 6; - Value.Integer 81; - Value.Integer 6; - Value.Integer 1; - Value.Integer 5; - Value.Integer 16; - Value.Integer 3; - Value.Integer 5; - Value.Integer 128; - Value.Integer 139; - Value.Integer 98; - Value.Integer 30; - Value.Integer 72; - Value.Integer 8; - Value.Integer 10; - Value.Integer 128; - Value.Integer 166; - Value.Integer 94; - Value.Integer 34; - Value.Integer 69; - Value.Integer 11; - Value.Integer 10; - Value.Integer 6; - Value.Integer 13; - Value.Integer 19; - Value.Integer 58; - Value.Integer 6; - Value.Integer 10; - Value.Integer 54; - Value.Integer 44; - Value.Integer 4; - Value.Integer 23; - Value.Integer 128; - Value.Integer 185; - Value.Integer 60; - Value.Integer 100; - Value.Integer 83; - Value.Integer 12; - Value.Integer 72; - Value.Integer 9; - Value.Integer 10; - Value.Integer 70; - Value.Integer 69; - Value.Integer 27; - Value.Integer 72; - Value.Integer 8; - Value.Integer 83; - Value.Integer 13; - Value.Integer 73; - Value.Integer 7; - Value.Integer 10; - Value.Integer 128; - Value.Integer 246; - Value.Integer 70; - Value.Integer 10; - Value.Integer 29; - Value.Integer 3; - Value.Integer 71; - Value.Integer 73; - Value.Integer 55; - Value.Integer 3; - Value.Integer 14; - Value.Integer 8; - Value.Integer 10; - Value.Integer 6; - Value.Integer 57; - Value.Integer 7; - Value.Integer 10; - Value.Integer 129; - Value.Integer 54; - Value.Integer 25; - Value.Integer 7; - Value.Integer 59; - Value.Integer 3; - Value.Integer 28; - Value.Integer 86; - Value.Integer 1; - Value.Integer 15; - Value.Integer 50; - Value.Integer 13; - Value.Integer 131; - Value.Integer 155; - Value.Integer 102; - Value.Integer 117; - Value.Integer 11; - Value.Integer 128; - Value.Integer 196; - Value.Integer 138; - Value.Integer 76; - Value.Integer 99; - Value.Integer 13; - Value.Integer 132; - Value.Integer 48; - Value.Integer 16; - Value.Integer 22; - Value.Integer 143; - Value.Integer 170; - Value.Integer 130; - Value.Integer 71; - Value.Integer 161; - Value.Integer 185; - Value.Integer 130; - Value.Integer 57; - Value.Integer 7; - Value.Integer 42; - Value.Integer 4; - Value.Integer 92; - Value.Integer 6; - Value.Integer 38; - Value.Integer 10; - Value.Integer 70; - Value.Integer 10; - Value.Integer 40; - Value.Integer 5; - Value.Integer 19; - Value.Integer 130; - Value.Integer 176; - Value.Integer 91; - Value.Integer 101; - Value.Integer 75; - Value.Integer 4; - Value.Integer 57; - Value.Integer 7; - Value.Integer 17; - Value.Integer 64; - Value.Integer 5; - Value.Integer 11; - Value.Integer 2; - Value.Integer 14; - Value.Integer 151; - Value.Integer 248; - Value.Integer 8; - Value.Integer 132; - Value.Integer 214; - Value.Integer 42; - Value.Integer 9; - Value.Integer 162; - Value.Integer 231; - Value.Integer 129; - Value.Integer 51; - Value.Integer 15; - Value.Integer 1; - Value.Integer 29; - Value.Integer 6; - Value.Integer 14; - Value.Integer 4; - Value.Integer 8; - Value.Integer 129; - Value.Integer 140; - Value.Integer 137; - Value.Integer 4; - Value.Integer 107; - Value.Integer 5; - Value.Integer 13; - Value.Integer 3; - Value.Integer 9; - Value.Integer 7; - Value.Integer 16; - Value.Integer 146; - Value.Integer 96; - Value.Integer 71; - Value.Integer 9; - Value.Integer 116; - Value.Integer 60; - Value.Integer 128; - Value.Integer 246; - Value.Integer 10; - Value.Integer 115; - Value.Integer 8; - Value.Integer 112; - Value.Integer 21; - Value.Integer 70; - Value.Integer 122; - Value.Integer 20; - Value.Integer 12; - Value.Integer 20; - Value.Integer 12; - Value.Integer 87; - Value.Integer 9; - Value.Integer 25; - Value.Integer 128; - Value.Integer 135; - Value.Integer 129; - Value.Integer 71; - Value.Integer 3; - Value.Integer 133; - Value.Integer 66; - Value.Integer 15; - Value.Integer 21; - Value.Integer 132; - Value.Integer 80; - Value.Integer 31; - Value.Integer 6; - Value.Integer 6; - Value.Integer 128; - Value.Integer 213; - Value.Integer 43; - Value.Integer 5; - Value.Integer 62; - Value.Integer 33; - Value.Integer 1; - Value.Integer 112; - Value.Integer 45; - Value.Integer 3; - Value.Integer 26; - Value.Integer 4; - Value.Integer 2; - Value.Integer 129; - Value.Integer 64; - Value.Integer 31; - Value.Integer 17; - Value.Integer 58; - Value.Integer 5; - Value.Integer 1; - Value.Integer 129; - Value.Integer 208; - Value.Integer 42; - Value.Integer 130; - Value.Integer 230; - Value.Integer 128; - Value.Integer 247; - Value.Integer 41; - Value.Integer 76; - Value.Integer 4; - Value.Integer 10; - Value.Integer 4; - Value.Integer 2; - Value.Integer 131; - Value.Integer 17; - Value.Integer 68; - Value.Integer 76; - Value.Integer 61; - Value.Integer 128; - Value.Integer 194; - Value.Integer 60; - Value.Integer 6; - Value.Integer 1; - Value.Integer 4; - Value.Integer 85; - Value.Integer 5; - Value.Integer 27; - Value.Integer 52; - Value.Integer 2; - Value.Integer 129; - Value.Integer 14; - Value.Integer 44; - Value.Integer 4; - Value.Integer 100; - Value.Integer 12; - Value.Integer 86; - Value.Integer 10; - Value.Integer 128; - Value.Integer 174; - Value.Integer 56; - Value.Integer 29; - Value.Integer 13; - Value.Integer 44; - Value.Integer 4; - Value.Integer 9; - Value.Integer 7; - Value.Integer 2; - Value.Integer 14; - Value.Integer 6; - Value.Integer 128; - Value.Integer 154; - Value.Integer 131; - Value.Integer 216; - Value.Integer 4; - Value.Integer 17; - Value.Integer 3; - Value.Integer 13; - Value.Integer 3; - Value.Integer 119; - Value.Integer 4; - Value.Integer 95; - Value.Integer 6; - Value.Integer 12; - Value.Integer 4; - Value.Integer 1; - Value.Integer 15; - Value.Integer 12; - Value.Integer 4; - Value.Integer 56; - Value.Integer 8; - Value.Integer 10; - Value.Integer 6; - Value.Integer 40; - Value.Integer 8; - Value.Integer 34; - Value.Integer 78; - Value.Integer 129; - Value.Integer 84; - Value.Integer 12; - Value.Integer 29; - Value.Integer 3; - Value.Integer 9; - Value.Integer 7; - Value.Integer 54; - Value.Integer 8; - Value.Integer 14; - Value.Integer 4; - Value.Integer 9; - Value.Integer 7; - Value.Integer 9; - Value.Integer 7; - Value.Integer 128; - Value.Integer 203; - Value.Integer 37; - Value.Integer 10; - Value.Integer 132; - Value.Integer 6 + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 123; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 170; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 99; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 82; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 117; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 81; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 139; + Value.Integer IntegerKind.U8 98; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 166; + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 185; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 83; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 83; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 246; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 131; + Value.Integer IntegerKind.U8 155; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 117; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 196; + Value.Integer IntegerKind.U8 138; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 99; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 143; + Value.Integer IntegerKind.U8 170; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 161; + Value.Integer IntegerKind.U8 185; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 92; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 176; + Value.Integer IntegerKind.U8 91; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 151; + Value.Integer IntegerKind.U8 248; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 214; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 162; + Value.Integer IntegerKind.U8 231; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 140; + Value.Integer IntegerKind.U8 137; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 107; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 146; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 116; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 246; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 115; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 112; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 122; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 87; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 135; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 133; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 213; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 112; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 208; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 230; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 247; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 131; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 194; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 85; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 174; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 154; + Value.Integer IntegerKind.U8 131; + Value.Integer IntegerKind.U8 216; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 119; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 84; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 203; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 6 ] |)) |))). diff --git a/CoqOfRust/core/unicode/unicode_data.v b/CoqOfRust/core/unicode/unicode_data.v index b33e550c6..959b88fea 100644 --- a/CoqOfRust/core/unicode/unicode_data.v +++ b/CoqOfRust/core/unicode/unicode_data.v @@ -67,29 +67,29 @@ Module unicode. let~ bucket_idx := M.alloc (| M.rust_cast - (BinOp.Wrap.div Integer.U32 (M.read (| needle |)) (Value.Integer 64)) + (BinOp.Wrap.div (| M.read (| needle |), Value.Integer IntegerKind.U32 64 |)) |) in let~ chunk_map_idx := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.read (| bucket_idx |)) - (M.read (| + BinOp.Wrap.div (| + M.read (| bucket_idx |), + M.read (| M.get_constant (| "core::unicode::unicode_data::bitset_search::CHUNK_SIZE" |) - |)) + |) + |) |) in let~ chunk_piece := M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.read (| bucket_idx |)) - (M.read (| + BinOp.Wrap.rem (| + M.read (| bucket_idx |), + M.read (| M.get_constant (| "core::unicode::unicode_data::bitset_search::CHUNK_SIZE" |) - |)) + |) + |) |) in let~ chunk_idx := M.copy (| @@ -101,9 +101,9 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| chunk_map_idx |)) - (M.call_closure (| + BinOp.lt (| + M.read (| chunk_map_idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", @@ -111,7 +111,8 @@ Module unicode. |), [ (* Unsize *) M.pointer_coercion (M.read (| chunk_idx_map |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -150,9 +151,9 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| idx |)) - (M.call_closure (| + BinOp.lt (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u64" ], "len", @@ -162,7 +163,8 @@ Module unicode. (* Unsize *) M.pointer_coercion (M.read (| bitset_canonical |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -173,10 +175,9 @@ Module unicode. M.SubPointer.get_array_field (| M.read (| bitset_canonicalized |), M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| idx |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| idx |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u64" ], "len", @@ -186,7 +187,8 @@ Module unicode. (* Unsize *) M.pointer_coercion (M.read (| bitset_canonical |)) ] - |)) + |) + |) |) |), [ @@ -205,11 +207,15 @@ Module unicode. |) in let~ should_invert := M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| mapping |)) - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 6))) - (Value.Integer 0) + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U8 1, + Value.Integer IntegerKind.I32 6 + |)), + Value.Integer IntegerKind.U8 0 + |) |) in let~ _ := M.match_operator (| @@ -226,7 +232,7 @@ Module unicode. let~ _ := M.write (| word, - UnOp.Pure.not (M.read (| word |)) + UnOp.not (| M.read (| word |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -234,12 +240,15 @@ Module unicode. |) in let~ quantity := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mapping |)) - (BinOp.Wrap.sub - Integer.U8 - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 6)) - (Value.Integer 1)) + (BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U8 1, + Value.Integer IntegerKind.I32 6 + |), + Value.Integer IntegerKind.U8 1 + |)) |) in let~ _ := M.match_operator (| @@ -250,13 +259,15 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| mapping |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (Value.Integer 7))) - (Value.Integer 0) + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U8 1, + Value.Integer IntegerKind.I32 7 + |)), + Value.Integer IntegerKind.U8 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -267,9 +278,10 @@ Module unicode. let β := word in M.write (| β, - BinOp.Wrap.shr - (M.read (| β |)) - (M.rust_cast (M.read (| quantity |))) + BinOp.Wrap.shr (| + M.read (| β |), + M.rust_cast (M.read (| quantity |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -299,18 +311,23 @@ Module unicode. |) |) in M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| word |)) - (BinOp.Wrap.shl - (Value.Integer 1) - (M.rust_cast - (BinOp.Wrap.rem Integer.U32 (M.read (| needle |)) (Value.Integer 64))))) - (Value.Integer 0) + (BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.rust_cast + (BinOp.Wrap.rem (| + M.read (| needle |), + Value.Integer IntegerKind.U32 64 + |)) + |)), + Value.Integer IntegerKind.U64 0 + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bitset_search : @@ -326,13 +343,16 @@ Module unicode. | [], [ short_offset_run_header ] => ltac:(M.monadic (let short_offset_run_header := M.alloc (| short_offset_run_header |) in - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| short_offset_run_header |)) - (BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 21)) - (Value.Integer 1)))) - | _, _ => M.impossible + (BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.I32 21 + |), + Value.Integer IntegerKind.U32 1 + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_decode_prefix_sum : @@ -348,8 +368,12 @@ Module unicode. | [], [ short_offset_run_header ] => ltac:(M.monadic (let short_offset_run_header := M.alloc (| short_offset_run_header |) in - M.rust_cast (BinOp.Wrap.shr (M.read (| short_offset_run_header |)) (Value.Integer 21)))) - | _, _ => M.impossible + M.rust_cast + (BinOp.Wrap.shr (| + M.read (| short_offset_run_header |), + Value.Integer IntegerKind.I32 21 + |)))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_decode_length : @@ -421,7 +445,9 @@ Module unicode. |), [ (* Unsize *) M.pointer_coercion (M.read (| short_offset_runs |)); - M.alloc (| BinOp.Wrap.shl (M.read (| needle |)) (Value.Integer 11) |); + M.alloc (| + BinOp.Wrap.shl (| M.read (| needle |), Value.Integer IntegerKind.I32 11 |) + |); M.closure (fun γ => ltac:(M.monadic @@ -442,11 +468,12 @@ Module unicode. "shl", [] |), - [ M.read (| header |); Value.Integer 11 ] + [ M.read (| header |); Value.Integer IntegerKind.I32 11 + ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -462,7 +489,7 @@ Module unicode. |) in let idx := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| idx |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| idx |), Value.Integer IntegerKind.Usize 1 |) |))); fun γ => ltac:(M.monadic @@ -505,10 +532,10 @@ Module unicode. |), [ (* Unsize *) M.pointer_coercion (M.read (| short_offset_runs |)); - BinOp.Wrap.add - Integer.Usize - (M.read (| last_idx |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| last_idx |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -520,28 +547,28 @@ Module unicode. |) in let next := M.copy (| γ0_0 |) in M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_function (| "core::unicode::unicode_data::decode_length", [] |), [ M.read (| M.read (| next |) |) ] - |)) - (M.read (| offset_idx |)) + |), + M.read (| offset_idx |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ (* Unsize *) M.pointer_coercion (M.read (| offsets |)) ] - |)) - (M.read (| offset_idx |)) + |), + M.read (| offset_idx |) + |) |))) ] |) @@ -567,7 +594,7 @@ Module unicode. [ M.call_closure (| M.get_associated_function (| Ty.path "usize", "checked_sub", [] |), - [ M.read (| last_idx |); Value.Integer 1 ] + [ M.read (| last_idx |); Value.Integer IntegerKind.Usize 1 ] |); M.closure (fun γ => @@ -597,17 +624,17 @@ Module unicode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U32 0 ] |) |) in let~ total := - M.alloc (| BinOp.Wrap.sub Integer.U32 (M.read (| needle |)) (M.read (| prev |)) |) in - let~ prefix_sum := M.alloc (| Value.Integer 0 |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| needle |), M.read (| prev |) |) |) in + let~ prefix_sum := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := M.use (M.match_operator (| @@ -624,9 +651,12 @@ Module unicode. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.sub Integer.Usize (M.read (| length |)) (Value.Integer 1)) + BinOp.Wrap.sub (| + M.read (| length |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -680,10 +710,10 @@ Module unicode. let β := prefix_sum in M.write (| β, - BinOp.Wrap.add - Integer.U32 - (M.read (| β |)) - (M.rust_cast (M.read (| offset |))) + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.read (| offset |)) + |) |) in let~ _ := M.match_operator (| @@ -694,9 +724,10 @@ Module unicode. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| prefix_sum |)) - (M.read (| total |)) + BinOp.gt (| + M.read (| prefix_sum |), + M.read (| total |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -713,10 +744,10 @@ Module unicode. let β := offset_idx in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -726,12 +757,13 @@ Module unicode. ] |)) in M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.Usize (M.read (| offset_idx |)) (Value.Integer 2)) - (Value.Integer 1) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| offset_idx |), Value.Integer IntegerKind.Usize 2 |), + Value.Integer IntegerKind.Usize 1 + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_skip_search : @@ -740,7 +772,14 @@ Module unicode. Definition value_UNICODE_VERSION : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.Tuple [ Value.Integer 15; Value.Integer 0; Value.Integer 0 ] |))). + (M.alloc (| + Value.Tuple + [ + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 + ] + |))). Module alphabetic. Definition value_SHORT_OFFSET_RUNS : Value.t := @@ -750,59 +789,59 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 706; - Value.Integer 33559113; - Value.Integer 872420973; - Value.Integer 952114966; - Value.Integer 1161831606; - Value.Integer 1310731264; - Value.Integer 1314926597; - Value.Integer 1394619392; - Value.Integer 1444957632; - Value.Integer 1447077005; - Value.Integer 1451271693; - Value.Integer 1459672996; - Value.Integer 1648425216; - Value.Integer 1658911342; - Value.Integer 1661009214; - Value.Integer 1707147904; - Value.Integer 1793132343; - Value.Integer 1887506048; - Value.Integer 2040601600; - Value.Integer 2392923872; - Value.Integer 2481005466; - Value.Integer 2504077200; - Value.Integer 2514564144; - Value.Integer 2520859648; - Value.Integer 2527151687; - Value.Integer 2529257472; - Value.Integer 2531355193; - Value.Integer 2533453376; - Value.Integer 2564917240; - Value.Integer 2596375766; - Value.Integer 2600579056; - Value.Integer 2606870819; - Value.Integer 2621551356; - Value.Integer 2642525184; - Value.Integer 2644628480; - Value.Integer 2665600678; - Value.Integer 2743197440; - Value.Integer 2791432848; - Value.Integer 2841765072; - Value.Integer 2850154464; - Value.Integer 2854350336; - Value.Integer 2887905584; - Value.Integer 3026321408; - Value.Integer 3038947040; - Value.Integer 3041048378; - Value.Integer 3045248674; - Value.Integer 3053644769; - Value.Integer 3057842176; - Value.Integer 3059939870; - Value.Integer 3062038528; - Value.Integer 3064140619; - Value.Integer 3066241968; - Value.Integer 3071550384 + Value.Integer IntegerKind.U32 706; + Value.Integer IntegerKind.U32 33559113; + Value.Integer IntegerKind.U32 872420973; + Value.Integer IntegerKind.U32 952114966; + Value.Integer IntegerKind.U32 1161831606; + Value.Integer IntegerKind.U32 1310731264; + Value.Integer IntegerKind.U32 1314926597; + Value.Integer IntegerKind.U32 1394619392; + Value.Integer IntegerKind.U32 1444957632; + Value.Integer IntegerKind.U32 1447077005; + Value.Integer IntegerKind.U32 1451271693; + Value.Integer IntegerKind.U32 1459672996; + Value.Integer IntegerKind.U32 1648425216; + Value.Integer IntegerKind.U32 1658911342; + Value.Integer IntegerKind.U32 1661009214; + Value.Integer IntegerKind.U32 1707147904; + Value.Integer IntegerKind.U32 1793132343; + Value.Integer IntegerKind.U32 1887506048; + Value.Integer IntegerKind.U32 2040601600; + Value.Integer IntegerKind.U32 2392923872; + Value.Integer IntegerKind.U32 2481005466; + Value.Integer IntegerKind.U32 2504077200; + Value.Integer IntegerKind.U32 2514564144; + Value.Integer IntegerKind.U32 2520859648; + Value.Integer IntegerKind.U32 2527151687; + Value.Integer IntegerKind.U32 2529257472; + Value.Integer IntegerKind.U32 2531355193; + Value.Integer IntegerKind.U32 2533453376; + Value.Integer IntegerKind.U32 2564917240; + Value.Integer IntegerKind.U32 2596375766; + Value.Integer IntegerKind.U32 2600579056; + Value.Integer IntegerKind.U32 2606870819; + Value.Integer IntegerKind.U32 2621551356; + Value.Integer IntegerKind.U32 2642525184; + Value.Integer IntegerKind.U32 2644628480; + Value.Integer IntegerKind.U32 2665600678; + Value.Integer IntegerKind.U32 2743197440; + Value.Integer IntegerKind.U32 2791432848; + Value.Integer IntegerKind.U32 2841765072; + Value.Integer IntegerKind.U32 2850154464; + Value.Integer IntegerKind.U32 2854350336; + Value.Integer IntegerKind.U32 2887905584; + Value.Integer IntegerKind.U32 3026321408; + Value.Integer IntegerKind.U32 3038947040; + Value.Integer IntegerKind.U32 3041048378; + Value.Integer IntegerKind.U32 3045248674; + Value.Integer IntegerKind.U32 3053644769; + Value.Integer IntegerKind.U32 3057842176; + Value.Integer IntegerKind.U32 3059939870; + Value.Integer IntegerKind.U32 3062038528; + Value.Integer IntegerKind.U32 3064140619; + Value.Integer IntegerKind.U32 3066241968; + Value.Integer IntegerKind.U32 3071550384 ] |) |))). @@ -814,1471 +853,1471 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 65; - Value.Integer 26; - Value.Integer 6; - Value.Integer 26; - Value.Integer 47; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 5; - Value.Integer 23; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 0; - Value.Integer 4; - Value.Integer 12; - Value.Integer 14; - Value.Integer 5; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 86; - Value.Integer 1; - Value.Integer 42; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 20; - Value.Integer 1; - Value.Integer 83; - Value.Integer 1; - Value.Integer 139; - Value.Integer 8; - Value.Integer 166; - Value.Integer 1; - Value.Integer 38; - Value.Integer 2; - Value.Integer 1; - Value.Integer 6; - Value.Integer 41; - Value.Integer 39; - Value.Integer 14; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 8; - Value.Integer 27; - Value.Integer 4; - Value.Integer 4; - Value.Integer 29; - Value.Integer 11; - Value.Integer 5; - Value.Integer 56; - Value.Integer 1; - Value.Integer 7; - Value.Integer 14; - Value.Integer 102; - Value.Integer 1; - Value.Integer 8; - Value.Integer 4; - Value.Integer 8; - Value.Integer 4; - Value.Integer 3; - Value.Integer 10; - Value.Integer 3; - Value.Integer 2; - Value.Integer 1; - Value.Integer 16; - Value.Integer 48; - Value.Integer 13; - Value.Integer 101; - Value.Integer 24; - Value.Integer 33; - Value.Integer 9; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 5; - Value.Integer 24; - Value.Integer 2; - Value.Integer 19; - Value.Integer 19; - Value.Integer 25; - Value.Integer 7; - Value.Integer 11; - Value.Integer 5; - Value.Integer 24; - Value.Integer 1; - Value.Integer 6; - Value.Integer 17; - Value.Integer 42; - Value.Integer 10; - Value.Integer 12; - Value.Integer 3; - Value.Integer 7; - Value.Integer 6; - Value.Integer 76; - Value.Integer 1; - Value.Integer 16; - Value.Integer 1; - Value.Integer 3; - Value.Integer 4; - Value.Integer 15; - Value.Integer 13; - Value.Integer 19; - Value.Integer 1; - Value.Integer 8; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 22; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 4; - Value.Integer 3; - Value.Integer 8; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 1; - Value.Integer 5; - Value.Integer 12; - Value.Integer 2; - Value.Integer 10; - Value.Integer 1; - Value.Integer 4; - Value.Integer 3; - Value.Integer 1; - Value.Integer 6; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 22; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 5; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 7; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 17; - Value.Integer 6; - Value.Integer 11; - Value.Integer 3; - Value.Integer 1; - Value.Integer 9; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 22; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 5; - Value.Integer 3; - Value.Integer 9; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 15; - Value.Integer 4; - Value.Integer 21; - Value.Integer 4; - Value.Integer 4; - Value.Integer 3; - Value.Integer 1; - Value.Integer 8; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 22; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 5; - Value.Integer 3; - Value.Integer 8; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 9; - Value.Integer 2; - Value.Integer 4; - Value.Integer 2; - Value.Integer 1; - Value.Integer 5; - Value.Integer 13; - Value.Integer 1; - Value.Integer 16; - Value.Integer 2; - Value.Integer 1; - Value.Integer 6; - Value.Integer 3; - Value.Integer 3; - Value.Integer 1; - Value.Integer 4; - Value.Integer 3; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 2; - Value.Integer 3; - Value.Integer 3; - Value.Integer 3; - Value.Integer 12; - Value.Integer 4; - Value.Integer 5; - Value.Integer 3; - Value.Integer 3; - Value.Integer 1; - Value.Integer 3; - Value.Integer 3; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 40; - Value.Integer 13; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 23; - Value.Integer 1; - Value.Integer 16; - Value.Integer 3; - Value.Integer 8; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 3; - Value.Integer 8; - Value.Integer 2; - Value.Integer 1; - Value.Integer 3; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 28; - Value.Integer 4; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 23; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 5; - Value.Integer 3; - Value.Integer 8; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 3; - Value.Integer 8; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 1; - Value.Integer 4; - Value.Integer 13; - Value.Integer 3; - Value.Integer 12; - Value.Integer 13; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 41; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 4; - Value.Integer 7; - Value.Integer 5; - Value.Integer 22; - Value.Integer 6; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 18; - Value.Integer 3; - Value.Integer 24; - Value.Integer 1; - Value.Integer 9; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 7; - Value.Integer 8; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 8; - Value.Integer 18; - Value.Integer 2; - Value.Integer 13; - Value.Integer 58; - Value.Integer 5; - Value.Integer 7; - Value.Integer 6; - Value.Integer 1; - Value.Integer 51; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 24; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 19; - Value.Integer 1; - Value.Integer 3; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 14; - Value.Integer 4; - Value.Integer 32; - Value.Integer 1; - Value.Integer 63; - Value.Integer 8; - Value.Integer 1; - Value.Integer 36; - Value.Integer 4; - Value.Integer 19; - Value.Integer 4; - Value.Integer 16; - Value.Integer 1; - Value.Integer 36; - Value.Integer 67; - Value.Integer 55; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 16; - Value.Integer 64; - Value.Integer 10; - Value.Integer 4; - Value.Integer 2; - Value.Integer 38; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 43; - Value.Integer 1; - Value.Integer 0; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 41; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 33; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 15; - Value.Integer 1; - Value.Integer 57; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 67; - Value.Integer 37; - Value.Integer 16; - Value.Integer 16; - Value.Integer 86; - Value.Integer 2; - Value.Integer 6; - Value.Integer 3; - Value.Integer 0; - Value.Integer 2; - Value.Integer 17; - Value.Integer 1; - Value.Integer 26; - Value.Integer 5; - Value.Integer 75; - Value.Integer 3; - Value.Integer 11; - Value.Integer 7; - Value.Integer 20; - Value.Integer 11; - Value.Integer 21; - Value.Integer 12; - Value.Integer 20; - Value.Integer 12; - Value.Integer 13; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 12; - Value.Integer 52; - Value.Integer 2; - Value.Integer 19; - Value.Integer 14; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 67; - Value.Integer 89; - Value.Integer 7; - Value.Integer 43; - Value.Integer 5; - Value.Integer 70; - Value.Integer 10; - Value.Integer 31; - Value.Integer 1; - Value.Integer 12; - Value.Integer 4; - Value.Integer 9; - Value.Integer 23; - Value.Integer 30; - Value.Integer 2; - Value.Integer 5; - Value.Integer 11; - Value.Integer 44; - Value.Integer 4; - Value.Integer 26; - Value.Integer 54; - Value.Integer 28; - Value.Integer 4; - Value.Integer 63; - Value.Integer 2; - Value.Integer 20; - Value.Integer 50; - Value.Integer 1; - Value.Integer 23; - Value.Integer 2; - Value.Integer 11; - Value.Integer 3; - Value.Integer 49; - Value.Integer 52; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 8; - Value.Integer 51; - Value.Integer 42; - Value.Integer 2; - Value.Integer 4; - Value.Integer 10; - Value.Integer 44; - Value.Integer 1; - Value.Integer 11; - Value.Integer 14; - Value.Integer 55; - Value.Integer 22; - Value.Integer 3; - Value.Integer 10; - Value.Integer 36; - Value.Integer 2; - Value.Integer 9; - Value.Integer 7; - Value.Integer 43; - Value.Integer 2; - Value.Integer 3; - Value.Integer 41; - Value.Integer 4; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 5; - Value.Integer 192; - Value.Integer 39; - Value.Integer 14; - Value.Integer 11; - Value.Integer 0; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 38; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 31; - Value.Integer 2; - Value.Integer 53; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 3; - Value.Integer 1; - Value.Integer 7; - Value.Integer 3; - Value.Integer 4; - Value.Integer 2; - Value.Integer 6; - Value.Integer 4; - Value.Integer 13; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 7; - Value.Integer 116; - Value.Integer 1; - Value.Integer 13; - Value.Integer 1; - Value.Integer 16; - Value.Integer 13; - Value.Integer 101; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 2; - Value.Integer 10; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 5; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 11; - Value.Integer 2; - Value.Integer 4; - Value.Integer 5; - Value.Integer 5; - Value.Integer 4; - Value.Integer 1; - Value.Integer 17; - Value.Integer 41; - Value.Integer 0; - Value.Integer 52; - Value.Integer 0; - Value.Integer 229; - Value.Integer 6; - Value.Integer 4; - Value.Integer 3; - Value.Integer 2; - Value.Integer 12; - Value.Integer 38; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 56; - Value.Integer 7; - Value.Integer 1; - Value.Integer 16; - Value.Integer 23; - Value.Integer 9; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 32; - Value.Integer 47; - Value.Integer 1; - Value.Integer 0; - Value.Integer 3; - Value.Integer 25; - Value.Integer 9; - Value.Integer 7; - Value.Integer 5; - Value.Integer 2; - Value.Integer 5; - Value.Integer 4; - Value.Integer 86; - Value.Integer 6; - Value.Integer 3; - Value.Integer 1; - Value.Integer 90; - Value.Integer 1; - Value.Integer 4; - Value.Integer 5; - Value.Integer 43; - Value.Integer 1; - Value.Integer 94; - Value.Integer 17; - Value.Integer 32; - Value.Integer 48; - Value.Integer 16; - Value.Integer 0; - Value.Integer 0; - Value.Integer 64; - Value.Integer 0; - Value.Integer 67; - Value.Integer 46; - Value.Integer 2; - Value.Integer 0; - Value.Integer 3; - Value.Integer 16; - Value.Integer 10; - Value.Integer 2; - Value.Integer 20; - Value.Integer 47; - Value.Integer 5; - Value.Integer 8; - Value.Integer 3; - Value.Integer 113; - Value.Integer 39; - Value.Integer 9; - Value.Integer 2; - Value.Integer 103; - Value.Integer 2; - Value.Integer 64; - Value.Integer 5; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 24; - Value.Integer 20; - Value.Integer 1; - Value.Integer 33; - Value.Integer 24; - Value.Integer 52; - Value.Integer 12; - Value.Integer 68; - Value.Integer 1; - Value.Integer 1; - Value.Integer 44; - Value.Integer 6; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 10; - Value.Integer 33; - Value.Integer 5; - Value.Integer 35; - Value.Integer 13; - Value.Integer 29; - Value.Integer 3; - Value.Integer 51; - Value.Integer 1; - Value.Integer 12; - Value.Integer 15; - Value.Integer 1; - Value.Integer 16; - Value.Integer 16; - Value.Integer 10; - Value.Integer 5; - Value.Integer 1; - Value.Integer 55; - Value.Integer 9; - Value.Integer 14; - Value.Integer 18; - Value.Integer 23; - Value.Integer 3; - Value.Integer 69; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 24; - Value.Integer 3; - Value.Integer 2; - Value.Integer 16; - Value.Integer 2; - Value.Integer 4; - Value.Integer 11; - Value.Integer 6; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 6; - Value.Integer 9; - Value.Integer 7; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 43; - Value.Integer 1; - Value.Integer 14; - Value.Integer 6; - Value.Integer 123; - Value.Integer 21; - Value.Integer 0; - Value.Integer 12; - Value.Integer 23; - Value.Integer 4; - Value.Integer 49; - Value.Integer 0; - Value.Integer 0; - Value.Integer 2; - Value.Integer 106; - Value.Integer 38; - Value.Integer 7; - Value.Integer 12; - Value.Integer 5; - Value.Integer 5; - Value.Integer 12; - Value.Integer 1; - Value.Integer 13; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 108; - Value.Integer 33; - Value.Integer 0; - Value.Integer 18; - Value.Integer 64; - Value.Integer 2; - Value.Integer 54; - Value.Integer 40; - Value.Integer 12; - Value.Integer 116; - Value.Integer 5; - Value.Integer 1; - Value.Integer 135; - Value.Integer 36; - Value.Integer 26; - Value.Integer 6; - Value.Integer 26; - Value.Integer 11; - Value.Integer 89; - Value.Integer 3; - Value.Integer 6; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 3; - Value.Integer 35; - Value.Integer 12; - Value.Integer 1; - Value.Integer 26; - Value.Integer 1; - Value.Integer 19; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 15; - Value.Integer 2; - Value.Integer 14; - Value.Integer 34; - Value.Integer 123; - Value.Integer 69; - Value.Integer 53; - Value.Integer 0; - Value.Integer 29; - Value.Integer 3; - Value.Integer 49; - Value.Integer 47; - Value.Integer 32; - Value.Integer 13; - Value.Integer 30; - Value.Integer 5; - Value.Integer 43; - Value.Integer 5; - Value.Integer 30; - Value.Integer 2; - Value.Integer 36; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 5; - Value.Integer 42; - Value.Integer 158; - Value.Integer 18; - Value.Integer 36; - Value.Integer 4; - Value.Integer 36; - Value.Integer 4; - Value.Integer 40; - Value.Integer 8; - Value.Integer 52; - Value.Integer 12; - Value.Integer 11; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 11; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 67; - Value.Integer 0; - Value.Integer 9; - Value.Integer 22; - Value.Integer 10; - Value.Integer 8; - Value.Integer 24; - Value.Integer 6; - Value.Integer 1; - Value.Integer 42; - Value.Integer 1; - Value.Integer 9; - Value.Integer 69; - Value.Integer 6; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 44; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 23; - Value.Integer 10; - Value.Integer 23; - Value.Integer 9; - Value.Integer 31; - Value.Integer 65; - Value.Integer 19; - Value.Integer 1; - Value.Integer 2; - Value.Integer 10; - Value.Integer 22; - Value.Integer 10; - Value.Integer 26; - Value.Integer 70; - Value.Integer 56; - Value.Integer 6; - Value.Integer 2; - Value.Integer 64; - Value.Integer 4; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 8; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 29; - Value.Integer 42; - Value.Integer 29; - Value.Integer 3; - Value.Integer 29; - Value.Integer 35; - Value.Integer 8; - Value.Integer 1; - Value.Integer 28; - Value.Integer 27; - Value.Integer 54; - Value.Integer 10; - Value.Integer 22; - Value.Integer 10; - Value.Integer 19; - Value.Integer 13; - Value.Integer 18; - Value.Integer 110; - Value.Integer 73; - Value.Integer 55; - Value.Integer 51; - Value.Integer 13; - Value.Integer 51; - Value.Integer 13; - Value.Integer 40; - Value.Integer 0; - Value.Integer 42; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 2; - Value.Integer 78; - Value.Integer 29; - Value.Integer 10; - Value.Integer 1; - Value.Integer 8; - Value.Integer 22; - Value.Integer 42; - Value.Integer 18; - Value.Integer 46; - Value.Integer 21; - Value.Integer 27; - Value.Integer 23; - Value.Integer 9; - Value.Integer 70; - Value.Integer 43; - Value.Integer 5; - Value.Integer 10; - Value.Integer 57; - Value.Integer 9; - Value.Integer 1; - Value.Integer 13; - Value.Integer 25; - Value.Integer 23; - Value.Integer 51; - Value.Integer 17; - Value.Integer 4; - Value.Integer 8; - Value.Integer 35; - Value.Integer 3; - Value.Integer 1; - Value.Integer 9; - Value.Integer 64; - Value.Integer 1; - Value.Integer 4; - Value.Integer 9; - Value.Integer 2; - Value.Integer 10; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 35; - Value.Integer 18; - Value.Integer 1; - Value.Integer 34; - Value.Integer 2; - Value.Integer 1; - Value.Integer 6; - Value.Integer 4; - Value.Integer 62; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 10; - Value.Integer 7; - Value.Integer 57; - Value.Integer 23; - Value.Integer 4; - Value.Integer 1; - Value.Integer 8; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 22; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 5; - Value.Integer 3; - Value.Integer 8; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 5; - Value.Integer 7; - Value.Integer 156; - Value.Integer 66; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 4; - Value.Integer 20; - Value.Integer 3; - Value.Integer 30; - Value.Integer 66; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 184; - Value.Integer 54; - Value.Integer 2; - Value.Integer 7; - Value.Integer 25; - Value.Integer 6; - Value.Integer 34; - Value.Integer 63; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 59; - Value.Integer 54; - Value.Integer 2; - Value.Integer 1; - Value.Integer 71; - Value.Integer 27; - Value.Integer 2; - Value.Integer 14; - Value.Integer 21; - Value.Integer 7; - Value.Integer 185; - Value.Integer 57; - Value.Integer 103; - Value.Integer 64; - Value.Integer 31; - Value.Integer 8; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 30; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 93; - Value.Integer 8; - Value.Integer 2; - Value.Integer 46; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 27; - Value.Integer 51; - Value.Integer 2; - Value.Integer 10; - Value.Integer 17; - Value.Integer 72; - Value.Integer 5; - Value.Integer 1; - Value.Integer 18; - Value.Integer 73; - Value.Integer 0; - Value.Integer 9; - Value.Integer 1; - Value.Integer 45; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 49; - Value.Integer 30; - Value.Integer 2; - Value.Integer 22; - Value.Integer 1; - Value.Integer 14; - Value.Integer 73; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 44; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 24; - Value.Integer 6; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 37; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 0; - Value.Integer 23; - Value.Integer 9; - Value.Integer 17; - Value.Integer 1; - Value.Integer 41; - Value.Integer 3; - Value.Integer 3; - Value.Integer 111; - Value.Integer 1; - Value.Integer 79; - Value.Integer 0; - Value.Integer 102; - Value.Integer 111; - Value.Integer 17; - Value.Integer 196; - Value.Integer 0; - Value.Integer 97; - Value.Integer 15; - Value.Integer 0; - Value.Integer 17; - Value.Integer 6; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 7; - Value.Integer 31; - Value.Integer 17; - Value.Integer 79; - Value.Integer 17; - Value.Integer 30; - Value.Integer 18; - Value.Integer 48; - Value.Integer 16; - Value.Integer 4; - Value.Integer 31; - Value.Integer 21; - Value.Integer 5; - Value.Integer 19; - Value.Integer 0; - Value.Integer 64; - Value.Integer 128; - Value.Integer 75; - Value.Integer 4; - Value.Integer 57; - Value.Integer 7; - Value.Integer 17; - Value.Integer 64; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 12; - Value.Integer 2; - Value.Integer 14; - Value.Integer 0; - Value.Integer 8; - Value.Integer 0; - Value.Integer 42; - Value.Integer 9; - Value.Integer 0; - Value.Integer 4; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 0; - Value.Integer 15; - Value.Integer 1; - Value.Integer 29; - Value.Integer 3; - Value.Integer 2; - Value.Integer 1; - Value.Integer 14; - Value.Integer 4; - Value.Integer 8; - Value.Integer 0; - Value.Integer 0; - Value.Integer 107; - Value.Integer 5; - Value.Integer 13; - Value.Integer 3; - Value.Integer 9; - Value.Integer 7; - Value.Integer 10; - Value.Integer 4; - Value.Integer 1; - Value.Integer 0; - Value.Integer 85; - Value.Integer 1; - Value.Integer 71; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 12; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 65; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 28; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 7; - Value.Integer 1; - Value.Integer 0; - Value.Integer 2; - Value.Integer 25; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 8; - Value.Integer 0; - Value.Integer 31; - Value.Integer 6; - Value.Integer 6; - Value.Integer 213; - Value.Integer 7; - Value.Integer 1; - Value.Integer 17; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 5; - Value.Integer 5; - Value.Integer 62; - Value.Integer 33; - Value.Integer 1; - Value.Integer 112; - Value.Integer 45; - Value.Integer 10; - Value.Integer 7; - Value.Integer 16; - Value.Integer 1; - Value.Integer 0; - Value.Integer 30; - Value.Integer 18; - Value.Integer 44; - Value.Integer 0; - Value.Integer 28; - Value.Integer 0; - Value.Integer 7; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 197; - Value.Integer 59; - Value.Integer 68; - Value.Integer 3; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 0; - Value.Integer 4; - Value.Integer 1; - Value.Integer 27; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 17; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 17; - Value.Integer 0; - Value.Integer 26; - Value.Integer 6; - Value.Integer 26; - Value.Integer 6; - Value.Integer 26; - Value.Integer 0; - Value.Integer 0; - Value.Integer 32; - Value.Integer 0; - Value.Integer 6; - Value.Integer 222; - Value.Integer 2; - Value.Integer 0; - Value.Integer 14; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 5; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 83; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 139; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 166; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 89; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 192; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 116; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 229; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 90; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 113; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 103; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 123; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 106; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 108; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 116; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 135; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 89; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 123; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 158; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 110; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 156; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 184; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 185; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 103; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 93; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 111; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 111; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 196; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 97; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 107; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 85; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 213; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 112; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 197; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 222; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ] |) |))). @@ -2307,7 +2346,7 @@ Module unicode. M.read (| M.get_constant (| "core::unicode::unicode_data::alphabetic::OFFSETS" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : M.IsFunction "core::unicode::unicode_data::alphabetic::lookup" lookup. @@ -2321,41 +2360,41 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 688; - Value.Integer 44045149; - Value.Integer 572528402; - Value.Integer 576724925; - Value.Integer 807414908; - Value.Integer 878718981; - Value.Integer 903913493; - Value.Integer 929080568; - Value.Integer 933275148; - Value.Integer 937491230; - Value.Integer 1138818560; - Value.Integer 1147208189; - Value.Integer 1210124160; - Value.Integer 1222707713; - Value.Integer 1235291428; - Value.Integer 1260457643; - Value.Integer 1264654383; - Value.Integer 1499535675; - Value.Integer 1507925040; - Value.Integer 1566646003; - Value.Integer 1629566000; - Value.Integer 1650551536; - Value.Integer 1658941263; - Value.Integer 1671540720; - Value.Integer 1688321181; - Value.Integer 1700908800; - Value.Integer 1709298023; - Value.Integer 1717688832; - Value.Integer 1738661888; - Value.Integer 1763828398; - Value.Integer 1797383403; - Value.Integer 1805773008; - Value.Integer 1809970171; - Value.Integer 1819148289; - Value.Integer 1824457200 + Value.Integer IntegerKind.U32 688; + Value.Integer IntegerKind.U32 44045149; + Value.Integer IntegerKind.U32 572528402; + Value.Integer IntegerKind.U32 576724925; + Value.Integer IntegerKind.U32 807414908; + Value.Integer IntegerKind.U32 878718981; + Value.Integer IntegerKind.U32 903913493; + Value.Integer IntegerKind.U32 929080568; + Value.Integer IntegerKind.U32 933275148; + Value.Integer IntegerKind.U32 937491230; + Value.Integer IntegerKind.U32 1138818560; + Value.Integer IntegerKind.U32 1147208189; + Value.Integer IntegerKind.U32 1210124160; + Value.Integer IntegerKind.U32 1222707713; + Value.Integer IntegerKind.U32 1235291428; + Value.Integer IntegerKind.U32 1260457643; + Value.Integer IntegerKind.U32 1264654383; + Value.Integer IntegerKind.U32 1499535675; + Value.Integer IntegerKind.U32 1507925040; + Value.Integer IntegerKind.U32 1566646003; + Value.Integer IntegerKind.U32 1629566000; + Value.Integer IntegerKind.U32 1650551536; + Value.Integer IntegerKind.U32 1658941263; + Value.Integer IntegerKind.U32 1671540720; + Value.Integer IntegerKind.U32 1688321181; + Value.Integer IntegerKind.U32 1700908800; + Value.Integer IntegerKind.U32 1709298023; + Value.Integer IntegerKind.U32 1717688832; + Value.Integer IntegerKind.U32 1738661888; + Value.Integer IntegerKind.U32 1763828398; + Value.Integer IntegerKind.U32 1797383403; + Value.Integer IntegerKind.U32 1805773008; + Value.Integer IntegerKind.U32 1809970171; + Value.Integer IntegerKind.U32 1819148289; + Value.Integer IntegerKind.U32 1824457200 ] |) |))). @@ -2367,881 +2406,881 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 39; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 11; - Value.Integer 1; - Value.Integer 35; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 71; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 0; - Value.Integer 192; - Value.Integer 4; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 9; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 251; - Value.Integer 7; - Value.Integer 207; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 49; - Value.Integer 45; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 44; - Value.Integer 1; - Value.Integer 11; - Value.Integer 6; - Value.Integer 10; - Value.Integer 11; - Value.Integer 1; - Value.Integer 1; - Value.Integer 35; - Value.Integer 1; - Value.Integer 10; - Value.Integer 21; - Value.Integer 16; - Value.Integer 1; - Value.Integer 101; - Value.Integer 8; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 4; - Value.Integer 33; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 30; - Value.Integer 27; - Value.Integer 91; - Value.Integer 11; - Value.Integer 58; - Value.Integer 11; - Value.Integer 4; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 24; - Value.Integer 24; - Value.Integer 43; - Value.Integer 3; - Value.Integer 44; - Value.Integer 1; - Value.Integer 7; - Value.Integer 2; - Value.Integer 6; - Value.Integer 8; - Value.Integer 41; - Value.Integer 58; - Value.Integer 55; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 8; - Value.Integer 4; - Value.Integer 1; - Value.Integer 3; - Value.Integer 7; - Value.Integer 10; - Value.Integer 2; - Value.Integer 13; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 58; - Value.Integer 1; - Value.Integer 4; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 20; - Value.Integer 2; - Value.Integer 26; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 57; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 3; - Value.Integer 3; - Value.Integer 1; - Value.Integer 30; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 11; - Value.Integer 2; - Value.Integer 57; - Value.Integer 1; - Value.Integer 4; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 20; - Value.Integer 2; - Value.Integer 22; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 58; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 7; - Value.Integer 2; - Value.Integer 11; - Value.Integer 2; - Value.Integer 30; - Value.Integer 1; - Value.Integer 61; - Value.Integer 1; - Value.Integer 12; - Value.Integer 1; - Value.Integer 50; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 55; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 4; - Value.Integer 7; - Value.Integer 2; - Value.Integer 11; - Value.Integer 2; - Value.Integer 29; - Value.Integer 1; - Value.Integer 58; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 5; - Value.Integer 2; - Value.Integer 20; - Value.Integer 2; - Value.Integer 28; - Value.Integer 2; - Value.Integer 57; - Value.Integer 2; - Value.Integer 4; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 20; - Value.Integer 2; - Value.Integer 29; - Value.Integer 1; - Value.Integer 72; - Value.Integer 1; - Value.Integer 7; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 90; - Value.Integer 1; - Value.Integer 2; - Value.Integer 7; - Value.Integer 11; - Value.Integer 9; - Value.Integer 98; - Value.Integer 1; - Value.Integer 2; - Value.Integer 9; - Value.Integer 9; - Value.Integer 1; - Value.Integer 1; - Value.Integer 7; - Value.Integer 73; - Value.Integer 2; - Value.Integer 27; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 55; - Value.Integer 14; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 11; - Value.Integer 1; - Value.Integer 36; - Value.Integer 9; - Value.Integer 1; - Value.Integer 102; - Value.Integer 4; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 25; - Value.Integer 2; - Value.Integer 4; - Value.Integer 3; - Value.Integer 16; - Value.Integer 4; - Value.Integer 13; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 94; - Value.Integer 1; - Value.Integer 0; - Value.Integer 3; - Value.Integer 0; - Value.Integer 3; - Value.Integer 29; - Value.Integer 2; - Value.Integer 30; - Value.Integer 2; - Value.Integer 30; - Value.Integer 2; - Value.Integer 64; - Value.Integer 2; - Value.Integer 1; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 11; - Value.Integer 3; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 45; - Value.Integer 5; - Value.Integer 51; - Value.Integer 1; - Value.Integer 65; - Value.Integer 2; - Value.Integer 34; - Value.Integer 1; - Value.Integer 118; - Value.Integer 3; - Value.Integer 4; - Value.Integer 2; - Value.Integer 9; - Value.Integer 1; - Value.Integer 6; - Value.Integer 3; - Value.Integer 219; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 58; - Value.Integer 1; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 8; - Value.Integer 6; - Value.Integer 10; - Value.Integer 2; - Value.Integer 1; - Value.Integer 39; - Value.Integer 1; - Value.Integer 8; - Value.Integer 31; - Value.Integer 49; - Value.Integer 4; - Value.Integer 48; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 40; - Value.Integer 9; - Value.Integer 12; - Value.Integer 2; - Value.Integer 32; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 3; - Value.Integer 56; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 58; - Value.Integer 8; - Value.Integer 2; - Value.Integer 2; - Value.Integer 64; - Value.Integer 6; - Value.Integer 82; - Value.Integer 3; - Value.Integer 1; - Value.Integer 13; - Value.Integer 1; - Value.Integer 7; - Value.Integer 4; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 3; - Value.Integer 2; - Value.Integer 50; - Value.Integer 63; - Value.Integer 13; - Value.Integer 1; - Value.Integer 34; - Value.Integer 101; - Value.Integer 0; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 11; - Value.Integer 3; - Value.Integer 13; - Value.Integer 3; - Value.Integer 13; - Value.Integer 3; - Value.Integer 13; - Value.Integer 2; - Value.Integer 12; - Value.Integer 5; - Value.Integer 8; - Value.Integer 2; - Value.Integer 10; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 49; - Value.Integer 5; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 1; - Value.Integer 13; - Value.Integer 1; - Value.Integer 16; - Value.Integer 13; - Value.Integer 51; - Value.Integer 33; - Value.Integer 0; - Value.Integer 2; - Value.Integer 113; - Value.Integer 3; - Value.Integer 125; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 96; - Value.Integer 32; - Value.Integer 47; - Value.Integer 1; - Value.Integer 0; - Value.Integer 1; - Value.Integer 36; - Value.Integer 4; - Value.Integer 3; - Value.Integer 5; - Value.Integer 5; - Value.Integer 1; - Value.Integer 93; - Value.Integer 6; - Value.Integer 93; - Value.Integer 3; - Value.Integer 0; - Value.Integer 1; - Value.Integer 0; - Value.Integer 6; - Value.Integer 0; - Value.Integer 1; - Value.Integer 98; - Value.Integer 4; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 1; - Value.Integer 28; - Value.Integer 4; - Value.Integer 80; - Value.Integer 2; - Value.Integer 14; - Value.Integer 34; - Value.Integer 78; - Value.Integer 1; - Value.Integer 23; - Value.Integer 3; - Value.Integer 103; - Value.Integer 3; - Value.Integer 3; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 25; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 151; - Value.Integer 2; - Value.Integer 26; - Value.Integer 18; - Value.Integer 13; - Value.Integer 1; - Value.Integer 38; - Value.Integer 8; - Value.Integer 25; - Value.Integer 11; - Value.Integer 46; - Value.Integer 3; - Value.Integer 48; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 17; - Value.Integer 1; - Value.Integer 21; - Value.Integer 2; - Value.Integer 66; - Value.Integer 6; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 12; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 35; - Value.Integer 1; - Value.Integer 11; - Value.Integer 1; - Value.Integer 51; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 2; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 27; - Value.Integer 1; - Value.Integer 14; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 100; - Value.Integer 5; - Value.Integer 9; - Value.Integer 3; - Value.Integer 121; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 0; - Value.Integer 1; - Value.Integer 147; - Value.Integer 17; - Value.Integer 0; - Value.Integer 16; - Value.Integer 3; - Value.Integer 1; - Value.Integer 12; - Value.Integer 16; - Value.Integer 34; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 169; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 11; - Value.Integer 1; - Value.Integer 35; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 47; - Value.Integer 1; - Value.Integer 45; - Value.Integer 2; - Value.Integer 67; - Value.Integer 1; - Value.Integer 21; - Value.Integer 3; - Value.Integer 0; - Value.Integer 1; - Value.Integer 226; - Value.Integer 1; - Value.Integer 149; - Value.Integer 5; - Value.Integer 0; - Value.Integer 6; - Value.Integer 1; - Value.Integer 42; - Value.Integer 1; - Value.Integer 9; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 4; - Value.Integer 40; - Value.Integer 3; - Value.Integer 4; - Value.Integer 1; - Value.Integer 165; - Value.Integer 2; - Value.Integer 0; - Value.Integer 4; - Value.Integer 0; - Value.Integer 2; - Value.Integer 80; - Value.Integer 3; - Value.Integer 70; - Value.Integer 11; - Value.Integer 49; - Value.Integer 4; - Value.Integer 123; - Value.Integer 1; - Value.Integer 54; - Value.Integer 15; - Value.Integer 41; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 10; - Value.Integer 3; - Value.Integer 49; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 50; - Value.Integer 3; - Value.Integer 36; - Value.Integer 5; - Value.Integer 1; - Value.Integer 8; - Value.Integer 62; - Value.Integer 1; - Value.Integer 12; - Value.Integer 2; - Value.Integer 52; - Value.Integer 9; - Value.Integer 10; - Value.Integer 4; - Value.Integer 2; - Value.Integer 1; - Value.Integer 95; - Value.Integer 3; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 157; - Value.Integer 1; - Value.Integer 3; - Value.Integer 8; - Value.Integer 21; - Value.Integer 2; - Value.Integer 57; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 37; - Value.Integer 7; - Value.Integer 3; - Value.Integer 5; - Value.Integer 195; - Value.Integer 8; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 23; - Value.Integer 1; - Value.Integer 84; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 238; - Value.Integer 4; - Value.Integer 6; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 27; - Value.Integer 2; - Value.Integer 85; - Value.Integer 8; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 106; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 101; - Value.Integer 3; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 5; - Value.Integer 0; - Value.Integer 9; - Value.Integer 1; - Value.Integer 2; - Value.Integer 0; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 144; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 32; - Value.Integer 10; - Value.Integer 40; - Value.Integer 6; - Value.Integer 2; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 9; - Value.Integer 6; - Value.Integer 2; - Value.Integer 3; - Value.Integer 46; - Value.Integer 13; - Value.Integer 1; - Value.Integer 2; - Value.Integer 0; - Value.Integer 7; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 82; - Value.Integer 22; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 122; - Value.Integer 6; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 72; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 0; - Value.Integer 2; - Value.Integer 11; - Value.Integer 2; - Value.Integer 52; - Value.Integer 5; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 0; - Value.Integer 17; - Value.Integer 6; - Value.Integer 15; - Value.Integer 0; - Value.Integer 5; - Value.Integer 59; - Value.Integer 7; - Value.Integer 9; - Value.Integer 4; - Value.Integer 0; - Value.Integer 1; - Value.Integer 63; - Value.Integer 17; - Value.Integer 64; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 0; - Value.Integer 4; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 0; - Value.Integer 2; - Value.Integer 1; - Value.Integer 4; - Value.Integer 0; - Value.Integer 46; - Value.Integer 2; - Value.Integer 23; - Value.Integer 0; - Value.Integer 3; - Value.Integer 9; - Value.Integer 16; - Value.Integer 2; - Value.Integer 7; - Value.Integer 30; - Value.Integer 4; - Value.Integer 148; - Value.Integer 3; - Value.Integer 0; - Value.Integer 55; - Value.Integer 4; - Value.Integer 50; - Value.Integer 8; - Value.Integer 1; - Value.Integer 14; - Value.Integer 1; - Value.Integer 22; - Value.Integer 5; - Value.Integer 1; - Value.Integer 15; - Value.Integer 0; - Value.Integer 7; - Value.Integer 1; - Value.Integer 17; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 5; - Value.Integer 5; - Value.Integer 62; - Value.Integer 33; - Value.Integer 1; - Value.Integer 160; - Value.Integer 14; - Value.Integer 0; - Value.Integer 1; - Value.Integer 61; - Value.Integer 4; - Value.Integer 0; - Value.Integer 5; - Value.Integer 0; - Value.Integer 7; - Value.Integer 109; - Value.Integer 8; - Value.Integer 0; - Value.Integer 5; - Value.Integer 0; - Value.Integer 1; - Value.Integer 30; - Value.Integer 96; - Value.Integer 128; - Value.Integer 240; - Value.Integer 0 + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 192; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 251; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 207; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 91; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 90; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 98; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 94; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 118; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 219; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 82; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 113; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 125; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 93; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 93; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 98; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 103; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 151; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 121; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 147; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 169; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 226; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 149; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 165; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 123; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 157; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 195; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 84; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 238; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 85; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 106; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 144; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 82; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 122; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 148; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 160; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 109; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 240; + Value.Integer IntegerKind.U8 0 ] |) |))). @@ -3274,7 +3313,7 @@ Module unicode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : @@ -3289,28 +3328,28 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 4256; - Value.Integer 115348384; - Value.Integer 136322176; - Value.Integer 144711446; - Value.Integer 163587254; - Value.Integer 320875520; - Value.Integer 325101120; - Value.Integer 350268208; - Value.Integer 392231680; - Value.Integer 404815649; - Value.Integer 413205504; - Value.Integer 421595008; - Value.Integer 467733632; - Value.Integer 484513952; - Value.Integer 492924480; - Value.Integer 497144832; - Value.Integer 501339814; - Value.Integer 578936576; - Value.Integer 627171376; - Value.Integer 639756544; - Value.Integer 643952944; - Value.Integer 649261450 + Value.Integer IntegerKind.U32 4256; + Value.Integer IntegerKind.U32 115348384; + Value.Integer IntegerKind.U32 136322176; + Value.Integer IntegerKind.U32 144711446; + Value.Integer IntegerKind.U32 163587254; + Value.Integer IntegerKind.U32 320875520; + Value.Integer IntegerKind.U32 325101120; + Value.Integer IntegerKind.U32 350268208; + Value.Integer IntegerKind.U32 392231680; + Value.Integer IntegerKind.U32 404815649; + Value.Integer IntegerKind.U32 413205504; + Value.Integer IntegerKind.U32 421595008; + Value.Integer IntegerKind.U32 467733632; + Value.Integer IntegerKind.U32 484513952; + Value.Integer IntegerKind.U32 492924480; + Value.Integer IntegerKind.U32 497144832; + Value.Integer IntegerKind.U32 501339814; + Value.Integer IntegerKind.U32 578936576; + Value.Integer IntegerKind.U32 627171376; + Value.Integer IntegerKind.U32 639756544; + Value.Integer IntegerKind.U32 643952944; + Value.Integer IntegerKind.U32 649261450 ] |) |))). @@ -3322,321 +3361,321 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 65; - Value.Integer 26; - Value.Integer 6; - Value.Integer 26; - Value.Integer 47; - Value.Integer 1; - Value.Integer 10; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 5; - Value.Integer 23; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 195; - Value.Integer 1; - Value.Integer 4; - Value.Integer 4; - Value.Integer 208; - Value.Integer 1; - Value.Integer 36; - Value.Integer 7; - Value.Integer 2; - Value.Integer 30; - Value.Integer 5; - Value.Integer 96; - Value.Integer 1; - Value.Integer 42; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 20; - Value.Integer 1; - Value.Integer 83; - Value.Integer 1; - Value.Integer 139; - Value.Integer 8; - Value.Integer 166; - Value.Integer 1; - Value.Integer 38; - Value.Integer 9; - Value.Integer 41; - Value.Integer 0; - Value.Integer 38; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 43; - Value.Integer 1; - Value.Integer 4; - Value.Integer 0; - Value.Integer 86; - Value.Integer 2; - Value.Integer 6; - Value.Integer 0; - Value.Integer 9; - Value.Integer 7; - Value.Integer 43; - Value.Integer 2; - Value.Integer 3; - Value.Integer 64; - Value.Integer 192; - Value.Integer 64; - Value.Integer 0; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 38; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 31; - Value.Integer 2; - Value.Integer 53; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 3; - Value.Integer 1; - Value.Integer 7; - Value.Integer 3; - Value.Integer 4; - Value.Integer 2; - Value.Integer 6; - Value.Integer 4; - Value.Integer 13; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 7; - Value.Integer 116; - Value.Integer 1; - Value.Integer 13; - Value.Integer 1; - Value.Integer 16; - Value.Integer 13; - Value.Integer 101; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 2; - Value.Integer 10; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 5; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 6; - Value.Integer 4; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 5; - Value.Integer 5; - Value.Integer 4; - Value.Integer 1; - Value.Integer 17; - Value.Integer 32; - Value.Integer 3; - Value.Integer 2; - Value.Integer 0; - Value.Integer 52; - Value.Integer 0; - Value.Integer 229; - Value.Integer 6; - Value.Integer 4; - Value.Integer 3; - Value.Integer 2; - Value.Integer 12; - Value.Integer 38; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 0; - Value.Integer 46; - Value.Integer 18; - Value.Integer 30; - Value.Integer 132; - Value.Integer 102; - Value.Integer 3; - Value.Integer 4; - Value.Integer 1; - Value.Integer 59; - Value.Integer 5; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 24; - Value.Integer 5; - Value.Integer 1; - Value.Integer 3; - Value.Integer 0; - Value.Integer 43; - Value.Integer 1; - Value.Integer 14; - Value.Integer 6; - Value.Integer 80; - Value.Integer 0; - Value.Integer 7; - Value.Integer 12; - Value.Integer 5; - Value.Integer 0; - Value.Integer 26; - Value.Integer 6; - Value.Integer 26; - Value.Integer 0; - Value.Integer 80; - Value.Integer 96; - Value.Integer 36; - Value.Integer 4; - Value.Integer 36; - Value.Integer 116; - Value.Integer 11; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 11; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 0; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 42; - Value.Integer 1; - Value.Integer 9; - Value.Integer 0; - Value.Integer 51; - Value.Integer 13; - Value.Integer 51; - Value.Integer 0; - Value.Integer 64; - Value.Integer 0; - Value.Integer 64; - Value.Integer 0; - Value.Integer 85; - Value.Integer 1; - Value.Integer 71; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 12; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 65; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 28; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 7; - Value.Integer 1; - Value.Integer 0; - Value.Integer 2; - Value.Integer 25; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 31; - Value.Integer 1; - Value.Integer 25; - Value.Integer 1; - Value.Integer 8; - Value.Integer 0; - Value.Integer 10; - Value.Integer 1; - Value.Integer 20; - Value.Integer 6; - Value.Integer 6; - Value.Integer 0; - Value.Integer 62; - Value.Integer 0; - Value.Integer 68; - Value.Integer 0; - Value.Integer 26; - Value.Integer 6; - Value.Integer 26; - Value.Integer 6; - Value.Integer 26; - Value.Integer 0 + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 195; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 208; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 83; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 139; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 166; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 192; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 116; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 229; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 116; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 85; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 0 ] |) |))). @@ -3665,7 +3704,7 @@ Module unicode. M.read (| M.get_constant (| "core::unicode::unicode_data::cased::OFFSETS" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : M.IsFunction "core::unicode::unicode_data::cased::lookup" lookup. @@ -3673,7 +3712,9 @@ Module unicode. Module cc. Definition value_SHORT_OFFSET_RUNS : Value.t := - M.run ltac:(M.monadic (M.alloc (| M.alloc (| Value.Array [ Value.Integer 1114272 ] |) |))). + M.run + ltac:(M.monadic + (M.alloc (| M.alloc (| Value.Array [ Value.Integer IntegerKind.U32 1114272 ] |) |))). Definition value_OFFSETS : Value.t := M.run @@ -3682,11 +3723,11 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 32; - Value.Integer 95; - Value.Integer 33; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 0 ] |) |))). @@ -3715,7 +3756,7 @@ Module unicode. M.read (| M.get_constant (| "core::unicode::unicode_data::cc::OFFSETS" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : M.IsFunction "core::unicode::unicode_data::cc::lookup" lookup. @@ -3729,39 +3770,39 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 768; - Value.Integer 2098307; - Value.Integer 6292881; - Value.Integer 10490717; - Value.Integer 522196754; - Value.Integer 526393356; - Value.Integer 731917551; - Value.Integer 740306986; - Value.Integer 752920175; - Value.Integer 761309186; - Value.Integer 778107678; - Value.Integer 908131840; - Value.Integer 912326558; - Value.Integer 920715773; - Value.Integer 924912129; - Value.Integer 937495844; - Value.Integer 962662059; - Value.Integer 966858799; - Value.Integer 1214323760; - Value.Integer 1285627635; - Value.Integer 1348547648; - Value.Integer 1369533168; - Value.Integer 1377922895; - Value.Integer 1386331293; - Value.Integer 1398918912; - Value.Integer 1403113829; - Value.Integer 1411504640; - Value.Integer 1440866304; - Value.Integer 1466032814; - Value.Integer 1495393516; - Value.Integer 1503783120; - Value.Integer 1508769824; - Value.Integer 1518273008 + Value.Integer IntegerKind.U32 768; + Value.Integer IntegerKind.U32 2098307; + Value.Integer IntegerKind.U32 6292881; + Value.Integer IntegerKind.U32 10490717; + Value.Integer IntegerKind.U32 522196754; + Value.Integer IntegerKind.U32 526393356; + Value.Integer IntegerKind.U32 731917551; + Value.Integer IntegerKind.U32 740306986; + Value.Integer IntegerKind.U32 752920175; + Value.Integer IntegerKind.U32 761309186; + Value.Integer IntegerKind.U32 778107678; + Value.Integer IntegerKind.U32 908131840; + Value.Integer IntegerKind.U32 912326558; + Value.Integer IntegerKind.U32 920715773; + Value.Integer IntegerKind.U32 924912129; + Value.Integer IntegerKind.U32 937495844; + Value.Integer IntegerKind.U32 962662059; + Value.Integer IntegerKind.U32 966858799; + Value.Integer IntegerKind.U32 1214323760; + Value.Integer IntegerKind.U32 1285627635; + Value.Integer IntegerKind.U32 1348547648; + Value.Integer IntegerKind.U32 1369533168; + Value.Integer IntegerKind.U32 1377922895; + Value.Integer IntegerKind.U32 1386331293; + Value.Integer IntegerKind.U32 1398918912; + Value.Integer IntegerKind.U32 1403113829; + Value.Integer IntegerKind.U32 1411504640; + Value.Integer IntegerKind.U32 1440866304; + Value.Integer IntegerKind.U32 1466032814; + Value.Integer IntegerKind.U32 1495393516; + Value.Integer IntegerKind.U32 1503783120; + Value.Integer IntegerKind.U32 1508769824; + Value.Integer IntegerKind.U32 1518273008 ] |) |))). @@ -3773,733 +3814,733 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 112; - Value.Integer 0; - Value.Integer 7; - Value.Integer 0; - Value.Integer 45; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 72; - Value.Integer 11; - Value.Integer 48; - Value.Integer 21; - Value.Integer 16; - Value.Integer 1; - Value.Integer 101; - Value.Integer 7; - Value.Integer 2; - Value.Integer 6; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 4; - Value.Integer 35; - Value.Integer 1; - Value.Integer 30; - Value.Integer 27; - Value.Integer 91; - Value.Integer 11; - Value.Integer 58; - Value.Integer 9; - Value.Integer 9; - Value.Integer 1; - Value.Integer 24; - Value.Integer 4; - Value.Integer 1; - Value.Integer 9; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 5; - Value.Integer 43; - Value.Integer 3; - Value.Integer 60; - Value.Integer 8; - Value.Integer 42; - Value.Integer 24; - Value.Integer 1; - Value.Integer 32; - Value.Integer 55; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 8; - Value.Integer 4; - Value.Integer 1; - Value.Integer 3; - Value.Integer 7; - Value.Integer 10; - Value.Integer 2; - Value.Integer 29; - Value.Integer 1; - Value.Integer 58; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 9; - Value.Integer 1; - Value.Integer 10; - Value.Integer 2; - Value.Integer 26; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 57; - Value.Integer 1; - Value.Integer 4; - Value.Integer 2; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 3; - Value.Integer 3; - Value.Integer 1; - Value.Integer 30; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 11; - Value.Integer 2; - Value.Integer 57; - Value.Integer 1; - Value.Integer 4; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 20; - Value.Integer 2; - Value.Integer 22; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 58; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 7; - Value.Integer 3; - Value.Integer 10; - Value.Integer 2; - Value.Integer 30; - Value.Integer 1; - Value.Integer 59; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 12; - Value.Integer 1; - Value.Integer 9; - Value.Integer 1; - Value.Integer 40; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 55; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 5; - Value.Integer 3; - Value.Integer 1; - Value.Integer 4; - Value.Integer 7; - Value.Integer 2; - Value.Integer 11; - Value.Integer 2; - Value.Integer 29; - Value.Integer 1; - Value.Integer 58; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 5; - Value.Integer 2; - Value.Integer 7; - Value.Integer 2; - Value.Integer 11; - Value.Integer 2; - Value.Integer 28; - Value.Integer 2; - Value.Integer 57; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 9; - Value.Integer 1; - Value.Integer 10; - Value.Integer 2; - Value.Integer 29; - Value.Integer 1; - Value.Integer 72; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 81; - Value.Integer 1; - Value.Integer 2; - Value.Integer 7; - Value.Integer 12; - Value.Integer 8; - Value.Integer 98; - Value.Integer 1; - Value.Integer 2; - Value.Integer 9; - Value.Integer 11; - Value.Integer 7; - Value.Integer 73; - Value.Integer 2; - Value.Integer 27; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 55; - Value.Integer 14; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 11; - Value.Integer 1; - Value.Integer 36; - Value.Integer 9; - Value.Integer 1; - Value.Integer 102; - Value.Integer 4; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 25; - Value.Integer 2; - Value.Integer 4; - Value.Integer 3; - Value.Integer 16; - Value.Integer 4; - Value.Integer 13; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 15; - Value.Integer 1; - Value.Integer 0; - Value.Integer 3; - Value.Integer 0; - Value.Integer 3; - Value.Integer 29; - Value.Integer 2; - Value.Integer 30; - Value.Integer 2; - Value.Integer 30; - Value.Integer 2; - Value.Integer 64; - Value.Integer 2; - Value.Integer 1; - Value.Integer 7; - Value.Integer 8; - Value.Integer 1; - Value.Integer 2; - Value.Integer 11; - Value.Integer 9; - Value.Integer 1; - Value.Integer 45; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 117; - Value.Integer 2; - Value.Integer 34; - Value.Integer 1; - Value.Integer 118; - Value.Integer 3; - Value.Integer 4; - Value.Integer 2; - Value.Integer 9; - Value.Integer 1; - Value.Integer 6; - Value.Integer 3; - Value.Integer 219; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 58; - Value.Integer 1; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 8; - Value.Integer 6; - Value.Integer 10; - Value.Integer 2; - Value.Integer 1; - Value.Integer 48; - Value.Integer 31; - Value.Integer 49; - Value.Integer 4; - Value.Integer 48; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 5; - Value.Integer 1; - Value.Integer 40; - Value.Integer 9; - Value.Integer 12; - Value.Integer 2; - Value.Integer 32; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 1; - Value.Integer 3; - Value.Integer 56; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 58; - Value.Integer 8; - Value.Integer 2; - Value.Integer 2; - Value.Integer 152; - Value.Integer 3; - Value.Integer 1; - Value.Integer 13; - Value.Integer 1; - Value.Integer 7; - Value.Integer 4; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 3; - Value.Integer 2; - Value.Integer 198; - Value.Integer 64; - Value.Integer 0; - Value.Integer 1; - Value.Integer 195; - Value.Integer 33; - Value.Integer 0; - Value.Integer 3; - Value.Integer 141; - Value.Integer 1; - Value.Integer 96; - Value.Integer 32; - Value.Integer 0; - Value.Integer 6; - Value.Integer 105; - Value.Integer 2; - Value.Integer 0; - Value.Integer 4; - Value.Integer 1; - Value.Integer 10; - Value.Integer 32; - Value.Integer 2; - Value.Integer 80; - Value.Integer 2; - Value.Integer 0; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 25; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 151; - Value.Integer 2; - Value.Integer 26; - Value.Integer 18; - Value.Integer 13; - Value.Integer 1; - Value.Integer 38; - Value.Integer 8; - Value.Integer 25; - Value.Integer 11; - Value.Integer 46; - Value.Integer 3; - Value.Integer 48; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 39; - Value.Integer 1; - Value.Integer 67; - Value.Integer 6; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 12; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 47; - Value.Integer 1; - Value.Integer 51; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 2; - Value.Integer 2; - Value.Integer 5; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 42; - Value.Integer 2; - Value.Integer 8; - Value.Integer 1; - Value.Integer 238; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 0; - Value.Integer 1; - Value.Integer 0; - Value.Integer 16; - Value.Integer 16; - Value.Integer 16; - Value.Integer 0; - Value.Integer 2; - Value.Integer 0; - Value.Integer 1; - Value.Integer 226; - Value.Integer 1; - Value.Integer 149; - Value.Integer 5; - Value.Integer 0; - Value.Integer 3; - Value.Integer 1; - Value.Integer 2; - Value.Integer 5; - Value.Integer 4; - Value.Integer 40; - Value.Integer 3; - Value.Integer 4; - Value.Integer 1; - Value.Integer 165; - Value.Integer 2; - Value.Integer 0; - Value.Integer 4; - Value.Integer 0; - Value.Integer 2; - Value.Integer 80; - Value.Integer 3; - Value.Integer 70; - Value.Integer 11; - Value.Integer 49; - Value.Integer 4; - Value.Integer 123; - Value.Integer 1; - Value.Integer 54; - Value.Integer 15; - Value.Integer 41; - Value.Integer 1; - Value.Integer 2; - Value.Integer 2; - Value.Integer 10; - Value.Integer 3; - Value.Integer 49; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 61; - Value.Integer 3; - Value.Integer 36; - Value.Integer 5; - Value.Integer 1; - Value.Integer 8; - Value.Integer 62; - Value.Integer 1; - Value.Integer 12; - Value.Integer 2; - Value.Integer 52; - Value.Integer 9; - Value.Integer 10; - Value.Integer 4; - Value.Integer 2; - Value.Integer 1; - Value.Integer 95; - Value.Integer 3; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 157; - Value.Integer 1; - Value.Integer 3; - Value.Integer 8; - Value.Integer 21; - Value.Integer 2; - Value.Integer 57; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 22; - Value.Integer 1; - Value.Integer 14; - Value.Integer 7; - Value.Integer 3; - Value.Integer 5; - Value.Integer 195; - Value.Integer 8; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 23; - Value.Integer 1; - Value.Integer 81; - Value.Integer 1; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 235; - Value.Integer 1; - Value.Integer 2; - Value.Integer 4; - Value.Integer 6; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 27; - Value.Integer 2; - Value.Integer 85; - Value.Integer 8; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 106; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 101; - Value.Integer 3; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 5; - Value.Integer 0; - Value.Integer 9; - Value.Integer 1; - Value.Integer 2; - Value.Integer 245; - Value.Integer 1; - Value.Integer 10; - Value.Integer 2; - Value.Integer 1; - Value.Integer 1; - Value.Integer 4; - Value.Integer 1; - Value.Integer 144; - Value.Integer 4; - Value.Integer 2; - Value.Integer 2; - Value.Integer 4; - Value.Integer 1; - Value.Integer 32; - Value.Integer 10; - Value.Integer 40; - Value.Integer 6; - Value.Integer 2; - Value.Integer 4; - Value.Integer 8; - Value.Integer 1; - Value.Integer 9; - Value.Integer 6; - Value.Integer 2; - Value.Integer 3; - Value.Integer 46; - Value.Integer 13; - Value.Integer 1; - Value.Integer 2; - Value.Integer 0; - Value.Integer 7; - Value.Integer 1; - Value.Integer 6; - Value.Integer 1; - Value.Integer 1; - Value.Integer 82; - Value.Integer 22; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 2; - Value.Integer 122; - Value.Integer 6; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 7; - Value.Integer 1; - Value.Integer 1; - Value.Integer 72; - Value.Integer 2; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 0; - Value.Integer 2; - Value.Integer 11; - Value.Integer 2; - Value.Integer 52; - Value.Integer 5; - Value.Integer 5; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 0; - Value.Integer 1; - Value.Integer 6; - Value.Integer 15; - Value.Integer 0; - Value.Integer 5; - Value.Integer 59; - Value.Integer 7; - Value.Integer 0; - Value.Integer 1; - Value.Integer 63; - Value.Integer 4; - Value.Integer 81; - Value.Integer 1; - Value.Integer 0; - Value.Integer 2; - Value.Integer 0; - Value.Integer 46; - Value.Integer 2; - Value.Integer 23; - Value.Integer 0; - Value.Integer 1; - Value.Integer 1; - Value.Integer 3; - Value.Integer 4; - Value.Integer 5; - Value.Integer 8; - Value.Integer 8; - Value.Integer 2; - Value.Integer 7; - Value.Integer 30; - Value.Integer 4; - Value.Integer 148; - Value.Integer 3; - Value.Integer 0; - Value.Integer 55; - Value.Integer 4; - Value.Integer 50; - Value.Integer 8; - Value.Integer 1; - Value.Integer 14; - Value.Integer 1; - Value.Integer 22; - Value.Integer 5; - Value.Integer 1; - Value.Integer 15; - Value.Integer 0; - Value.Integer 7; - Value.Integer 1; - Value.Integer 17; - Value.Integer 2; - Value.Integer 7; - Value.Integer 1; - Value.Integer 2; - Value.Integer 1; - Value.Integer 5; - Value.Integer 100; - Value.Integer 1; - Value.Integer 160; - Value.Integer 7; - Value.Integer 0; - Value.Integer 1; - Value.Integer 61; - Value.Integer 4; - Value.Integer 0; - Value.Integer 4; - Value.Integer 0; - Value.Integer 7; - Value.Integer 109; - Value.Integer 7; - Value.Integer 0; - Value.Integer 96; - Value.Integer 128; - Value.Integer 240; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 112; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 91; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 81; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 98; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 117; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 118; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 219; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 152; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 195; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 141; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 105; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 151; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 238; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 226; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 149; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 165; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 123; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 95; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 157; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 195; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 81; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 235; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 85; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 106; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 101; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 245; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 144; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 82; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 122; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 81; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 148; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 160; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 109; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 240; + Value.Integer IntegerKind.U8 0 ] |) |))). @@ -4532,7 +4573,7 @@ Module unicode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : @@ -4547,129 +4588,129 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 14; - Value.Integer 17; - Value.Integer 0; - Value.Integer 0; - Value.Integer 9; - Value.Integer 0; - Value.Integer 0; - Value.Integer 12; - Value.Integer 13; - Value.Integer 10; - Value.Integer 0; - Value.Integer 16; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 6; - Value.Integer 2; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 4; - Value.Integer 1; - Value.Integer 0; - Value.Integer 15; - Value.Integer 0; - Value.Integer 8; - Value.Integer 0; - Value.Integer 0; - Value.Integer 11; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 5; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 19; - Value.Integer 0; - Value.Integer 3; - Value.Integer 18; - Value.Integer 0; - Value.Integer 7 + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 7 ] |) |))). @@ -4683,383 +4724,383 @@ Module unicode. [ Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 59; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 16; - Value.Integer 14; - Value.Integer 55; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 40; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 44; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 9; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 65; - Value.Integer 43; - Value.Integer 0; - Value.Integer 51; - Value.Integer 47; - Value.Integer 49; - Value.Integer 33 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 33 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 10; - Value.Integer 56; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 3; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 19; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 27 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 27 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 60; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 69; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 69; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 57; - Value.Integer 0; - Value.Integer 55; - Value.Integer 55; - Value.Integer 55; - Value.Integer 0; - Value.Integer 22; - Value.Integer 22; - Value.Integer 67; - Value.Integer 22; - Value.Integer 36; - Value.Integer 25; - Value.Integer 24; - Value.Integer 37 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 37 ]; Value.Array [ - Value.Integer 0; - Value.Integer 5; - Value.Integer 68; - Value.Integer 0; - Value.Integer 29; - Value.Integer 15; - Value.Integer 73; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 0; - Value.Integer 64; - Value.Integer 34; - Value.Integer 17; - Value.Integer 23; - Value.Integer 52; - Value.Integer 53; - Value.Integer 48; - Value.Integer 46; - Value.Integer 8; - Value.Integer 35; - Value.Integer 42; - Value.Integer 0; - Value.Integer 28; - Value.Integer 13; - Value.Integer 31 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 31 ]; Value.Array [ - Value.Integer 11; - Value.Integer 58; - Value.Integer 0; - Value.Integer 6; - Value.Integer 0; - Value.Integer 0; - Value.Integer 30; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 32; - Value.Integer 0 + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 16; - Value.Integer 26; - Value.Integer 22; - Value.Integer 38; - Value.Integer 39; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 16; - Value.Integer 50; - Value.Integer 2; - Value.Integer 21; - Value.Integer 66; - Value.Integer 9; - Value.Integer 57; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 16; - Value.Integer 70; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ]; Value.Array [ - Value.Integer 63; - Value.Integer 41; - Value.Integer 54; - Value.Integer 12; - Value.Integer 75; - Value.Integer 61; - Value.Integer 18; - Value.Integer 1; - Value.Integer 7; - Value.Integer 62; - Value.Integer 74; - Value.Integer 20; - Value.Integer 71; - Value.Integer 72; - Value.Integer 4; - Value.Integer 45 + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 74; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 45 ] ] |) @@ -5072,61 +5113,61 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 0; - Value.Integer 18446673704966422527; - Value.Integer 12297829382473033730; - Value.Integer 2251799813685247; - Value.Integer 18446739675663105535; - Value.Integer 9223934986808197120; - Value.Integer 1152921504590069760; - Value.Integer 1152921487426978047; - Value.Integer 18446744073709529733; - Value.Integer 18446744069414584320; - Value.Integer 18446744056529682432; - Value.Integer 18446742974197923840; - Value.Integer 18446739675663106031; - Value.Integer 18446726481523572736; - Value.Integer 18446466996645134335; - Value.Integer 18446462598732858304; - Value.Integer 18446462598732840960; - Value.Integer 18410715274543104000; - Value.Integer 18158513701852807104; - Value.Integer 17870283321406062592; - Value.Integer 17293822586148356092; - Value.Integer 12297829382473045332; - Value.Integer 12297829382473034410; - Value.Integer 6172933889249159850; - Value.Integer 4674456033467236607; - Value.Integer 4611405638684049471; - Value.Integer 4601013484258328575; - Value.Integer 4539628424389459968; - Value.Integer 4362299189061746720; - Value.Integer 3607524039012697088; - Value.Integer 2016486715966881792; - Value.Integer 1814856824841797631; - Value.Integer 575897802350002105; - Value.Integer 530298856167572746; - Value.Integer 297241973452963840; - Value.Integer 144115188074807295; - Value.Integer 71777214282006783; - Value.Integer 61925590106570972; - Value.Integer 2339875276368554; - Value.Integer 36009005809663; - Value.Integer 8660801551359; - Value.Integer 1099509514240; - Value.Integer 133143986179; - Value.Integer 984263338; - Value.Integer 16253055; - Value.Integer 3063; - Value.Integer 10663022717737544362; - Value.Integer 10808545280696953514; - Value.Integer 12261519110656315968; - Value.Integer 12294970652241842346; - Value.Integer 12297829383904690175; - Value.Integer 12298110845996498944; - Value.Integer 15324248332066007893; - Value.Integer 16596095761559859497; - Value.Integer 16987577794709946364 + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 18446673704966422527; + Value.Integer IntegerKind.U64 12297829382473033730; + Value.Integer IntegerKind.U64 2251799813685247; + Value.Integer IntegerKind.U64 18446739675663105535; + Value.Integer IntegerKind.U64 9223934986808197120; + Value.Integer IntegerKind.U64 1152921504590069760; + Value.Integer IntegerKind.U64 1152921487426978047; + Value.Integer IntegerKind.U64 18446744073709529733; + Value.Integer IntegerKind.U64 18446744069414584320; + Value.Integer IntegerKind.U64 18446744056529682432; + Value.Integer IntegerKind.U64 18446742974197923840; + Value.Integer IntegerKind.U64 18446739675663106031; + Value.Integer IntegerKind.U64 18446726481523572736; + Value.Integer IntegerKind.U64 18446466996645134335; + Value.Integer IntegerKind.U64 18446462598732858304; + Value.Integer IntegerKind.U64 18446462598732840960; + Value.Integer IntegerKind.U64 18410715274543104000; + Value.Integer IntegerKind.U64 18158513701852807104; + Value.Integer IntegerKind.U64 17870283321406062592; + Value.Integer IntegerKind.U64 17293822586148356092; + Value.Integer IntegerKind.U64 12297829382473045332; + Value.Integer IntegerKind.U64 12297829382473034410; + Value.Integer IntegerKind.U64 6172933889249159850; + Value.Integer IntegerKind.U64 4674456033467236607; + Value.Integer IntegerKind.U64 4611405638684049471; + Value.Integer IntegerKind.U64 4601013484258328575; + Value.Integer IntegerKind.U64 4539628424389459968; + Value.Integer IntegerKind.U64 4362299189061746720; + Value.Integer IntegerKind.U64 3607524039012697088; + Value.Integer IntegerKind.U64 2016486715966881792; + Value.Integer IntegerKind.U64 1814856824841797631; + Value.Integer IntegerKind.U64 575897802350002105; + Value.Integer IntegerKind.U64 530298856167572746; + Value.Integer IntegerKind.U64 297241973452963840; + Value.Integer IntegerKind.U64 144115188074807295; + Value.Integer IntegerKind.U64 71777214282006783; + Value.Integer IntegerKind.U64 61925590106570972; + Value.Integer IntegerKind.U64 2339875276368554; + Value.Integer IntegerKind.U64 36009005809663; + Value.Integer IntegerKind.U64 8660801551359; + Value.Integer IntegerKind.U64 1099509514240; + Value.Integer IntegerKind.U64 133143986179; + Value.Integer IntegerKind.U64 984263338; + Value.Integer IntegerKind.U64 16253055; + Value.Integer IntegerKind.U64 3063; + Value.Integer IntegerKind.U64 10663022717737544362; + Value.Integer IntegerKind.U64 10808545280696953514; + Value.Integer IntegerKind.U64 12261519110656315968; + Value.Integer IntegerKind.U64 12294970652241842346; + Value.Integer IntegerKind.U64 12297829383904690175; + Value.Integer IntegerKind.U64 12298110845996498944; + Value.Integer IntegerKind.U64 15324248332066007893; + Value.Integer IntegerKind.U64 16596095761559859497; + Value.Integer IntegerKind.U64 16987577794709946364 ] |) |))). @@ -5138,27 +5179,38 @@ Module unicode. M.alloc (| Value.Array [ - Value.Tuple [ Value.Integer 0; Value.Integer 64 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 188 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 183 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 176 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 109 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 124 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 126 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 66 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 70 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 77 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 146 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 144 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 83 ]; - Value.Tuple [ Value.Integer 3; Value.Integer 93 ]; - Value.Tuple [ Value.Integer 3; Value.Integer 147 ]; - Value.Tuple [ Value.Integer 3; Value.Integer 133 ]; - Value.Tuple [ Value.Integer 4; Value.Integer 12 ]; - Value.Tuple [ Value.Integer 4; Value.Integer 6 ]; - Value.Tuple [ Value.Integer 5; Value.Integer 187 ]; - Value.Tuple [ Value.Integer 6; Value.Integer 78 ]; - Value.Tuple [ Value.Integer 7; Value.Integer 132 ] + Value.Tuple [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 64 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 188 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 183 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 176 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 109 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 124 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 126 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 66 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 70 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 77 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 146 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 144 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 83 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 93 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 147 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 133 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 12 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 6 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 5; Value.Integer IntegerKind.U8 187 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 6; Value.Integer IntegerKind.U8 78 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 7; Value.Integer IntegerKind.U8 132 ] ] |) |))). @@ -5197,7 +5249,7 @@ Module unicode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : M.IsFunction "core::unicode::unicode_data::lowercase::lookup" lookup. @@ -5211,45 +5263,45 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 1632; - Value.Integer 18876774; - Value.Integer 31461440; - Value.Integer 102765417; - Value.Integer 111154926; - Value.Integer 115349830; - Value.Integer 132128880; - Value.Integer 165684320; - Value.Integer 186656630; - Value.Integer 195046653; - Value.Integer 199241735; - Value.Integer 203436434; - Value.Integer 216049184; - Value.Integer 241215536; - Value.Integer 249605104; - Value.Integer 274792208; - Value.Integer 278987015; - Value.Integer 283181793; - Value.Integer 295766104; - Value.Integer 320933114; - Value.Integer 383848032; - Value.Integer 392238160; - Value.Integer 434181712; - Value.Integer 442570976; - Value.Integer 455154768; - Value.Integer 463544144; - Value.Integer 476128256; - Value.Integer 484534880; - Value.Integer 488730240; - Value.Integer 505533120; - Value.Integer 509728718; - Value.Integer 522314048; - Value.Integer 526508784; - Value.Integer 530703600; - Value.Integer 534898887; - Value.Integer 539094129; - Value.Integer 547483904; - Value.Integer 568458224; - Value.Integer 573766650 + Value.Integer IntegerKind.U32 1632; + Value.Integer IntegerKind.U32 18876774; + Value.Integer IntegerKind.U32 31461440; + Value.Integer IntegerKind.U32 102765417; + Value.Integer IntegerKind.U32 111154926; + Value.Integer IntegerKind.U32 115349830; + Value.Integer IntegerKind.U32 132128880; + Value.Integer IntegerKind.U32 165684320; + Value.Integer IntegerKind.U32 186656630; + Value.Integer IntegerKind.U32 195046653; + Value.Integer IntegerKind.U32 199241735; + Value.Integer IntegerKind.U32 203436434; + Value.Integer IntegerKind.U32 216049184; + Value.Integer IntegerKind.U32 241215536; + Value.Integer IntegerKind.U32 249605104; + Value.Integer IntegerKind.U32 274792208; + Value.Integer IntegerKind.U32 278987015; + Value.Integer IntegerKind.U32 283181793; + Value.Integer IntegerKind.U32 295766104; + Value.Integer IntegerKind.U32 320933114; + Value.Integer IntegerKind.U32 383848032; + Value.Integer IntegerKind.U32 392238160; + Value.Integer IntegerKind.U32 434181712; + Value.Integer IntegerKind.U32 442570976; + Value.Integer IntegerKind.U32 455154768; + Value.Integer IntegerKind.U32 463544144; + Value.Integer IntegerKind.U32 476128256; + Value.Integer IntegerKind.U32 484534880; + Value.Integer IntegerKind.U32 488730240; + Value.Integer IntegerKind.U32 505533120; + Value.Integer IntegerKind.U32 509728718; + Value.Integer IntegerKind.U32 522314048; + Value.Integer IntegerKind.U32 526508784; + Value.Integer IntegerKind.U32 530703600; + Value.Integer IntegerKind.U32 534898887; + Value.Integer IntegerKind.U32 539094129; + Value.Integer IntegerKind.U32 547483904; + Value.Integer IntegerKind.U32 568458224; + Value.Integer IntegerKind.U32 573766650 ] |) |))). @@ -5261,281 +5313,281 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 48; - Value.Integer 10; - Value.Integer 120; - Value.Integer 2; - Value.Integer 5; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 0; - Value.Integer 10; - Value.Integer 134; - Value.Integer 10; - Value.Integer 198; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 118; - Value.Integer 10; - Value.Integer 4; - Value.Integer 6; - Value.Integer 108; - Value.Integer 10; - Value.Integer 118; - Value.Integer 10; - Value.Integer 118; - Value.Integer 10; - Value.Integer 2; - Value.Integer 6; - Value.Integer 110; - Value.Integer 13; - Value.Integer 115; - Value.Integer 10; - Value.Integer 8; - Value.Integer 7; - Value.Integer 103; - Value.Integer 10; - Value.Integer 104; - Value.Integer 7; - Value.Integer 7; - Value.Integer 19; - Value.Integer 109; - Value.Integer 10; - Value.Integer 96; - Value.Integer 10; - Value.Integer 118; - Value.Integer 10; - Value.Integer 70; - Value.Integer 20; - Value.Integer 0; - Value.Integer 10; - Value.Integer 70; - Value.Integer 10; - Value.Integer 0; - Value.Integer 20; - Value.Integer 0; - Value.Integer 3; - Value.Integer 239; - Value.Integer 10; - Value.Integer 6; - Value.Integer 10; - Value.Integer 22; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 128; - Value.Integer 11; - Value.Integer 165; - Value.Integer 10; - Value.Integer 6; - Value.Integer 10; - Value.Integer 182; - Value.Integer 10; - Value.Integer 86; - Value.Integer 10; - Value.Integer 134; - Value.Integer 10; - Value.Integer 6; - Value.Integer 10; - Value.Integer 0; - Value.Integer 1; - Value.Integer 3; - Value.Integer 6; - Value.Integer 6; - Value.Integer 10; - Value.Integer 198; - Value.Integer 51; - Value.Integer 2; - Value.Integer 5; - Value.Integer 0; - Value.Integer 60; - Value.Integer 78; - Value.Integer 22; - Value.Integer 0; - Value.Integer 30; - Value.Integer 0; - Value.Integer 1; - Value.Integer 0; - Value.Integer 1; - Value.Integer 25; - Value.Integer 9; - Value.Integer 14; - Value.Integer 3; - Value.Integer 0; - Value.Integer 4; - Value.Integer 138; - Value.Integer 10; - Value.Integer 30; - Value.Integer 8; - Value.Integer 1; - Value.Integer 15; - Value.Integer 32; - Value.Integer 10; - Value.Integer 39; - Value.Integer 15; - Value.Integer 0; - Value.Integer 10; - Value.Integer 188; - Value.Integer 10; - Value.Integer 0; - Value.Integer 6; - Value.Integer 154; - Value.Integer 10; - Value.Integer 38; - Value.Integer 10; - Value.Integer 198; - Value.Integer 10; - Value.Integer 22; - Value.Integer 10; - Value.Integer 86; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 0; - Value.Integer 45; - Value.Integer 12; - Value.Integer 57; - Value.Integer 17; - Value.Integer 2; - Value.Integer 0; - Value.Integer 27; - Value.Integer 36; - Value.Integer 4; - Value.Integer 29; - Value.Integer 1; - Value.Integer 8; - Value.Integer 1; - Value.Integer 134; - Value.Integer 5; - Value.Integer 202; - Value.Integer 10; - Value.Integer 0; - Value.Integer 8; - Value.Integer 25; - Value.Integer 7; - Value.Integer 39; - Value.Integer 9; - Value.Integer 75; - Value.Integer 5; - Value.Integer 22; - Value.Integer 6; - Value.Integer 160; - Value.Integer 2; - Value.Integer 2; - Value.Integer 16; - Value.Integer 2; - Value.Integer 46; - Value.Integer 64; - Value.Integer 9; - Value.Integer 52; - Value.Integer 2; - Value.Integer 30; - Value.Integer 3; - Value.Integer 75; - Value.Integer 5; - Value.Integer 104; - Value.Integer 8; - Value.Integer 24; - Value.Integer 8; - Value.Integer 41; - Value.Integer 7; - Value.Integer 0; - Value.Integer 6; - Value.Integer 48; - Value.Integer 10; - Value.Integer 0; - Value.Integer 31; - Value.Integer 158; - Value.Integer 10; - Value.Integer 42; - Value.Integer 4; - Value.Integer 112; - Value.Integer 7; - Value.Integer 134; - Value.Integer 30; - Value.Integer 128; - Value.Integer 10; - Value.Integer 60; - Value.Integer 10; - Value.Integer 144; - Value.Integer 10; - Value.Integer 7; - Value.Integer 20; - Value.Integer 251; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 118; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 102; - Value.Integer 10; - Value.Integer 102; - Value.Integer 12; - Value.Integer 0; - Value.Integer 19; - Value.Integer 93; - Value.Integer 10; - Value.Integer 0; - Value.Integer 29; - Value.Integer 227; - Value.Integer 10; - Value.Integer 70; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 102; - Value.Integer 21; - Value.Integer 0; - Value.Integer 111; - Value.Integer 0; - Value.Integer 10; - Value.Integer 86; - Value.Integer 10; - Value.Integer 134; - Value.Integer 10; - Value.Integer 1; - Value.Integer 7; - Value.Integer 0; - Value.Integer 23; - Value.Integer 0; - Value.Integer 20; - Value.Integer 12; - Value.Integer 20; - Value.Integer 108; - Value.Integer 25; - Value.Integer 0; - Value.Integer 50; - Value.Integer 0; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 0; - Value.Integer 10; - Value.Integer 0; - Value.Integer 9; - Value.Integer 128; - Value.Integer 10; - Value.Integer 0; - Value.Integer 59; - Value.Integer 1; - Value.Integer 3; - Value.Integer 1; - Value.Integer 4; - Value.Integer 76; - Value.Integer 45; - Value.Integer 1; - Value.Integer 15; - Value.Integer 0; - Value.Integer 13; - Value.Integer 0; - Value.Integer 10; - Value.Integer 0 + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 120; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 134; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 118; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 108; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 118; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 118; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 110; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 115; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 103; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 104; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 109; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 118; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 239; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 165; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 182; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 134; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 78; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 138; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 188; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 154; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 134; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 202; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 160; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 104; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 158; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 112; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 134; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 144; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 251; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 118; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 93; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 227; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 102; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 111; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 86; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 134; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 108; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 0 ] |) |))). @@ -5564,7 +5616,7 @@ Module unicode. M.read (| M.get_constant (| "core::unicode::unicode_data::n::OFFSETS" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : M.IsFunction "core::unicode::unicode_data::n::lookup" lookup. @@ -5578,131 +5630,131 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 12; - Value.Integer 15; - Value.Integer 6; - Value.Integer 6; - Value.Integer 0; - Value.Integer 6; - Value.Integer 6; - Value.Integer 2; - Value.Integer 4; - Value.Integer 11; - Value.Integer 6; - Value.Integer 16; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 8; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 5; - Value.Integer 6; - Value.Integer 14; - Value.Integer 6; - Value.Integer 10; - Value.Integer 6; - Value.Integer 6; - Value.Integer 1; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 7; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 13; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 6; - Value.Integer 9; - Value.Integer 6; - Value.Integer 3 + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3 ] |) |))). @@ -5716,326 +5768,326 @@ Module unicode. [ Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 5; - Value.Integer 34; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 5; - Value.Integer 1 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 5; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 39; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 17; - Value.Integer 17; - Value.Integer 62; - Value.Integer 17; - Value.Integer 42; - Value.Integer 29; - Value.Integer 24; - Value.Integer 23 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 39; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 23 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 9; - Value.Integer 8; - Value.Integer 44; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 36; - Value.Integer 28; - Value.Integer 66; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 0; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 54; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 61; - Value.Integer 60; - Value.Integer 43; - Value.Integer 20; - Value.Integer 14; - Value.Integer 16; - Value.Integer 4 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 4 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 55; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 58; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 43; - Value.Integer 59; - Value.Integer 45; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 43; - Value.Integer 48; - Value.Integer 43; - Value.Integer 31; - Value.Integer 35; - Value.Integer 21; - Value.Integer 22; - Value.Integer 15; - Value.Integer 13; - Value.Integer 33; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 11; - Value.Integer 30; - Value.Integer 38 + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 38 ]; Value.Array [ - Value.Integer 51; - Value.Integer 53; - Value.Integer 26; - Value.Integer 49; - Value.Integer 12; - Value.Integer 7; - Value.Integer 25; - Value.Integer 50; - Value.Integer 40; - Value.Integer 52; - Value.Integer 6; - Value.Integer 3; - Value.Integer 65; - Value.Integer 64; - Value.Integer 63; - Value.Integer 67 + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 67 ]; Value.Array [ - Value.Integer 56; - Value.Integer 43; - Value.Integer 9; - Value.Integer 46; - Value.Integer 43; - Value.Integer 41; - Value.Integer 32; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 57; - Value.Integer 19; - Value.Integer 2; - Value.Integer 18; - Value.Integer 10; - Value.Integer 47; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ]; Value.Array [ - Value.Integer 57; - Value.Integer 37; - Value.Integer 17; - Value.Integer 27; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43; - Value.Integer 43 + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 43 ] ] |) @@ -6048,49 +6100,49 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 576460743713488896; - Value.Integer 18014398509481983; - Value.Integer 6148914691236516865; - Value.Integer 576460735123554305; - Value.Integer 9007199275778805; - Value.Integer 18446744069414584320; - Value.Integer 18446742974197924863; - Value.Integer 18446726481523637343; - Value.Integer 18446466996779287551; - Value.Integer 18446462598732840960; - Value.Integer 18446274948748367189; - Value.Integer 9242793810247811072; - Value.Integer 8863084067199903664; - Value.Integer 7783721355972007253; - Value.Integer 7638198793012598101; - Value.Integer 6184099063146390672; - Value.Integer 6151773421467674709; - Value.Integer 6148914691236517205; - Value.Integer 6148914691236506283; - Value.Integer 6148914689804861440; - Value.Integer 6148633210533183488; - Value.Integer 3122495741643543722; - Value.Integer 1274187559846268630; - Value.Integer 1080897995681042176; - Value.Integer 1080863910568919040; - Value.Integer 288230371856744511; - Value.Integer 17977448100528131; - Value.Integer 1169903278445909; - Value.Integer 281470681743392; - Value.Integer 280378317225728; - Value.Integer 17575006099264; - Value.Integer 2139095039; - Value.Integer 3667967; - Value.Integer 21882; - Value.Integer 8383; - Value.Integer 12273810184460391765; - Value.Integer 13839347594782259332; - Value.Integer 13845730589451223040; - Value.Integer 16613872850358272000; - Value.Integer 16717361816799215616; - Value.Integer 17293822586282573568; - Value.Integer 17870001846429417472; - Value.Integer 18374966856193736448 + Value.Integer IntegerKind.U64 576460743713488896; + Value.Integer IntegerKind.U64 18014398509481983; + Value.Integer IntegerKind.U64 6148914691236516865; + Value.Integer IntegerKind.U64 576460735123554305; + Value.Integer IntegerKind.U64 9007199275778805; + Value.Integer IntegerKind.U64 18446744069414584320; + Value.Integer IntegerKind.U64 18446742974197924863; + Value.Integer IntegerKind.U64 18446726481523637343; + Value.Integer IntegerKind.U64 18446466996779287551; + Value.Integer IntegerKind.U64 18446462598732840960; + Value.Integer IntegerKind.U64 18446274948748367189; + Value.Integer IntegerKind.U64 9242793810247811072; + Value.Integer IntegerKind.U64 8863084067199903664; + Value.Integer IntegerKind.U64 7783721355972007253; + Value.Integer IntegerKind.U64 7638198793012598101; + Value.Integer IntegerKind.U64 6184099063146390672; + Value.Integer IntegerKind.U64 6151773421467674709; + Value.Integer IntegerKind.U64 6148914691236517205; + Value.Integer IntegerKind.U64 6148914691236506283; + Value.Integer IntegerKind.U64 6148914689804861440; + Value.Integer IntegerKind.U64 6148633210533183488; + Value.Integer IntegerKind.U64 3122495741643543722; + Value.Integer IntegerKind.U64 1274187559846268630; + Value.Integer IntegerKind.U64 1080897995681042176; + Value.Integer IntegerKind.U64 1080863910568919040; + Value.Integer IntegerKind.U64 288230371856744511; + Value.Integer IntegerKind.U64 17977448100528131; + Value.Integer IntegerKind.U64 1169903278445909; + Value.Integer IntegerKind.U64 281470681743392; + Value.Integer IntegerKind.U64 280378317225728; + Value.Integer IntegerKind.U64 17575006099264; + Value.Integer IntegerKind.U64 2139095039; + Value.Integer IntegerKind.U64 3667967; + Value.Integer IntegerKind.U64 21882; + Value.Integer IntegerKind.U64 8383; + Value.Integer IntegerKind.U64 12273810184460391765; + Value.Integer IntegerKind.U64 13839347594782259332; + Value.Integer IntegerKind.U64 13845730589451223040; + Value.Integer IntegerKind.U64 16613872850358272000; + Value.Integer IntegerKind.U64 16717361816799215616; + Value.Integer IntegerKind.U64 17293822586282573568; + Value.Integer IntegerKind.U64 17870001846429417472; + Value.Integer IntegerKind.U64 18374966856193736448 ] |) |))). @@ -6102,31 +6154,50 @@ Module unicode. M.alloc (| Value.Array [ - Value.Tuple [ Value.Integer 0; Value.Integer 187 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 177 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 171 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 167 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 164 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 32 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 47 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 51 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 121 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 117 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 109 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 150 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 148 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 142 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 134 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 131 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 64 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 164 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 146 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 20 ]; - Value.Tuple [ Value.Integer 3; Value.Integer 146 ]; - Value.Tuple [ Value.Integer 3; Value.Integer 140 ]; - Value.Tuple [ Value.Integer 3; Value.Integer 134 ]; - Value.Tuple [ Value.Integer 4; Value.Integer 178 ]; - Value.Tuple [ Value.Integer 4; Value.Integer 171 ] + Value.Tuple + [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 187 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 177 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 171 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 167 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 164 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 32 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 47 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 51 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 121 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 117 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 109 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 150 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 148 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 142 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 134 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 131 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 64 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 164 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 146 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 20 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 146 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 140 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 134 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 178 ]; + Value.Tuple [ Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 171 ] ] |) |))). @@ -6165,7 +6236,7 @@ Module unicode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : M.IsFunction "core::unicode::unicode_data::uppercase::lookup" lookup. @@ -6179,262 +6250,262 @@ Module unicode. M.alloc (| Value.Array [ - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 2; - Value.Integer 3; - Value.Integer 3; - Value.Integer 1; - Value.Integer 1; - Value.Integer 1; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 1; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 2; - Value.Integer 2; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 2; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 2; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 1; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 1; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0 + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 ] |) |))). @@ -6457,15 +6528,20 @@ Module unicode. (let c := M.alloc (| c |) in M.read (| M.match_operator (| - M.alloc (| BinOp.Wrap.shr (M.rust_cast (M.read (| c |))) (Value.Integer 8) |), + M.alloc (| + BinOp.Wrap.shr (| M.rust_cast (M.read (| c |)), Value.Integer IntegerKind.I32 8 |) + |), [ fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U32 0 + |) in M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.read (| @@ -6474,29 +6550,39 @@ Module unicode. |) |), M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.rust_cast (M.read (| c |))) - (Value.Integer 255) + (Value.Integer IntegerKind.Usize 255) |) |) |)) - (Value.Integer 1)) - (Value.Integer 0) + (Value.Integer IntegerKind.U8 1), + Value.Integer IntegerKind.U8 0 + |) |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 22 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U32 22 + |) in M.alloc (| - BinOp.Pure.eq (M.rust_cast (M.read (| c |))) (Value.Integer 5760) + BinOp.eq (| + M.rust_cast (M.read (| c |)), + Value.Integer IntegerKind.U32 5760 + |) |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 32 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U32 32 + |) in M.alloc (| - BinOp.Pure.ne - (BinOp.Pure.bit_and + BinOp.ne (| + BinOp.bit_and (M.read (| M.SubPointer.get_array_field (| M.read (| @@ -6505,27 +6591,34 @@ Module unicode. |) |), M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.rust_cast (M.read (| c |))) - (Value.Integer 255) + (Value.Integer IntegerKind.Usize 255) |) |) |)) - (Value.Integer 2)) - (Value.Integer 0) + (Value.Integer IntegerKind.U8 2), + Value.Integer IntegerKind.U8 0 + |) |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 48 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U32 48 + |) in M.alloc (| - BinOp.Pure.eq (M.rust_cast (M.read (| c |))) (Value.Integer 12288) + BinOp.eq (| + M.rust_cast (M.read (| c |)), + Value.Integer IntegerKind.U32 12288 + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lookup : @@ -6534,7 +6627,7 @@ Module unicode. Module conversions. Definition value_INDEX_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4194304 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 4194304 |))). (* pub fn to_lower(c: char) -> [char; 3] { @@ -6672,7 +6765,7 @@ Module unicode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -6775,8 +6868,8 @@ Module unicode. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |); @@ -6819,27 +6912,28 @@ Module unicode. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| u |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::unicode::unicode_data::conversions::INDEX_MASK" |) - |)) - (Value.Integer - 1))) + |), + Value.Integer + IntegerKind.U32 + 1 + |))) ] |) |))) ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -6847,7 +6941,7 @@ Module unicode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -6858,7 +6952,7 @@ Module unicode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_to_lower : @@ -7000,7 +7094,7 @@ Module unicode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -7103,8 +7197,8 @@ Module unicode. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |); @@ -7147,27 +7241,28 @@ Module unicode. |) |); M.rust_cast - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| u |)) - (BinOp.Wrap.sub - Integer.U32 - (M.read (| + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "core::unicode::unicode_data::conversions::INDEX_MASK" |) - |)) - (Value.Integer - 1))) + |), + Value.Integer + IntegerKind.U32 + 1 + |))) ] |) |))) ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -7175,7 +7270,7 @@ Module unicode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -7186,7 +7281,7 @@ Module unicode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_to_upper : @@ -7202,1413 +7297,1918 @@ Module unicode. (M.alloc (| Value.Array [ - Value.Tuple [ Value.UnicodeChar 192; Value.Integer 224 ]; - Value.Tuple [ Value.UnicodeChar 193; Value.Integer 225 ]; - Value.Tuple [ Value.UnicodeChar 194; Value.Integer 226 ]; - Value.Tuple [ Value.UnicodeChar 195; Value.Integer 227 ]; - Value.Tuple [ Value.UnicodeChar 196; Value.Integer 228 ]; - Value.Tuple [ Value.UnicodeChar 197; Value.Integer 229 ]; - Value.Tuple [ Value.UnicodeChar 198; Value.Integer 230 ]; - Value.Tuple [ Value.UnicodeChar 199; Value.Integer 231 ]; - Value.Tuple [ Value.UnicodeChar 200; Value.Integer 232 ]; - Value.Tuple [ Value.UnicodeChar 201; Value.Integer 233 ]; - Value.Tuple [ Value.UnicodeChar 202; Value.Integer 234 ]; - Value.Tuple [ Value.UnicodeChar 203; Value.Integer 235 ]; - Value.Tuple [ Value.UnicodeChar 204; Value.Integer 236 ]; - Value.Tuple [ Value.UnicodeChar 205; Value.Integer 237 ]; - Value.Tuple [ Value.UnicodeChar 206; Value.Integer 238 ]; - Value.Tuple [ Value.UnicodeChar 207; Value.Integer 239 ]; - Value.Tuple [ Value.UnicodeChar 208; Value.Integer 240 ]; - Value.Tuple [ Value.UnicodeChar 209; Value.Integer 241 ]; - Value.Tuple [ Value.UnicodeChar 210; Value.Integer 242 ]; - Value.Tuple [ Value.UnicodeChar 211; Value.Integer 243 ]; - Value.Tuple [ Value.UnicodeChar 212; Value.Integer 244 ]; - Value.Tuple [ Value.UnicodeChar 213; Value.Integer 245 ]; - Value.Tuple [ Value.UnicodeChar 214; Value.Integer 246 ]; - Value.Tuple [ Value.UnicodeChar 216; Value.Integer 248 ]; - Value.Tuple [ Value.UnicodeChar 217; Value.Integer 249 ]; - Value.Tuple [ Value.UnicodeChar 218; Value.Integer 250 ]; - Value.Tuple [ Value.UnicodeChar 219; Value.Integer 251 ]; - Value.Tuple [ Value.UnicodeChar 220; Value.Integer 252 ]; - Value.Tuple [ Value.UnicodeChar 221; Value.Integer 253 ]; - Value.Tuple [ Value.UnicodeChar 222; Value.Integer 254 ]; - Value.Tuple [ Value.UnicodeChar 256; Value.Integer 257 ]; - Value.Tuple [ Value.UnicodeChar 258; Value.Integer 259 ]; - Value.Tuple [ Value.UnicodeChar 260; Value.Integer 261 ]; - Value.Tuple [ Value.UnicodeChar 262; Value.Integer 263 ]; - Value.Tuple [ Value.UnicodeChar 264; Value.Integer 265 ]; - Value.Tuple [ Value.UnicodeChar 266; Value.Integer 267 ]; - Value.Tuple [ Value.UnicodeChar 268; Value.Integer 269 ]; - Value.Tuple [ Value.UnicodeChar 270; Value.Integer 271 ]; - Value.Tuple [ Value.UnicodeChar 272; Value.Integer 273 ]; - Value.Tuple [ Value.UnicodeChar 274; Value.Integer 275 ]; - Value.Tuple [ Value.UnicodeChar 276; Value.Integer 277 ]; - Value.Tuple [ Value.UnicodeChar 278; Value.Integer 279 ]; - Value.Tuple [ Value.UnicodeChar 280; Value.Integer 281 ]; - Value.Tuple [ Value.UnicodeChar 282; Value.Integer 283 ]; - Value.Tuple [ Value.UnicodeChar 284; Value.Integer 285 ]; - Value.Tuple [ Value.UnicodeChar 286; Value.Integer 287 ]; - Value.Tuple [ Value.UnicodeChar 288; Value.Integer 289 ]; - Value.Tuple [ Value.UnicodeChar 290; Value.Integer 291 ]; - Value.Tuple [ Value.UnicodeChar 292; Value.Integer 293 ]; - Value.Tuple [ Value.UnicodeChar 294; Value.Integer 295 ]; - Value.Tuple [ Value.UnicodeChar 296; Value.Integer 297 ]; - Value.Tuple [ Value.UnicodeChar 298; Value.Integer 299 ]; - Value.Tuple [ Value.UnicodeChar 300; Value.Integer 301 ]; - Value.Tuple [ Value.UnicodeChar 302; Value.Integer 303 ]; - Value.Tuple [ Value.UnicodeChar 304; Value.Integer 4194304 ]; - Value.Tuple [ Value.UnicodeChar 306; Value.Integer 307 ]; - Value.Tuple [ Value.UnicodeChar 308; Value.Integer 309 ]; - Value.Tuple [ Value.UnicodeChar 310; Value.Integer 311 ]; - Value.Tuple [ Value.UnicodeChar 313; Value.Integer 314 ]; - Value.Tuple [ Value.UnicodeChar 315; Value.Integer 316 ]; - Value.Tuple [ Value.UnicodeChar 317; Value.Integer 318 ]; - Value.Tuple [ Value.UnicodeChar 319; Value.Integer 320 ]; - Value.Tuple [ Value.UnicodeChar 321; Value.Integer 322 ]; - Value.Tuple [ Value.UnicodeChar 323; Value.Integer 324 ]; - Value.Tuple [ Value.UnicodeChar 325; Value.Integer 326 ]; - Value.Tuple [ Value.UnicodeChar 327; Value.Integer 328 ]; - Value.Tuple [ Value.UnicodeChar 330; Value.Integer 331 ]; - Value.Tuple [ Value.UnicodeChar 332; Value.Integer 333 ]; - Value.Tuple [ Value.UnicodeChar 334; Value.Integer 335 ]; - Value.Tuple [ Value.UnicodeChar 336; Value.Integer 337 ]; - Value.Tuple [ Value.UnicodeChar 338; Value.Integer 339 ]; - Value.Tuple [ Value.UnicodeChar 340; Value.Integer 341 ]; - Value.Tuple [ Value.UnicodeChar 342; Value.Integer 343 ]; - Value.Tuple [ Value.UnicodeChar 344; Value.Integer 345 ]; - Value.Tuple [ Value.UnicodeChar 346; Value.Integer 347 ]; - Value.Tuple [ Value.UnicodeChar 348; Value.Integer 349 ]; - Value.Tuple [ Value.UnicodeChar 350; Value.Integer 351 ]; - Value.Tuple [ Value.UnicodeChar 352; Value.Integer 353 ]; - Value.Tuple [ Value.UnicodeChar 354; Value.Integer 355 ]; - Value.Tuple [ Value.UnicodeChar 356; Value.Integer 357 ]; - Value.Tuple [ Value.UnicodeChar 358; Value.Integer 359 ]; - Value.Tuple [ Value.UnicodeChar 360; Value.Integer 361 ]; - Value.Tuple [ Value.UnicodeChar 362; Value.Integer 363 ]; - Value.Tuple [ Value.UnicodeChar 364; Value.Integer 365 ]; - Value.Tuple [ Value.UnicodeChar 366; Value.Integer 367 ]; - Value.Tuple [ Value.UnicodeChar 368; Value.Integer 369 ]; - Value.Tuple [ Value.UnicodeChar 370; Value.Integer 371 ]; - Value.Tuple [ Value.UnicodeChar 372; Value.Integer 373 ]; - Value.Tuple [ Value.UnicodeChar 374; Value.Integer 375 ]; - Value.Tuple [ Value.UnicodeChar 376; Value.Integer 255 ]; - Value.Tuple [ Value.UnicodeChar 377; Value.Integer 378 ]; - Value.Tuple [ Value.UnicodeChar 379; Value.Integer 380 ]; - Value.Tuple [ Value.UnicodeChar 381; Value.Integer 382 ]; - Value.Tuple [ Value.UnicodeChar 385; Value.Integer 595 ]; - Value.Tuple [ Value.UnicodeChar 386; Value.Integer 387 ]; - Value.Tuple [ Value.UnicodeChar 388; Value.Integer 389 ]; - Value.Tuple [ Value.UnicodeChar 390; Value.Integer 596 ]; - Value.Tuple [ Value.UnicodeChar 391; Value.Integer 392 ]; - Value.Tuple [ Value.UnicodeChar 393; Value.Integer 598 ]; - Value.Tuple [ Value.UnicodeChar 394; Value.Integer 599 ]; - Value.Tuple [ Value.UnicodeChar 395; Value.Integer 396 ]; - Value.Tuple [ Value.UnicodeChar 398; Value.Integer 477 ]; - Value.Tuple [ Value.UnicodeChar 399; Value.Integer 601 ]; - Value.Tuple [ Value.UnicodeChar 400; Value.Integer 603 ]; - Value.Tuple [ Value.UnicodeChar 401; Value.Integer 402 ]; - Value.Tuple [ Value.UnicodeChar 403; Value.Integer 608 ]; - Value.Tuple [ Value.UnicodeChar 404; Value.Integer 611 ]; - Value.Tuple [ Value.UnicodeChar 406; Value.Integer 617 ]; - Value.Tuple [ Value.UnicodeChar 407; Value.Integer 616 ]; - Value.Tuple [ Value.UnicodeChar 408; Value.Integer 409 ]; - Value.Tuple [ Value.UnicodeChar 412; Value.Integer 623 ]; - Value.Tuple [ Value.UnicodeChar 413; Value.Integer 626 ]; - Value.Tuple [ Value.UnicodeChar 415; Value.Integer 629 ]; - Value.Tuple [ Value.UnicodeChar 416; Value.Integer 417 ]; - Value.Tuple [ Value.UnicodeChar 418; Value.Integer 419 ]; - Value.Tuple [ Value.UnicodeChar 420; Value.Integer 421 ]; - Value.Tuple [ Value.UnicodeChar 422; Value.Integer 640 ]; - Value.Tuple [ Value.UnicodeChar 423; Value.Integer 424 ]; - Value.Tuple [ Value.UnicodeChar 425; Value.Integer 643 ]; - Value.Tuple [ Value.UnicodeChar 428; Value.Integer 429 ]; - Value.Tuple [ Value.UnicodeChar 430; Value.Integer 648 ]; - Value.Tuple [ Value.UnicodeChar 431; Value.Integer 432 ]; - Value.Tuple [ Value.UnicodeChar 433; Value.Integer 650 ]; - Value.Tuple [ Value.UnicodeChar 434; Value.Integer 651 ]; - Value.Tuple [ Value.UnicodeChar 435; Value.Integer 436 ]; - Value.Tuple [ Value.UnicodeChar 437; Value.Integer 438 ]; - Value.Tuple [ Value.UnicodeChar 439; Value.Integer 658 ]; - Value.Tuple [ Value.UnicodeChar 440; Value.Integer 441 ]; - Value.Tuple [ Value.UnicodeChar 444; Value.Integer 445 ]; - Value.Tuple [ Value.UnicodeChar 452; Value.Integer 454 ]; - Value.Tuple [ Value.UnicodeChar 453; Value.Integer 454 ]; - Value.Tuple [ Value.UnicodeChar 455; Value.Integer 457 ]; - Value.Tuple [ Value.UnicodeChar 456; Value.Integer 457 ]; - Value.Tuple [ Value.UnicodeChar 458; Value.Integer 460 ]; - Value.Tuple [ Value.UnicodeChar 459; Value.Integer 460 ]; - Value.Tuple [ Value.UnicodeChar 461; Value.Integer 462 ]; - Value.Tuple [ Value.UnicodeChar 463; Value.Integer 464 ]; - Value.Tuple [ Value.UnicodeChar 465; Value.Integer 466 ]; - Value.Tuple [ Value.UnicodeChar 467; Value.Integer 468 ]; - Value.Tuple [ Value.UnicodeChar 469; Value.Integer 470 ]; - Value.Tuple [ Value.UnicodeChar 471; Value.Integer 472 ]; - Value.Tuple [ Value.UnicodeChar 473; Value.Integer 474 ]; - Value.Tuple [ Value.UnicodeChar 475; Value.Integer 476 ]; - Value.Tuple [ Value.UnicodeChar 478; Value.Integer 479 ]; - Value.Tuple [ Value.UnicodeChar 480; Value.Integer 481 ]; - Value.Tuple [ Value.UnicodeChar 482; Value.Integer 483 ]; - Value.Tuple [ Value.UnicodeChar 484; Value.Integer 485 ]; - Value.Tuple [ Value.UnicodeChar 486; Value.Integer 487 ]; - Value.Tuple [ Value.UnicodeChar 488; Value.Integer 489 ]; - Value.Tuple [ Value.UnicodeChar 490; Value.Integer 491 ]; - Value.Tuple [ Value.UnicodeChar 492; Value.Integer 493 ]; - Value.Tuple [ Value.UnicodeChar 494; Value.Integer 495 ]; - Value.Tuple [ Value.UnicodeChar 497; Value.Integer 499 ]; - Value.Tuple [ Value.UnicodeChar 498; Value.Integer 499 ]; - Value.Tuple [ Value.UnicodeChar 500; Value.Integer 501 ]; - Value.Tuple [ Value.UnicodeChar 502; Value.Integer 405 ]; - Value.Tuple [ Value.UnicodeChar 503; Value.Integer 447 ]; - Value.Tuple [ Value.UnicodeChar 504; Value.Integer 505 ]; - Value.Tuple [ Value.UnicodeChar 506; Value.Integer 507 ]; - Value.Tuple [ Value.UnicodeChar 508; Value.Integer 509 ]; - Value.Tuple [ Value.UnicodeChar 510; Value.Integer 511 ]; - Value.Tuple [ Value.UnicodeChar 512; Value.Integer 513 ]; - Value.Tuple [ Value.UnicodeChar 514; Value.Integer 515 ]; - Value.Tuple [ Value.UnicodeChar 516; Value.Integer 517 ]; - Value.Tuple [ Value.UnicodeChar 518; Value.Integer 519 ]; - Value.Tuple [ Value.UnicodeChar 520; Value.Integer 521 ]; - Value.Tuple [ Value.UnicodeChar 522; Value.Integer 523 ]; - Value.Tuple [ Value.UnicodeChar 524; Value.Integer 525 ]; - Value.Tuple [ Value.UnicodeChar 526; Value.Integer 527 ]; - Value.Tuple [ Value.UnicodeChar 528; Value.Integer 529 ]; - Value.Tuple [ Value.UnicodeChar 530; Value.Integer 531 ]; - Value.Tuple [ Value.UnicodeChar 532; Value.Integer 533 ]; - Value.Tuple [ Value.UnicodeChar 534; Value.Integer 535 ]; - Value.Tuple [ Value.UnicodeChar 536; Value.Integer 537 ]; - Value.Tuple [ Value.UnicodeChar 538; Value.Integer 539 ]; - Value.Tuple [ Value.UnicodeChar 540; Value.Integer 541 ]; - Value.Tuple [ Value.UnicodeChar 542; Value.Integer 543 ]; - Value.Tuple [ Value.UnicodeChar 544; Value.Integer 414 ]; - Value.Tuple [ Value.UnicodeChar 546; Value.Integer 547 ]; - Value.Tuple [ Value.UnicodeChar 548; Value.Integer 549 ]; - Value.Tuple [ Value.UnicodeChar 550; Value.Integer 551 ]; - Value.Tuple [ Value.UnicodeChar 552; Value.Integer 553 ]; - Value.Tuple [ Value.UnicodeChar 554; Value.Integer 555 ]; - Value.Tuple [ Value.UnicodeChar 556; Value.Integer 557 ]; - Value.Tuple [ Value.UnicodeChar 558; Value.Integer 559 ]; - Value.Tuple [ Value.UnicodeChar 560; Value.Integer 561 ]; - Value.Tuple [ Value.UnicodeChar 562; Value.Integer 563 ]; - Value.Tuple [ Value.UnicodeChar 570; Value.Integer 11365 ]; - Value.Tuple [ Value.UnicodeChar 571; Value.Integer 572 ]; - Value.Tuple [ Value.UnicodeChar 573; Value.Integer 410 ]; - Value.Tuple [ Value.UnicodeChar 574; Value.Integer 11366 ]; - Value.Tuple [ Value.UnicodeChar 577; Value.Integer 578 ]; - Value.Tuple [ Value.UnicodeChar 579; Value.Integer 384 ]; - Value.Tuple [ Value.UnicodeChar 580; Value.Integer 649 ]; - Value.Tuple [ Value.UnicodeChar 581; Value.Integer 652 ]; - Value.Tuple [ Value.UnicodeChar 582; Value.Integer 583 ]; - Value.Tuple [ Value.UnicodeChar 584; Value.Integer 585 ]; - Value.Tuple [ Value.UnicodeChar 586; Value.Integer 587 ]; - Value.Tuple [ Value.UnicodeChar 588; Value.Integer 589 ]; - Value.Tuple [ Value.UnicodeChar 590; Value.Integer 591 ]; - Value.Tuple [ Value.UnicodeChar 880; Value.Integer 881 ]; - Value.Tuple [ Value.UnicodeChar 882; Value.Integer 883 ]; - Value.Tuple [ Value.UnicodeChar 886; Value.Integer 887 ]; - Value.Tuple [ Value.UnicodeChar 895; Value.Integer 1011 ]; - Value.Tuple [ Value.UnicodeChar 902; Value.Integer 940 ]; - Value.Tuple [ Value.UnicodeChar 904; Value.Integer 941 ]; - Value.Tuple [ Value.UnicodeChar 905; Value.Integer 942 ]; - Value.Tuple [ Value.UnicodeChar 906; Value.Integer 943 ]; - Value.Tuple [ Value.UnicodeChar 908; Value.Integer 972 ]; - Value.Tuple [ Value.UnicodeChar 910; Value.Integer 973 ]; - Value.Tuple [ Value.UnicodeChar 911; Value.Integer 974 ]; - Value.Tuple [ Value.UnicodeChar 913; Value.Integer 945 ]; - Value.Tuple [ Value.UnicodeChar 914; Value.Integer 946 ]; - Value.Tuple [ Value.UnicodeChar 915; Value.Integer 947 ]; - Value.Tuple [ Value.UnicodeChar 916; Value.Integer 948 ]; - Value.Tuple [ Value.UnicodeChar 917; Value.Integer 949 ]; - Value.Tuple [ Value.UnicodeChar 918; Value.Integer 950 ]; - Value.Tuple [ Value.UnicodeChar 919; Value.Integer 951 ]; - Value.Tuple [ Value.UnicodeChar 920; Value.Integer 952 ]; - Value.Tuple [ Value.UnicodeChar 921; Value.Integer 953 ]; - Value.Tuple [ Value.UnicodeChar 922; Value.Integer 954 ]; - Value.Tuple [ Value.UnicodeChar 923; Value.Integer 955 ]; - Value.Tuple [ Value.UnicodeChar 924; Value.Integer 956 ]; - Value.Tuple [ Value.UnicodeChar 925; Value.Integer 957 ]; - Value.Tuple [ Value.UnicodeChar 926; Value.Integer 958 ]; - Value.Tuple [ Value.UnicodeChar 927; Value.Integer 959 ]; - Value.Tuple [ Value.UnicodeChar 928; Value.Integer 960 ]; - Value.Tuple [ Value.UnicodeChar 929; Value.Integer 961 ]; - Value.Tuple [ Value.UnicodeChar 931; Value.Integer 963 ]; - Value.Tuple [ Value.UnicodeChar 932; Value.Integer 964 ]; - Value.Tuple [ Value.UnicodeChar 933; Value.Integer 965 ]; - Value.Tuple [ Value.UnicodeChar 934; Value.Integer 966 ]; - Value.Tuple [ Value.UnicodeChar 935; Value.Integer 967 ]; - Value.Tuple [ Value.UnicodeChar 936; Value.Integer 968 ]; - Value.Tuple [ Value.UnicodeChar 937; Value.Integer 969 ]; - Value.Tuple [ Value.UnicodeChar 938; Value.Integer 970 ]; - Value.Tuple [ Value.UnicodeChar 939; Value.Integer 971 ]; - Value.Tuple [ Value.UnicodeChar 975; Value.Integer 983 ]; - Value.Tuple [ Value.UnicodeChar 984; Value.Integer 985 ]; - Value.Tuple [ Value.UnicodeChar 986; Value.Integer 987 ]; - Value.Tuple [ Value.UnicodeChar 988; Value.Integer 989 ]; - Value.Tuple [ Value.UnicodeChar 990; Value.Integer 991 ]; - Value.Tuple [ Value.UnicodeChar 992; Value.Integer 993 ]; - Value.Tuple [ Value.UnicodeChar 994; Value.Integer 995 ]; - Value.Tuple [ Value.UnicodeChar 996; Value.Integer 997 ]; - Value.Tuple [ Value.UnicodeChar 998; Value.Integer 999 ]; - Value.Tuple [ Value.UnicodeChar 1000; Value.Integer 1001 ]; - Value.Tuple [ Value.UnicodeChar 1002; Value.Integer 1003 ]; - Value.Tuple [ Value.UnicodeChar 1004; Value.Integer 1005 ]; - Value.Tuple [ Value.UnicodeChar 1006; Value.Integer 1007 ]; - Value.Tuple [ Value.UnicodeChar 1012; Value.Integer 952 ]; - Value.Tuple [ Value.UnicodeChar 1015; Value.Integer 1016 ]; - Value.Tuple [ Value.UnicodeChar 1017; Value.Integer 1010 ]; - Value.Tuple [ Value.UnicodeChar 1018; Value.Integer 1019 ]; - Value.Tuple [ Value.UnicodeChar 1021; Value.Integer 891 ]; - Value.Tuple [ Value.UnicodeChar 1022; Value.Integer 892 ]; - Value.Tuple [ Value.UnicodeChar 1023; Value.Integer 893 ]; - Value.Tuple [ Value.UnicodeChar 1024; Value.Integer 1104 ]; - Value.Tuple [ Value.UnicodeChar 1025; Value.Integer 1105 ]; - Value.Tuple [ Value.UnicodeChar 1026; Value.Integer 1106 ]; - Value.Tuple [ Value.UnicodeChar 1027; Value.Integer 1107 ]; - Value.Tuple [ Value.UnicodeChar 1028; Value.Integer 1108 ]; - Value.Tuple [ Value.UnicodeChar 1029; Value.Integer 1109 ]; - Value.Tuple [ Value.UnicodeChar 1030; Value.Integer 1110 ]; - Value.Tuple [ Value.UnicodeChar 1031; Value.Integer 1111 ]; - Value.Tuple [ Value.UnicodeChar 1032; Value.Integer 1112 ]; - Value.Tuple [ Value.UnicodeChar 1033; Value.Integer 1113 ]; - Value.Tuple [ Value.UnicodeChar 1034; Value.Integer 1114 ]; - Value.Tuple [ Value.UnicodeChar 1035; Value.Integer 1115 ]; - Value.Tuple [ Value.UnicodeChar 1036; Value.Integer 1116 ]; - Value.Tuple [ Value.UnicodeChar 1037; Value.Integer 1117 ]; - Value.Tuple [ Value.UnicodeChar 1038; Value.Integer 1118 ]; - Value.Tuple [ Value.UnicodeChar 1039; Value.Integer 1119 ]; - Value.Tuple [ Value.UnicodeChar 1040; Value.Integer 1072 ]; - Value.Tuple [ Value.UnicodeChar 1041; Value.Integer 1073 ]; - Value.Tuple [ Value.UnicodeChar 1042; Value.Integer 1074 ]; - Value.Tuple [ Value.UnicodeChar 1043; Value.Integer 1075 ]; - Value.Tuple [ Value.UnicodeChar 1044; Value.Integer 1076 ]; - Value.Tuple [ Value.UnicodeChar 1045; Value.Integer 1077 ]; - Value.Tuple [ Value.UnicodeChar 1046; Value.Integer 1078 ]; - Value.Tuple [ Value.UnicodeChar 1047; Value.Integer 1079 ]; - Value.Tuple [ Value.UnicodeChar 1048; Value.Integer 1080 ]; - Value.Tuple [ Value.UnicodeChar 1049; Value.Integer 1081 ]; - Value.Tuple [ Value.UnicodeChar 1050; Value.Integer 1082 ]; - Value.Tuple [ Value.UnicodeChar 1051; Value.Integer 1083 ]; - Value.Tuple [ Value.UnicodeChar 1052; Value.Integer 1084 ]; - Value.Tuple [ Value.UnicodeChar 1053; Value.Integer 1085 ]; - Value.Tuple [ Value.UnicodeChar 1054; Value.Integer 1086 ]; - Value.Tuple [ Value.UnicodeChar 1055; Value.Integer 1087 ]; - Value.Tuple [ Value.UnicodeChar 1056; Value.Integer 1088 ]; - Value.Tuple [ Value.UnicodeChar 1057; Value.Integer 1089 ]; - Value.Tuple [ Value.UnicodeChar 1058; Value.Integer 1090 ]; - Value.Tuple [ Value.UnicodeChar 1059; Value.Integer 1091 ]; - Value.Tuple [ Value.UnicodeChar 1060; Value.Integer 1092 ]; - Value.Tuple [ Value.UnicodeChar 1061; Value.Integer 1093 ]; - Value.Tuple [ Value.UnicodeChar 1062; Value.Integer 1094 ]; - Value.Tuple [ Value.UnicodeChar 1063; Value.Integer 1095 ]; - Value.Tuple [ Value.UnicodeChar 1064; Value.Integer 1096 ]; - Value.Tuple [ Value.UnicodeChar 1065; Value.Integer 1097 ]; - Value.Tuple [ Value.UnicodeChar 1066; Value.Integer 1098 ]; - Value.Tuple [ Value.UnicodeChar 1067; Value.Integer 1099 ]; - Value.Tuple [ Value.UnicodeChar 1068; Value.Integer 1100 ]; - Value.Tuple [ Value.UnicodeChar 1069; Value.Integer 1101 ]; - Value.Tuple [ Value.UnicodeChar 1070; Value.Integer 1102 ]; - Value.Tuple [ Value.UnicodeChar 1071; Value.Integer 1103 ]; - Value.Tuple [ Value.UnicodeChar 1120; Value.Integer 1121 ]; - Value.Tuple [ Value.UnicodeChar 1122; Value.Integer 1123 ]; - Value.Tuple [ Value.UnicodeChar 1124; Value.Integer 1125 ]; - Value.Tuple [ Value.UnicodeChar 1126; Value.Integer 1127 ]; - Value.Tuple [ Value.UnicodeChar 1128; Value.Integer 1129 ]; - Value.Tuple [ Value.UnicodeChar 1130; Value.Integer 1131 ]; - Value.Tuple [ Value.UnicodeChar 1132; Value.Integer 1133 ]; - Value.Tuple [ Value.UnicodeChar 1134; Value.Integer 1135 ]; - Value.Tuple [ Value.UnicodeChar 1136; Value.Integer 1137 ]; - Value.Tuple [ Value.UnicodeChar 1138; Value.Integer 1139 ]; - Value.Tuple [ Value.UnicodeChar 1140; Value.Integer 1141 ]; - Value.Tuple [ Value.UnicodeChar 1142; Value.Integer 1143 ]; - Value.Tuple [ Value.UnicodeChar 1144; Value.Integer 1145 ]; - Value.Tuple [ Value.UnicodeChar 1146; Value.Integer 1147 ]; - Value.Tuple [ Value.UnicodeChar 1148; Value.Integer 1149 ]; - Value.Tuple [ Value.UnicodeChar 1150; Value.Integer 1151 ]; - Value.Tuple [ Value.UnicodeChar 1152; Value.Integer 1153 ]; - Value.Tuple [ Value.UnicodeChar 1162; Value.Integer 1163 ]; - Value.Tuple [ Value.UnicodeChar 1164; Value.Integer 1165 ]; - Value.Tuple [ Value.UnicodeChar 1166; Value.Integer 1167 ]; - Value.Tuple [ Value.UnicodeChar 1168; Value.Integer 1169 ]; - Value.Tuple [ Value.UnicodeChar 1170; Value.Integer 1171 ]; - Value.Tuple [ Value.UnicodeChar 1172; Value.Integer 1173 ]; - Value.Tuple [ Value.UnicodeChar 1174; Value.Integer 1175 ]; - Value.Tuple [ Value.UnicodeChar 1176; Value.Integer 1177 ]; - Value.Tuple [ Value.UnicodeChar 1178; Value.Integer 1179 ]; - Value.Tuple [ Value.UnicodeChar 1180; Value.Integer 1181 ]; - Value.Tuple [ Value.UnicodeChar 1182; Value.Integer 1183 ]; - Value.Tuple [ Value.UnicodeChar 1184; Value.Integer 1185 ]; - Value.Tuple [ Value.UnicodeChar 1186; Value.Integer 1187 ]; - Value.Tuple [ Value.UnicodeChar 1188; Value.Integer 1189 ]; - Value.Tuple [ Value.UnicodeChar 1190; Value.Integer 1191 ]; - Value.Tuple [ Value.UnicodeChar 1192; Value.Integer 1193 ]; - Value.Tuple [ Value.UnicodeChar 1194; Value.Integer 1195 ]; - Value.Tuple [ Value.UnicodeChar 1196; Value.Integer 1197 ]; - Value.Tuple [ Value.UnicodeChar 1198; Value.Integer 1199 ]; - Value.Tuple [ Value.UnicodeChar 1200; Value.Integer 1201 ]; - Value.Tuple [ Value.UnicodeChar 1202; Value.Integer 1203 ]; - Value.Tuple [ Value.UnicodeChar 1204; Value.Integer 1205 ]; - Value.Tuple [ Value.UnicodeChar 1206; Value.Integer 1207 ]; - Value.Tuple [ Value.UnicodeChar 1208; Value.Integer 1209 ]; - Value.Tuple [ Value.UnicodeChar 1210; Value.Integer 1211 ]; - Value.Tuple [ Value.UnicodeChar 1212; Value.Integer 1213 ]; - Value.Tuple [ Value.UnicodeChar 1214; Value.Integer 1215 ]; - Value.Tuple [ Value.UnicodeChar 1216; Value.Integer 1231 ]; - Value.Tuple [ Value.UnicodeChar 1217; Value.Integer 1218 ]; - Value.Tuple [ Value.UnicodeChar 1219; Value.Integer 1220 ]; - Value.Tuple [ Value.UnicodeChar 1221; Value.Integer 1222 ]; - Value.Tuple [ Value.UnicodeChar 1223; Value.Integer 1224 ]; - Value.Tuple [ Value.UnicodeChar 1225; Value.Integer 1226 ]; - Value.Tuple [ Value.UnicodeChar 1227; Value.Integer 1228 ]; - Value.Tuple [ Value.UnicodeChar 1229; Value.Integer 1230 ]; - Value.Tuple [ Value.UnicodeChar 1232; Value.Integer 1233 ]; - Value.Tuple [ Value.UnicodeChar 1234; Value.Integer 1235 ]; - Value.Tuple [ Value.UnicodeChar 1236; Value.Integer 1237 ]; - Value.Tuple [ Value.UnicodeChar 1238; Value.Integer 1239 ]; - Value.Tuple [ Value.UnicodeChar 1240; Value.Integer 1241 ]; - Value.Tuple [ Value.UnicodeChar 1242; Value.Integer 1243 ]; - Value.Tuple [ Value.UnicodeChar 1244; Value.Integer 1245 ]; - Value.Tuple [ Value.UnicodeChar 1246; Value.Integer 1247 ]; - Value.Tuple [ Value.UnicodeChar 1248; Value.Integer 1249 ]; - Value.Tuple [ Value.UnicodeChar 1250; Value.Integer 1251 ]; - Value.Tuple [ Value.UnicodeChar 1252; Value.Integer 1253 ]; - Value.Tuple [ Value.UnicodeChar 1254; Value.Integer 1255 ]; - Value.Tuple [ Value.UnicodeChar 1256; Value.Integer 1257 ]; - Value.Tuple [ Value.UnicodeChar 1258; Value.Integer 1259 ]; - Value.Tuple [ Value.UnicodeChar 1260; Value.Integer 1261 ]; - Value.Tuple [ Value.UnicodeChar 1262; Value.Integer 1263 ]; - Value.Tuple [ Value.UnicodeChar 1264; Value.Integer 1265 ]; - Value.Tuple [ Value.UnicodeChar 1266; Value.Integer 1267 ]; - Value.Tuple [ Value.UnicodeChar 1268; Value.Integer 1269 ]; - Value.Tuple [ Value.UnicodeChar 1270; Value.Integer 1271 ]; - Value.Tuple [ Value.UnicodeChar 1272; Value.Integer 1273 ]; - Value.Tuple [ Value.UnicodeChar 1274; Value.Integer 1275 ]; - Value.Tuple [ Value.UnicodeChar 1276; Value.Integer 1277 ]; - Value.Tuple [ Value.UnicodeChar 1278; Value.Integer 1279 ]; - Value.Tuple [ Value.UnicodeChar 1280; Value.Integer 1281 ]; - Value.Tuple [ Value.UnicodeChar 1282; Value.Integer 1283 ]; - Value.Tuple [ Value.UnicodeChar 1284; Value.Integer 1285 ]; - Value.Tuple [ Value.UnicodeChar 1286; Value.Integer 1287 ]; - Value.Tuple [ Value.UnicodeChar 1288; Value.Integer 1289 ]; - Value.Tuple [ Value.UnicodeChar 1290; Value.Integer 1291 ]; - Value.Tuple [ Value.UnicodeChar 1292; Value.Integer 1293 ]; - Value.Tuple [ Value.UnicodeChar 1294; Value.Integer 1295 ]; - Value.Tuple [ Value.UnicodeChar 1296; Value.Integer 1297 ]; - Value.Tuple [ Value.UnicodeChar 1298; Value.Integer 1299 ]; - Value.Tuple [ Value.UnicodeChar 1300; Value.Integer 1301 ]; - Value.Tuple [ Value.UnicodeChar 1302; Value.Integer 1303 ]; - Value.Tuple [ Value.UnicodeChar 1304; Value.Integer 1305 ]; - Value.Tuple [ Value.UnicodeChar 1306; Value.Integer 1307 ]; - Value.Tuple [ Value.UnicodeChar 1308; Value.Integer 1309 ]; - Value.Tuple [ Value.UnicodeChar 1310; Value.Integer 1311 ]; - Value.Tuple [ Value.UnicodeChar 1312; Value.Integer 1313 ]; - Value.Tuple [ Value.UnicodeChar 1314; Value.Integer 1315 ]; - Value.Tuple [ Value.UnicodeChar 1316; Value.Integer 1317 ]; - Value.Tuple [ Value.UnicodeChar 1318; Value.Integer 1319 ]; - Value.Tuple [ Value.UnicodeChar 1320; Value.Integer 1321 ]; - Value.Tuple [ Value.UnicodeChar 1322; Value.Integer 1323 ]; - Value.Tuple [ Value.UnicodeChar 1324; Value.Integer 1325 ]; - Value.Tuple [ Value.UnicodeChar 1326; Value.Integer 1327 ]; - Value.Tuple [ Value.UnicodeChar 1329; Value.Integer 1377 ]; - Value.Tuple [ Value.UnicodeChar 1330; Value.Integer 1378 ]; - Value.Tuple [ Value.UnicodeChar 1331; Value.Integer 1379 ]; - Value.Tuple [ Value.UnicodeChar 1332; Value.Integer 1380 ]; - Value.Tuple [ Value.UnicodeChar 1333; Value.Integer 1381 ]; - Value.Tuple [ Value.UnicodeChar 1334; Value.Integer 1382 ]; - Value.Tuple [ Value.UnicodeChar 1335; Value.Integer 1383 ]; - Value.Tuple [ Value.UnicodeChar 1336; Value.Integer 1384 ]; - Value.Tuple [ Value.UnicodeChar 1337; Value.Integer 1385 ]; - Value.Tuple [ Value.UnicodeChar 1338; Value.Integer 1386 ]; - Value.Tuple [ Value.UnicodeChar 1339; Value.Integer 1387 ]; - Value.Tuple [ Value.UnicodeChar 1340; Value.Integer 1388 ]; - Value.Tuple [ Value.UnicodeChar 1341; Value.Integer 1389 ]; - Value.Tuple [ Value.UnicodeChar 1342; Value.Integer 1390 ]; - Value.Tuple [ Value.UnicodeChar 1343; Value.Integer 1391 ]; - Value.Tuple [ Value.UnicodeChar 1344; Value.Integer 1392 ]; - Value.Tuple [ Value.UnicodeChar 1345; Value.Integer 1393 ]; - Value.Tuple [ Value.UnicodeChar 1346; Value.Integer 1394 ]; - Value.Tuple [ Value.UnicodeChar 1347; Value.Integer 1395 ]; - Value.Tuple [ Value.UnicodeChar 1348; Value.Integer 1396 ]; - Value.Tuple [ Value.UnicodeChar 1349; Value.Integer 1397 ]; - Value.Tuple [ Value.UnicodeChar 1350; Value.Integer 1398 ]; - Value.Tuple [ Value.UnicodeChar 1351; Value.Integer 1399 ]; - Value.Tuple [ Value.UnicodeChar 1352; Value.Integer 1400 ]; - Value.Tuple [ Value.UnicodeChar 1353; Value.Integer 1401 ]; - Value.Tuple [ Value.UnicodeChar 1354; Value.Integer 1402 ]; - Value.Tuple [ Value.UnicodeChar 1355; Value.Integer 1403 ]; - Value.Tuple [ Value.UnicodeChar 1356; Value.Integer 1404 ]; - Value.Tuple [ Value.UnicodeChar 1357; Value.Integer 1405 ]; - Value.Tuple [ Value.UnicodeChar 1358; Value.Integer 1406 ]; - Value.Tuple [ Value.UnicodeChar 1359; Value.Integer 1407 ]; - Value.Tuple [ Value.UnicodeChar 1360; Value.Integer 1408 ]; - Value.Tuple [ Value.UnicodeChar 1361; Value.Integer 1409 ]; - Value.Tuple [ Value.UnicodeChar 1362; Value.Integer 1410 ]; - Value.Tuple [ Value.UnicodeChar 1363; Value.Integer 1411 ]; - Value.Tuple [ Value.UnicodeChar 1364; Value.Integer 1412 ]; - Value.Tuple [ Value.UnicodeChar 1365; Value.Integer 1413 ]; - Value.Tuple [ Value.UnicodeChar 1366; Value.Integer 1414 ]; - Value.Tuple [ Value.UnicodeChar 4256; Value.Integer 11520 ]; - Value.Tuple [ Value.UnicodeChar 4257; Value.Integer 11521 ]; - Value.Tuple [ Value.UnicodeChar 4258; Value.Integer 11522 ]; - Value.Tuple [ Value.UnicodeChar 4259; Value.Integer 11523 ]; - Value.Tuple [ Value.UnicodeChar 4260; Value.Integer 11524 ]; - Value.Tuple [ Value.UnicodeChar 4261; Value.Integer 11525 ]; - Value.Tuple [ Value.UnicodeChar 4262; Value.Integer 11526 ]; - Value.Tuple [ Value.UnicodeChar 4263; Value.Integer 11527 ]; - Value.Tuple [ Value.UnicodeChar 4264; Value.Integer 11528 ]; - Value.Tuple [ Value.UnicodeChar 4265; Value.Integer 11529 ]; - Value.Tuple [ Value.UnicodeChar 4266; Value.Integer 11530 ]; - Value.Tuple [ Value.UnicodeChar 4267; Value.Integer 11531 ]; - Value.Tuple [ Value.UnicodeChar 4268; Value.Integer 11532 ]; - Value.Tuple [ Value.UnicodeChar 4269; Value.Integer 11533 ]; - Value.Tuple [ Value.UnicodeChar 4270; Value.Integer 11534 ]; - Value.Tuple [ Value.UnicodeChar 4271; Value.Integer 11535 ]; - Value.Tuple [ Value.UnicodeChar 4272; Value.Integer 11536 ]; - Value.Tuple [ Value.UnicodeChar 4273; Value.Integer 11537 ]; - Value.Tuple [ Value.UnicodeChar 4274; Value.Integer 11538 ]; - Value.Tuple [ Value.UnicodeChar 4275; Value.Integer 11539 ]; - Value.Tuple [ Value.UnicodeChar 4276; Value.Integer 11540 ]; - Value.Tuple [ Value.UnicodeChar 4277; Value.Integer 11541 ]; - Value.Tuple [ Value.UnicodeChar 4278; Value.Integer 11542 ]; - Value.Tuple [ Value.UnicodeChar 4279; Value.Integer 11543 ]; - Value.Tuple [ Value.UnicodeChar 4280; Value.Integer 11544 ]; - Value.Tuple [ Value.UnicodeChar 4281; Value.Integer 11545 ]; - Value.Tuple [ Value.UnicodeChar 4282; Value.Integer 11546 ]; - Value.Tuple [ Value.UnicodeChar 4283; Value.Integer 11547 ]; - Value.Tuple [ Value.UnicodeChar 4284; Value.Integer 11548 ]; - Value.Tuple [ Value.UnicodeChar 4285; Value.Integer 11549 ]; - Value.Tuple [ Value.UnicodeChar 4286; Value.Integer 11550 ]; - Value.Tuple [ Value.UnicodeChar 4287; Value.Integer 11551 ]; - Value.Tuple [ Value.UnicodeChar 4288; Value.Integer 11552 ]; - Value.Tuple [ Value.UnicodeChar 4289; Value.Integer 11553 ]; - Value.Tuple [ Value.UnicodeChar 4290; Value.Integer 11554 ]; - Value.Tuple [ Value.UnicodeChar 4291; Value.Integer 11555 ]; - Value.Tuple [ Value.UnicodeChar 4292; Value.Integer 11556 ]; - Value.Tuple [ Value.UnicodeChar 4293; Value.Integer 11557 ]; - Value.Tuple [ Value.UnicodeChar 4295; Value.Integer 11559 ]; - Value.Tuple [ Value.UnicodeChar 4301; Value.Integer 11565 ]; - Value.Tuple [ Value.UnicodeChar 5024; Value.Integer 43888 ]; - Value.Tuple [ Value.UnicodeChar 5025; Value.Integer 43889 ]; - Value.Tuple [ Value.UnicodeChar 5026; Value.Integer 43890 ]; - Value.Tuple [ Value.UnicodeChar 5027; Value.Integer 43891 ]; - Value.Tuple [ Value.UnicodeChar 5028; Value.Integer 43892 ]; - Value.Tuple [ Value.UnicodeChar 5029; Value.Integer 43893 ]; - Value.Tuple [ Value.UnicodeChar 5030; Value.Integer 43894 ]; - Value.Tuple [ Value.UnicodeChar 5031; Value.Integer 43895 ]; - Value.Tuple [ Value.UnicodeChar 5032; Value.Integer 43896 ]; - Value.Tuple [ Value.UnicodeChar 5033; Value.Integer 43897 ]; - Value.Tuple [ Value.UnicodeChar 5034; Value.Integer 43898 ]; - Value.Tuple [ Value.UnicodeChar 5035; Value.Integer 43899 ]; - Value.Tuple [ Value.UnicodeChar 5036; Value.Integer 43900 ]; - Value.Tuple [ Value.UnicodeChar 5037; Value.Integer 43901 ]; - Value.Tuple [ Value.UnicodeChar 5038; Value.Integer 43902 ]; - Value.Tuple [ Value.UnicodeChar 5039; Value.Integer 43903 ]; - Value.Tuple [ Value.UnicodeChar 5040; Value.Integer 43904 ]; - Value.Tuple [ Value.UnicodeChar 5041; Value.Integer 43905 ]; - Value.Tuple [ Value.UnicodeChar 5042; Value.Integer 43906 ]; - Value.Tuple [ Value.UnicodeChar 5043; Value.Integer 43907 ]; - Value.Tuple [ Value.UnicodeChar 5044; Value.Integer 43908 ]; - Value.Tuple [ Value.UnicodeChar 5045; Value.Integer 43909 ]; - Value.Tuple [ Value.UnicodeChar 5046; Value.Integer 43910 ]; - Value.Tuple [ Value.UnicodeChar 5047; Value.Integer 43911 ]; - Value.Tuple [ Value.UnicodeChar 5048; Value.Integer 43912 ]; - Value.Tuple [ Value.UnicodeChar 5049; Value.Integer 43913 ]; - Value.Tuple [ Value.UnicodeChar 5050; Value.Integer 43914 ]; - Value.Tuple [ Value.UnicodeChar 5051; Value.Integer 43915 ]; - Value.Tuple [ Value.UnicodeChar 5052; Value.Integer 43916 ]; - Value.Tuple [ Value.UnicodeChar 5053; Value.Integer 43917 ]; - Value.Tuple [ Value.UnicodeChar 5054; Value.Integer 43918 ]; - Value.Tuple [ Value.UnicodeChar 5055; Value.Integer 43919 ]; - Value.Tuple [ Value.UnicodeChar 5056; Value.Integer 43920 ]; - Value.Tuple [ Value.UnicodeChar 5057; Value.Integer 43921 ]; - Value.Tuple [ Value.UnicodeChar 5058; Value.Integer 43922 ]; - Value.Tuple [ Value.UnicodeChar 5059; Value.Integer 43923 ]; - Value.Tuple [ Value.UnicodeChar 5060; Value.Integer 43924 ]; - Value.Tuple [ Value.UnicodeChar 5061; Value.Integer 43925 ]; - Value.Tuple [ Value.UnicodeChar 5062; Value.Integer 43926 ]; - Value.Tuple [ Value.UnicodeChar 5063; Value.Integer 43927 ]; - Value.Tuple [ Value.UnicodeChar 5064; Value.Integer 43928 ]; - Value.Tuple [ Value.UnicodeChar 5065; Value.Integer 43929 ]; - Value.Tuple [ Value.UnicodeChar 5066; Value.Integer 43930 ]; - Value.Tuple [ Value.UnicodeChar 5067; Value.Integer 43931 ]; - Value.Tuple [ Value.UnicodeChar 5068; Value.Integer 43932 ]; - Value.Tuple [ Value.UnicodeChar 5069; Value.Integer 43933 ]; - Value.Tuple [ Value.UnicodeChar 5070; Value.Integer 43934 ]; - Value.Tuple [ Value.UnicodeChar 5071; Value.Integer 43935 ]; - Value.Tuple [ Value.UnicodeChar 5072; Value.Integer 43936 ]; - Value.Tuple [ Value.UnicodeChar 5073; Value.Integer 43937 ]; - Value.Tuple [ Value.UnicodeChar 5074; Value.Integer 43938 ]; - Value.Tuple [ Value.UnicodeChar 5075; Value.Integer 43939 ]; - Value.Tuple [ Value.UnicodeChar 5076; Value.Integer 43940 ]; - Value.Tuple [ Value.UnicodeChar 5077; Value.Integer 43941 ]; - Value.Tuple [ Value.UnicodeChar 5078; Value.Integer 43942 ]; - Value.Tuple [ Value.UnicodeChar 5079; Value.Integer 43943 ]; - Value.Tuple [ Value.UnicodeChar 5080; Value.Integer 43944 ]; - Value.Tuple [ Value.UnicodeChar 5081; Value.Integer 43945 ]; - Value.Tuple [ Value.UnicodeChar 5082; Value.Integer 43946 ]; - Value.Tuple [ Value.UnicodeChar 5083; Value.Integer 43947 ]; - Value.Tuple [ Value.UnicodeChar 5084; Value.Integer 43948 ]; - Value.Tuple [ Value.UnicodeChar 5085; Value.Integer 43949 ]; - Value.Tuple [ Value.UnicodeChar 5086; Value.Integer 43950 ]; - Value.Tuple [ Value.UnicodeChar 5087; Value.Integer 43951 ]; - Value.Tuple [ Value.UnicodeChar 5088; Value.Integer 43952 ]; - Value.Tuple [ Value.UnicodeChar 5089; Value.Integer 43953 ]; - Value.Tuple [ Value.UnicodeChar 5090; Value.Integer 43954 ]; - Value.Tuple [ Value.UnicodeChar 5091; Value.Integer 43955 ]; - Value.Tuple [ Value.UnicodeChar 5092; Value.Integer 43956 ]; - Value.Tuple [ Value.UnicodeChar 5093; Value.Integer 43957 ]; - Value.Tuple [ Value.UnicodeChar 5094; Value.Integer 43958 ]; - Value.Tuple [ Value.UnicodeChar 5095; Value.Integer 43959 ]; - Value.Tuple [ Value.UnicodeChar 5096; Value.Integer 43960 ]; - Value.Tuple [ Value.UnicodeChar 5097; Value.Integer 43961 ]; - Value.Tuple [ Value.UnicodeChar 5098; Value.Integer 43962 ]; - Value.Tuple [ Value.UnicodeChar 5099; Value.Integer 43963 ]; - Value.Tuple [ Value.UnicodeChar 5100; Value.Integer 43964 ]; - Value.Tuple [ Value.UnicodeChar 5101; Value.Integer 43965 ]; - Value.Tuple [ Value.UnicodeChar 5102; Value.Integer 43966 ]; - Value.Tuple [ Value.UnicodeChar 5103; Value.Integer 43967 ]; - Value.Tuple [ Value.UnicodeChar 5104; Value.Integer 5112 ]; - Value.Tuple [ Value.UnicodeChar 5105; Value.Integer 5113 ]; - Value.Tuple [ Value.UnicodeChar 5106; Value.Integer 5114 ]; - Value.Tuple [ Value.UnicodeChar 5107; Value.Integer 5115 ]; - Value.Tuple [ Value.UnicodeChar 5108; Value.Integer 5116 ]; - Value.Tuple [ Value.UnicodeChar 5109; Value.Integer 5117 ]; - Value.Tuple [ Value.UnicodeChar 7312; Value.Integer 4304 ]; - Value.Tuple [ Value.UnicodeChar 7313; Value.Integer 4305 ]; - Value.Tuple [ Value.UnicodeChar 7314; Value.Integer 4306 ]; - Value.Tuple [ Value.UnicodeChar 7315; Value.Integer 4307 ]; - Value.Tuple [ Value.UnicodeChar 7316; Value.Integer 4308 ]; - Value.Tuple [ Value.UnicodeChar 7317; Value.Integer 4309 ]; - Value.Tuple [ Value.UnicodeChar 7318; Value.Integer 4310 ]; - Value.Tuple [ Value.UnicodeChar 7319; Value.Integer 4311 ]; - Value.Tuple [ Value.UnicodeChar 7320; Value.Integer 4312 ]; - Value.Tuple [ Value.UnicodeChar 7321; Value.Integer 4313 ]; - Value.Tuple [ Value.UnicodeChar 7322; Value.Integer 4314 ]; - Value.Tuple [ Value.UnicodeChar 7323; Value.Integer 4315 ]; - Value.Tuple [ Value.UnicodeChar 7324; Value.Integer 4316 ]; - Value.Tuple [ Value.UnicodeChar 7325; Value.Integer 4317 ]; - Value.Tuple [ Value.UnicodeChar 7326; Value.Integer 4318 ]; - Value.Tuple [ Value.UnicodeChar 7327; Value.Integer 4319 ]; - Value.Tuple [ Value.UnicodeChar 7328; Value.Integer 4320 ]; - Value.Tuple [ Value.UnicodeChar 7329; Value.Integer 4321 ]; - Value.Tuple [ Value.UnicodeChar 7330; Value.Integer 4322 ]; - Value.Tuple [ Value.UnicodeChar 7331; Value.Integer 4323 ]; - Value.Tuple [ Value.UnicodeChar 7332; Value.Integer 4324 ]; - Value.Tuple [ Value.UnicodeChar 7333; Value.Integer 4325 ]; - Value.Tuple [ Value.UnicodeChar 7334; Value.Integer 4326 ]; - Value.Tuple [ Value.UnicodeChar 7335; Value.Integer 4327 ]; - Value.Tuple [ Value.UnicodeChar 7336; Value.Integer 4328 ]; - Value.Tuple [ Value.UnicodeChar 7337; Value.Integer 4329 ]; - Value.Tuple [ Value.UnicodeChar 7338; Value.Integer 4330 ]; - Value.Tuple [ Value.UnicodeChar 7339; Value.Integer 4331 ]; - Value.Tuple [ Value.UnicodeChar 7340; Value.Integer 4332 ]; - Value.Tuple [ Value.UnicodeChar 7341; Value.Integer 4333 ]; - Value.Tuple [ Value.UnicodeChar 7342; Value.Integer 4334 ]; - Value.Tuple [ Value.UnicodeChar 7343; Value.Integer 4335 ]; - Value.Tuple [ Value.UnicodeChar 7344; Value.Integer 4336 ]; - Value.Tuple [ Value.UnicodeChar 7345; Value.Integer 4337 ]; - Value.Tuple [ Value.UnicodeChar 7346; Value.Integer 4338 ]; - Value.Tuple [ Value.UnicodeChar 7347; Value.Integer 4339 ]; - Value.Tuple [ Value.UnicodeChar 7348; Value.Integer 4340 ]; - Value.Tuple [ Value.UnicodeChar 7349; Value.Integer 4341 ]; - Value.Tuple [ Value.UnicodeChar 7350; Value.Integer 4342 ]; - Value.Tuple [ Value.UnicodeChar 7351; Value.Integer 4343 ]; - Value.Tuple [ Value.UnicodeChar 7352; Value.Integer 4344 ]; - Value.Tuple [ Value.UnicodeChar 7353; Value.Integer 4345 ]; - Value.Tuple [ Value.UnicodeChar 7354; Value.Integer 4346 ]; - Value.Tuple [ Value.UnicodeChar 7357; Value.Integer 4349 ]; - Value.Tuple [ Value.UnicodeChar 7358; Value.Integer 4350 ]; - Value.Tuple [ Value.UnicodeChar 7359; Value.Integer 4351 ]; - Value.Tuple [ Value.UnicodeChar 7680; Value.Integer 7681 ]; - Value.Tuple [ Value.UnicodeChar 7682; Value.Integer 7683 ]; - Value.Tuple [ Value.UnicodeChar 7684; Value.Integer 7685 ]; - Value.Tuple [ Value.UnicodeChar 7686; Value.Integer 7687 ]; - Value.Tuple [ Value.UnicodeChar 7688; Value.Integer 7689 ]; - Value.Tuple [ Value.UnicodeChar 7690; Value.Integer 7691 ]; - Value.Tuple [ Value.UnicodeChar 7692; Value.Integer 7693 ]; - Value.Tuple [ Value.UnicodeChar 7694; Value.Integer 7695 ]; - Value.Tuple [ Value.UnicodeChar 7696; Value.Integer 7697 ]; - Value.Tuple [ Value.UnicodeChar 7698; Value.Integer 7699 ]; - Value.Tuple [ Value.UnicodeChar 7700; Value.Integer 7701 ]; - Value.Tuple [ Value.UnicodeChar 7702; Value.Integer 7703 ]; - Value.Tuple [ Value.UnicodeChar 7704; Value.Integer 7705 ]; - Value.Tuple [ Value.UnicodeChar 7706; Value.Integer 7707 ]; - Value.Tuple [ Value.UnicodeChar 7708; Value.Integer 7709 ]; - Value.Tuple [ Value.UnicodeChar 7710; Value.Integer 7711 ]; - Value.Tuple [ Value.UnicodeChar 7712; Value.Integer 7713 ]; - Value.Tuple [ Value.UnicodeChar 7714; Value.Integer 7715 ]; - Value.Tuple [ Value.UnicodeChar 7716; Value.Integer 7717 ]; - Value.Tuple [ Value.UnicodeChar 7718; Value.Integer 7719 ]; - Value.Tuple [ Value.UnicodeChar 7720; Value.Integer 7721 ]; - Value.Tuple [ Value.UnicodeChar 7722; Value.Integer 7723 ]; - Value.Tuple [ Value.UnicodeChar 7724; Value.Integer 7725 ]; - Value.Tuple [ Value.UnicodeChar 7726; Value.Integer 7727 ]; - Value.Tuple [ Value.UnicodeChar 7728; Value.Integer 7729 ]; - Value.Tuple [ Value.UnicodeChar 7730; Value.Integer 7731 ]; - Value.Tuple [ Value.UnicodeChar 7732; Value.Integer 7733 ]; - Value.Tuple [ Value.UnicodeChar 7734; Value.Integer 7735 ]; - Value.Tuple [ Value.UnicodeChar 7736; Value.Integer 7737 ]; - Value.Tuple [ Value.UnicodeChar 7738; Value.Integer 7739 ]; - Value.Tuple [ Value.UnicodeChar 7740; Value.Integer 7741 ]; - Value.Tuple [ Value.UnicodeChar 7742; Value.Integer 7743 ]; - Value.Tuple [ Value.UnicodeChar 7744; Value.Integer 7745 ]; - Value.Tuple [ Value.UnicodeChar 7746; Value.Integer 7747 ]; - Value.Tuple [ Value.UnicodeChar 7748; Value.Integer 7749 ]; - Value.Tuple [ Value.UnicodeChar 7750; Value.Integer 7751 ]; - Value.Tuple [ Value.UnicodeChar 7752; Value.Integer 7753 ]; - Value.Tuple [ Value.UnicodeChar 7754; Value.Integer 7755 ]; - Value.Tuple [ Value.UnicodeChar 7756; Value.Integer 7757 ]; - Value.Tuple [ Value.UnicodeChar 7758; Value.Integer 7759 ]; - Value.Tuple [ Value.UnicodeChar 7760; Value.Integer 7761 ]; - Value.Tuple [ Value.UnicodeChar 7762; Value.Integer 7763 ]; - Value.Tuple [ Value.UnicodeChar 7764; Value.Integer 7765 ]; - Value.Tuple [ Value.UnicodeChar 7766; Value.Integer 7767 ]; - Value.Tuple [ Value.UnicodeChar 7768; Value.Integer 7769 ]; - Value.Tuple [ Value.UnicodeChar 7770; Value.Integer 7771 ]; - Value.Tuple [ Value.UnicodeChar 7772; Value.Integer 7773 ]; - Value.Tuple [ Value.UnicodeChar 7774; Value.Integer 7775 ]; - Value.Tuple [ Value.UnicodeChar 7776; Value.Integer 7777 ]; - Value.Tuple [ Value.UnicodeChar 7778; Value.Integer 7779 ]; - Value.Tuple [ Value.UnicodeChar 7780; Value.Integer 7781 ]; - Value.Tuple [ Value.UnicodeChar 7782; Value.Integer 7783 ]; - Value.Tuple [ Value.UnicodeChar 7784; Value.Integer 7785 ]; - Value.Tuple [ Value.UnicodeChar 7786; Value.Integer 7787 ]; - Value.Tuple [ Value.UnicodeChar 7788; Value.Integer 7789 ]; - Value.Tuple [ Value.UnicodeChar 7790; Value.Integer 7791 ]; - Value.Tuple [ Value.UnicodeChar 7792; Value.Integer 7793 ]; - Value.Tuple [ Value.UnicodeChar 7794; Value.Integer 7795 ]; - Value.Tuple [ Value.UnicodeChar 7796; Value.Integer 7797 ]; - Value.Tuple [ Value.UnicodeChar 7798; Value.Integer 7799 ]; - Value.Tuple [ Value.UnicodeChar 7800; Value.Integer 7801 ]; - Value.Tuple [ Value.UnicodeChar 7802; Value.Integer 7803 ]; - Value.Tuple [ Value.UnicodeChar 7804; Value.Integer 7805 ]; - Value.Tuple [ Value.UnicodeChar 7806; Value.Integer 7807 ]; - Value.Tuple [ Value.UnicodeChar 7808; Value.Integer 7809 ]; - Value.Tuple [ Value.UnicodeChar 7810; Value.Integer 7811 ]; - Value.Tuple [ Value.UnicodeChar 7812; Value.Integer 7813 ]; - Value.Tuple [ Value.UnicodeChar 7814; Value.Integer 7815 ]; - Value.Tuple [ Value.UnicodeChar 7816; Value.Integer 7817 ]; - Value.Tuple [ Value.UnicodeChar 7818; Value.Integer 7819 ]; - Value.Tuple [ Value.UnicodeChar 7820; Value.Integer 7821 ]; - Value.Tuple [ Value.UnicodeChar 7822; Value.Integer 7823 ]; - Value.Tuple [ Value.UnicodeChar 7824; Value.Integer 7825 ]; - Value.Tuple [ Value.UnicodeChar 7826; Value.Integer 7827 ]; - Value.Tuple [ Value.UnicodeChar 7828; Value.Integer 7829 ]; - Value.Tuple [ Value.UnicodeChar 7838; Value.Integer 223 ]; - Value.Tuple [ Value.UnicodeChar 7840; Value.Integer 7841 ]; - Value.Tuple [ Value.UnicodeChar 7842; Value.Integer 7843 ]; - Value.Tuple [ Value.UnicodeChar 7844; Value.Integer 7845 ]; - Value.Tuple [ Value.UnicodeChar 7846; Value.Integer 7847 ]; - Value.Tuple [ Value.UnicodeChar 7848; Value.Integer 7849 ]; - Value.Tuple [ Value.UnicodeChar 7850; Value.Integer 7851 ]; - Value.Tuple [ Value.UnicodeChar 7852; Value.Integer 7853 ]; - Value.Tuple [ Value.UnicodeChar 7854; Value.Integer 7855 ]; - Value.Tuple [ Value.UnicodeChar 7856; Value.Integer 7857 ]; - Value.Tuple [ Value.UnicodeChar 7858; Value.Integer 7859 ]; - Value.Tuple [ Value.UnicodeChar 7860; Value.Integer 7861 ]; - Value.Tuple [ Value.UnicodeChar 7862; Value.Integer 7863 ]; - Value.Tuple [ Value.UnicodeChar 7864; Value.Integer 7865 ]; - Value.Tuple [ Value.UnicodeChar 7866; Value.Integer 7867 ]; - Value.Tuple [ Value.UnicodeChar 7868; Value.Integer 7869 ]; - Value.Tuple [ Value.UnicodeChar 7870; Value.Integer 7871 ]; - Value.Tuple [ Value.UnicodeChar 7872; Value.Integer 7873 ]; - Value.Tuple [ Value.UnicodeChar 7874; Value.Integer 7875 ]; - Value.Tuple [ Value.UnicodeChar 7876; Value.Integer 7877 ]; - Value.Tuple [ Value.UnicodeChar 7878; Value.Integer 7879 ]; - Value.Tuple [ Value.UnicodeChar 7880; Value.Integer 7881 ]; - Value.Tuple [ Value.UnicodeChar 7882; Value.Integer 7883 ]; - Value.Tuple [ Value.UnicodeChar 7884; Value.Integer 7885 ]; - Value.Tuple [ Value.UnicodeChar 7886; Value.Integer 7887 ]; - Value.Tuple [ Value.UnicodeChar 7888; Value.Integer 7889 ]; - Value.Tuple [ Value.UnicodeChar 7890; Value.Integer 7891 ]; - Value.Tuple [ Value.UnicodeChar 7892; Value.Integer 7893 ]; - Value.Tuple [ Value.UnicodeChar 7894; Value.Integer 7895 ]; - Value.Tuple [ Value.UnicodeChar 7896; Value.Integer 7897 ]; - Value.Tuple [ Value.UnicodeChar 7898; Value.Integer 7899 ]; - Value.Tuple [ Value.UnicodeChar 7900; Value.Integer 7901 ]; - Value.Tuple [ Value.UnicodeChar 7902; Value.Integer 7903 ]; - Value.Tuple [ Value.UnicodeChar 7904; Value.Integer 7905 ]; - Value.Tuple [ Value.UnicodeChar 7906; Value.Integer 7907 ]; - Value.Tuple [ Value.UnicodeChar 7908; Value.Integer 7909 ]; - Value.Tuple [ Value.UnicodeChar 7910; Value.Integer 7911 ]; - Value.Tuple [ Value.UnicodeChar 7912; Value.Integer 7913 ]; - Value.Tuple [ Value.UnicodeChar 7914; Value.Integer 7915 ]; - Value.Tuple [ Value.UnicodeChar 7916; Value.Integer 7917 ]; - Value.Tuple [ Value.UnicodeChar 7918; Value.Integer 7919 ]; - Value.Tuple [ Value.UnicodeChar 7920; Value.Integer 7921 ]; - Value.Tuple [ Value.UnicodeChar 7922; Value.Integer 7923 ]; - Value.Tuple [ Value.UnicodeChar 7924; Value.Integer 7925 ]; - Value.Tuple [ Value.UnicodeChar 7926; Value.Integer 7927 ]; - Value.Tuple [ Value.UnicodeChar 7928; Value.Integer 7929 ]; - Value.Tuple [ Value.UnicodeChar 7930; Value.Integer 7931 ]; - Value.Tuple [ Value.UnicodeChar 7932; Value.Integer 7933 ]; - Value.Tuple [ Value.UnicodeChar 7934; Value.Integer 7935 ]; - Value.Tuple [ Value.UnicodeChar 7944; Value.Integer 7936 ]; - Value.Tuple [ Value.UnicodeChar 7945; Value.Integer 7937 ]; - Value.Tuple [ Value.UnicodeChar 7946; Value.Integer 7938 ]; - Value.Tuple [ Value.UnicodeChar 7947; Value.Integer 7939 ]; - Value.Tuple [ Value.UnicodeChar 7948; Value.Integer 7940 ]; - Value.Tuple [ Value.UnicodeChar 7949; Value.Integer 7941 ]; - Value.Tuple [ Value.UnicodeChar 7950; Value.Integer 7942 ]; - Value.Tuple [ Value.UnicodeChar 7951; Value.Integer 7943 ]; - Value.Tuple [ Value.UnicodeChar 7960; Value.Integer 7952 ]; - Value.Tuple [ Value.UnicodeChar 7961; Value.Integer 7953 ]; - Value.Tuple [ Value.UnicodeChar 7962; Value.Integer 7954 ]; - Value.Tuple [ Value.UnicodeChar 7963; Value.Integer 7955 ]; - Value.Tuple [ Value.UnicodeChar 7964; Value.Integer 7956 ]; - Value.Tuple [ Value.UnicodeChar 7965; Value.Integer 7957 ]; - Value.Tuple [ Value.UnicodeChar 7976; Value.Integer 7968 ]; - Value.Tuple [ Value.UnicodeChar 7977; Value.Integer 7969 ]; - Value.Tuple [ Value.UnicodeChar 7978; Value.Integer 7970 ]; - Value.Tuple [ Value.UnicodeChar 7979; Value.Integer 7971 ]; - Value.Tuple [ Value.UnicodeChar 7980; Value.Integer 7972 ]; - Value.Tuple [ Value.UnicodeChar 7981; Value.Integer 7973 ]; - Value.Tuple [ Value.UnicodeChar 7982; Value.Integer 7974 ]; - Value.Tuple [ Value.UnicodeChar 7983; Value.Integer 7975 ]; - Value.Tuple [ Value.UnicodeChar 7992; Value.Integer 7984 ]; - Value.Tuple [ Value.UnicodeChar 7993; Value.Integer 7985 ]; - Value.Tuple [ Value.UnicodeChar 7994; Value.Integer 7986 ]; - Value.Tuple [ Value.UnicodeChar 7995; Value.Integer 7987 ]; - Value.Tuple [ Value.UnicodeChar 7996; Value.Integer 7988 ]; - Value.Tuple [ Value.UnicodeChar 7997; Value.Integer 7989 ]; - Value.Tuple [ Value.UnicodeChar 7998; Value.Integer 7990 ]; - Value.Tuple [ Value.UnicodeChar 7999; Value.Integer 7991 ]; - Value.Tuple [ Value.UnicodeChar 8008; Value.Integer 8000 ]; - Value.Tuple [ Value.UnicodeChar 8009; Value.Integer 8001 ]; - Value.Tuple [ Value.UnicodeChar 8010; Value.Integer 8002 ]; - Value.Tuple [ Value.UnicodeChar 8011; Value.Integer 8003 ]; - Value.Tuple [ Value.UnicodeChar 8012; Value.Integer 8004 ]; - Value.Tuple [ Value.UnicodeChar 8013; Value.Integer 8005 ]; - Value.Tuple [ Value.UnicodeChar 8025; Value.Integer 8017 ]; - Value.Tuple [ Value.UnicodeChar 8027; Value.Integer 8019 ]; - Value.Tuple [ Value.UnicodeChar 8029; Value.Integer 8021 ]; - Value.Tuple [ Value.UnicodeChar 8031; Value.Integer 8023 ]; - Value.Tuple [ Value.UnicodeChar 8040; Value.Integer 8032 ]; - Value.Tuple [ Value.UnicodeChar 8041; Value.Integer 8033 ]; - Value.Tuple [ Value.UnicodeChar 8042; Value.Integer 8034 ]; - Value.Tuple [ Value.UnicodeChar 8043; Value.Integer 8035 ]; - Value.Tuple [ Value.UnicodeChar 8044; Value.Integer 8036 ]; - Value.Tuple [ Value.UnicodeChar 8045; Value.Integer 8037 ]; - Value.Tuple [ Value.UnicodeChar 8046; Value.Integer 8038 ]; - Value.Tuple [ Value.UnicodeChar 8047; Value.Integer 8039 ]; - Value.Tuple [ Value.UnicodeChar 8072; Value.Integer 8064 ]; - Value.Tuple [ Value.UnicodeChar 8073; Value.Integer 8065 ]; - Value.Tuple [ Value.UnicodeChar 8074; Value.Integer 8066 ]; - Value.Tuple [ Value.UnicodeChar 8075; Value.Integer 8067 ]; - Value.Tuple [ Value.UnicodeChar 8076; Value.Integer 8068 ]; - Value.Tuple [ Value.UnicodeChar 8077; Value.Integer 8069 ]; - Value.Tuple [ Value.UnicodeChar 8078; Value.Integer 8070 ]; - Value.Tuple [ Value.UnicodeChar 8079; Value.Integer 8071 ]; - Value.Tuple [ Value.UnicodeChar 8088; Value.Integer 8080 ]; - Value.Tuple [ Value.UnicodeChar 8089; Value.Integer 8081 ]; - Value.Tuple [ Value.UnicodeChar 8090; Value.Integer 8082 ]; - Value.Tuple [ Value.UnicodeChar 8091; Value.Integer 8083 ]; - Value.Tuple [ Value.UnicodeChar 8092; Value.Integer 8084 ]; - Value.Tuple [ Value.UnicodeChar 8093; Value.Integer 8085 ]; - Value.Tuple [ Value.UnicodeChar 8094; Value.Integer 8086 ]; - Value.Tuple [ Value.UnicodeChar 8095; Value.Integer 8087 ]; - Value.Tuple [ Value.UnicodeChar 8104; Value.Integer 8096 ]; - Value.Tuple [ Value.UnicodeChar 8105; Value.Integer 8097 ]; - Value.Tuple [ Value.UnicodeChar 8106; Value.Integer 8098 ]; - Value.Tuple [ Value.UnicodeChar 8107; Value.Integer 8099 ]; - Value.Tuple [ Value.UnicodeChar 8108; Value.Integer 8100 ]; - Value.Tuple [ Value.UnicodeChar 8109; Value.Integer 8101 ]; - Value.Tuple [ Value.UnicodeChar 8110; Value.Integer 8102 ]; - Value.Tuple [ Value.UnicodeChar 8111; Value.Integer 8103 ]; - Value.Tuple [ Value.UnicodeChar 8120; Value.Integer 8112 ]; - Value.Tuple [ Value.UnicodeChar 8121; Value.Integer 8113 ]; - Value.Tuple [ Value.UnicodeChar 8122; Value.Integer 8048 ]; - Value.Tuple [ Value.UnicodeChar 8123; Value.Integer 8049 ]; - Value.Tuple [ Value.UnicodeChar 8124; Value.Integer 8115 ]; - Value.Tuple [ Value.UnicodeChar 8136; Value.Integer 8050 ]; - Value.Tuple [ Value.UnicodeChar 8137; Value.Integer 8051 ]; - Value.Tuple [ Value.UnicodeChar 8138; Value.Integer 8052 ]; - Value.Tuple [ Value.UnicodeChar 8139; Value.Integer 8053 ]; - Value.Tuple [ Value.UnicodeChar 8140; Value.Integer 8131 ]; - Value.Tuple [ Value.UnicodeChar 8152; Value.Integer 8144 ]; - Value.Tuple [ Value.UnicodeChar 8153; Value.Integer 8145 ]; - Value.Tuple [ Value.UnicodeChar 8154; Value.Integer 8054 ]; - Value.Tuple [ Value.UnicodeChar 8155; Value.Integer 8055 ]; - Value.Tuple [ Value.UnicodeChar 8168; Value.Integer 8160 ]; - Value.Tuple [ Value.UnicodeChar 8169; Value.Integer 8161 ]; - Value.Tuple [ Value.UnicodeChar 8170; Value.Integer 8058 ]; - Value.Tuple [ Value.UnicodeChar 8171; Value.Integer 8059 ]; - Value.Tuple [ Value.UnicodeChar 8172; Value.Integer 8165 ]; - Value.Tuple [ Value.UnicodeChar 8184; Value.Integer 8056 ]; - Value.Tuple [ Value.UnicodeChar 8185; Value.Integer 8057 ]; - Value.Tuple [ Value.UnicodeChar 8186; Value.Integer 8060 ]; - Value.Tuple [ Value.UnicodeChar 8187; Value.Integer 8061 ]; - Value.Tuple [ Value.UnicodeChar 8188; Value.Integer 8179 ]; - Value.Tuple [ Value.UnicodeChar 8486; Value.Integer 969 ]; - Value.Tuple [ Value.UnicodeChar 8490; Value.Integer 107 ]; - Value.Tuple [ Value.UnicodeChar 8491; Value.Integer 229 ]; - Value.Tuple [ Value.UnicodeChar 8498; Value.Integer 8526 ]; - Value.Tuple [ Value.UnicodeChar 8544; Value.Integer 8560 ]; - Value.Tuple [ Value.UnicodeChar 8545; Value.Integer 8561 ]; - Value.Tuple [ Value.UnicodeChar 8546; Value.Integer 8562 ]; - Value.Tuple [ Value.UnicodeChar 8547; Value.Integer 8563 ]; - Value.Tuple [ Value.UnicodeChar 8548; Value.Integer 8564 ]; - Value.Tuple [ Value.UnicodeChar 8549; Value.Integer 8565 ]; - Value.Tuple [ Value.UnicodeChar 8550; Value.Integer 8566 ]; - Value.Tuple [ Value.UnicodeChar 8551; Value.Integer 8567 ]; - Value.Tuple [ Value.UnicodeChar 8552; Value.Integer 8568 ]; - Value.Tuple [ Value.UnicodeChar 8553; Value.Integer 8569 ]; - Value.Tuple [ Value.UnicodeChar 8554; Value.Integer 8570 ]; - Value.Tuple [ Value.UnicodeChar 8555; Value.Integer 8571 ]; - Value.Tuple [ Value.UnicodeChar 8556; Value.Integer 8572 ]; - Value.Tuple [ Value.UnicodeChar 8557; Value.Integer 8573 ]; - Value.Tuple [ Value.UnicodeChar 8558; Value.Integer 8574 ]; - Value.Tuple [ Value.UnicodeChar 8559; Value.Integer 8575 ]; - Value.Tuple [ Value.UnicodeChar 8579; Value.Integer 8580 ]; - Value.Tuple [ Value.UnicodeChar 9398; Value.Integer 9424 ]; - Value.Tuple [ Value.UnicodeChar 9399; Value.Integer 9425 ]; - Value.Tuple [ Value.UnicodeChar 9400; Value.Integer 9426 ]; - Value.Tuple [ Value.UnicodeChar 9401; Value.Integer 9427 ]; - Value.Tuple [ Value.UnicodeChar 9402; Value.Integer 9428 ]; - Value.Tuple [ Value.UnicodeChar 9403; Value.Integer 9429 ]; - Value.Tuple [ Value.UnicodeChar 9404; Value.Integer 9430 ]; - Value.Tuple [ Value.UnicodeChar 9405; Value.Integer 9431 ]; - Value.Tuple [ Value.UnicodeChar 9406; Value.Integer 9432 ]; - Value.Tuple [ Value.UnicodeChar 9407; Value.Integer 9433 ]; - Value.Tuple [ Value.UnicodeChar 9408; Value.Integer 9434 ]; - Value.Tuple [ Value.UnicodeChar 9409; Value.Integer 9435 ]; - Value.Tuple [ Value.UnicodeChar 9410; Value.Integer 9436 ]; - Value.Tuple [ Value.UnicodeChar 9411; Value.Integer 9437 ]; - Value.Tuple [ Value.UnicodeChar 9412; Value.Integer 9438 ]; - Value.Tuple [ Value.UnicodeChar 9413; Value.Integer 9439 ]; - Value.Tuple [ Value.UnicodeChar 9414; Value.Integer 9440 ]; - Value.Tuple [ Value.UnicodeChar 9415; Value.Integer 9441 ]; - Value.Tuple [ Value.UnicodeChar 9416; Value.Integer 9442 ]; - Value.Tuple [ Value.UnicodeChar 9417; Value.Integer 9443 ]; - Value.Tuple [ Value.UnicodeChar 9418; Value.Integer 9444 ]; - Value.Tuple [ Value.UnicodeChar 9419; Value.Integer 9445 ]; - Value.Tuple [ Value.UnicodeChar 9420; Value.Integer 9446 ]; - Value.Tuple [ Value.UnicodeChar 9421; Value.Integer 9447 ]; - Value.Tuple [ Value.UnicodeChar 9422; Value.Integer 9448 ]; - Value.Tuple [ Value.UnicodeChar 9423; Value.Integer 9449 ]; - Value.Tuple [ Value.UnicodeChar 11264; Value.Integer 11312 ]; - Value.Tuple [ Value.UnicodeChar 11265; Value.Integer 11313 ]; - Value.Tuple [ Value.UnicodeChar 11266; Value.Integer 11314 ]; - Value.Tuple [ Value.UnicodeChar 11267; Value.Integer 11315 ]; - Value.Tuple [ Value.UnicodeChar 11268; Value.Integer 11316 ]; - Value.Tuple [ Value.UnicodeChar 11269; Value.Integer 11317 ]; - Value.Tuple [ Value.UnicodeChar 11270; Value.Integer 11318 ]; - Value.Tuple [ Value.UnicodeChar 11271; Value.Integer 11319 ]; - Value.Tuple [ Value.UnicodeChar 11272; Value.Integer 11320 ]; - Value.Tuple [ Value.UnicodeChar 11273; Value.Integer 11321 ]; - Value.Tuple [ Value.UnicodeChar 11274; Value.Integer 11322 ]; - Value.Tuple [ Value.UnicodeChar 11275; Value.Integer 11323 ]; - Value.Tuple [ Value.UnicodeChar 11276; Value.Integer 11324 ]; - Value.Tuple [ Value.UnicodeChar 11277; Value.Integer 11325 ]; - Value.Tuple [ Value.UnicodeChar 11278; Value.Integer 11326 ]; - Value.Tuple [ Value.UnicodeChar 11279; Value.Integer 11327 ]; - Value.Tuple [ Value.UnicodeChar 11280; Value.Integer 11328 ]; - Value.Tuple [ Value.UnicodeChar 11281; Value.Integer 11329 ]; - Value.Tuple [ Value.UnicodeChar 11282; Value.Integer 11330 ]; - Value.Tuple [ Value.UnicodeChar 11283; Value.Integer 11331 ]; - Value.Tuple [ Value.UnicodeChar 11284; Value.Integer 11332 ]; - Value.Tuple [ Value.UnicodeChar 11285; Value.Integer 11333 ]; - Value.Tuple [ Value.UnicodeChar 11286; Value.Integer 11334 ]; - Value.Tuple [ Value.UnicodeChar 11287; Value.Integer 11335 ]; - Value.Tuple [ Value.UnicodeChar 11288; Value.Integer 11336 ]; - Value.Tuple [ Value.UnicodeChar 11289; Value.Integer 11337 ]; - Value.Tuple [ Value.UnicodeChar 11290; Value.Integer 11338 ]; - Value.Tuple [ Value.UnicodeChar 11291; Value.Integer 11339 ]; - Value.Tuple [ Value.UnicodeChar 11292; Value.Integer 11340 ]; - Value.Tuple [ Value.UnicodeChar 11293; Value.Integer 11341 ]; - Value.Tuple [ Value.UnicodeChar 11294; Value.Integer 11342 ]; - Value.Tuple [ Value.UnicodeChar 11295; Value.Integer 11343 ]; - Value.Tuple [ Value.UnicodeChar 11296; Value.Integer 11344 ]; - Value.Tuple [ Value.UnicodeChar 11297; Value.Integer 11345 ]; - Value.Tuple [ Value.UnicodeChar 11298; Value.Integer 11346 ]; - Value.Tuple [ Value.UnicodeChar 11299; Value.Integer 11347 ]; - Value.Tuple [ Value.UnicodeChar 11300; Value.Integer 11348 ]; - Value.Tuple [ Value.UnicodeChar 11301; Value.Integer 11349 ]; - Value.Tuple [ Value.UnicodeChar 11302; Value.Integer 11350 ]; - Value.Tuple [ Value.UnicodeChar 11303; Value.Integer 11351 ]; - Value.Tuple [ Value.UnicodeChar 11304; Value.Integer 11352 ]; - Value.Tuple [ Value.UnicodeChar 11305; Value.Integer 11353 ]; - Value.Tuple [ Value.UnicodeChar 11306; Value.Integer 11354 ]; - Value.Tuple [ Value.UnicodeChar 11307; Value.Integer 11355 ]; - Value.Tuple [ Value.UnicodeChar 11308; Value.Integer 11356 ]; - Value.Tuple [ Value.UnicodeChar 11309; Value.Integer 11357 ]; - Value.Tuple [ Value.UnicodeChar 11310; Value.Integer 11358 ]; - Value.Tuple [ Value.UnicodeChar 11311; Value.Integer 11359 ]; - Value.Tuple [ Value.UnicodeChar 11360; Value.Integer 11361 ]; - Value.Tuple [ Value.UnicodeChar 11362; Value.Integer 619 ]; - Value.Tuple [ Value.UnicodeChar 11363; Value.Integer 7549 ]; - Value.Tuple [ Value.UnicodeChar 11364; Value.Integer 637 ]; - Value.Tuple [ Value.UnicodeChar 11367; Value.Integer 11368 ]; - Value.Tuple [ Value.UnicodeChar 11369; Value.Integer 11370 ]; - Value.Tuple [ Value.UnicodeChar 11371; Value.Integer 11372 ]; - Value.Tuple [ Value.UnicodeChar 11373; Value.Integer 593 ]; - Value.Tuple [ Value.UnicodeChar 11374; Value.Integer 625 ]; - Value.Tuple [ Value.UnicodeChar 11375; Value.Integer 592 ]; - Value.Tuple [ Value.UnicodeChar 11376; Value.Integer 594 ]; - Value.Tuple [ Value.UnicodeChar 11378; Value.Integer 11379 ]; - Value.Tuple [ Value.UnicodeChar 11381; Value.Integer 11382 ]; - Value.Tuple [ Value.UnicodeChar 11390; Value.Integer 575 ]; - Value.Tuple [ Value.UnicodeChar 11391; Value.Integer 576 ]; - Value.Tuple [ Value.UnicodeChar 11392; Value.Integer 11393 ]; - Value.Tuple [ Value.UnicodeChar 11394; Value.Integer 11395 ]; - Value.Tuple [ Value.UnicodeChar 11396; Value.Integer 11397 ]; - Value.Tuple [ Value.UnicodeChar 11398; Value.Integer 11399 ]; - Value.Tuple [ Value.UnicodeChar 11400; Value.Integer 11401 ]; - Value.Tuple [ Value.UnicodeChar 11402; Value.Integer 11403 ]; - Value.Tuple [ Value.UnicodeChar 11404; Value.Integer 11405 ]; - Value.Tuple [ Value.UnicodeChar 11406; Value.Integer 11407 ]; - Value.Tuple [ Value.UnicodeChar 11408; Value.Integer 11409 ]; - Value.Tuple [ Value.UnicodeChar 11410; Value.Integer 11411 ]; - Value.Tuple [ Value.UnicodeChar 11412; Value.Integer 11413 ]; - Value.Tuple [ Value.UnicodeChar 11414; Value.Integer 11415 ]; - Value.Tuple [ Value.UnicodeChar 11416; Value.Integer 11417 ]; - Value.Tuple [ Value.UnicodeChar 11418; Value.Integer 11419 ]; - Value.Tuple [ Value.UnicodeChar 11420; Value.Integer 11421 ]; - Value.Tuple [ Value.UnicodeChar 11422; Value.Integer 11423 ]; - Value.Tuple [ Value.UnicodeChar 11424; Value.Integer 11425 ]; - Value.Tuple [ Value.UnicodeChar 11426; Value.Integer 11427 ]; - Value.Tuple [ Value.UnicodeChar 11428; Value.Integer 11429 ]; - Value.Tuple [ Value.UnicodeChar 11430; Value.Integer 11431 ]; - Value.Tuple [ Value.UnicodeChar 11432; Value.Integer 11433 ]; - Value.Tuple [ Value.UnicodeChar 11434; Value.Integer 11435 ]; - Value.Tuple [ Value.UnicodeChar 11436; Value.Integer 11437 ]; - Value.Tuple [ Value.UnicodeChar 11438; Value.Integer 11439 ]; - Value.Tuple [ Value.UnicodeChar 11440; Value.Integer 11441 ]; - Value.Tuple [ Value.UnicodeChar 11442; Value.Integer 11443 ]; - Value.Tuple [ Value.UnicodeChar 11444; Value.Integer 11445 ]; - Value.Tuple [ Value.UnicodeChar 11446; Value.Integer 11447 ]; - Value.Tuple [ Value.UnicodeChar 11448; Value.Integer 11449 ]; - Value.Tuple [ Value.UnicodeChar 11450; Value.Integer 11451 ]; - Value.Tuple [ Value.UnicodeChar 11452; Value.Integer 11453 ]; - Value.Tuple [ Value.UnicodeChar 11454; Value.Integer 11455 ]; - Value.Tuple [ Value.UnicodeChar 11456; Value.Integer 11457 ]; - Value.Tuple [ Value.UnicodeChar 11458; Value.Integer 11459 ]; - Value.Tuple [ Value.UnicodeChar 11460; Value.Integer 11461 ]; - Value.Tuple [ Value.UnicodeChar 11462; Value.Integer 11463 ]; - Value.Tuple [ Value.UnicodeChar 11464; Value.Integer 11465 ]; - Value.Tuple [ Value.UnicodeChar 11466; Value.Integer 11467 ]; - Value.Tuple [ Value.UnicodeChar 11468; Value.Integer 11469 ]; - Value.Tuple [ Value.UnicodeChar 11470; Value.Integer 11471 ]; - Value.Tuple [ Value.UnicodeChar 11472; Value.Integer 11473 ]; - Value.Tuple [ Value.UnicodeChar 11474; Value.Integer 11475 ]; - Value.Tuple [ Value.UnicodeChar 11476; Value.Integer 11477 ]; - Value.Tuple [ Value.UnicodeChar 11478; Value.Integer 11479 ]; - Value.Tuple [ Value.UnicodeChar 11480; Value.Integer 11481 ]; - Value.Tuple [ Value.UnicodeChar 11482; Value.Integer 11483 ]; - Value.Tuple [ Value.UnicodeChar 11484; Value.Integer 11485 ]; - Value.Tuple [ Value.UnicodeChar 11486; Value.Integer 11487 ]; - Value.Tuple [ Value.UnicodeChar 11488; Value.Integer 11489 ]; - Value.Tuple [ Value.UnicodeChar 11490; Value.Integer 11491 ]; - Value.Tuple [ Value.UnicodeChar 11499; Value.Integer 11500 ]; - Value.Tuple [ Value.UnicodeChar 11501; Value.Integer 11502 ]; - Value.Tuple [ Value.UnicodeChar 11506; Value.Integer 11507 ]; - Value.Tuple [ Value.UnicodeChar 42560; Value.Integer 42561 ]; - Value.Tuple [ Value.UnicodeChar 42562; Value.Integer 42563 ]; - Value.Tuple [ Value.UnicodeChar 42564; Value.Integer 42565 ]; - Value.Tuple [ Value.UnicodeChar 42566; Value.Integer 42567 ]; - Value.Tuple [ Value.UnicodeChar 42568; Value.Integer 42569 ]; - Value.Tuple [ Value.UnicodeChar 42570; Value.Integer 42571 ]; - Value.Tuple [ Value.UnicodeChar 42572; Value.Integer 42573 ]; - Value.Tuple [ Value.UnicodeChar 42574; Value.Integer 42575 ]; - Value.Tuple [ Value.UnicodeChar 42576; Value.Integer 42577 ]; - Value.Tuple [ Value.UnicodeChar 42578; Value.Integer 42579 ]; - Value.Tuple [ Value.UnicodeChar 42580; Value.Integer 42581 ]; - Value.Tuple [ Value.UnicodeChar 42582; Value.Integer 42583 ]; - Value.Tuple [ Value.UnicodeChar 42584; Value.Integer 42585 ]; - Value.Tuple [ Value.UnicodeChar 42586; Value.Integer 42587 ]; - Value.Tuple [ Value.UnicodeChar 42588; Value.Integer 42589 ]; - Value.Tuple [ Value.UnicodeChar 42590; Value.Integer 42591 ]; - Value.Tuple [ Value.UnicodeChar 42592; Value.Integer 42593 ]; - Value.Tuple [ Value.UnicodeChar 42594; Value.Integer 42595 ]; - Value.Tuple [ Value.UnicodeChar 42596; Value.Integer 42597 ]; - Value.Tuple [ Value.UnicodeChar 42598; Value.Integer 42599 ]; - Value.Tuple [ Value.UnicodeChar 42600; Value.Integer 42601 ]; - Value.Tuple [ Value.UnicodeChar 42602; Value.Integer 42603 ]; - Value.Tuple [ Value.UnicodeChar 42604; Value.Integer 42605 ]; - Value.Tuple [ Value.UnicodeChar 42624; Value.Integer 42625 ]; - Value.Tuple [ Value.UnicodeChar 42626; Value.Integer 42627 ]; - Value.Tuple [ Value.UnicodeChar 42628; Value.Integer 42629 ]; - Value.Tuple [ Value.UnicodeChar 42630; Value.Integer 42631 ]; - Value.Tuple [ Value.UnicodeChar 42632; Value.Integer 42633 ]; - Value.Tuple [ Value.UnicodeChar 42634; Value.Integer 42635 ]; - Value.Tuple [ Value.UnicodeChar 42636; Value.Integer 42637 ]; - Value.Tuple [ Value.UnicodeChar 42638; Value.Integer 42639 ]; - Value.Tuple [ Value.UnicodeChar 42640; Value.Integer 42641 ]; - Value.Tuple [ Value.UnicodeChar 42642; Value.Integer 42643 ]; - Value.Tuple [ Value.UnicodeChar 42644; Value.Integer 42645 ]; - Value.Tuple [ Value.UnicodeChar 42646; Value.Integer 42647 ]; - Value.Tuple [ Value.UnicodeChar 42648; Value.Integer 42649 ]; - Value.Tuple [ Value.UnicodeChar 42650; Value.Integer 42651 ]; - Value.Tuple [ Value.UnicodeChar 42786; Value.Integer 42787 ]; - Value.Tuple [ Value.UnicodeChar 42788; Value.Integer 42789 ]; - Value.Tuple [ Value.UnicodeChar 42790; Value.Integer 42791 ]; - Value.Tuple [ Value.UnicodeChar 42792; Value.Integer 42793 ]; - Value.Tuple [ Value.UnicodeChar 42794; Value.Integer 42795 ]; - Value.Tuple [ Value.UnicodeChar 42796; Value.Integer 42797 ]; - Value.Tuple [ Value.UnicodeChar 42798; Value.Integer 42799 ]; - Value.Tuple [ Value.UnicodeChar 42802; Value.Integer 42803 ]; - Value.Tuple [ Value.UnicodeChar 42804; Value.Integer 42805 ]; - Value.Tuple [ Value.UnicodeChar 42806; Value.Integer 42807 ]; - Value.Tuple [ Value.UnicodeChar 42808; Value.Integer 42809 ]; - Value.Tuple [ Value.UnicodeChar 42810; Value.Integer 42811 ]; - Value.Tuple [ Value.UnicodeChar 42812; Value.Integer 42813 ]; - Value.Tuple [ Value.UnicodeChar 42814; Value.Integer 42815 ]; - Value.Tuple [ Value.UnicodeChar 42816; Value.Integer 42817 ]; - Value.Tuple [ Value.UnicodeChar 42818; Value.Integer 42819 ]; - Value.Tuple [ Value.UnicodeChar 42820; Value.Integer 42821 ]; - Value.Tuple [ Value.UnicodeChar 42822; Value.Integer 42823 ]; - Value.Tuple [ Value.UnicodeChar 42824; Value.Integer 42825 ]; - Value.Tuple [ Value.UnicodeChar 42826; Value.Integer 42827 ]; - Value.Tuple [ Value.UnicodeChar 42828; Value.Integer 42829 ]; - Value.Tuple [ Value.UnicodeChar 42830; Value.Integer 42831 ]; - Value.Tuple [ Value.UnicodeChar 42832; Value.Integer 42833 ]; - Value.Tuple [ Value.UnicodeChar 42834; Value.Integer 42835 ]; - Value.Tuple [ Value.UnicodeChar 42836; Value.Integer 42837 ]; - Value.Tuple [ Value.UnicodeChar 42838; Value.Integer 42839 ]; - Value.Tuple [ Value.UnicodeChar 42840; Value.Integer 42841 ]; - Value.Tuple [ Value.UnicodeChar 42842; Value.Integer 42843 ]; - Value.Tuple [ Value.UnicodeChar 42844; Value.Integer 42845 ]; - Value.Tuple [ Value.UnicodeChar 42846; Value.Integer 42847 ]; - Value.Tuple [ Value.UnicodeChar 42848; Value.Integer 42849 ]; - Value.Tuple [ Value.UnicodeChar 42850; Value.Integer 42851 ]; - Value.Tuple [ Value.UnicodeChar 42852; Value.Integer 42853 ]; - Value.Tuple [ Value.UnicodeChar 42854; Value.Integer 42855 ]; - Value.Tuple [ Value.UnicodeChar 42856; Value.Integer 42857 ]; - Value.Tuple [ Value.UnicodeChar 42858; Value.Integer 42859 ]; - Value.Tuple [ Value.UnicodeChar 42860; Value.Integer 42861 ]; - Value.Tuple [ Value.UnicodeChar 42862; Value.Integer 42863 ]; - Value.Tuple [ Value.UnicodeChar 42873; Value.Integer 42874 ]; - Value.Tuple [ Value.UnicodeChar 42875; Value.Integer 42876 ]; - Value.Tuple [ Value.UnicodeChar 42877; Value.Integer 7545 ]; - Value.Tuple [ Value.UnicodeChar 42878; Value.Integer 42879 ]; - Value.Tuple [ Value.UnicodeChar 42880; Value.Integer 42881 ]; - Value.Tuple [ Value.UnicodeChar 42882; Value.Integer 42883 ]; - Value.Tuple [ Value.UnicodeChar 42884; Value.Integer 42885 ]; - Value.Tuple [ Value.UnicodeChar 42886; Value.Integer 42887 ]; - Value.Tuple [ Value.UnicodeChar 42891; Value.Integer 42892 ]; - Value.Tuple [ Value.UnicodeChar 42893; Value.Integer 613 ]; - Value.Tuple [ Value.UnicodeChar 42896; Value.Integer 42897 ]; - Value.Tuple [ Value.UnicodeChar 42898; Value.Integer 42899 ]; - Value.Tuple [ Value.UnicodeChar 42902; Value.Integer 42903 ]; - Value.Tuple [ Value.UnicodeChar 42904; Value.Integer 42905 ]; - Value.Tuple [ Value.UnicodeChar 42906; Value.Integer 42907 ]; - Value.Tuple [ Value.UnicodeChar 42908; Value.Integer 42909 ]; - Value.Tuple [ Value.UnicodeChar 42910; Value.Integer 42911 ]; - Value.Tuple [ Value.UnicodeChar 42912; Value.Integer 42913 ]; - Value.Tuple [ Value.UnicodeChar 42914; Value.Integer 42915 ]; - Value.Tuple [ Value.UnicodeChar 42916; Value.Integer 42917 ]; - Value.Tuple [ Value.UnicodeChar 42918; Value.Integer 42919 ]; - Value.Tuple [ Value.UnicodeChar 42920; Value.Integer 42921 ]; - Value.Tuple [ Value.UnicodeChar 42922; Value.Integer 614 ]; - Value.Tuple [ Value.UnicodeChar 42923; Value.Integer 604 ]; - Value.Tuple [ Value.UnicodeChar 42924; Value.Integer 609 ]; - Value.Tuple [ Value.UnicodeChar 42925; Value.Integer 620 ]; - Value.Tuple [ Value.UnicodeChar 42926; Value.Integer 618 ]; - Value.Tuple [ Value.UnicodeChar 42928; Value.Integer 670 ]; - Value.Tuple [ Value.UnicodeChar 42929; Value.Integer 647 ]; - Value.Tuple [ Value.UnicodeChar 42930; Value.Integer 669 ]; - Value.Tuple [ Value.UnicodeChar 42931; Value.Integer 43859 ]; - Value.Tuple [ Value.UnicodeChar 42932; Value.Integer 42933 ]; - Value.Tuple [ Value.UnicodeChar 42934; Value.Integer 42935 ]; - Value.Tuple [ Value.UnicodeChar 42936; Value.Integer 42937 ]; - Value.Tuple [ Value.UnicodeChar 42938; Value.Integer 42939 ]; - Value.Tuple [ Value.UnicodeChar 42940; Value.Integer 42941 ]; - Value.Tuple [ Value.UnicodeChar 42942; Value.Integer 42943 ]; - Value.Tuple [ Value.UnicodeChar 42944; Value.Integer 42945 ]; - Value.Tuple [ Value.UnicodeChar 42946; Value.Integer 42947 ]; - Value.Tuple [ Value.UnicodeChar 42948; Value.Integer 42900 ]; - Value.Tuple [ Value.UnicodeChar 42949; Value.Integer 642 ]; - Value.Tuple [ Value.UnicodeChar 42950; Value.Integer 7566 ]; - Value.Tuple [ Value.UnicodeChar 42951; Value.Integer 42952 ]; - Value.Tuple [ Value.UnicodeChar 42953; Value.Integer 42954 ]; - Value.Tuple [ Value.UnicodeChar 42960; Value.Integer 42961 ]; - Value.Tuple [ Value.UnicodeChar 42966; Value.Integer 42967 ]; - Value.Tuple [ Value.UnicodeChar 42968; Value.Integer 42969 ]; - Value.Tuple [ Value.UnicodeChar 42997; Value.Integer 42998 ]; - Value.Tuple [ Value.UnicodeChar 65313; Value.Integer 65345 ]; - Value.Tuple [ Value.UnicodeChar 65314; Value.Integer 65346 ]; - Value.Tuple [ Value.UnicodeChar 65315; Value.Integer 65347 ]; - Value.Tuple [ Value.UnicodeChar 65316; Value.Integer 65348 ]; - Value.Tuple [ Value.UnicodeChar 65317; Value.Integer 65349 ]; - Value.Tuple [ Value.UnicodeChar 65318; Value.Integer 65350 ]; - Value.Tuple [ Value.UnicodeChar 65319; Value.Integer 65351 ]; - Value.Tuple [ Value.UnicodeChar 65320; Value.Integer 65352 ]; - Value.Tuple [ Value.UnicodeChar 65321; Value.Integer 65353 ]; - Value.Tuple [ Value.UnicodeChar 65322; Value.Integer 65354 ]; - Value.Tuple [ Value.UnicodeChar 65323; Value.Integer 65355 ]; - Value.Tuple [ Value.UnicodeChar 65324; Value.Integer 65356 ]; - Value.Tuple [ Value.UnicodeChar 65325; Value.Integer 65357 ]; - Value.Tuple [ Value.UnicodeChar 65326; Value.Integer 65358 ]; - Value.Tuple [ Value.UnicodeChar 65327; Value.Integer 65359 ]; - Value.Tuple [ Value.UnicodeChar 65328; Value.Integer 65360 ]; - Value.Tuple [ Value.UnicodeChar 65329; Value.Integer 65361 ]; - Value.Tuple [ Value.UnicodeChar 65330; Value.Integer 65362 ]; - Value.Tuple [ Value.UnicodeChar 65331; Value.Integer 65363 ]; - Value.Tuple [ Value.UnicodeChar 65332; Value.Integer 65364 ]; - Value.Tuple [ Value.UnicodeChar 65333; Value.Integer 65365 ]; - Value.Tuple [ Value.UnicodeChar 65334; Value.Integer 65366 ]; - Value.Tuple [ Value.UnicodeChar 65335; Value.Integer 65367 ]; - Value.Tuple [ Value.UnicodeChar 65336; Value.Integer 65368 ]; - Value.Tuple [ Value.UnicodeChar 65337; Value.Integer 65369 ]; - Value.Tuple [ Value.UnicodeChar 65338; Value.Integer 65370 ]; - Value.Tuple [ Value.UnicodeChar 66560; Value.Integer 66600 ]; - Value.Tuple [ Value.UnicodeChar 66561; Value.Integer 66601 ]; - Value.Tuple [ Value.UnicodeChar 66562; Value.Integer 66602 ]; - Value.Tuple [ Value.UnicodeChar 66563; Value.Integer 66603 ]; - Value.Tuple [ Value.UnicodeChar 66564; Value.Integer 66604 ]; - Value.Tuple [ Value.UnicodeChar 66565; Value.Integer 66605 ]; - Value.Tuple [ Value.UnicodeChar 66566; Value.Integer 66606 ]; - Value.Tuple [ Value.UnicodeChar 66567; Value.Integer 66607 ]; - Value.Tuple [ Value.UnicodeChar 66568; Value.Integer 66608 ]; - Value.Tuple [ Value.UnicodeChar 66569; Value.Integer 66609 ]; - Value.Tuple [ Value.UnicodeChar 66570; Value.Integer 66610 ]; - Value.Tuple [ Value.UnicodeChar 66571; Value.Integer 66611 ]; - Value.Tuple [ Value.UnicodeChar 66572; Value.Integer 66612 ]; - Value.Tuple [ Value.UnicodeChar 66573; Value.Integer 66613 ]; - Value.Tuple [ Value.UnicodeChar 66574; Value.Integer 66614 ]; - Value.Tuple [ Value.UnicodeChar 66575; Value.Integer 66615 ]; - Value.Tuple [ Value.UnicodeChar 66576; Value.Integer 66616 ]; - Value.Tuple [ Value.UnicodeChar 66577; Value.Integer 66617 ]; - Value.Tuple [ Value.UnicodeChar 66578; Value.Integer 66618 ]; - Value.Tuple [ Value.UnicodeChar 66579; Value.Integer 66619 ]; - Value.Tuple [ Value.UnicodeChar 66580; Value.Integer 66620 ]; - Value.Tuple [ Value.UnicodeChar 66581; Value.Integer 66621 ]; - Value.Tuple [ Value.UnicodeChar 66582; Value.Integer 66622 ]; - Value.Tuple [ Value.UnicodeChar 66583; Value.Integer 66623 ]; - Value.Tuple [ Value.UnicodeChar 66584; Value.Integer 66624 ]; - Value.Tuple [ Value.UnicodeChar 66585; Value.Integer 66625 ]; - Value.Tuple [ Value.UnicodeChar 66586; Value.Integer 66626 ]; - Value.Tuple [ Value.UnicodeChar 66587; Value.Integer 66627 ]; - Value.Tuple [ Value.UnicodeChar 66588; Value.Integer 66628 ]; - Value.Tuple [ Value.UnicodeChar 66589; Value.Integer 66629 ]; - Value.Tuple [ Value.UnicodeChar 66590; Value.Integer 66630 ]; - Value.Tuple [ Value.UnicodeChar 66591; Value.Integer 66631 ]; - Value.Tuple [ Value.UnicodeChar 66592; Value.Integer 66632 ]; - Value.Tuple [ Value.UnicodeChar 66593; Value.Integer 66633 ]; - Value.Tuple [ Value.UnicodeChar 66594; Value.Integer 66634 ]; - Value.Tuple [ Value.UnicodeChar 66595; Value.Integer 66635 ]; - Value.Tuple [ Value.UnicodeChar 66596; Value.Integer 66636 ]; - Value.Tuple [ Value.UnicodeChar 66597; Value.Integer 66637 ]; - Value.Tuple [ Value.UnicodeChar 66598; Value.Integer 66638 ]; - Value.Tuple [ Value.UnicodeChar 66599; Value.Integer 66639 ]; - Value.Tuple [ Value.UnicodeChar 66736; Value.Integer 66776 ]; - Value.Tuple [ Value.UnicodeChar 66737; Value.Integer 66777 ]; - Value.Tuple [ Value.UnicodeChar 66738; Value.Integer 66778 ]; - Value.Tuple [ Value.UnicodeChar 66739; Value.Integer 66779 ]; - Value.Tuple [ Value.UnicodeChar 66740; Value.Integer 66780 ]; - Value.Tuple [ Value.UnicodeChar 66741; Value.Integer 66781 ]; - Value.Tuple [ Value.UnicodeChar 66742; Value.Integer 66782 ]; - Value.Tuple [ Value.UnicodeChar 66743; Value.Integer 66783 ]; - Value.Tuple [ Value.UnicodeChar 66744; Value.Integer 66784 ]; - Value.Tuple [ Value.UnicodeChar 66745; Value.Integer 66785 ]; - Value.Tuple [ Value.UnicodeChar 66746; Value.Integer 66786 ]; - Value.Tuple [ Value.UnicodeChar 66747; Value.Integer 66787 ]; - Value.Tuple [ Value.UnicodeChar 66748; Value.Integer 66788 ]; - Value.Tuple [ Value.UnicodeChar 66749; Value.Integer 66789 ]; - Value.Tuple [ Value.UnicodeChar 66750; Value.Integer 66790 ]; - Value.Tuple [ Value.UnicodeChar 66751; Value.Integer 66791 ]; - Value.Tuple [ Value.UnicodeChar 66752; Value.Integer 66792 ]; - Value.Tuple [ Value.UnicodeChar 66753; Value.Integer 66793 ]; - Value.Tuple [ Value.UnicodeChar 66754; Value.Integer 66794 ]; - Value.Tuple [ Value.UnicodeChar 66755; Value.Integer 66795 ]; - Value.Tuple [ Value.UnicodeChar 66756; Value.Integer 66796 ]; - Value.Tuple [ Value.UnicodeChar 66757; Value.Integer 66797 ]; - Value.Tuple [ Value.UnicodeChar 66758; Value.Integer 66798 ]; - Value.Tuple [ Value.UnicodeChar 66759; Value.Integer 66799 ]; - Value.Tuple [ Value.UnicodeChar 66760; Value.Integer 66800 ]; - Value.Tuple [ Value.UnicodeChar 66761; Value.Integer 66801 ]; - Value.Tuple [ Value.UnicodeChar 66762; Value.Integer 66802 ]; - Value.Tuple [ Value.UnicodeChar 66763; Value.Integer 66803 ]; - Value.Tuple [ Value.UnicodeChar 66764; Value.Integer 66804 ]; - Value.Tuple [ Value.UnicodeChar 66765; Value.Integer 66805 ]; - Value.Tuple [ Value.UnicodeChar 66766; Value.Integer 66806 ]; - Value.Tuple [ Value.UnicodeChar 66767; Value.Integer 66807 ]; - Value.Tuple [ Value.UnicodeChar 66768; Value.Integer 66808 ]; - Value.Tuple [ Value.UnicodeChar 66769; Value.Integer 66809 ]; - Value.Tuple [ Value.UnicodeChar 66770; Value.Integer 66810 ]; - Value.Tuple [ Value.UnicodeChar 66771; Value.Integer 66811 ]; - Value.Tuple [ Value.UnicodeChar 66928; Value.Integer 66967 ]; - Value.Tuple [ Value.UnicodeChar 66929; Value.Integer 66968 ]; - Value.Tuple [ Value.UnicodeChar 66930; Value.Integer 66969 ]; - Value.Tuple [ Value.UnicodeChar 66931; Value.Integer 66970 ]; - Value.Tuple [ Value.UnicodeChar 66932; Value.Integer 66971 ]; - Value.Tuple [ Value.UnicodeChar 66933; Value.Integer 66972 ]; - Value.Tuple [ Value.UnicodeChar 66934; Value.Integer 66973 ]; - Value.Tuple [ Value.UnicodeChar 66935; Value.Integer 66974 ]; - Value.Tuple [ Value.UnicodeChar 66936; Value.Integer 66975 ]; - Value.Tuple [ Value.UnicodeChar 66937; Value.Integer 66976 ]; - Value.Tuple [ Value.UnicodeChar 66938; Value.Integer 66977 ]; - Value.Tuple [ Value.UnicodeChar 66940; Value.Integer 66979 ]; - Value.Tuple [ Value.UnicodeChar 66941; Value.Integer 66980 ]; - Value.Tuple [ Value.UnicodeChar 66942; Value.Integer 66981 ]; - Value.Tuple [ Value.UnicodeChar 66943; Value.Integer 66982 ]; - Value.Tuple [ Value.UnicodeChar 66944; Value.Integer 66983 ]; - Value.Tuple [ Value.UnicodeChar 66945; Value.Integer 66984 ]; - Value.Tuple [ Value.UnicodeChar 66946; Value.Integer 66985 ]; - Value.Tuple [ Value.UnicodeChar 66947; Value.Integer 66986 ]; - Value.Tuple [ Value.UnicodeChar 66948; Value.Integer 66987 ]; - Value.Tuple [ Value.UnicodeChar 66949; Value.Integer 66988 ]; - Value.Tuple [ Value.UnicodeChar 66950; Value.Integer 66989 ]; - Value.Tuple [ Value.UnicodeChar 66951; Value.Integer 66990 ]; - Value.Tuple [ Value.UnicodeChar 66952; Value.Integer 66991 ]; - Value.Tuple [ Value.UnicodeChar 66953; Value.Integer 66992 ]; - Value.Tuple [ Value.UnicodeChar 66954; Value.Integer 66993 ]; - Value.Tuple [ Value.UnicodeChar 66956; Value.Integer 66995 ]; - Value.Tuple [ Value.UnicodeChar 66957; Value.Integer 66996 ]; - Value.Tuple [ Value.UnicodeChar 66958; Value.Integer 66997 ]; - Value.Tuple [ Value.UnicodeChar 66959; Value.Integer 66998 ]; - Value.Tuple [ Value.UnicodeChar 66960; Value.Integer 66999 ]; - Value.Tuple [ Value.UnicodeChar 66961; Value.Integer 67000 ]; - Value.Tuple [ Value.UnicodeChar 66962; Value.Integer 67001 ]; - Value.Tuple [ Value.UnicodeChar 66964; Value.Integer 67003 ]; - Value.Tuple [ Value.UnicodeChar 66965; Value.Integer 67004 ]; - Value.Tuple [ Value.UnicodeChar 68736; Value.Integer 68800 ]; - Value.Tuple [ Value.UnicodeChar 68737; Value.Integer 68801 ]; - Value.Tuple [ Value.UnicodeChar 68738; Value.Integer 68802 ]; - Value.Tuple [ Value.UnicodeChar 68739; Value.Integer 68803 ]; - Value.Tuple [ Value.UnicodeChar 68740; Value.Integer 68804 ]; - Value.Tuple [ Value.UnicodeChar 68741; Value.Integer 68805 ]; - Value.Tuple [ Value.UnicodeChar 68742; Value.Integer 68806 ]; - Value.Tuple [ Value.UnicodeChar 68743; Value.Integer 68807 ]; - Value.Tuple [ Value.UnicodeChar 68744; Value.Integer 68808 ]; - Value.Tuple [ Value.UnicodeChar 68745; Value.Integer 68809 ]; - Value.Tuple [ Value.UnicodeChar 68746; Value.Integer 68810 ]; - Value.Tuple [ Value.UnicodeChar 68747; Value.Integer 68811 ]; - Value.Tuple [ Value.UnicodeChar 68748; Value.Integer 68812 ]; - Value.Tuple [ Value.UnicodeChar 68749; Value.Integer 68813 ]; - Value.Tuple [ Value.UnicodeChar 68750; Value.Integer 68814 ]; - Value.Tuple [ Value.UnicodeChar 68751; Value.Integer 68815 ]; - Value.Tuple [ Value.UnicodeChar 68752; Value.Integer 68816 ]; - Value.Tuple [ Value.UnicodeChar 68753; Value.Integer 68817 ]; - Value.Tuple [ Value.UnicodeChar 68754; Value.Integer 68818 ]; - Value.Tuple [ Value.UnicodeChar 68755; Value.Integer 68819 ]; - Value.Tuple [ Value.UnicodeChar 68756; Value.Integer 68820 ]; - Value.Tuple [ Value.UnicodeChar 68757; Value.Integer 68821 ]; - Value.Tuple [ Value.UnicodeChar 68758; Value.Integer 68822 ]; - Value.Tuple [ Value.UnicodeChar 68759; Value.Integer 68823 ]; - Value.Tuple [ Value.UnicodeChar 68760; Value.Integer 68824 ]; - Value.Tuple [ Value.UnicodeChar 68761; Value.Integer 68825 ]; - Value.Tuple [ Value.UnicodeChar 68762; Value.Integer 68826 ]; - Value.Tuple [ Value.UnicodeChar 68763; Value.Integer 68827 ]; - Value.Tuple [ Value.UnicodeChar 68764; Value.Integer 68828 ]; - Value.Tuple [ Value.UnicodeChar 68765; Value.Integer 68829 ]; - Value.Tuple [ Value.UnicodeChar 68766; Value.Integer 68830 ]; - Value.Tuple [ Value.UnicodeChar 68767; Value.Integer 68831 ]; - Value.Tuple [ Value.UnicodeChar 68768; Value.Integer 68832 ]; - Value.Tuple [ Value.UnicodeChar 68769; Value.Integer 68833 ]; - Value.Tuple [ Value.UnicodeChar 68770; Value.Integer 68834 ]; - Value.Tuple [ Value.UnicodeChar 68771; Value.Integer 68835 ]; - Value.Tuple [ Value.UnicodeChar 68772; Value.Integer 68836 ]; - Value.Tuple [ Value.UnicodeChar 68773; Value.Integer 68837 ]; - Value.Tuple [ Value.UnicodeChar 68774; Value.Integer 68838 ]; - Value.Tuple [ Value.UnicodeChar 68775; Value.Integer 68839 ]; - Value.Tuple [ Value.UnicodeChar 68776; Value.Integer 68840 ]; - Value.Tuple [ Value.UnicodeChar 68777; Value.Integer 68841 ]; - Value.Tuple [ Value.UnicodeChar 68778; Value.Integer 68842 ]; - Value.Tuple [ Value.UnicodeChar 68779; Value.Integer 68843 ]; - Value.Tuple [ Value.UnicodeChar 68780; Value.Integer 68844 ]; - Value.Tuple [ Value.UnicodeChar 68781; Value.Integer 68845 ]; - Value.Tuple [ Value.UnicodeChar 68782; Value.Integer 68846 ]; - Value.Tuple [ Value.UnicodeChar 68783; Value.Integer 68847 ]; - Value.Tuple [ Value.UnicodeChar 68784; Value.Integer 68848 ]; - Value.Tuple [ Value.UnicodeChar 68785; Value.Integer 68849 ]; - Value.Tuple [ Value.UnicodeChar 68786; Value.Integer 68850 ]; - Value.Tuple [ Value.UnicodeChar 71840; Value.Integer 71872 ]; - Value.Tuple [ Value.UnicodeChar 71841; Value.Integer 71873 ]; - Value.Tuple [ Value.UnicodeChar 71842; Value.Integer 71874 ]; - Value.Tuple [ Value.UnicodeChar 71843; Value.Integer 71875 ]; - Value.Tuple [ Value.UnicodeChar 71844; Value.Integer 71876 ]; - Value.Tuple [ Value.UnicodeChar 71845; Value.Integer 71877 ]; - Value.Tuple [ Value.UnicodeChar 71846; Value.Integer 71878 ]; - Value.Tuple [ Value.UnicodeChar 71847; Value.Integer 71879 ]; - Value.Tuple [ Value.UnicodeChar 71848; Value.Integer 71880 ]; - Value.Tuple [ Value.UnicodeChar 71849; Value.Integer 71881 ]; - Value.Tuple [ Value.UnicodeChar 71850; Value.Integer 71882 ]; - Value.Tuple [ Value.UnicodeChar 71851; Value.Integer 71883 ]; - Value.Tuple [ Value.UnicodeChar 71852; Value.Integer 71884 ]; - Value.Tuple [ Value.UnicodeChar 71853; Value.Integer 71885 ]; - Value.Tuple [ Value.UnicodeChar 71854; Value.Integer 71886 ]; - Value.Tuple [ Value.UnicodeChar 71855; Value.Integer 71887 ]; - Value.Tuple [ Value.UnicodeChar 71856; Value.Integer 71888 ]; - Value.Tuple [ Value.UnicodeChar 71857; Value.Integer 71889 ]; - Value.Tuple [ Value.UnicodeChar 71858; Value.Integer 71890 ]; - Value.Tuple [ Value.UnicodeChar 71859; Value.Integer 71891 ]; - Value.Tuple [ Value.UnicodeChar 71860; Value.Integer 71892 ]; - Value.Tuple [ Value.UnicodeChar 71861; Value.Integer 71893 ]; - Value.Tuple [ Value.UnicodeChar 71862; Value.Integer 71894 ]; - Value.Tuple [ Value.UnicodeChar 71863; Value.Integer 71895 ]; - Value.Tuple [ Value.UnicodeChar 71864; Value.Integer 71896 ]; - Value.Tuple [ Value.UnicodeChar 71865; Value.Integer 71897 ]; - Value.Tuple [ Value.UnicodeChar 71866; Value.Integer 71898 ]; - Value.Tuple [ Value.UnicodeChar 71867; Value.Integer 71899 ]; - Value.Tuple [ Value.UnicodeChar 71868; Value.Integer 71900 ]; - Value.Tuple [ Value.UnicodeChar 71869; Value.Integer 71901 ]; - Value.Tuple [ Value.UnicodeChar 71870; Value.Integer 71902 ]; - Value.Tuple [ Value.UnicodeChar 71871; Value.Integer 71903 ]; - Value.Tuple [ Value.UnicodeChar 93760; Value.Integer 93792 ]; - Value.Tuple [ Value.UnicodeChar 93761; Value.Integer 93793 ]; - Value.Tuple [ Value.UnicodeChar 93762; Value.Integer 93794 ]; - Value.Tuple [ Value.UnicodeChar 93763; Value.Integer 93795 ]; - Value.Tuple [ Value.UnicodeChar 93764; Value.Integer 93796 ]; - Value.Tuple [ Value.UnicodeChar 93765; Value.Integer 93797 ]; - Value.Tuple [ Value.UnicodeChar 93766; Value.Integer 93798 ]; - Value.Tuple [ Value.UnicodeChar 93767; Value.Integer 93799 ]; - Value.Tuple [ Value.UnicodeChar 93768; Value.Integer 93800 ]; - Value.Tuple [ Value.UnicodeChar 93769; Value.Integer 93801 ]; - Value.Tuple [ Value.UnicodeChar 93770; Value.Integer 93802 ]; - Value.Tuple [ Value.UnicodeChar 93771; Value.Integer 93803 ]; - Value.Tuple [ Value.UnicodeChar 93772; Value.Integer 93804 ]; - Value.Tuple [ Value.UnicodeChar 93773; Value.Integer 93805 ]; - Value.Tuple [ Value.UnicodeChar 93774; Value.Integer 93806 ]; - Value.Tuple [ Value.UnicodeChar 93775; Value.Integer 93807 ]; - Value.Tuple [ Value.UnicodeChar 93776; Value.Integer 93808 ]; - Value.Tuple [ Value.UnicodeChar 93777; Value.Integer 93809 ]; - Value.Tuple [ Value.UnicodeChar 93778; Value.Integer 93810 ]; - Value.Tuple [ Value.UnicodeChar 93779; Value.Integer 93811 ]; - Value.Tuple [ Value.UnicodeChar 93780; Value.Integer 93812 ]; - Value.Tuple [ Value.UnicodeChar 93781; Value.Integer 93813 ]; - Value.Tuple [ Value.UnicodeChar 93782; Value.Integer 93814 ]; - Value.Tuple [ Value.UnicodeChar 93783; Value.Integer 93815 ]; - Value.Tuple [ Value.UnicodeChar 93784; Value.Integer 93816 ]; - Value.Tuple [ Value.UnicodeChar 93785; Value.Integer 93817 ]; - Value.Tuple [ Value.UnicodeChar 93786; Value.Integer 93818 ]; - Value.Tuple [ Value.UnicodeChar 93787; Value.Integer 93819 ]; - Value.Tuple [ Value.UnicodeChar 93788; Value.Integer 93820 ]; - Value.Tuple [ Value.UnicodeChar 93789; Value.Integer 93821 ]; - Value.Tuple [ Value.UnicodeChar 93790; Value.Integer 93822 ]; - Value.Tuple [ Value.UnicodeChar 93791; Value.Integer 93823 ]; - Value.Tuple [ Value.UnicodeChar 125184; Value.Integer 125218 ]; - Value.Tuple [ Value.UnicodeChar 125185; Value.Integer 125219 ]; - Value.Tuple [ Value.UnicodeChar 125186; Value.Integer 125220 ]; - Value.Tuple [ Value.UnicodeChar 125187; Value.Integer 125221 ]; - Value.Tuple [ Value.UnicodeChar 125188; Value.Integer 125222 ]; - Value.Tuple [ Value.UnicodeChar 125189; Value.Integer 125223 ]; - Value.Tuple [ Value.UnicodeChar 125190; Value.Integer 125224 ]; - Value.Tuple [ Value.UnicodeChar 125191; Value.Integer 125225 ]; - Value.Tuple [ Value.UnicodeChar 125192; Value.Integer 125226 ]; - Value.Tuple [ Value.UnicodeChar 125193; Value.Integer 125227 ]; - Value.Tuple [ Value.UnicodeChar 125194; Value.Integer 125228 ]; - Value.Tuple [ Value.UnicodeChar 125195; Value.Integer 125229 ]; - Value.Tuple [ Value.UnicodeChar 125196; Value.Integer 125230 ]; - Value.Tuple [ Value.UnicodeChar 125197; Value.Integer 125231 ]; - Value.Tuple [ Value.UnicodeChar 125198; Value.Integer 125232 ]; - Value.Tuple [ Value.UnicodeChar 125199; Value.Integer 125233 ]; - Value.Tuple [ Value.UnicodeChar 125200; Value.Integer 125234 ]; - Value.Tuple [ Value.UnicodeChar 125201; Value.Integer 125235 ]; - Value.Tuple [ Value.UnicodeChar 125202; Value.Integer 125236 ]; - Value.Tuple [ Value.UnicodeChar 125203; Value.Integer 125237 ]; - Value.Tuple [ Value.UnicodeChar 125204; Value.Integer 125238 ]; - Value.Tuple [ Value.UnicodeChar 125205; Value.Integer 125239 ]; - Value.Tuple [ Value.UnicodeChar 125206; Value.Integer 125240 ]; - Value.Tuple [ Value.UnicodeChar 125207; Value.Integer 125241 ]; - Value.Tuple [ Value.UnicodeChar 125208; Value.Integer 125242 ]; - Value.Tuple [ Value.UnicodeChar 125209; Value.Integer 125243 ]; - Value.Tuple [ Value.UnicodeChar 125210; Value.Integer 125244 ]; - Value.Tuple [ Value.UnicodeChar 125211; Value.Integer 125245 ]; - Value.Tuple [ Value.UnicodeChar 125212; Value.Integer 125246 ]; - Value.Tuple [ Value.UnicodeChar 125213; Value.Integer 125247 ]; - Value.Tuple [ Value.UnicodeChar 125214; Value.Integer 125248 ]; - Value.Tuple [ Value.UnicodeChar 125215; Value.Integer 125249 ]; - Value.Tuple [ Value.UnicodeChar 125216; Value.Integer 125250 ]; - Value.Tuple [ Value.UnicodeChar 125217; Value.Integer 125251 ] + Value.Tuple [ Value.UnicodeChar 192; Value.Integer IntegerKind.U32 224 ]; + Value.Tuple [ Value.UnicodeChar 193; Value.Integer IntegerKind.U32 225 ]; + Value.Tuple [ Value.UnicodeChar 194; Value.Integer IntegerKind.U32 226 ]; + Value.Tuple [ Value.UnicodeChar 195; Value.Integer IntegerKind.U32 227 ]; + Value.Tuple [ Value.UnicodeChar 196; Value.Integer IntegerKind.U32 228 ]; + Value.Tuple [ Value.UnicodeChar 197; Value.Integer IntegerKind.U32 229 ]; + Value.Tuple [ Value.UnicodeChar 198; Value.Integer IntegerKind.U32 230 ]; + Value.Tuple [ Value.UnicodeChar 199; Value.Integer IntegerKind.U32 231 ]; + Value.Tuple [ Value.UnicodeChar 200; Value.Integer IntegerKind.U32 232 ]; + Value.Tuple [ Value.UnicodeChar 201; Value.Integer IntegerKind.U32 233 ]; + Value.Tuple [ Value.UnicodeChar 202; Value.Integer IntegerKind.U32 234 ]; + Value.Tuple [ Value.UnicodeChar 203; Value.Integer IntegerKind.U32 235 ]; + Value.Tuple [ Value.UnicodeChar 204; Value.Integer IntegerKind.U32 236 ]; + Value.Tuple [ Value.UnicodeChar 205; Value.Integer IntegerKind.U32 237 ]; + Value.Tuple [ Value.UnicodeChar 206; Value.Integer IntegerKind.U32 238 ]; + Value.Tuple [ Value.UnicodeChar 207; Value.Integer IntegerKind.U32 239 ]; + Value.Tuple [ Value.UnicodeChar 208; Value.Integer IntegerKind.U32 240 ]; + Value.Tuple [ Value.UnicodeChar 209; Value.Integer IntegerKind.U32 241 ]; + Value.Tuple [ Value.UnicodeChar 210; Value.Integer IntegerKind.U32 242 ]; + Value.Tuple [ Value.UnicodeChar 211; Value.Integer IntegerKind.U32 243 ]; + Value.Tuple [ Value.UnicodeChar 212; Value.Integer IntegerKind.U32 244 ]; + Value.Tuple [ Value.UnicodeChar 213; Value.Integer IntegerKind.U32 245 ]; + Value.Tuple [ Value.UnicodeChar 214; Value.Integer IntegerKind.U32 246 ]; + Value.Tuple [ Value.UnicodeChar 216; Value.Integer IntegerKind.U32 248 ]; + Value.Tuple [ Value.UnicodeChar 217; Value.Integer IntegerKind.U32 249 ]; + Value.Tuple [ Value.UnicodeChar 218; Value.Integer IntegerKind.U32 250 ]; + Value.Tuple [ Value.UnicodeChar 219; Value.Integer IntegerKind.U32 251 ]; + Value.Tuple [ Value.UnicodeChar 220; Value.Integer IntegerKind.U32 252 ]; + Value.Tuple [ Value.UnicodeChar 221; Value.Integer IntegerKind.U32 253 ]; + Value.Tuple [ Value.UnicodeChar 222; Value.Integer IntegerKind.U32 254 ]; + Value.Tuple [ Value.UnicodeChar 256; Value.Integer IntegerKind.U32 257 ]; + Value.Tuple [ Value.UnicodeChar 258; Value.Integer IntegerKind.U32 259 ]; + Value.Tuple [ Value.UnicodeChar 260; Value.Integer IntegerKind.U32 261 ]; + Value.Tuple [ Value.UnicodeChar 262; Value.Integer IntegerKind.U32 263 ]; + Value.Tuple [ Value.UnicodeChar 264; Value.Integer IntegerKind.U32 265 ]; + Value.Tuple [ Value.UnicodeChar 266; Value.Integer IntegerKind.U32 267 ]; + Value.Tuple [ Value.UnicodeChar 268; Value.Integer IntegerKind.U32 269 ]; + Value.Tuple [ Value.UnicodeChar 270; Value.Integer IntegerKind.U32 271 ]; + Value.Tuple [ Value.UnicodeChar 272; Value.Integer IntegerKind.U32 273 ]; + Value.Tuple [ Value.UnicodeChar 274; Value.Integer IntegerKind.U32 275 ]; + Value.Tuple [ Value.UnicodeChar 276; Value.Integer IntegerKind.U32 277 ]; + Value.Tuple [ Value.UnicodeChar 278; Value.Integer IntegerKind.U32 279 ]; + Value.Tuple [ Value.UnicodeChar 280; Value.Integer IntegerKind.U32 281 ]; + Value.Tuple [ Value.UnicodeChar 282; Value.Integer IntegerKind.U32 283 ]; + Value.Tuple [ Value.UnicodeChar 284; Value.Integer IntegerKind.U32 285 ]; + Value.Tuple [ Value.UnicodeChar 286; Value.Integer IntegerKind.U32 287 ]; + Value.Tuple [ Value.UnicodeChar 288; Value.Integer IntegerKind.U32 289 ]; + Value.Tuple [ Value.UnicodeChar 290; Value.Integer IntegerKind.U32 291 ]; + Value.Tuple [ Value.UnicodeChar 292; Value.Integer IntegerKind.U32 293 ]; + Value.Tuple [ Value.UnicodeChar 294; Value.Integer IntegerKind.U32 295 ]; + Value.Tuple [ Value.UnicodeChar 296; Value.Integer IntegerKind.U32 297 ]; + Value.Tuple [ Value.UnicodeChar 298; Value.Integer IntegerKind.U32 299 ]; + Value.Tuple [ Value.UnicodeChar 300; Value.Integer IntegerKind.U32 301 ]; + Value.Tuple [ Value.UnicodeChar 302; Value.Integer IntegerKind.U32 303 ]; + Value.Tuple + [ Value.UnicodeChar 304; Value.Integer IntegerKind.U32 4194304 ]; + Value.Tuple [ Value.UnicodeChar 306; Value.Integer IntegerKind.U32 307 ]; + Value.Tuple [ Value.UnicodeChar 308; Value.Integer IntegerKind.U32 309 ]; + Value.Tuple [ Value.UnicodeChar 310; Value.Integer IntegerKind.U32 311 ]; + Value.Tuple [ Value.UnicodeChar 313; Value.Integer IntegerKind.U32 314 ]; + Value.Tuple [ Value.UnicodeChar 315; Value.Integer IntegerKind.U32 316 ]; + Value.Tuple [ Value.UnicodeChar 317; Value.Integer IntegerKind.U32 318 ]; + Value.Tuple [ Value.UnicodeChar 319; Value.Integer IntegerKind.U32 320 ]; + Value.Tuple [ Value.UnicodeChar 321; Value.Integer IntegerKind.U32 322 ]; + Value.Tuple [ Value.UnicodeChar 323; Value.Integer IntegerKind.U32 324 ]; + Value.Tuple [ Value.UnicodeChar 325; Value.Integer IntegerKind.U32 326 ]; + Value.Tuple [ Value.UnicodeChar 327; Value.Integer IntegerKind.U32 328 ]; + Value.Tuple [ Value.UnicodeChar 330; Value.Integer IntegerKind.U32 331 ]; + Value.Tuple [ Value.UnicodeChar 332; Value.Integer IntegerKind.U32 333 ]; + Value.Tuple [ Value.UnicodeChar 334; Value.Integer IntegerKind.U32 335 ]; + Value.Tuple [ Value.UnicodeChar 336; Value.Integer IntegerKind.U32 337 ]; + Value.Tuple [ Value.UnicodeChar 338; Value.Integer IntegerKind.U32 339 ]; + Value.Tuple [ Value.UnicodeChar 340; Value.Integer IntegerKind.U32 341 ]; + Value.Tuple [ Value.UnicodeChar 342; Value.Integer IntegerKind.U32 343 ]; + Value.Tuple [ Value.UnicodeChar 344; Value.Integer IntegerKind.U32 345 ]; + Value.Tuple [ Value.UnicodeChar 346; Value.Integer IntegerKind.U32 347 ]; + Value.Tuple [ Value.UnicodeChar 348; Value.Integer IntegerKind.U32 349 ]; + Value.Tuple [ Value.UnicodeChar 350; Value.Integer IntegerKind.U32 351 ]; + Value.Tuple [ Value.UnicodeChar 352; Value.Integer IntegerKind.U32 353 ]; + Value.Tuple [ Value.UnicodeChar 354; Value.Integer IntegerKind.U32 355 ]; + Value.Tuple [ Value.UnicodeChar 356; Value.Integer IntegerKind.U32 357 ]; + Value.Tuple [ Value.UnicodeChar 358; Value.Integer IntegerKind.U32 359 ]; + Value.Tuple [ Value.UnicodeChar 360; Value.Integer IntegerKind.U32 361 ]; + Value.Tuple [ Value.UnicodeChar 362; Value.Integer IntegerKind.U32 363 ]; + Value.Tuple [ Value.UnicodeChar 364; Value.Integer IntegerKind.U32 365 ]; + Value.Tuple [ Value.UnicodeChar 366; Value.Integer IntegerKind.U32 367 ]; + Value.Tuple [ Value.UnicodeChar 368; Value.Integer IntegerKind.U32 369 ]; + Value.Tuple [ Value.UnicodeChar 370; Value.Integer IntegerKind.U32 371 ]; + Value.Tuple [ Value.UnicodeChar 372; Value.Integer IntegerKind.U32 373 ]; + Value.Tuple [ Value.UnicodeChar 374; Value.Integer IntegerKind.U32 375 ]; + Value.Tuple [ Value.UnicodeChar 376; Value.Integer IntegerKind.U32 255 ]; + Value.Tuple [ Value.UnicodeChar 377; Value.Integer IntegerKind.U32 378 ]; + Value.Tuple [ Value.UnicodeChar 379; Value.Integer IntegerKind.U32 380 ]; + Value.Tuple [ Value.UnicodeChar 381; Value.Integer IntegerKind.U32 382 ]; + Value.Tuple [ Value.UnicodeChar 385; Value.Integer IntegerKind.U32 595 ]; + Value.Tuple [ Value.UnicodeChar 386; Value.Integer IntegerKind.U32 387 ]; + Value.Tuple [ Value.UnicodeChar 388; Value.Integer IntegerKind.U32 389 ]; + Value.Tuple [ Value.UnicodeChar 390; Value.Integer IntegerKind.U32 596 ]; + Value.Tuple [ Value.UnicodeChar 391; Value.Integer IntegerKind.U32 392 ]; + Value.Tuple [ Value.UnicodeChar 393; Value.Integer IntegerKind.U32 598 ]; + Value.Tuple [ Value.UnicodeChar 394; Value.Integer IntegerKind.U32 599 ]; + Value.Tuple [ Value.UnicodeChar 395; Value.Integer IntegerKind.U32 396 ]; + Value.Tuple [ Value.UnicodeChar 398; Value.Integer IntegerKind.U32 477 ]; + Value.Tuple [ Value.UnicodeChar 399; Value.Integer IntegerKind.U32 601 ]; + Value.Tuple [ Value.UnicodeChar 400; Value.Integer IntegerKind.U32 603 ]; + Value.Tuple [ Value.UnicodeChar 401; Value.Integer IntegerKind.U32 402 ]; + Value.Tuple [ Value.UnicodeChar 403; Value.Integer IntegerKind.U32 608 ]; + Value.Tuple [ Value.UnicodeChar 404; Value.Integer IntegerKind.U32 611 ]; + Value.Tuple [ Value.UnicodeChar 406; Value.Integer IntegerKind.U32 617 ]; + Value.Tuple [ Value.UnicodeChar 407; Value.Integer IntegerKind.U32 616 ]; + Value.Tuple [ Value.UnicodeChar 408; Value.Integer IntegerKind.U32 409 ]; + Value.Tuple [ Value.UnicodeChar 412; Value.Integer IntegerKind.U32 623 ]; + Value.Tuple [ Value.UnicodeChar 413; Value.Integer IntegerKind.U32 626 ]; + Value.Tuple [ Value.UnicodeChar 415; Value.Integer IntegerKind.U32 629 ]; + Value.Tuple [ Value.UnicodeChar 416; Value.Integer IntegerKind.U32 417 ]; + Value.Tuple [ Value.UnicodeChar 418; Value.Integer IntegerKind.U32 419 ]; + Value.Tuple [ Value.UnicodeChar 420; Value.Integer IntegerKind.U32 421 ]; + Value.Tuple [ Value.UnicodeChar 422; Value.Integer IntegerKind.U32 640 ]; + Value.Tuple [ Value.UnicodeChar 423; Value.Integer IntegerKind.U32 424 ]; + Value.Tuple [ Value.UnicodeChar 425; Value.Integer IntegerKind.U32 643 ]; + Value.Tuple [ Value.UnicodeChar 428; Value.Integer IntegerKind.U32 429 ]; + Value.Tuple [ Value.UnicodeChar 430; Value.Integer IntegerKind.U32 648 ]; + Value.Tuple [ Value.UnicodeChar 431; Value.Integer IntegerKind.U32 432 ]; + Value.Tuple [ Value.UnicodeChar 433; Value.Integer IntegerKind.U32 650 ]; + Value.Tuple [ Value.UnicodeChar 434; Value.Integer IntegerKind.U32 651 ]; + Value.Tuple [ Value.UnicodeChar 435; Value.Integer IntegerKind.U32 436 ]; + Value.Tuple [ Value.UnicodeChar 437; Value.Integer IntegerKind.U32 438 ]; + Value.Tuple [ Value.UnicodeChar 439; Value.Integer IntegerKind.U32 658 ]; + Value.Tuple [ Value.UnicodeChar 440; Value.Integer IntegerKind.U32 441 ]; + Value.Tuple [ Value.UnicodeChar 444; Value.Integer IntegerKind.U32 445 ]; + Value.Tuple [ Value.UnicodeChar 452; Value.Integer IntegerKind.U32 454 ]; + Value.Tuple [ Value.UnicodeChar 453; Value.Integer IntegerKind.U32 454 ]; + Value.Tuple [ Value.UnicodeChar 455; Value.Integer IntegerKind.U32 457 ]; + Value.Tuple [ Value.UnicodeChar 456; Value.Integer IntegerKind.U32 457 ]; + Value.Tuple [ Value.UnicodeChar 458; Value.Integer IntegerKind.U32 460 ]; + Value.Tuple [ Value.UnicodeChar 459; Value.Integer IntegerKind.U32 460 ]; + Value.Tuple [ Value.UnicodeChar 461; Value.Integer IntegerKind.U32 462 ]; + Value.Tuple [ Value.UnicodeChar 463; Value.Integer IntegerKind.U32 464 ]; + Value.Tuple [ Value.UnicodeChar 465; Value.Integer IntegerKind.U32 466 ]; + Value.Tuple [ Value.UnicodeChar 467; Value.Integer IntegerKind.U32 468 ]; + Value.Tuple [ Value.UnicodeChar 469; Value.Integer IntegerKind.U32 470 ]; + Value.Tuple [ Value.UnicodeChar 471; Value.Integer IntegerKind.U32 472 ]; + Value.Tuple [ Value.UnicodeChar 473; Value.Integer IntegerKind.U32 474 ]; + Value.Tuple [ Value.UnicodeChar 475; Value.Integer IntegerKind.U32 476 ]; + Value.Tuple [ Value.UnicodeChar 478; Value.Integer IntegerKind.U32 479 ]; + Value.Tuple [ Value.UnicodeChar 480; Value.Integer IntegerKind.U32 481 ]; + Value.Tuple [ Value.UnicodeChar 482; Value.Integer IntegerKind.U32 483 ]; + Value.Tuple [ Value.UnicodeChar 484; Value.Integer IntegerKind.U32 485 ]; + Value.Tuple [ Value.UnicodeChar 486; Value.Integer IntegerKind.U32 487 ]; + Value.Tuple [ Value.UnicodeChar 488; Value.Integer IntegerKind.U32 489 ]; + Value.Tuple [ Value.UnicodeChar 490; Value.Integer IntegerKind.U32 491 ]; + Value.Tuple [ Value.UnicodeChar 492; Value.Integer IntegerKind.U32 493 ]; + Value.Tuple [ Value.UnicodeChar 494; Value.Integer IntegerKind.U32 495 ]; + Value.Tuple [ Value.UnicodeChar 497; Value.Integer IntegerKind.U32 499 ]; + Value.Tuple [ Value.UnicodeChar 498; Value.Integer IntegerKind.U32 499 ]; + Value.Tuple [ Value.UnicodeChar 500; Value.Integer IntegerKind.U32 501 ]; + Value.Tuple [ Value.UnicodeChar 502; Value.Integer IntegerKind.U32 405 ]; + Value.Tuple [ Value.UnicodeChar 503; Value.Integer IntegerKind.U32 447 ]; + Value.Tuple [ Value.UnicodeChar 504; Value.Integer IntegerKind.U32 505 ]; + Value.Tuple [ Value.UnicodeChar 506; Value.Integer IntegerKind.U32 507 ]; + Value.Tuple [ Value.UnicodeChar 508; Value.Integer IntegerKind.U32 509 ]; + Value.Tuple [ Value.UnicodeChar 510; Value.Integer IntegerKind.U32 511 ]; + Value.Tuple [ Value.UnicodeChar 512; Value.Integer IntegerKind.U32 513 ]; + Value.Tuple [ Value.UnicodeChar 514; Value.Integer IntegerKind.U32 515 ]; + Value.Tuple [ Value.UnicodeChar 516; Value.Integer IntegerKind.U32 517 ]; + Value.Tuple [ Value.UnicodeChar 518; Value.Integer IntegerKind.U32 519 ]; + Value.Tuple [ Value.UnicodeChar 520; Value.Integer IntegerKind.U32 521 ]; + Value.Tuple [ Value.UnicodeChar 522; Value.Integer IntegerKind.U32 523 ]; + Value.Tuple [ Value.UnicodeChar 524; Value.Integer IntegerKind.U32 525 ]; + Value.Tuple [ Value.UnicodeChar 526; Value.Integer IntegerKind.U32 527 ]; + Value.Tuple [ Value.UnicodeChar 528; Value.Integer IntegerKind.U32 529 ]; + Value.Tuple [ Value.UnicodeChar 530; Value.Integer IntegerKind.U32 531 ]; + Value.Tuple [ Value.UnicodeChar 532; Value.Integer IntegerKind.U32 533 ]; + Value.Tuple [ Value.UnicodeChar 534; Value.Integer IntegerKind.U32 535 ]; + Value.Tuple [ Value.UnicodeChar 536; Value.Integer IntegerKind.U32 537 ]; + Value.Tuple [ Value.UnicodeChar 538; Value.Integer IntegerKind.U32 539 ]; + Value.Tuple [ Value.UnicodeChar 540; Value.Integer IntegerKind.U32 541 ]; + Value.Tuple [ Value.UnicodeChar 542; Value.Integer IntegerKind.U32 543 ]; + Value.Tuple [ Value.UnicodeChar 544; Value.Integer IntegerKind.U32 414 ]; + Value.Tuple [ Value.UnicodeChar 546; Value.Integer IntegerKind.U32 547 ]; + Value.Tuple [ Value.UnicodeChar 548; Value.Integer IntegerKind.U32 549 ]; + Value.Tuple [ Value.UnicodeChar 550; Value.Integer IntegerKind.U32 551 ]; + Value.Tuple [ Value.UnicodeChar 552; Value.Integer IntegerKind.U32 553 ]; + Value.Tuple [ Value.UnicodeChar 554; Value.Integer IntegerKind.U32 555 ]; + Value.Tuple [ Value.UnicodeChar 556; Value.Integer IntegerKind.U32 557 ]; + Value.Tuple [ Value.UnicodeChar 558; Value.Integer IntegerKind.U32 559 ]; + Value.Tuple [ Value.UnicodeChar 560; Value.Integer IntegerKind.U32 561 ]; + Value.Tuple [ Value.UnicodeChar 562; Value.Integer IntegerKind.U32 563 ]; + Value.Tuple [ Value.UnicodeChar 570; Value.Integer IntegerKind.U32 11365 ]; + Value.Tuple [ Value.UnicodeChar 571; Value.Integer IntegerKind.U32 572 ]; + Value.Tuple [ Value.UnicodeChar 573; Value.Integer IntegerKind.U32 410 ]; + Value.Tuple [ Value.UnicodeChar 574; Value.Integer IntegerKind.U32 11366 ]; + Value.Tuple [ Value.UnicodeChar 577; Value.Integer IntegerKind.U32 578 ]; + Value.Tuple [ Value.UnicodeChar 579; Value.Integer IntegerKind.U32 384 ]; + Value.Tuple [ Value.UnicodeChar 580; Value.Integer IntegerKind.U32 649 ]; + Value.Tuple [ Value.UnicodeChar 581; Value.Integer IntegerKind.U32 652 ]; + Value.Tuple [ Value.UnicodeChar 582; Value.Integer IntegerKind.U32 583 ]; + Value.Tuple [ Value.UnicodeChar 584; Value.Integer IntegerKind.U32 585 ]; + Value.Tuple [ Value.UnicodeChar 586; Value.Integer IntegerKind.U32 587 ]; + Value.Tuple [ Value.UnicodeChar 588; Value.Integer IntegerKind.U32 589 ]; + Value.Tuple [ Value.UnicodeChar 590; Value.Integer IntegerKind.U32 591 ]; + Value.Tuple [ Value.UnicodeChar 880; Value.Integer IntegerKind.U32 881 ]; + Value.Tuple [ Value.UnicodeChar 882; Value.Integer IntegerKind.U32 883 ]; + Value.Tuple [ Value.UnicodeChar 886; Value.Integer IntegerKind.U32 887 ]; + Value.Tuple [ Value.UnicodeChar 895; Value.Integer IntegerKind.U32 1011 ]; + Value.Tuple [ Value.UnicodeChar 902; Value.Integer IntegerKind.U32 940 ]; + Value.Tuple [ Value.UnicodeChar 904; Value.Integer IntegerKind.U32 941 ]; + Value.Tuple [ Value.UnicodeChar 905; Value.Integer IntegerKind.U32 942 ]; + Value.Tuple [ Value.UnicodeChar 906; Value.Integer IntegerKind.U32 943 ]; + Value.Tuple [ Value.UnicodeChar 908; Value.Integer IntegerKind.U32 972 ]; + Value.Tuple [ Value.UnicodeChar 910; Value.Integer IntegerKind.U32 973 ]; + Value.Tuple [ Value.UnicodeChar 911; Value.Integer IntegerKind.U32 974 ]; + Value.Tuple [ Value.UnicodeChar 913; Value.Integer IntegerKind.U32 945 ]; + Value.Tuple [ Value.UnicodeChar 914; Value.Integer IntegerKind.U32 946 ]; + Value.Tuple [ Value.UnicodeChar 915; Value.Integer IntegerKind.U32 947 ]; + Value.Tuple [ Value.UnicodeChar 916; Value.Integer IntegerKind.U32 948 ]; + Value.Tuple [ Value.UnicodeChar 917; Value.Integer IntegerKind.U32 949 ]; + Value.Tuple [ Value.UnicodeChar 918; Value.Integer IntegerKind.U32 950 ]; + Value.Tuple [ Value.UnicodeChar 919; Value.Integer IntegerKind.U32 951 ]; + Value.Tuple [ Value.UnicodeChar 920; Value.Integer IntegerKind.U32 952 ]; + Value.Tuple [ Value.UnicodeChar 921; Value.Integer IntegerKind.U32 953 ]; + Value.Tuple [ Value.UnicodeChar 922; Value.Integer IntegerKind.U32 954 ]; + Value.Tuple [ Value.UnicodeChar 923; Value.Integer IntegerKind.U32 955 ]; + Value.Tuple [ Value.UnicodeChar 924; Value.Integer IntegerKind.U32 956 ]; + Value.Tuple [ Value.UnicodeChar 925; Value.Integer IntegerKind.U32 957 ]; + Value.Tuple [ Value.UnicodeChar 926; Value.Integer IntegerKind.U32 958 ]; + Value.Tuple [ Value.UnicodeChar 927; Value.Integer IntegerKind.U32 959 ]; + Value.Tuple [ Value.UnicodeChar 928; Value.Integer IntegerKind.U32 960 ]; + Value.Tuple [ Value.UnicodeChar 929; Value.Integer IntegerKind.U32 961 ]; + Value.Tuple [ Value.UnicodeChar 931; Value.Integer IntegerKind.U32 963 ]; + Value.Tuple [ Value.UnicodeChar 932; Value.Integer IntegerKind.U32 964 ]; + Value.Tuple [ Value.UnicodeChar 933; Value.Integer IntegerKind.U32 965 ]; + Value.Tuple [ Value.UnicodeChar 934; Value.Integer IntegerKind.U32 966 ]; + Value.Tuple [ Value.UnicodeChar 935; Value.Integer IntegerKind.U32 967 ]; + Value.Tuple [ Value.UnicodeChar 936; Value.Integer IntegerKind.U32 968 ]; + Value.Tuple [ Value.UnicodeChar 937; Value.Integer IntegerKind.U32 969 ]; + Value.Tuple [ Value.UnicodeChar 938; Value.Integer IntegerKind.U32 970 ]; + Value.Tuple [ Value.UnicodeChar 939; Value.Integer IntegerKind.U32 971 ]; + Value.Tuple [ Value.UnicodeChar 975; Value.Integer IntegerKind.U32 983 ]; + Value.Tuple [ Value.UnicodeChar 984; Value.Integer IntegerKind.U32 985 ]; + Value.Tuple [ Value.UnicodeChar 986; Value.Integer IntegerKind.U32 987 ]; + Value.Tuple [ Value.UnicodeChar 988; Value.Integer IntegerKind.U32 989 ]; + Value.Tuple [ Value.UnicodeChar 990; Value.Integer IntegerKind.U32 991 ]; + Value.Tuple [ Value.UnicodeChar 992; Value.Integer IntegerKind.U32 993 ]; + Value.Tuple [ Value.UnicodeChar 994; Value.Integer IntegerKind.U32 995 ]; + Value.Tuple [ Value.UnicodeChar 996; Value.Integer IntegerKind.U32 997 ]; + Value.Tuple [ Value.UnicodeChar 998; Value.Integer IntegerKind.U32 999 ]; + Value.Tuple [ Value.UnicodeChar 1000; Value.Integer IntegerKind.U32 1001 ]; + Value.Tuple [ Value.UnicodeChar 1002; Value.Integer IntegerKind.U32 1003 ]; + Value.Tuple [ Value.UnicodeChar 1004; Value.Integer IntegerKind.U32 1005 ]; + Value.Tuple [ Value.UnicodeChar 1006; Value.Integer IntegerKind.U32 1007 ]; + Value.Tuple [ Value.UnicodeChar 1012; Value.Integer IntegerKind.U32 952 ]; + Value.Tuple [ Value.UnicodeChar 1015; Value.Integer IntegerKind.U32 1016 ]; + Value.Tuple [ Value.UnicodeChar 1017; Value.Integer IntegerKind.U32 1010 ]; + Value.Tuple [ Value.UnicodeChar 1018; Value.Integer IntegerKind.U32 1019 ]; + Value.Tuple [ Value.UnicodeChar 1021; Value.Integer IntegerKind.U32 891 ]; + Value.Tuple [ Value.UnicodeChar 1022; Value.Integer IntegerKind.U32 892 ]; + Value.Tuple [ Value.UnicodeChar 1023; Value.Integer IntegerKind.U32 893 ]; + Value.Tuple [ Value.UnicodeChar 1024; Value.Integer IntegerKind.U32 1104 ]; + Value.Tuple [ Value.UnicodeChar 1025; Value.Integer IntegerKind.U32 1105 ]; + Value.Tuple [ Value.UnicodeChar 1026; Value.Integer IntegerKind.U32 1106 ]; + Value.Tuple [ Value.UnicodeChar 1027; Value.Integer IntegerKind.U32 1107 ]; + Value.Tuple [ Value.UnicodeChar 1028; Value.Integer IntegerKind.U32 1108 ]; + Value.Tuple [ Value.UnicodeChar 1029; Value.Integer IntegerKind.U32 1109 ]; + Value.Tuple [ Value.UnicodeChar 1030; Value.Integer IntegerKind.U32 1110 ]; + Value.Tuple [ Value.UnicodeChar 1031; Value.Integer IntegerKind.U32 1111 ]; + Value.Tuple [ Value.UnicodeChar 1032; Value.Integer IntegerKind.U32 1112 ]; + Value.Tuple [ Value.UnicodeChar 1033; Value.Integer IntegerKind.U32 1113 ]; + Value.Tuple [ Value.UnicodeChar 1034; Value.Integer IntegerKind.U32 1114 ]; + Value.Tuple [ Value.UnicodeChar 1035; Value.Integer IntegerKind.U32 1115 ]; + Value.Tuple [ Value.UnicodeChar 1036; Value.Integer IntegerKind.U32 1116 ]; + Value.Tuple [ Value.UnicodeChar 1037; Value.Integer IntegerKind.U32 1117 ]; + Value.Tuple [ Value.UnicodeChar 1038; Value.Integer IntegerKind.U32 1118 ]; + Value.Tuple [ Value.UnicodeChar 1039; Value.Integer IntegerKind.U32 1119 ]; + Value.Tuple [ Value.UnicodeChar 1040; Value.Integer IntegerKind.U32 1072 ]; + Value.Tuple [ Value.UnicodeChar 1041; Value.Integer IntegerKind.U32 1073 ]; + Value.Tuple [ Value.UnicodeChar 1042; Value.Integer IntegerKind.U32 1074 ]; + Value.Tuple [ Value.UnicodeChar 1043; Value.Integer IntegerKind.U32 1075 ]; + Value.Tuple [ Value.UnicodeChar 1044; Value.Integer IntegerKind.U32 1076 ]; + Value.Tuple [ Value.UnicodeChar 1045; Value.Integer IntegerKind.U32 1077 ]; + Value.Tuple [ Value.UnicodeChar 1046; Value.Integer IntegerKind.U32 1078 ]; + Value.Tuple [ Value.UnicodeChar 1047; Value.Integer IntegerKind.U32 1079 ]; + Value.Tuple [ Value.UnicodeChar 1048; Value.Integer IntegerKind.U32 1080 ]; + Value.Tuple [ Value.UnicodeChar 1049; Value.Integer IntegerKind.U32 1081 ]; + Value.Tuple [ Value.UnicodeChar 1050; Value.Integer IntegerKind.U32 1082 ]; + Value.Tuple [ Value.UnicodeChar 1051; Value.Integer IntegerKind.U32 1083 ]; + Value.Tuple [ Value.UnicodeChar 1052; Value.Integer IntegerKind.U32 1084 ]; + Value.Tuple [ Value.UnicodeChar 1053; Value.Integer IntegerKind.U32 1085 ]; + Value.Tuple [ Value.UnicodeChar 1054; Value.Integer IntegerKind.U32 1086 ]; + Value.Tuple [ Value.UnicodeChar 1055; Value.Integer IntegerKind.U32 1087 ]; + Value.Tuple [ Value.UnicodeChar 1056; Value.Integer IntegerKind.U32 1088 ]; + Value.Tuple [ Value.UnicodeChar 1057; Value.Integer IntegerKind.U32 1089 ]; + Value.Tuple [ Value.UnicodeChar 1058; Value.Integer IntegerKind.U32 1090 ]; + Value.Tuple [ Value.UnicodeChar 1059; Value.Integer IntegerKind.U32 1091 ]; + Value.Tuple [ Value.UnicodeChar 1060; Value.Integer IntegerKind.U32 1092 ]; + Value.Tuple [ Value.UnicodeChar 1061; Value.Integer IntegerKind.U32 1093 ]; + Value.Tuple [ Value.UnicodeChar 1062; Value.Integer IntegerKind.U32 1094 ]; + Value.Tuple [ Value.UnicodeChar 1063; Value.Integer IntegerKind.U32 1095 ]; + Value.Tuple [ Value.UnicodeChar 1064; Value.Integer IntegerKind.U32 1096 ]; + Value.Tuple [ Value.UnicodeChar 1065; Value.Integer IntegerKind.U32 1097 ]; + Value.Tuple [ Value.UnicodeChar 1066; Value.Integer IntegerKind.U32 1098 ]; + Value.Tuple [ Value.UnicodeChar 1067; Value.Integer IntegerKind.U32 1099 ]; + Value.Tuple [ Value.UnicodeChar 1068; Value.Integer IntegerKind.U32 1100 ]; + Value.Tuple [ Value.UnicodeChar 1069; Value.Integer IntegerKind.U32 1101 ]; + Value.Tuple [ Value.UnicodeChar 1070; Value.Integer IntegerKind.U32 1102 ]; + Value.Tuple [ Value.UnicodeChar 1071; Value.Integer IntegerKind.U32 1103 ]; + Value.Tuple [ Value.UnicodeChar 1120; Value.Integer IntegerKind.U32 1121 ]; + Value.Tuple [ Value.UnicodeChar 1122; Value.Integer IntegerKind.U32 1123 ]; + Value.Tuple [ Value.UnicodeChar 1124; Value.Integer IntegerKind.U32 1125 ]; + Value.Tuple [ Value.UnicodeChar 1126; Value.Integer IntegerKind.U32 1127 ]; + Value.Tuple [ Value.UnicodeChar 1128; Value.Integer IntegerKind.U32 1129 ]; + Value.Tuple [ Value.UnicodeChar 1130; Value.Integer IntegerKind.U32 1131 ]; + Value.Tuple [ Value.UnicodeChar 1132; Value.Integer IntegerKind.U32 1133 ]; + Value.Tuple [ Value.UnicodeChar 1134; Value.Integer IntegerKind.U32 1135 ]; + Value.Tuple [ Value.UnicodeChar 1136; Value.Integer IntegerKind.U32 1137 ]; + Value.Tuple [ Value.UnicodeChar 1138; Value.Integer IntegerKind.U32 1139 ]; + Value.Tuple [ Value.UnicodeChar 1140; Value.Integer IntegerKind.U32 1141 ]; + Value.Tuple [ Value.UnicodeChar 1142; Value.Integer IntegerKind.U32 1143 ]; + Value.Tuple [ Value.UnicodeChar 1144; Value.Integer IntegerKind.U32 1145 ]; + Value.Tuple [ Value.UnicodeChar 1146; Value.Integer IntegerKind.U32 1147 ]; + Value.Tuple [ Value.UnicodeChar 1148; Value.Integer IntegerKind.U32 1149 ]; + Value.Tuple [ Value.UnicodeChar 1150; Value.Integer IntegerKind.U32 1151 ]; + Value.Tuple [ Value.UnicodeChar 1152; Value.Integer IntegerKind.U32 1153 ]; + Value.Tuple [ Value.UnicodeChar 1162; Value.Integer IntegerKind.U32 1163 ]; + Value.Tuple [ Value.UnicodeChar 1164; Value.Integer IntegerKind.U32 1165 ]; + Value.Tuple [ Value.UnicodeChar 1166; Value.Integer IntegerKind.U32 1167 ]; + Value.Tuple [ Value.UnicodeChar 1168; Value.Integer IntegerKind.U32 1169 ]; + Value.Tuple [ Value.UnicodeChar 1170; Value.Integer IntegerKind.U32 1171 ]; + Value.Tuple [ Value.UnicodeChar 1172; Value.Integer IntegerKind.U32 1173 ]; + Value.Tuple [ Value.UnicodeChar 1174; Value.Integer IntegerKind.U32 1175 ]; + Value.Tuple [ Value.UnicodeChar 1176; Value.Integer IntegerKind.U32 1177 ]; + Value.Tuple [ Value.UnicodeChar 1178; Value.Integer IntegerKind.U32 1179 ]; + Value.Tuple [ Value.UnicodeChar 1180; Value.Integer IntegerKind.U32 1181 ]; + Value.Tuple [ Value.UnicodeChar 1182; Value.Integer IntegerKind.U32 1183 ]; + Value.Tuple [ Value.UnicodeChar 1184; Value.Integer IntegerKind.U32 1185 ]; + Value.Tuple [ Value.UnicodeChar 1186; Value.Integer IntegerKind.U32 1187 ]; + Value.Tuple [ Value.UnicodeChar 1188; Value.Integer IntegerKind.U32 1189 ]; + Value.Tuple [ Value.UnicodeChar 1190; Value.Integer IntegerKind.U32 1191 ]; + Value.Tuple [ Value.UnicodeChar 1192; Value.Integer IntegerKind.U32 1193 ]; + Value.Tuple [ Value.UnicodeChar 1194; Value.Integer IntegerKind.U32 1195 ]; + Value.Tuple [ Value.UnicodeChar 1196; Value.Integer IntegerKind.U32 1197 ]; + Value.Tuple [ Value.UnicodeChar 1198; Value.Integer IntegerKind.U32 1199 ]; + Value.Tuple [ Value.UnicodeChar 1200; Value.Integer IntegerKind.U32 1201 ]; + Value.Tuple [ Value.UnicodeChar 1202; Value.Integer IntegerKind.U32 1203 ]; + Value.Tuple [ Value.UnicodeChar 1204; Value.Integer IntegerKind.U32 1205 ]; + Value.Tuple [ Value.UnicodeChar 1206; Value.Integer IntegerKind.U32 1207 ]; + Value.Tuple [ Value.UnicodeChar 1208; Value.Integer IntegerKind.U32 1209 ]; + Value.Tuple [ Value.UnicodeChar 1210; Value.Integer IntegerKind.U32 1211 ]; + Value.Tuple [ Value.UnicodeChar 1212; Value.Integer IntegerKind.U32 1213 ]; + Value.Tuple [ Value.UnicodeChar 1214; Value.Integer IntegerKind.U32 1215 ]; + Value.Tuple [ Value.UnicodeChar 1216; Value.Integer IntegerKind.U32 1231 ]; + Value.Tuple [ Value.UnicodeChar 1217; Value.Integer IntegerKind.U32 1218 ]; + Value.Tuple [ Value.UnicodeChar 1219; Value.Integer IntegerKind.U32 1220 ]; + Value.Tuple [ Value.UnicodeChar 1221; Value.Integer IntegerKind.U32 1222 ]; + Value.Tuple [ Value.UnicodeChar 1223; Value.Integer IntegerKind.U32 1224 ]; + Value.Tuple [ Value.UnicodeChar 1225; Value.Integer IntegerKind.U32 1226 ]; + Value.Tuple [ Value.UnicodeChar 1227; Value.Integer IntegerKind.U32 1228 ]; + Value.Tuple [ Value.UnicodeChar 1229; Value.Integer IntegerKind.U32 1230 ]; + Value.Tuple [ Value.UnicodeChar 1232; Value.Integer IntegerKind.U32 1233 ]; + Value.Tuple [ Value.UnicodeChar 1234; Value.Integer IntegerKind.U32 1235 ]; + Value.Tuple [ Value.UnicodeChar 1236; Value.Integer IntegerKind.U32 1237 ]; + Value.Tuple [ Value.UnicodeChar 1238; Value.Integer IntegerKind.U32 1239 ]; + Value.Tuple [ Value.UnicodeChar 1240; Value.Integer IntegerKind.U32 1241 ]; + Value.Tuple [ Value.UnicodeChar 1242; Value.Integer IntegerKind.U32 1243 ]; + Value.Tuple [ Value.UnicodeChar 1244; Value.Integer IntegerKind.U32 1245 ]; + Value.Tuple [ Value.UnicodeChar 1246; Value.Integer IntegerKind.U32 1247 ]; + Value.Tuple [ Value.UnicodeChar 1248; Value.Integer IntegerKind.U32 1249 ]; + Value.Tuple [ Value.UnicodeChar 1250; Value.Integer IntegerKind.U32 1251 ]; + Value.Tuple [ Value.UnicodeChar 1252; Value.Integer IntegerKind.U32 1253 ]; + Value.Tuple [ Value.UnicodeChar 1254; Value.Integer IntegerKind.U32 1255 ]; + Value.Tuple [ Value.UnicodeChar 1256; Value.Integer IntegerKind.U32 1257 ]; + Value.Tuple [ Value.UnicodeChar 1258; Value.Integer IntegerKind.U32 1259 ]; + Value.Tuple [ Value.UnicodeChar 1260; Value.Integer IntegerKind.U32 1261 ]; + Value.Tuple [ Value.UnicodeChar 1262; Value.Integer IntegerKind.U32 1263 ]; + Value.Tuple [ Value.UnicodeChar 1264; Value.Integer IntegerKind.U32 1265 ]; + Value.Tuple [ Value.UnicodeChar 1266; Value.Integer IntegerKind.U32 1267 ]; + Value.Tuple [ Value.UnicodeChar 1268; Value.Integer IntegerKind.U32 1269 ]; + Value.Tuple [ Value.UnicodeChar 1270; Value.Integer IntegerKind.U32 1271 ]; + Value.Tuple [ Value.UnicodeChar 1272; Value.Integer IntegerKind.U32 1273 ]; + Value.Tuple [ Value.UnicodeChar 1274; Value.Integer IntegerKind.U32 1275 ]; + Value.Tuple [ Value.UnicodeChar 1276; Value.Integer IntegerKind.U32 1277 ]; + Value.Tuple [ Value.UnicodeChar 1278; Value.Integer IntegerKind.U32 1279 ]; + Value.Tuple [ Value.UnicodeChar 1280; Value.Integer IntegerKind.U32 1281 ]; + Value.Tuple [ Value.UnicodeChar 1282; Value.Integer IntegerKind.U32 1283 ]; + Value.Tuple [ Value.UnicodeChar 1284; Value.Integer IntegerKind.U32 1285 ]; + Value.Tuple [ Value.UnicodeChar 1286; Value.Integer IntegerKind.U32 1287 ]; + Value.Tuple [ Value.UnicodeChar 1288; Value.Integer IntegerKind.U32 1289 ]; + Value.Tuple [ Value.UnicodeChar 1290; Value.Integer IntegerKind.U32 1291 ]; + Value.Tuple [ Value.UnicodeChar 1292; Value.Integer IntegerKind.U32 1293 ]; + Value.Tuple [ Value.UnicodeChar 1294; Value.Integer IntegerKind.U32 1295 ]; + Value.Tuple [ Value.UnicodeChar 1296; Value.Integer IntegerKind.U32 1297 ]; + Value.Tuple [ Value.UnicodeChar 1298; Value.Integer IntegerKind.U32 1299 ]; + Value.Tuple [ Value.UnicodeChar 1300; Value.Integer IntegerKind.U32 1301 ]; + Value.Tuple [ Value.UnicodeChar 1302; Value.Integer IntegerKind.U32 1303 ]; + Value.Tuple [ Value.UnicodeChar 1304; Value.Integer IntegerKind.U32 1305 ]; + Value.Tuple [ Value.UnicodeChar 1306; Value.Integer IntegerKind.U32 1307 ]; + Value.Tuple [ Value.UnicodeChar 1308; Value.Integer IntegerKind.U32 1309 ]; + Value.Tuple [ Value.UnicodeChar 1310; Value.Integer IntegerKind.U32 1311 ]; + Value.Tuple [ Value.UnicodeChar 1312; Value.Integer IntegerKind.U32 1313 ]; + Value.Tuple [ Value.UnicodeChar 1314; Value.Integer IntegerKind.U32 1315 ]; + Value.Tuple [ Value.UnicodeChar 1316; Value.Integer IntegerKind.U32 1317 ]; + Value.Tuple [ Value.UnicodeChar 1318; Value.Integer IntegerKind.U32 1319 ]; + Value.Tuple [ Value.UnicodeChar 1320; Value.Integer IntegerKind.U32 1321 ]; + Value.Tuple [ Value.UnicodeChar 1322; Value.Integer IntegerKind.U32 1323 ]; + Value.Tuple [ Value.UnicodeChar 1324; Value.Integer IntegerKind.U32 1325 ]; + Value.Tuple [ Value.UnicodeChar 1326; Value.Integer IntegerKind.U32 1327 ]; + Value.Tuple [ Value.UnicodeChar 1329; Value.Integer IntegerKind.U32 1377 ]; + Value.Tuple [ Value.UnicodeChar 1330; Value.Integer IntegerKind.U32 1378 ]; + Value.Tuple [ Value.UnicodeChar 1331; Value.Integer IntegerKind.U32 1379 ]; + Value.Tuple [ Value.UnicodeChar 1332; Value.Integer IntegerKind.U32 1380 ]; + Value.Tuple [ Value.UnicodeChar 1333; Value.Integer IntegerKind.U32 1381 ]; + Value.Tuple [ Value.UnicodeChar 1334; Value.Integer IntegerKind.U32 1382 ]; + Value.Tuple [ Value.UnicodeChar 1335; Value.Integer IntegerKind.U32 1383 ]; + Value.Tuple [ Value.UnicodeChar 1336; Value.Integer IntegerKind.U32 1384 ]; + Value.Tuple [ Value.UnicodeChar 1337; Value.Integer IntegerKind.U32 1385 ]; + Value.Tuple [ Value.UnicodeChar 1338; Value.Integer IntegerKind.U32 1386 ]; + Value.Tuple [ Value.UnicodeChar 1339; Value.Integer IntegerKind.U32 1387 ]; + Value.Tuple [ Value.UnicodeChar 1340; Value.Integer IntegerKind.U32 1388 ]; + Value.Tuple [ Value.UnicodeChar 1341; Value.Integer IntegerKind.U32 1389 ]; + Value.Tuple [ Value.UnicodeChar 1342; Value.Integer IntegerKind.U32 1390 ]; + Value.Tuple [ Value.UnicodeChar 1343; Value.Integer IntegerKind.U32 1391 ]; + Value.Tuple [ Value.UnicodeChar 1344; Value.Integer IntegerKind.U32 1392 ]; + Value.Tuple [ Value.UnicodeChar 1345; Value.Integer IntegerKind.U32 1393 ]; + Value.Tuple [ Value.UnicodeChar 1346; Value.Integer IntegerKind.U32 1394 ]; + Value.Tuple [ Value.UnicodeChar 1347; Value.Integer IntegerKind.U32 1395 ]; + Value.Tuple [ Value.UnicodeChar 1348; Value.Integer IntegerKind.U32 1396 ]; + Value.Tuple [ Value.UnicodeChar 1349; Value.Integer IntegerKind.U32 1397 ]; + Value.Tuple [ Value.UnicodeChar 1350; Value.Integer IntegerKind.U32 1398 ]; + Value.Tuple [ Value.UnicodeChar 1351; Value.Integer IntegerKind.U32 1399 ]; + Value.Tuple [ Value.UnicodeChar 1352; Value.Integer IntegerKind.U32 1400 ]; + Value.Tuple [ Value.UnicodeChar 1353; Value.Integer IntegerKind.U32 1401 ]; + Value.Tuple [ Value.UnicodeChar 1354; Value.Integer IntegerKind.U32 1402 ]; + Value.Tuple [ Value.UnicodeChar 1355; Value.Integer IntegerKind.U32 1403 ]; + Value.Tuple [ Value.UnicodeChar 1356; Value.Integer IntegerKind.U32 1404 ]; + Value.Tuple [ Value.UnicodeChar 1357; Value.Integer IntegerKind.U32 1405 ]; + Value.Tuple [ Value.UnicodeChar 1358; Value.Integer IntegerKind.U32 1406 ]; + Value.Tuple [ Value.UnicodeChar 1359; Value.Integer IntegerKind.U32 1407 ]; + Value.Tuple [ Value.UnicodeChar 1360; Value.Integer IntegerKind.U32 1408 ]; + Value.Tuple [ Value.UnicodeChar 1361; Value.Integer IntegerKind.U32 1409 ]; + Value.Tuple [ Value.UnicodeChar 1362; Value.Integer IntegerKind.U32 1410 ]; + Value.Tuple [ Value.UnicodeChar 1363; Value.Integer IntegerKind.U32 1411 ]; + Value.Tuple [ Value.UnicodeChar 1364; Value.Integer IntegerKind.U32 1412 ]; + Value.Tuple [ Value.UnicodeChar 1365; Value.Integer IntegerKind.U32 1413 ]; + Value.Tuple [ Value.UnicodeChar 1366; Value.Integer IntegerKind.U32 1414 ]; + Value.Tuple [ Value.UnicodeChar 4256; Value.Integer IntegerKind.U32 11520 ]; + Value.Tuple [ Value.UnicodeChar 4257; Value.Integer IntegerKind.U32 11521 ]; + Value.Tuple [ Value.UnicodeChar 4258; Value.Integer IntegerKind.U32 11522 ]; + Value.Tuple [ Value.UnicodeChar 4259; Value.Integer IntegerKind.U32 11523 ]; + Value.Tuple [ Value.UnicodeChar 4260; Value.Integer IntegerKind.U32 11524 ]; + Value.Tuple [ Value.UnicodeChar 4261; Value.Integer IntegerKind.U32 11525 ]; + Value.Tuple [ Value.UnicodeChar 4262; Value.Integer IntegerKind.U32 11526 ]; + Value.Tuple [ Value.UnicodeChar 4263; Value.Integer IntegerKind.U32 11527 ]; + Value.Tuple [ Value.UnicodeChar 4264; Value.Integer IntegerKind.U32 11528 ]; + Value.Tuple [ Value.UnicodeChar 4265; Value.Integer IntegerKind.U32 11529 ]; + Value.Tuple [ Value.UnicodeChar 4266; Value.Integer IntegerKind.U32 11530 ]; + Value.Tuple [ Value.UnicodeChar 4267; Value.Integer IntegerKind.U32 11531 ]; + Value.Tuple [ Value.UnicodeChar 4268; Value.Integer IntegerKind.U32 11532 ]; + Value.Tuple [ Value.UnicodeChar 4269; Value.Integer IntegerKind.U32 11533 ]; + Value.Tuple [ Value.UnicodeChar 4270; Value.Integer IntegerKind.U32 11534 ]; + Value.Tuple [ Value.UnicodeChar 4271; Value.Integer IntegerKind.U32 11535 ]; + Value.Tuple [ Value.UnicodeChar 4272; Value.Integer IntegerKind.U32 11536 ]; + Value.Tuple [ Value.UnicodeChar 4273; Value.Integer IntegerKind.U32 11537 ]; + Value.Tuple [ Value.UnicodeChar 4274; Value.Integer IntegerKind.U32 11538 ]; + Value.Tuple [ Value.UnicodeChar 4275; Value.Integer IntegerKind.U32 11539 ]; + Value.Tuple [ Value.UnicodeChar 4276; Value.Integer IntegerKind.U32 11540 ]; + Value.Tuple [ Value.UnicodeChar 4277; Value.Integer IntegerKind.U32 11541 ]; + Value.Tuple [ Value.UnicodeChar 4278; Value.Integer IntegerKind.U32 11542 ]; + Value.Tuple [ Value.UnicodeChar 4279; Value.Integer IntegerKind.U32 11543 ]; + Value.Tuple [ Value.UnicodeChar 4280; Value.Integer IntegerKind.U32 11544 ]; + Value.Tuple [ Value.UnicodeChar 4281; Value.Integer IntegerKind.U32 11545 ]; + Value.Tuple [ Value.UnicodeChar 4282; Value.Integer IntegerKind.U32 11546 ]; + Value.Tuple [ Value.UnicodeChar 4283; Value.Integer IntegerKind.U32 11547 ]; + Value.Tuple [ Value.UnicodeChar 4284; Value.Integer IntegerKind.U32 11548 ]; + Value.Tuple [ Value.UnicodeChar 4285; Value.Integer IntegerKind.U32 11549 ]; + Value.Tuple [ Value.UnicodeChar 4286; Value.Integer IntegerKind.U32 11550 ]; + Value.Tuple [ Value.UnicodeChar 4287; Value.Integer IntegerKind.U32 11551 ]; + Value.Tuple [ Value.UnicodeChar 4288; Value.Integer IntegerKind.U32 11552 ]; + Value.Tuple [ Value.UnicodeChar 4289; Value.Integer IntegerKind.U32 11553 ]; + Value.Tuple [ Value.UnicodeChar 4290; Value.Integer IntegerKind.U32 11554 ]; + Value.Tuple [ Value.UnicodeChar 4291; Value.Integer IntegerKind.U32 11555 ]; + Value.Tuple [ Value.UnicodeChar 4292; Value.Integer IntegerKind.U32 11556 ]; + Value.Tuple [ Value.UnicodeChar 4293; Value.Integer IntegerKind.U32 11557 ]; + Value.Tuple [ Value.UnicodeChar 4295; Value.Integer IntegerKind.U32 11559 ]; + Value.Tuple [ Value.UnicodeChar 4301; Value.Integer IntegerKind.U32 11565 ]; + Value.Tuple [ Value.UnicodeChar 5024; Value.Integer IntegerKind.U32 43888 ]; + Value.Tuple [ Value.UnicodeChar 5025; Value.Integer IntegerKind.U32 43889 ]; + Value.Tuple [ Value.UnicodeChar 5026; Value.Integer IntegerKind.U32 43890 ]; + Value.Tuple [ Value.UnicodeChar 5027; Value.Integer IntegerKind.U32 43891 ]; + Value.Tuple [ Value.UnicodeChar 5028; Value.Integer IntegerKind.U32 43892 ]; + Value.Tuple [ Value.UnicodeChar 5029; Value.Integer IntegerKind.U32 43893 ]; + Value.Tuple [ Value.UnicodeChar 5030; Value.Integer IntegerKind.U32 43894 ]; + Value.Tuple [ Value.UnicodeChar 5031; Value.Integer IntegerKind.U32 43895 ]; + Value.Tuple [ Value.UnicodeChar 5032; Value.Integer IntegerKind.U32 43896 ]; + Value.Tuple [ Value.UnicodeChar 5033; Value.Integer IntegerKind.U32 43897 ]; + Value.Tuple [ Value.UnicodeChar 5034; Value.Integer IntegerKind.U32 43898 ]; + Value.Tuple [ Value.UnicodeChar 5035; Value.Integer IntegerKind.U32 43899 ]; + Value.Tuple [ Value.UnicodeChar 5036; Value.Integer IntegerKind.U32 43900 ]; + Value.Tuple [ Value.UnicodeChar 5037; Value.Integer IntegerKind.U32 43901 ]; + Value.Tuple [ Value.UnicodeChar 5038; Value.Integer IntegerKind.U32 43902 ]; + Value.Tuple [ Value.UnicodeChar 5039; Value.Integer IntegerKind.U32 43903 ]; + Value.Tuple [ Value.UnicodeChar 5040; Value.Integer IntegerKind.U32 43904 ]; + Value.Tuple [ Value.UnicodeChar 5041; Value.Integer IntegerKind.U32 43905 ]; + Value.Tuple [ Value.UnicodeChar 5042; Value.Integer IntegerKind.U32 43906 ]; + Value.Tuple [ Value.UnicodeChar 5043; Value.Integer IntegerKind.U32 43907 ]; + Value.Tuple [ Value.UnicodeChar 5044; Value.Integer IntegerKind.U32 43908 ]; + Value.Tuple [ Value.UnicodeChar 5045; Value.Integer IntegerKind.U32 43909 ]; + Value.Tuple [ Value.UnicodeChar 5046; Value.Integer IntegerKind.U32 43910 ]; + Value.Tuple [ Value.UnicodeChar 5047; Value.Integer IntegerKind.U32 43911 ]; + Value.Tuple [ Value.UnicodeChar 5048; Value.Integer IntegerKind.U32 43912 ]; + Value.Tuple [ Value.UnicodeChar 5049; Value.Integer IntegerKind.U32 43913 ]; + Value.Tuple [ Value.UnicodeChar 5050; Value.Integer IntegerKind.U32 43914 ]; + Value.Tuple [ Value.UnicodeChar 5051; Value.Integer IntegerKind.U32 43915 ]; + Value.Tuple [ Value.UnicodeChar 5052; Value.Integer IntegerKind.U32 43916 ]; + Value.Tuple [ Value.UnicodeChar 5053; Value.Integer IntegerKind.U32 43917 ]; + Value.Tuple [ Value.UnicodeChar 5054; Value.Integer IntegerKind.U32 43918 ]; + Value.Tuple [ Value.UnicodeChar 5055; Value.Integer IntegerKind.U32 43919 ]; + Value.Tuple [ Value.UnicodeChar 5056; Value.Integer IntegerKind.U32 43920 ]; + Value.Tuple [ Value.UnicodeChar 5057; Value.Integer IntegerKind.U32 43921 ]; + Value.Tuple [ Value.UnicodeChar 5058; Value.Integer IntegerKind.U32 43922 ]; + Value.Tuple [ Value.UnicodeChar 5059; Value.Integer IntegerKind.U32 43923 ]; + Value.Tuple [ Value.UnicodeChar 5060; Value.Integer IntegerKind.U32 43924 ]; + Value.Tuple [ Value.UnicodeChar 5061; Value.Integer IntegerKind.U32 43925 ]; + Value.Tuple [ Value.UnicodeChar 5062; Value.Integer IntegerKind.U32 43926 ]; + Value.Tuple [ Value.UnicodeChar 5063; Value.Integer IntegerKind.U32 43927 ]; + Value.Tuple [ Value.UnicodeChar 5064; Value.Integer IntegerKind.U32 43928 ]; + Value.Tuple [ Value.UnicodeChar 5065; Value.Integer IntegerKind.U32 43929 ]; + Value.Tuple [ Value.UnicodeChar 5066; Value.Integer IntegerKind.U32 43930 ]; + Value.Tuple [ Value.UnicodeChar 5067; Value.Integer IntegerKind.U32 43931 ]; + Value.Tuple [ Value.UnicodeChar 5068; Value.Integer IntegerKind.U32 43932 ]; + Value.Tuple [ Value.UnicodeChar 5069; Value.Integer IntegerKind.U32 43933 ]; + Value.Tuple [ Value.UnicodeChar 5070; Value.Integer IntegerKind.U32 43934 ]; + Value.Tuple [ Value.UnicodeChar 5071; Value.Integer IntegerKind.U32 43935 ]; + Value.Tuple [ Value.UnicodeChar 5072; Value.Integer IntegerKind.U32 43936 ]; + Value.Tuple [ Value.UnicodeChar 5073; Value.Integer IntegerKind.U32 43937 ]; + Value.Tuple [ Value.UnicodeChar 5074; Value.Integer IntegerKind.U32 43938 ]; + Value.Tuple [ Value.UnicodeChar 5075; Value.Integer IntegerKind.U32 43939 ]; + Value.Tuple [ Value.UnicodeChar 5076; Value.Integer IntegerKind.U32 43940 ]; + Value.Tuple [ Value.UnicodeChar 5077; Value.Integer IntegerKind.U32 43941 ]; + Value.Tuple [ Value.UnicodeChar 5078; Value.Integer IntegerKind.U32 43942 ]; + Value.Tuple [ Value.UnicodeChar 5079; Value.Integer IntegerKind.U32 43943 ]; + Value.Tuple [ Value.UnicodeChar 5080; Value.Integer IntegerKind.U32 43944 ]; + Value.Tuple [ Value.UnicodeChar 5081; Value.Integer IntegerKind.U32 43945 ]; + Value.Tuple [ Value.UnicodeChar 5082; Value.Integer IntegerKind.U32 43946 ]; + Value.Tuple [ Value.UnicodeChar 5083; Value.Integer IntegerKind.U32 43947 ]; + Value.Tuple [ Value.UnicodeChar 5084; Value.Integer IntegerKind.U32 43948 ]; + Value.Tuple [ Value.UnicodeChar 5085; Value.Integer IntegerKind.U32 43949 ]; + Value.Tuple [ Value.UnicodeChar 5086; Value.Integer IntegerKind.U32 43950 ]; + Value.Tuple [ Value.UnicodeChar 5087; Value.Integer IntegerKind.U32 43951 ]; + Value.Tuple [ Value.UnicodeChar 5088; Value.Integer IntegerKind.U32 43952 ]; + Value.Tuple [ Value.UnicodeChar 5089; Value.Integer IntegerKind.U32 43953 ]; + Value.Tuple [ Value.UnicodeChar 5090; Value.Integer IntegerKind.U32 43954 ]; + Value.Tuple [ Value.UnicodeChar 5091; Value.Integer IntegerKind.U32 43955 ]; + Value.Tuple [ Value.UnicodeChar 5092; Value.Integer IntegerKind.U32 43956 ]; + Value.Tuple [ Value.UnicodeChar 5093; Value.Integer IntegerKind.U32 43957 ]; + Value.Tuple [ Value.UnicodeChar 5094; Value.Integer IntegerKind.U32 43958 ]; + Value.Tuple [ Value.UnicodeChar 5095; Value.Integer IntegerKind.U32 43959 ]; + Value.Tuple [ Value.UnicodeChar 5096; Value.Integer IntegerKind.U32 43960 ]; + Value.Tuple [ Value.UnicodeChar 5097; Value.Integer IntegerKind.U32 43961 ]; + Value.Tuple [ Value.UnicodeChar 5098; Value.Integer IntegerKind.U32 43962 ]; + Value.Tuple [ Value.UnicodeChar 5099; Value.Integer IntegerKind.U32 43963 ]; + Value.Tuple [ Value.UnicodeChar 5100; Value.Integer IntegerKind.U32 43964 ]; + Value.Tuple [ Value.UnicodeChar 5101; Value.Integer IntegerKind.U32 43965 ]; + Value.Tuple [ Value.UnicodeChar 5102; Value.Integer IntegerKind.U32 43966 ]; + Value.Tuple [ Value.UnicodeChar 5103; Value.Integer IntegerKind.U32 43967 ]; + Value.Tuple [ Value.UnicodeChar 5104; Value.Integer IntegerKind.U32 5112 ]; + Value.Tuple [ Value.UnicodeChar 5105; Value.Integer IntegerKind.U32 5113 ]; + Value.Tuple [ Value.UnicodeChar 5106; Value.Integer IntegerKind.U32 5114 ]; + Value.Tuple [ Value.UnicodeChar 5107; Value.Integer IntegerKind.U32 5115 ]; + Value.Tuple [ Value.UnicodeChar 5108; Value.Integer IntegerKind.U32 5116 ]; + Value.Tuple [ Value.UnicodeChar 5109; Value.Integer IntegerKind.U32 5117 ]; + Value.Tuple [ Value.UnicodeChar 7312; Value.Integer IntegerKind.U32 4304 ]; + Value.Tuple [ Value.UnicodeChar 7313; Value.Integer IntegerKind.U32 4305 ]; + Value.Tuple [ Value.UnicodeChar 7314; Value.Integer IntegerKind.U32 4306 ]; + Value.Tuple [ Value.UnicodeChar 7315; Value.Integer IntegerKind.U32 4307 ]; + Value.Tuple [ Value.UnicodeChar 7316; Value.Integer IntegerKind.U32 4308 ]; + Value.Tuple [ Value.UnicodeChar 7317; Value.Integer IntegerKind.U32 4309 ]; + Value.Tuple [ Value.UnicodeChar 7318; Value.Integer IntegerKind.U32 4310 ]; + Value.Tuple [ Value.UnicodeChar 7319; Value.Integer IntegerKind.U32 4311 ]; + Value.Tuple [ Value.UnicodeChar 7320; Value.Integer IntegerKind.U32 4312 ]; + Value.Tuple [ Value.UnicodeChar 7321; Value.Integer IntegerKind.U32 4313 ]; + Value.Tuple [ Value.UnicodeChar 7322; Value.Integer IntegerKind.U32 4314 ]; + Value.Tuple [ Value.UnicodeChar 7323; Value.Integer IntegerKind.U32 4315 ]; + Value.Tuple [ Value.UnicodeChar 7324; Value.Integer IntegerKind.U32 4316 ]; + Value.Tuple [ Value.UnicodeChar 7325; Value.Integer IntegerKind.U32 4317 ]; + Value.Tuple [ Value.UnicodeChar 7326; Value.Integer IntegerKind.U32 4318 ]; + Value.Tuple [ Value.UnicodeChar 7327; Value.Integer IntegerKind.U32 4319 ]; + Value.Tuple [ Value.UnicodeChar 7328; Value.Integer IntegerKind.U32 4320 ]; + Value.Tuple [ Value.UnicodeChar 7329; Value.Integer IntegerKind.U32 4321 ]; + Value.Tuple [ Value.UnicodeChar 7330; Value.Integer IntegerKind.U32 4322 ]; + Value.Tuple [ Value.UnicodeChar 7331; Value.Integer IntegerKind.U32 4323 ]; + Value.Tuple [ Value.UnicodeChar 7332; Value.Integer IntegerKind.U32 4324 ]; + Value.Tuple [ Value.UnicodeChar 7333; Value.Integer IntegerKind.U32 4325 ]; + Value.Tuple [ Value.UnicodeChar 7334; Value.Integer IntegerKind.U32 4326 ]; + Value.Tuple [ Value.UnicodeChar 7335; Value.Integer IntegerKind.U32 4327 ]; + Value.Tuple [ Value.UnicodeChar 7336; Value.Integer IntegerKind.U32 4328 ]; + Value.Tuple [ Value.UnicodeChar 7337; Value.Integer IntegerKind.U32 4329 ]; + Value.Tuple [ Value.UnicodeChar 7338; Value.Integer IntegerKind.U32 4330 ]; + Value.Tuple [ Value.UnicodeChar 7339; Value.Integer IntegerKind.U32 4331 ]; + Value.Tuple [ Value.UnicodeChar 7340; Value.Integer IntegerKind.U32 4332 ]; + Value.Tuple [ Value.UnicodeChar 7341; Value.Integer IntegerKind.U32 4333 ]; + Value.Tuple [ Value.UnicodeChar 7342; Value.Integer IntegerKind.U32 4334 ]; + Value.Tuple [ Value.UnicodeChar 7343; Value.Integer IntegerKind.U32 4335 ]; + Value.Tuple [ Value.UnicodeChar 7344; Value.Integer IntegerKind.U32 4336 ]; + Value.Tuple [ Value.UnicodeChar 7345; Value.Integer IntegerKind.U32 4337 ]; + Value.Tuple [ Value.UnicodeChar 7346; Value.Integer IntegerKind.U32 4338 ]; + Value.Tuple [ Value.UnicodeChar 7347; Value.Integer IntegerKind.U32 4339 ]; + Value.Tuple [ Value.UnicodeChar 7348; Value.Integer IntegerKind.U32 4340 ]; + Value.Tuple [ Value.UnicodeChar 7349; Value.Integer IntegerKind.U32 4341 ]; + Value.Tuple [ Value.UnicodeChar 7350; Value.Integer IntegerKind.U32 4342 ]; + Value.Tuple [ Value.UnicodeChar 7351; Value.Integer IntegerKind.U32 4343 ]; + Value.Tuple [ Value.UnicodeChar 7352; Value.Integer IntegerKind.U32 4344 ]; + Value.Tuple [ Value.UnicodeChar 7353; Value.Integer IntegerKind.U32 4345 ]; + Value.Tuple [ Value.UnicodeChar 7354; Value.Integer IntegerKind.U32 4346 ]; + Value.Tuple [ Value.UnicodeChar 7357; Value.Integer IntegerKind.U32 4349 ]; + Value.Tuple [ Value.UnicodeChar 7358; Value.Integer IntegerKind.U32 4350 ]; + Value.Tuple [ Value.UnicodeChar 7359; Value.Integer IntegerKind.U32 4351 ]; + Value.Tuple [ Value.UnicodeChar 7680; Value.Integer IntegerKind.U32 7681 ]; + Value.Tuple [ Value.UnicodeChar 7682; Value.Integer IntegerKind.U32 7683 ]; + Value.Tuple [ Value.UnicodeChar 7684; Value.Integer IntegerKind.U32 7685 ]; + Value.Tuple [ Value.UnicodeChar 7686; Value.Integer IntegerKind.U32 7687 ]; + Value.Tuple [ Value.UnicodeChar 7688; Value.Integer IntegerKind.U32 7689 ]; + Value.Tuple [ Value.UnicodeChar 7690; Value.Integer IntegerKind.U32 7691 ]; + Value.Tuple [ Value.UnicodeChar 7692; Value.Integer IntegerKind.U32 7693 ]; + Value.Tuple [ Value.UnicodeChar 7694; Value.Integer IntegerKind.U32 7695 ]; + Value.Tuple [ Value.UnicodeChar 7696; Value.Integer IntegerKind.U32 7697 ]; + Value.Tuple [ Value.UnicodeChar 7698; Value.Integer IntegerKind.U32 7699 ]; + Value.Tuple [ Value.UnicodeChar 7700; Value.Integer IntegerKind.U32 7701 ]; + Value.Tuple [ Value.UnicodeChar 7702; Value.Integer IntegerKind.U32 7703 ]; + Value.Tuple [ Value.UnicodeChar 7704; Value.Integer IntegerKind.U32 7705 ]; + Value.Tuple [ Value.UnicodeChar 7706; Value.Integer IntegerKind.U32 7707 ]; + Value.Tuple [ Value.UnicodeChar 7708; Value.Integer IntegerKind.U32 7709 ]; + Value.Tuple [ Value.UnicodeChar 7710; Value.Integer IntegerKind.U32 7711 ]; + Value.Tuple [ Value.UnicodeChar 7712; Value.Integer IntegerKind.U32 7713 ]; + Value.Tuple [ Value.UnicodeChar 7714; Value.Integer IntegerKind.U32 7715 ]; + Value.Tuple [ Value.UnicodeChar 7716; Value.Integer IntegerKind.U32 7717 ]; + Value.Tuple [ Value.UnicodeChar 7718; Value.Integer IntegerKind.U32 7719 ]; + Value.Tuple [ Value.UnicodeChar 7720; Value.Integer IntegerKind.U32 7721 ]; + Value.Tuple [ Value.UnicodeChar 7722; Value.Integer IntegerKind.U32 7723 ]; + Value.Tuple [ Value.UnicodeChar 7724; Value.Integer IntegerKind.U32 7725 ]; + Value.Tuple [ Value.UnicodeChar 7726; Value.Integer IntegerKind.U32 7727 ]; + Value.Tuple [ Value.UnicodeChar 7728; Value.Integer IntegerKind.U32 7729 ]; + Value.Tuple [ Value.UnicodeChar 7730; Value.Integer IntegerKind.U32 7731 ]; + Value.Tuple [ Value.UnicodeChar 7732; Value.Integer IntegerKind.U32 7733 ]; + Value.Tuple [ Value.UnicodeChar 7734; Value.Integer IntegerKind.U32 7735 ]; + Value.Tuple [ Value.UnicodeChar 7736; Value.Integer IntegerKind.U32 7737 ]; + Value.Tuple [ Value.UnicodeChar 7738; Value.Integer IntegerKind.U32 7739 ]; + Value.Tuple [ Value.UnicodeChar 7740; Value.Integer IntegerKind.U32 7741 ]; + Value.Tuple [ Value.UnicodeChar 7742; Value.Integer IntegerKind.U32 7743 ]; + Value.Tuple [ Value.UnicodeChar 7744; Value.Integer IntegerKind.U32 7745 ]; + Value.Tuple [ Value.UnicodeChar 7746; Value.Integer IntegerKind.U32 7747 ]; + Value.Tuple [ Value.UnicodeChar 7748; Value.Integer IntegerKind.U32 7749 ]; + Value.Tuple [ Value.UnicodeChar 7750; Value.Integer IntegerKind.U32 7751 ]; + Value.Tuple [ Value.UnicodeChar 7752; Value.Integer IntegerKind.U32 7753 ]; + Value.Tuple [ Value.UnicodeChar 7754; Value.Integer IntegerKind.U32 7755 ]; + Value.Tuple [ Value.UnicodeChar 7756; Value.Integer IntegerKind.U32 7757 ]; + Value.Tuple [ Value.UnicodeChar 7758; Value.Integer IntegerKind.U32 7759 ]; + Value.Tuple [ Value.UnicodeChar 7760; Value.Integer IntegerKind.U32 7761 ]; + Value.Tuple [ Value.UnicodeChar 7762; Value.Integer IntegerKind.U32 7763 ]; + Value.Tuple [ Value.UnicodeChar 7764; Value.Integer IntegerKind.U32 7765 ]; + Value.Tuple [ Value.UnicodeChar 7766; Value.Integer IntegerKind.U32 7767 ]; + Value.Tuple [ Value.UnicodeChar 7768; Value.Integer IntegerKind.U32 7769 ]; + Value.Tuple [ Value.UnicodeChar 7770; Value.Integer IntegerKind.U32 7771 ]; + Value.Tuple [ Value.UnicodeChar 7772; Value.Integer IntegerKind.U32 7773 ]; + Value.Tuple [ Value.UnicodeChar 7774; Value.Integer IntegerKind.U32 7775 ]; + Value.Tuple [ Value.UnicodeChar 7776; Value.Integer IntegerKind.U32 7777 ]; + Value.Tuple [ Value.UnicodeChar 7778; Value.Integer IntegerKind.U32 7779 ]; + Value.Tuple [ Value.UnicodeChar 7780; Value.Integer IntegerKind.U32 7781 ]; + Value.Tuple [ Value.UnicodeChar 7782; Value.Integer IntegerKind.U32 7783 ]; + Value.Tuple [ Value.UnicodeChar 7784; Value.Integer IntegerKind.U32 7785 ]; + Value.Tuple [ Value.UnicodeChar 7786; Value.Integer IntegerKind.U32 7787 ]; + Value.Tuple [ Value.UnicodeChar 7788; Value.Integer IntegerKind.U32 7789 ]; + Value.Tuple [ Value.UnicodeChar 7790; Value.Integer IntegerKind.U32 7791 ]; + Value.Tuple [ Value.UnicodeChar 7792; Value.Integer IntegerKind.U32 7793 ]; + Value.Tuple [ Value.UnicodeChar 7794; Value.Integer IntegerKind.U32 7795 ]; + Value.Tuple [ Value.UnicodeChar 7796; Value.Integer IntegerKind.U32 7797 ]; + Value.Tuple [ Value.UnicodeChar 7798; Value.Integer IntegerKind.U32 7799 ]; + Value.Tuple [ Value.UnicodeChar 7800; Value.Integer IntegerKind.U32 7801 ]; + Value.Tuple [ Value.UnicodeChar 7802; Value.Integer IntegerKind.U32 7803 ]; + Value.Tuple [ Value.UnicodeChar 7804; Value.Integer IntegerKind.U32 7805 ]; + Value.Tuple [ Value.UnicodeChar 7806; Value.Integer IntegerKind.U32 7807 ]; + Value.Tuple [ Value.UnicodeChar 7808; Value.Integer IntegerKind.U32 7809 ]; + Value.Tuple [ Value.UnicodeChar 7810; Value.Integer IntegerKind.U32 7811 ]; + Value.Tuple [ Value.UnicodeChar 7812; Value.Integer IntegerKind.U32 7813 ]; + Value.Tuple [ Value.UnicodeChar 7814; Value.Integer IntegerKind.U32 7815 ]; + Value.Tuple [ Value.UnicodeChar 7816; Value.Integer IntegerKind.U32 7817 ]; + Value.Tuple [ Value.UnicodeChar 7818; Value.Integer IntegerKind.U32 7819 ]; + Value.Tuple [ Value.UnicodeChar 7820; Value.Integer IntegerKind.U32 7821 ]; + Value.Tuple [ Value.UnicodeChar 7822; Value.Integer IntegerKind.U32 7823 ]; + Value.Tuple [ Value.UnicodeChar 7824; Value.Integer IntegerKind.U32 7825 ]; + Value.Tuple [ Value.UnicodeChar 7826; Value.Integer IntegerKind.U32 7827 ]; + Value.Tuple [ Value.UnicodeChar 7828; Value.Integer IntegerKind.U32 7829 ]; + Value.Tuple [ Value.UnicodeChar 7838; Value.Integer IntegerKind.U32 223 ]; + Value.Tuple [ Value.UnicodeChar 7840; Value.Integer IntegerKind.U32 7841 ]; + Value.Tuple [ Value.UnicodeChar 7842; Value.Integer IntegerKind.U32 7843 ]; + Value.Tuple [ Value.UnicodeChar 7844; Value.Integer IntegerKind.U32 7845 ]; + Value.Tuple [ Value.UnicodeChar 7846; Value.Integer IntegerKind.U32 7847 ]; + Value.Tuple [ Value.UnicodeChar 7848; Value.Integer IntegerKind.U32 7849 ]; + Value.Tuple [ Value.UnicodeChar 7850; Value.Integer IntegerKind.U32 7851 ]; + Value.Tuple [ Value.UnicodeChar 7852; Value.Integer IntegerKind.U32 7853 ]; + Value.Tuple [ Value.UnicodeChar 7854; Value.Integer IntegerKind.U32 7855 ]; + Value.Tuple [ Value.UnicodeChar 7856; Value.Integer IntegerKind.U32 7857 ]; + Value.Tuple [ Value.UnicodeChar 7858; Value.Integer IntegerKind.U32 7859 ]; + Value.Tuple [ Value.UnicodeChar 7860; Value.Integer IntegerKind.U32 7861 ]; + Value.Tuple [ Value.UnicodeChar 7862; Value.Integer IntegerKind.U32 7863 ]; + Value.Tuple [ Value.UnicodeChar 7864; Value.Integer IntegerKind.U32 7865 ]; + Value.Tuple [ Value.UnicodeChar 7866; Value.Integer IntegerKind.U32 7867 ]; + Value.Tuple [ Value.UnicodeChar 7868; Value.Integer IntegerKind.U32 7869 ]; + Value.Tuple [ Value.UnicodeChar 7870; Value.Integer IntegerKind.U32 7871 ]; + Value.Tuple [ Value.UnicodeChar 7872; Value.Integer IntegerKind.U32 7873 ]; + Value.Tuple [ Value.UnicodeChar 7874; Value.Integer IntegerKind.U32 7875 ]; + Value.Tuple [ Value.UnicodeChar 7876; Value.Integer IntegerKind.U32 7877 ]; + Value.Tuple [ Value.UnicodeChar 7878; Value.Integer IntegerKind.U32 7879 ]; + Value.Tuple [ Value.UnicodeChar 7880; Value.Integer IntegerKind.U32 7881 ]; + Value.Tuple [ Value.UnicodeChar 7882; Value.Integer IntegerKind.U32 7883 ]; + Value.Tuple [ Value.UnicodeChar 7884; Value.Integer IntegerKind.U32 7885 ]; + Value.Tuple [ Value.UnicodeChar 7886; Value.Integer IntegerKind.U32 7887 ]; + Value.Tuple [ Value.UnicodeChar 7888; Value.Integer IntegerKind.U32 7889 ]; + Value.Tuple [ Value.UnicodeChar 7890; Value.Integer IntegerKind.U32 7891 ]; + Value.Tuple [ Value.UnicodeChar 7892; Value.Integer IntegerKind.U32 7893 ]; + Value.Tuple [ Value.UnicodeChar 7894; Value.Integer IntegerKind.U32 7895 ]; + Value.Tuple [ Value.UnicodeChar 7896; Value.Integer IntegerKind.U32 7897 ]; + Value.Tuple [ Value.UnicodeChar 7898; Value.Integer IntegerKind.U32 7899 ]; + Value.Tuple [ Value.UnicodeChar 7900; Value.Integer IntegerKind.U32 7901 ]; + Value.Tuple [ Value.UnicodeChar 7902; Value.Integer IntegerKind.U32 7903 ]; + Value.Tuple [ Value.UnicodeChar 7904; Value.Integer IntegerKind.U32 7905 ]; + Value.Tuple [ Value.UnicodeChar 7906; Value.Integer IntegerKind.U32 7907 ]; + Value.Tuple [ Value.UnicodeChar 7908; Value.Integer IntegerKind.U32 7909 ]; + Value.Tuple [ Value.UnicodeChar 7910; Value.Integer IntegerKind.U32 7911 ]; + Value.Tuple [ Value.UnicodeChar 7912; Value.Integer IntegerKind.U32 7913 ]; + Value.Tuple [ Value.UnicodeChar 7914; Value.Integer IntegerKind.U32 7915 ]; + Value.Tuple [ Value.UnicodeChar 7916; Value.Integer IntegerKind.U32 7917 ]; + Value.Tuple [ Value.UnicodeChar 7918; Value.Integer IntegerKind.U32 7919 ]; + Value.Tuple [ Value.UnicodeChar 7920; Value.Integer IntegerKind.U32 7921 ]; + Value.Tuple [ Value.UnicodeChar 7922; Value.Integer IntegerKind.U32 7923 ]; + Value.Tuple [ Value.UnicodeChar 7924; Value.Integer IntegerKind.U32 7925 ]; + Value.Tuple [ Value.UnicodeChar 7926; Value.Integer IntegerKind.U32 7927 ]; + Value.Tuple [ Value.UnicodeChar 7928; Value.Integer IntegerKind.U32 7929 ]; + Value.Tuple [ Value.UnicodeChar 7930; Value.Integer IntegerKind.U32 7931 ]; + Value.Tuple [ Value.UnicodeChar 7932; Value.Integer IntegerKind.U32 7933 ]; + Value.Tuple [ Value.UnicodeChar 7934; Value.Integer IntegerKind.U32 7935 ]; + Value.Tuple [ Value.UnicodeChar 7944; Value.Integer IntegerKind.U32 7936 ]; + Value.Tuple [ Value.UnicodeChar 7945; Value.Integer IntegerKind.U32 7937 ]; + Value.Tuple [ Value.UnicodeChar 7946; Value.Integer IntegerKind.U32 7938 ]; + Value.Tuple [ Value.UnicodeChar 7947; Value.Integer IntegerKind.U32 7939 ]; + Value.Tuple [ Value.UnicodeChar 7948; Value.Integer IntegerKind.U32 7940 ]; + Value.Tuple [ Value.UnicodeChar 7949; Value.Integer IntegerKind.U32 7941 ]; + Value.Tuple [ Value.UnicodeChar 7950; Value.Integer IntegerKind.U32 7942 ]; + Value.Tuple [ Value.UnicodeChar 7951; Value.Integer IntegerKind.U32 7943 ]; + Value.Tuple [ Value.UnicodeChar 7960; Value.Integer IntegerKind.U32 7952 ]; + Value.Tuple [ Value.UnicodeChar 7961; Value.Integer IntegerKind.U32 7953 ]; + Value.Tuple [ Value.UnicodeChar 7962; Value.Integer IntegerKind.U32 7954 ]; + Value.Tuple [ Value.UnicodeChar 7963; Value.Integer IntegerKind.U32 7955 ]; + Value.Tuple [ Value.UnicodeChar 7964; Value.Integer IntegerKind.U32 7956 ]; + Value.Tuple [ Value.UnicodeChar 7965; Value.Integer IntegerKind.U32 7957 ]; + Value.Tuple [ Value.UnicodeChar 7976; Value.Integer IntegerKind.U32 7968 ]; + Value.Tuple [ Value.UnicodeChar 7977; Value.Integer IntegerKind.U32 7969 ]; + Value.Tuple [ Value.UnicodeChar 7978; Value.Integer IntegerKind.U32 7970 ]; + Value.Tuple [ Value.UnicodeChar 7979; Value.Integer IntegerKind.U32 7971 ]; + Value.Tuple [ Value.UnicodeChar 7980; Value.Integer IntegerKind.U32 7972 ]; + Value.Tuple [ Value.UnicodeChar 7981; Value.Integer IntegerKind.U32 7973 ]; + Value.Tuple [ Value.UnicodeChar 7982; Value.Integer IntegerKind.U32 7974 ]; + Value.Tuple [ Value.UnicodeChar 7983; Value.Integer IntegerKind.U32 7975 ]; + Value.Tuple [ Value.UnicodeChar 7992; Value.Integer IntegerKind.U32 7984 ]; + Value.Tuple [ Value.UnicodeChar 7993; Value.Integer IntegerKind.U32 7985 ]; + Value.Tuple [ Value.UnicodeChar 7994; Value.Integer IntegerKind.U32 7986 ]; + Value.Tuple [ Value.UnicodeChar 7995; Value.Integer IntegerKind.U32 7987 ]; + Value.Tuple [ Value.UnicodeChar 7996; Value.Integer IntegerKind.U32 7988 ]; + Value.Tuple [ Value.UnicodeChar 7997; Value.Integer IntegerKind.U32 7989 ]; + Value.Tuple [ Value.UnicodeChar 7998; Value.Integer IntegerKind.U32 7990 ]; + Value.Tuple [ Value.UnicodeChar 7999; Value.Integer IntegerKind.U32 7991 ]; + Value.Tuple [ Value.UnicodeChar 8008; Value.Integer IntegerKind.U32 8000 ]; + Value.Tuple [ Value.UnicodeChar 8009; Value.Integer IntegerKind.U32 8001 ]; + Value.Tuple [ Value.UnicodeChar 8010; Value.Integer IntegerKind.U32 8002 ]; + Value.Tuple [ Value.UnicodeChar 8011; Value.Integer IntegerKind.U32 8003 ]; + Value.Tuple [ Value.UnicodeChar 8012; Value.Integer IntegerKind.U32 8004 ]; + Value.Tuple [ Value.UnicodeChar 8013; Value.Integer IntegerKind.U32 8005 ]; + Value.Tuple [ Value.UnicodeChar 8025; Value.Integer IntegerKind.U32 8017 ]; + Value.Tuple [ Value.UnicodeChar 8027; Value.Integer IntegerKind.U32 8019 ]; + Value.Tuple [ Value.UnicodeChar 8029; Value.Integer IntegerKind.U32 8021 ]; + Value.Tuple [ Value.UnicodeChar 8031; Value.Integer IntegerKind.U32 8023 ]; + Value.Tuple [ Value.UnicodeChar 8040; Value.Integer IntegerKind.U32 8032 ]; + Value.Tuple [ Value.UnicodeChar 8041; Value.Integer IntegerKind.U32 8033 ]; + Value.Tuple [ Value.UnicodeChar 8042; Value.Integer IntegerKind.U32 8034 ]; + Value.Tuple [ Value.UnicodeChar 8043; Value.Integer IntegerKind.U32 8035 ]; + Value.Tuple [ Value.UnicodeChar 8044; Value.Integer IntegerKind.U32 8036 ]; + Value.Tuple [ Value.UnicodeChar 8045; Value.Integer IntegerKind.U32 8037 ]; + Value.Tuple [ Value.UnicodeChar 8046; Value.Integer IntegerKind.U32 8038 ]; + Value.Tuple [ Value.UnicodeChar 8047; Value.Integer IntegerKind.U32 8039 ]; + Value.Tuple [ Value.UnicodeChar 8072; Value.Integer IntegerKind.U32 8064 ]; + Value.Tuple [ Value.UnicodeChar 8073; Value.Integer IntegerKind.U32 8065 ]; + Value.Tuple [ Value.UnicodeChar 8074; Value.Integer IntegerKind.U32 8066 ]; + Value.Tuple [ Value.UnicodeChar 8075; Value.Integer IntegerKind.U32 8067 ]; + Value.Tuple [ Value.UnicodeChar 8076; Value.Integer IntegerKind.U32 8068 ]; + Value.Tuple [ Value.UnicodeChar 8077; Value.Integer IntegerKind.U32 8069 ]; + Value.Tuple [ Value.UnicodeChar 8078; Value.Integer IntegerKind.U32 8070 ]; + Value.Tuple [ Value.UnicodeChar 8079; Value.Integer IntegerKind.U32 8071 ]; + Value.Tuple [ Value.UnicodeChar 8088; Value.Integer IntegerKind.U32 8080 ]; + Value.Tuple [ Value.UnicodeChar 8089; Value.Integer IntegerKind.U32 8081 ]; + Value.Tuple [ Value.UnicodeChar 8090; Value.Integer IntegerKind.U32 8082 ]; + Value.Tuple [ Value.UnicodeChar 8091; Value.Integer IntegerKind.U32 8083 ]; + Value.Tuple [ Value.UnicodeChar 8092; Value.Integer IntegerKind.U32 8084 ]; + Value.Tuple [ Value.UnicodeChar 8093; Value.Integer IntegerKind.U32 8085 ]; + Value.Tuple [ Value.UnicodeChar 8094; Value.Integer IntegerKind.U32 8086 ]; + Value.Tuple [ Value.UnicodeChar 8095; Value.Integer IntegerKind.U32 8087 ]; + Value.Tuple [ Value.UnicodeChar 8104; Value.Integer IntegerKind.U32 8096 ]; + Value.Tuple [ Value.UnicodeChar 8105; Value.Integer IntegerKind.U32 8097 ]; + Value.Tuple [ Value.UnicodeChar 8106; Value.Integer IntegerKind.U32 8098 ]; + Value.Tuple [ Value.UnicodeChar 8107; Value.Integer IntegerKind.U32 8099 ]; + Value.Tuple [ Value.UnicodeChar 8108; Value.Integer IntegerKind.U32 8100 ]; + Value.Tuple [ Value.UnicodeChar 8109; Value.Integer IntegerKind.U32 8101 ]; + Value.Tuple [ Value.UnicodeChar 8110; Value.Integer IntegerKind.U32 8102 ]; + Value.Tuple [ Value.UnicodeChar 8111; Value.Integer IntegerKind.U32 8103 ]; + Value.Tuple [ Value.UnicodeChar 8120; Value.Integer IntegerKind.U32 8112 ]; + Value.Tuple [ Value.UnicodeChar 8121; Value.Integer IntegerKind.U32 8113 ]; + Value.Tuple [ Value.UnicodeChar 8122; Value.Integer IntegerKind.U32 8048 ]; + Value.Tuple [ Value.UnicodeChar 8123; Value.Integer IntegerKind.U32 8049 ]; + Value.Tuple [ Value.UnicodeChar 8124; Value.Integer IntegerKind.U32 8115 ]; + Value.Tuple [ Value.UnicodeChar 8136; Value.Integer IntegerKind.U32 8050 ]; + Value.Tuple [ Value.UnicodeChar 8137; Value.Integer IntegerKind.U32 8051 ]; + Value.Tuple [ Value.UnicodeChar 8138; Value.Integer IntegerKind.U32 8052 ]; + Value.Tuple [ Value.UnicodeChar 8139; Value.Integer IntegerKind.U32 8053 ]; + Value.Tuple [ Value.UnicodeChar 8140; Value.Integer IntegerKind.U32 8131 ]; + Value.Tuple [ Value.UnicodeChar 8152; Value.Integer IntegerKind.U32 8144 ]; + Value.Tuple [ Value.UnicodeChar 8153; Value.Integer IntegerKind.U32 8145 ]; + Value.Tuple [ Value.UnicodeChar 8154; Value.Integer IntegerKind.U32 8054 ]; + Value.Tuple [ Value.UnicodeChar 8155; Value.Integer IntegerKind.U32 8055 ]; + Value.Tuple [ Value.UnicodeChar 8168; Value.Integer IntegerKind.U32 8160 ]; + Value.Tuple [ Value.UnicodeChar 8169; Value.Integer IntegerKind.U32 8161 ]; + Value.Tuple [ Value.UnicodeChar 8170; Value.Integer IntegerKind.U32 8058 ]; + Value.Tuple [ Value.UnicodeChar 8171; Value.Integer IntegerKind.U32 8059 ]; + Value.Tuple [ Value.UnicodeChar 8172; Value.Integer IntegerKind.U32 8165 ]; + Value.Tuple [ Value.UnicodeChar 8184; Value.Integer IntegerKind.U32 8056 ]; + Value.Tuple [ Value.UnicodeChar 8185; Value.Integer IntegerKind.U32 8057 ]; + Value.Tuple [ Value.UnicodeChar 8186; Value.Integer IntegerKind.U32 8060 ]; + Value.Tuple [ Value.UnicodeChar 8187; Value.Integer IntegerKind.U32 8061 ]; + Value.Tuple [ Value.UnicodeChar 8188; Value.Integer IntegerKind.U32 8179 ]; + Value.Tuple [ Value.UnicodeChar 8486; Value.Integer IntegerKind.U32 969 ]; + Value.Tuple [ Value.UnicodeChar 8490; Value.Integer IntegerKind.U32 107 ]; + Value.Tuple [ Value.UnicodeChar 8491; Value.Integer IntegerKind.U32 229 ]; + Value.Tuple [ Value.UnicodeChar 8498; Value.Integer IntegerKind.U32 8526 ]; + Value.Tuple [ Value.UnicodeChar 8544; Value.Integer IntegerKind.U32 8560 ]; + Value.Tuple [ Value.UnicodeChar 8545; Value.Integer IntegerKind.U32 8561 ]; + Value.Tuple [ Value.UnicodeChar 8546; Value.Integer IntegerKind.U32 8562 ]; + Value.Tuple [ Value.UnicodeChar 8547; Value.Integer IntegerKind.U32 8563 ]; + Value.Tuple [ Value.UnicodeChar 8548; Value.Integer IntegerKind.U32 8564 ]; + Value.Tuple [ Value.UnicodeChar 8549; Value.Integer IntegerKind.U32 8565 ]; + Value.Tuple [ Value.UnicodeChar 8550; Value.Integer IntegerKind.U32 8566 ]; + Value.Tuple [ Value.UnicodeChar 8551; Value.Integer IntegerKind.U32 8567 ]; + Value.Tuple [ Value.UnicodeChar 8552; Value.Integer IntegerKind.U32 8568 ]; + Value.Tuple [ Value.UnicodeChar 8553; Value.Integer IntegerKind.U32 8569 ]; + Value.Tuple [ Value.UnicodeChar 8554; Value.Integer IntegerKind.U32 8570 ]; + Value.Tuple [ Value.UnicodeChar 8555; Value.Integer IntegerKind.U32 8571 ]; + Value.Tuple [ Value.UnicodeChar 8556; Value.Integer IntegerKind.U32 8572 ]; + Value.Tuple [ Value.UnicodeChar 8557; Value.Integer IntegerKind.U32 8573 ]; + Value.Tuple [ Value.UnicodeChar 8558; Value.Integer IntegerKind.U32 8574 ]; + Value.Tuple [ Value.UnicodeChar 8559; Value.Integer IntegerKind.U32 8575 ]; + Value.Tuple [ Value.UnicodeChar 8579; Value.Integer IntegerKind.U32 8580 ]; + Value.Tuple [ Value.UnicodeChar 9398; Value.Integer IntegerKind.U32 9424 ]; + Value.Tuple [ Value.UnicodeChar 9399; Value.Integer IntegerKind.U32 9425 ]; + Value.Tuple [ Value.UnicodeChar 9400; Value.Integer IntegerKind.U32 9426 ]; + Value.Tuple [ Value.UnicodeChar 9401; Value.Integer IntegerKind.U32 9427 ]; + Value.Tuple [ Value.UnicodeChar 9402; Value.Integer IntegerKind.U32 9428 ]; + Value.Tuple [ Value.UnicodeChar 9403; Value.Integer IntegerKind.U32 9429 ]; + Value.Tuple [ Value.UnicodeChar 9404; Value.Integer IntegerKind.U32 9430 ]; + Value.Tuple [ Value.UnicodeChar 9405; Value.Integer IntegerKind.U32 9431 ]; + Value.Tuple [ Value.UnicodeChar 9406; Value.Integer IntegerKind.U32 9432 ]; + Value.Tuple [ Value.UnicodeChar 9407; Value.Integer IntegerKind.U32 9433 ]; + Value.Tuple [ Value.UnicodeChar 9408; Value.Integer IntegerKind.U32 9434 ]; + Value.Tuple [ Value.UnicodeChar 9409; Value.Integer IntegerKind.U32 9435 ]; + Value.Tuple [ Value.UnicodeChar 9410; Value.Integer IntegerKind.U32 9436 ]; + Value.Tuple [ Value.UnicodeChar 9411; Value.Integer IntegerKind.U32 9437 ]; + Value.Tuple [ Value.UnicodeChar 9412; Value.Integer IntegerKind.U32 9438 ]; + Value.Tuple [ Value.UnicodeChar 9413; Value.Integer IntegerKind.U32 9439 ]; + Value.Tuple [ Value.UnicodeChar 9414; Value.Integer IntegerKind.U32 9440 ]; + Value.Tuple [ Value.UnicodeChar 9415; Value.Integer IntegerKind.U32 9441 ]; + Value.Tuple [ Value.UnicodeChar 9416; Value.Integer IntegerKind.U32 9442 ]; + Value.Tuple [ Value.UnicodeChar 9417; Value.Integer IntegerKind.U32 9443 ]; + Value.Tuple [ Value.UnicodeChar 9418; Value.Integer IntegerKind.U32 9444 ]; + Value.Tuple [ Value.UnicodeChar 9419; Value.Integer IntegerKind.U32 9445 ]; + Value.Tuple [ Value.UnicodeChar 9420; Value.Integer IntegerKind.U32 9446 ]; + Value.Tuple [ Value.UnicodeChar 9421; Value.Integer IntegerKind.U32 9447 ]; + Value.Tuple [ Value.UnicodeChar 9422; Value.Integer IntegerKind.U32 9448 ]; + Value.Tuple [ Value.UnicodeChar 9423; Value.Integer IntegerKind.U32 9449 ]; + Value.Tuple + [ Value.UnicodeChar 11264; Value.Integer IntegerKind.U32 11312 ]; + Value.Tuple + [ Value.UnicodeChar 11265; Value.Integer IntegerKind.U32 11313 ]; + Value.Tuple + [ Value.UnicodeChar 11266; Value.Integer IntegerKind.U32 11314 ]; + Value.Tuple + [ Value.UnicodeChar 11267; Value.Integer IntegerKind.U32 11315 ]; + Value.Tuple + [ Value.UnicodeChar 11268; Value.Integer IntegerKind.U32 11316 ]; + Value.Tuple + [ Value.UnicodeChar 11269; Value.Integer IntegerKind.U32 11317 ]; + Value.Tuple + [ Value.UnicodeChar 11270; Value.Integer IntegerKind.U32 11318 ]; + Value.Tuple + [ Value.UnicodeChar 11271; Value.Integer IntegerKind.U32 11319 ]; + Value.Tuple + [ Value.UnicodeChar 11272; Value.Integer IntegerKind.U32 11320 ]; + Value.Tuple + [ Value.UnicodeChar 11273; Value.Integer IntegerKind.U32 11321 ]; + Value.Tuple + [ Value.UnicodeChar 11274; Value.Integer IntegerKind.U32 11322 ]; + Value.Tuple + [ Value.UnicodeChar 11275; Value.Integer IntegerKind.U32 11323 ]; + Value.Tuple + [ Value.UnicodeChar 11276; Value.Integer IntegerKind.U32 11324 ]; + Value.Tuple + [ Value.UnicodeChar 11277; Value.Integer IntegerKind.U32 11325 ]; + Value.Tuple + [ Value.UnicodeChar 11278; Value.Integer IntegerKind.U32 11326 ]; + Value.Tuple + [ Value.UnicodeChar 11279; Value.Integer IntegerKind.U32 11327 ]; + Value.Tuple + [ Value.UnicodeChar 11280; Value.Integer IntegerKind.U32 11328 ]; + Value.Tuple + [ Value.UnicodeChar 11281; Value.Integer IntegerKind.U32 11329 ]; + Value.Tuple + [ Value.UnicodeChar 11282; Value.Integer IntegerKind.U32 11330 ]; + Value.Tuple + [ Value.UnicodeChar 11283; Value.Integer IntegerKind.U32 11331 ]; + Value.Tuple + [ Value.UnicodeChar 11284; Value.Integer IntegerKind.U32 11332 ]; + Value.Tuple + [ Value.UnicodeChar 11285; Value.Integer IntegerKind.U32 11333 ]; + Value.Tuple + [ Value.UnicodeChar 11286; Value.Integer IntegerKind.U32 11334 ]; + Value.Tuple + [ Value.UnicodeChar 11287; Value.Integer IntegerKind.U32 11335 ]; + Value.Tuple + [ Value.UnicodeChar 11288; Value.Integer IntegerKind.U32 11336 ]; + Value.Tuple + [ Value.UnicodeChar 11289; Value.Integer IntegerKind.U32 11337 ]; + Value.Tuple + [ Value.UnicodeChar 11290; Value.Integer IntegerKind.U32 11338 ]; + Value.Tuple + [ Value.UnicodeChar 11291; Value.Integer IntegerKind.U32 11339 ]; + Value.Tuple + [ Value.UnicodeChar 11292; Value.Integer IntegerKind.U32 11340 ]; + Value.Tuple + [ Value.UnicodeChar 11293; Value.Integer IntegerKind.U32 11341 ]; + Value.Tuple + [ Value.UnicodeChar 11294; Value.Integer IntegerKind.U32 11342 ]; + Value.Tuple + [ Value.UnicodeChar 11295; Value.Integer IntegerKind.U32 11343 ]; + Value.Tuple + [ Value.UnicodeChar 11296; Value.Integer IntegerKind.U32 11344 ]; + Value.Tuple + [ Value.UnicodeChar 11297; Value.Integer IntegerKind.U32 11345 ]; + Value.Tuple + [ Value.UnicodeChar 11298; Value.Integer IntegerKind.U32 11346 ]; + Value.Tuple + [ Value.UnicodeChar 11299; Value.Integer IntegerKind.U32 11347 ]; + Value.Tuple + [ Value.UnicodeChar 11300; Value.Integer IntegerKind.U32 11348 ]; + Value.Tuple + [ Value.UnicodeChar 11301; Value.Integer IntegerKind.U32 11349 ]; + Value.Tuple + [ Value.UnicodeChar 11302; Value.Integer IntegerKind.U32 11350 ]; + Value.Tuple + [ Value.UnicodeChar 11303; Value.Integer IntegerKind.U32 11351 ]; + Value.Tuple + [ Value.UnicodeChar 11304; Value.Integer IntegerKind.U32 11352 ]; + Value.Tuple + [ Value.UnicodeChar 11305; Value.Integer IntegerKind.U32 11353 ]; + Value.Tuple + [ Value.UnicodeChar 11306; Value.Integer IntegerKind.U32 11354 ]; + Value.Tuple + [ Value.UnicodeChar 11307; Value.Integer IntegerKind.U32 11355 ]; + Value.Tuple + [ Value.UnicodeChar 11308; Value.Integer IntegerKind.U32 11356 ]; + Value.Tuple + [ Value.UnicodeChar 11309; Value.Integer IntegerKind.U32 11357 ]; + Value.Tuple + [ Value.UnicodeChar 11310; Value.Integer IntegerKind.U32 11358 ]; + Value.Tuple + [ Value.UnicodeChar 11311; Value.Integer IntegerKind.U32 11359 ]; + Value.Tuple + [ Value.UnicodeChar 11360; Value.Integer IntegerKind.U32 11361 ]; + Value.Tuple [ Value.UnicodeChar 11362; Value.Integer IntegerKind.U32 619 ]; + Value.Tuple [ Value.UnicodeChar 11363; Value.Integer IntegerKind.U32 7549 ]; + Value.Tuple [ Value.UnicodeChar 11364; Value.Integer IntegerKind.U32 637 ]; + Value.Tuple + [ Value.UnicodeChar 11367; Value.Integer IntegerKind.U32 11368 ]; + Value.Tuple + [ Value.UnicodeChar 11369; Value.Integer IntegerKind.U32 11370 ]; + Value.Tuple + [ Value.UnicodeChar 11371; Value.Integer IntegerKind.U32 11372 ]; + Value.Tuple [ Value.UnicodeChar 11373; Value.Integer IntegerKind.U32 593 ]; + Value.Tuple [ Value.UnicodeChar 11374; Value.Integer IntegerKind.U32 625 ]; + Value.Tuple [ Value.UnicodeChar 11375; Value.Integer IntegerKind.U32 592 ]; + Value.Tuple [ Value.UnicodeChar 11376; Value.Integer IntegerKind.U32 594 ]; + Value.Tuple + [ Value.UnicodeChar 11378; Value.Integer IntegerKind.U32 11379 ]; + Value.Tuple + [ Value.UnicodeChar 11381; Value.Integer IntegerKind.U32 11382 ]; + Value.Tuple [ Value.UnicodeChar 11390; Value.Integer IntegerKind.U32 575 ]; + Value.Tuple [ Value.UnicodeChar 11391; Value.Integer IntegerKind.U32 576 ]; + Value.Tuple + [ Value.UnicodeChar 11392; Value.Integer IntegerKind.U32 11393 ]; + Value.Tuple + [ Value.UnicodeChar 11394; Value.Integer IntegerKind.U32 11395 ]; + Value.Tuple + [ Value.UnicodeChar 11396; Value.Integer IntegerKind.U32 11397 ]; + Value.Tuple + [ Value.UnicodeChar 11398; Value.Integer IntegerKind.U32 11399 ]; + Value.Tuple + [ Value.UnicodeChar 11400; Value.Integer IntegerKind.U32 11401 ]; + Value.Tuple + [ Value.UnicodeChar 11402; Value.Integer IntegerKind.U32 11403 ]; + Value.Tuple + [ Value.UnicodeChar 11404; Value.Integer IntegerKind.U32 11405 ]; + Value.Tuple + [ Value.UnicodeChar 11406; Value.Integer IntegerKind.U32 11407 ]; + Value.Tuple + [ Value.UnicodeChar 11408; Value.Integer IntegerKind.U32 11409 ]; + Value.Tuple + [ Value.UnicodeChar 11410; Value.Integer IntegerKind.U32 11411 ]; + Value.Tuple + [ Value.UnicodeChar 11412; Value.Integer IntegerKind.U32 11413 ]; + Value.Tuple + [ Value.UnicodeChar 11414; Value.Integer IntegerKind.U32 11415 ]; + Value.Tuple + [ Value.UnicodeChar 11416; Value.Integer IntegerKind.U32 11417 ]; + Value.Tuple + [ Value.UnicodeChar 11418; Value.Integer IntegerKind.U32 11419 ]; + Value.Tuple + [ Value.UnicodeChar 11420; Value.Integer IntegerKind.U32 11421 ]; + Value.Tuple + [ Value.UnicodeChar 11422; Value.Integer IntegerKind.U32 11423 ]; + Value.Tuple + [ Value.UnicodeChar 11424; Value.Integer IntegerKind.U32 11425 ]; + Value.Tuple + [ Value.UnicodeChar 11426; Value.Integer IntegerKind.U32 11427 ]; + Value.Tuple + [ Value.UnicodeChar 11428; Value.Integer IntegerKind.U32 11429 ]; + Value.Tuple + [ Value.UnicodeChar 11430; Value.Integer IntegerKind.U32 11431 ]; + Value.Tuple + [ Value.UnicodeChar 11432; Value.Integer IntegerKind.U32 11433 ]; + Value.Tuple + [ Value.UnicodeChar 11434; Value.Integer IntegerKind.U32 11435 ]; + Value.Tuple + [ Value.UnicodeChar 11436; Value.Integer IntegerKind.U32 11437 ]; + Value.Tuple + [ Value.UnicodeChar 11438; Value.Integer IntegerKind.U32 11439 ]; + Value.Tuple + [ Value.UnicodeChar 11440; Value.Integer IntegerKind.U32 11441 ]; + Value.Tuple + [ Value.UnicodeChar 11442; Value.Integer IntegerKind.U32 11443 ]; + Value.Tuple + [ Value.UnicodeChar 11444; Value.Integer IntegerKind.U32 11445 ]; + Value.Tuple + [ Value.UnicodeChar 11446; Value.Integer IntegerKind.U32 11447 ]; + Value.Tuple + [ Value.UnicodeChar 11448; Value.Integer IntegerKind.U32 11449 ]; + Value.Tuple + [ Value.UnicodeChar 11450; Value.Integer IntegerKind.U32 11451 ]; + Value.Tuple + [ Value.UnicodeChar 11452; Value.Integer IntegerKind.U32 11453 ]; + Value.Tuple + [ Value.UnicodeChar 11454; Value.Integer IntegerKind.U32 11455 ]; + Value.Tuple + [ Value.UnicodeChar 11456; Value.Integer IntegerKind.U32 11457 ]; + Value.Tuple + [ Value.UnicodeChar 11458; Value.Integer IntegerKind.U32 11459 ]; + Value.Tuple + [ Value.UnicodeChar 11460; Value.Integer IntegerKind.U32 11461 ]; + Value.Tuple + [ Value.UnicodeChar 11462; Value.Integer IntegerKind.U32 11463 ]; + Value.Tuple + [ Value.UnicodeChar 11464; Value.Integer IntegerKind.U32 11465 ]; + Value.Tuple + [ Value.UnicodeChar 11466; Value.Integer IntegerKind.U32 11467 ]; + Value.Tuple + [ Value.UnicodeChar 11468; Value.Integer IntegerKind.U32 11469 ]; + Value.Tuple + [ Value.UnicodeChar 11470; Value.Integer IntegerKind.U32 11471 ]; + Value.Tuple + [ Value.UnicodeChar 11472; Value.Integer IntegerKind.U32 11473 ]; + Value.Tuple + [ Value.UnicodeChar 11474; Value.Integer IntegerKind.U32 11475 ]; + Value.Tuple + [ Value.UnicodeChar 11476; Value.Integer IntegerKind.U32 11477 ]; + Value.Tuple + [ Value.UnicodeChar 11478; Value.Integer IntegerKind.U32 11479 ]; + Value.Tuple + [ Value.UnicodeChar 11480; Value.Integer IntegerKind.U32 11481 ]; + Value.Tuple + [ Value.UnicodeChar 11482; Value.Integer IntegerKind.U32 11483 ]; + Value.Tuple + [ Value.UnicodeChar 11484; Value.Integer IntegerKind.U32 11485 ]; + Value.Tuple + [ Value.UnicodeChar 11486; Value.Integer IntegerKind.U32 11487 ]; + Value.Tuple + [ Value.UnicodeChar 11488; Value.Integer IntegerKind.U32 11489 ]; + Value.Tuple + [ Value.UnicodeChar 11490; Value.Integer IntegerKind.U32 11491 ]; + Value.Tuple + [ Value.UnicodeChar 11499; Value.Integer IntegerKind.U32 11500 ]; + Value.Tuple + [ Value.UnicodeChar 11501; Value.Integer IntegerKind.U32 11502 ]; + Value.Tuple + [ Value.UnicodeChar 11506; Value.Integer IntegerKind.U32 11507 ]; + Value.Tuple + [ Value.UnicodeChar 42560; Value.Integer IntegerKind.U32 42561 ]; + Value.Tuple + [ Value.UnicodeChar 42562; Value.Integer IntegerKind.U32 42563 ]; + Value.Tuple + [ Value.UnicodeChar 42564; Value.Integer IntegerKind.U32 42565 ]; + Value.Tuple + [ Value.UnicodeChar 42566; Value.Integer IntegerKind.U32 42567 ]; + Value.Tuple + [ Value.UnicodeChar 42568; Value.Integer IntegerKind.U32 42569 ]; + Value.Tuple + [ Value.UnicodeChar 42570; Value.Integer IntegerKind.U32 42571 ]; + Value.Tuple + [ Value.UnicodeChar 42572; Value.Integer IntegerKind.U32 42573 ]; + Value.Tuple + [ Value.UnicodeChar 42574; Value.Integer IntegerKind.U32 42575 ]; + Value.Tuple + [ Value.UnicodeChar 42576; Value.Integer IntegerKind.U32 42577 ]; + Value.Tuple + [ Value.UnicodeChar 42578; Value.Integer IntegerKind.U32 42579 ]; + Value.Tuple + [ Value.UnicodeChar 42580; Value.Integer IntegerKind.U32 42581 ]; + Value.Tuple + [ Value.UnicodeChar 42582; Value.Integer IntegerKind.U32 42583 ]; + Value.Tuple + [ Value.UnicodeChar 42584; Value.Integer IntegerKind.U32 42585 ]; + Value.Tuple + [ Value.UnicodeChar 42586; Value.Integer IntegerKind.U32 42587 ]; + Value.Tuple + [ Value.UnicodeChar 42588; Value.Integer IntegerKind.U32 42589 ]; + Value.Tuple + [ Value.UnicodeChar 42590; Value.Integer IntegerKind.U32 42591 ]; + Value.Tuple + [ Value.UnicodeChar 42592; Value.Integer IntegerKind.U32 42593 ]; + Value.Tuple + [ Value.UnicodeChar 42594; Value.Integer IntegerKind.U32 42595 ]; + Value.Tuple + [ Value.UnicodeChar 42596; Value.Integer IntegerKind.U32 42597 ]; + Value.Tuple + [ Value.UnicodeChar 42598; Value.Integer IntegerKind.U32 42599 ]; + Value.Tuple + [ Value.UnicodeChar 42600; Value.Integer IntegerKind.U32 42601 ]; + Value.Tuple + [ Value.UnicodeChar 42602; Value.Integer IntegerKind.U32 42603 ]; + Value.Tuple + [ Value.UnicodeChar 42604; Value.Integer IntegerKind.U32 42605 ]; + Value.Tuple + [ Value.UnicodeChar 42624; Value.Integer IntegerKind.U32 42625 ]; + Value.Tuple + [ Value.UnicodeChar 42626; Value.Integer IntegerKind.U32 42627 ]; + Value.Tuple + [ Value.UnicodeChar 42628; Value.Integer IntegerKind.U32 42629 ]; + Value.Tuple + [ Value.UnicodeChar 42630; Value.Integer IntegerKind.U32 42631 ]; + Value.Tuple + [ Value.UnicodeChar 42632; Value.Integer IntegerKind.U32 42633 ]; + Value.Tuple + [ Value.UnicodeChar 42634; Value.Integer IntegerKind.U32 42635 ]; + Value.Tuple + [ Value.UnicodeChar 42636; Value.Integer IntegerKind.U32 42637 ]; + Value.Tuple + [ Value.UnicodeChar 42638; Value.Integer IntegerKind.U32 42639 ]; + Value.Tuple + [ Value.UnicodeChar 42640; Value.Integer IntegerKind.U32 42641 ]; + Value.Tuple + [ Value.UnicodeChar 42642; Value.Integer IntegerKind.U32 42643 ]; + Value.Tuple + [ Value.UnicodeChar 42644; Value.Integer IntegerKind.U32 42645 ]; + Value.Tuple + [ Value.UnicodeChar 42646; Value.Integer IntegerKind.U32 42647 ]; + Value.Tuple + [ Value.UnicodeChar 42648; Value.Integer IntegerKind.U32 42649 ]; + Value.Tuple + [ Value.UnicodeChar 42650; Value.Integer IntegerKind.U32 42651 ]; + Value.Tuple + [ Value.UnicodeChar 42786; Value.Integer IntegerKind.U32 42787 ]; + Value.Tuple + [ Value.UnicodeChar 42788; Value.Integer IntegerKind.U32 42789 ]; + Value.Tuple + [ Value.UnicodeChar 42790; Value.Integer IntegerKind.U32 42791 ]; + Value.Tuple + [ Value.UnicodeChar 42792; Value.Integer IntegerKind.U32 42793 ]; + Value.Tuple + [ Value.UnicodeChar 42794; Value.Integer IntegerKind.U32 42795 ]; + Value.Tuple + [ Value.UnicodeChar 42796; Value.Integer IntegerKind.U32 42797 ]; + Value.Tuple + [ Value.UnicodeChar 42798; Value.Integer IntegerKind.U32 42799 ]; + Value.Tuple + [ Value.UnicodeChar 42802; Value.Integer IntegerKind.U32 42803 ]; + Value.Tuple + [ Value.UnicodeChar 42804; Value.Integer IntegerKind.U32 42805 ]; + Value.Tuple + [ Value.UnicodeChar 42806; Value.Integer IntegerKind.U32 42807 ]; + Value.Tuple + [ Value.UnicodeChar 42808; Value.Integer IntegerKind.U32 42809 ]; + Value.Tuple + [ Value.UnicodeChar 42810; Value.Integer IntegerKind.U32 42811 ]; + Value.Tuple + [ Value.UnicodeChar 42812; Value.Integer IntegerKind.U32 42813 ]; + Value.Tuple + [ Value.UnicodeChar 42814; Value.Integer IntegerKind.U32 42815 ]; + Value.Tuple + [ Value.UnicodeChar 42816; Value.Integer IntegerKind.U32 42817 ]; + Value.Tuple + [ Value.UnicodeChar 42818; Value.Integer IntegerKind.U32 42819 ]; + Value.Tuple + [ Value.UnicodeChar 42820; Value.Integer IntegerKind.U32 42821 ]; + Value.Tuple + [ Value.UnicodeChar 42822; Value.Integer IntegerKind.U32 42823 ]; + Value.Tuple + [ Value.UnicodeChar 42824; Value.Integer IntegerKind.U32 42825 ]; + Value.Tuple + [ Value.UnicodeChar 42826; Value.Integer IntegerKind.U32 42827 ]; + Value.Tuple + [ Value.UnicodeChar 42828; Value.Integer IntegerKind.U32 42829 ]; + Value.Tuple + [ Value.UnicodeChar 42830; Value.Integer IntegerKind.U32 42831 ]; + Value.Tuple + [ Value.UnicodeChar 42832; Value.Integer IntegerKind.U32 42833 ]; + Value.Tuple + [ Value.UnicodeChar 42834; Value.Integer IntegerKind.U32 42835 ]; + Value.Tuple + [ Value.UnicodeChar 42836; Value.Integer IntegerKind.U32 42837 ]; + Value.Tuple + [ Value.UnicodeChar 42838; Value.Integer IntegerKind.U32 42839 ]; + Value.Tuple + [ Value.UnicodeChar 42840; Value.Integer IntegerKind.U32 42841 ]; + Value.Tuple + [ Value.UnicodeChar 42842; Value.Integer IntegerKind.U32 42843 ]; + Value.Tuple + [ Value.UnicodeChar 42844; Value.Integer IntegerKind.U32 42845 ]; + Value.Tuple + [ Value.UnicodeChar 42846; Value.Integer IntegerKind.U32 42847 ]; + Value.Tuple + [ Value.UnicodeChar 42848; Value.Integer IntegerKind.U32 42849 ]; + Value.Tuple + [ Value.UnicodeChar 42850; Value.Integer IntegerKind.U32 42851 ]; + Value.Tuple + [ Value.UnicodeChar 42852; Value.Integer IntegerKind.U32 42853 ]; + Value.Tuple + [ Value.UnicodeChar 42854; Value.Integer IntegerKind.U32 42855 ]; + Value.Tuple + [ Value.UnicodeChar 42856; Value.Integer IntegerKind.U32 42857 ]; + Value.Tuple + [ Value.UnicodeChar 42858; Value.Integer IntegerKind.U32 42859 ]; + Value.Tuple + [ Value.UnicodeChar 42860; Value.Integer IntegerKind.U32 42861 ]; + Value.Tuple + [ Value.UnicodeChar 42862; Value.Integer IntegerKind.U32 42863 ]; + Value.Tuple + [ Value.UnicodeChar 42873; Value.Integer IntegerKind.U32 42874 ]; + Value.Tuple + [ Value.UnicodeChar 42875; Value.Integer IntegerKind.U32 42876 ]; + Value.Tuple [ Value.UnicodeChar 42877; Value.Integer IntegerKind.U32 7545 ]; + Value.Tuple + [ Value.UnicodeChar 42878; Value.Integer IntegerKind.U32 42879 ]; + Value.Tuple + [ Value.UnicodeChar 42880; Value.Integer IntegerKind.U32 42881 ]; + Value.Tuple + [ Value.UnicodeChar 42882; Value.Integer IntegerKind.U32 42883 ]; + Value.Tuple + [ Value.UnicodeChar 42884; Value.Integer IntegerKind.U32 42885 ]; + Value.Tuple + [ Value.UnicodeChar 42886; Value.Integer IntegerKind.U32 42887 ]; + Value.Tuple + [ Value.UnicodeChar 42891; Value.Integer IntegerKind.U32 42892 ]; + Value.Tuple [ Value.UnicodeChar 42893; Value.Integer IntegerKind.U32 613 ]; + Value.Tuple + [ Value.UnicodeChar 42896; Value.Integer IntegerKind.U32 42897 ]; + Value.Tuple + [ Value.UnicodeChar 42898; Value.Integer IntegerKind.U32 42899 ]; + Value.Tuple + [ Value.UnicodeChar 42902; Value.Integer IntegerKind.U32 42903 ]; + Value.Tuple + [ Value.UnicodeChar 42904; Value.Integer IntegerKind.U32 42905 ]; + Value.Tuple + [ Value.UnicodeChar 42906; Value.Integer IntegerKind.U32 42907 ]; + Value.Tuple + [ Value.UnicodeChar 42908; Value.Integer IntegerKind.U32 42909 ]; + Value.Tuple + [ Value.UnicodeChar 42910; Value.Integer IntegerKind.U32 42911 ]; + Value.Tuple + [ Value.UnicodeChar 42912; Value.Integer IntegerKind.U32 42913 ]; + Value.Tuple + [ Value.UnicodeChar 42914; Value.Integer IntegerKind.U32 42915 ]; + Value.Tuple + [ Value.UnicodeChar 42916; Value.Integer IntegerKind.U32 42917 ]; + Value.Tuple + [ Value.UnicodeChar 42918; Value.Integer IntegerKind.U32 42919 ]; + Value.Tuple + [ Value.UnicodeChar 42920; Value.Integer IntegerKind.U32 42921 ]; + Value.Tuple [ Value.UnicodeChar 42922; Value.Integer IntegerKind.U32 614 ]; + Value.Tuple [ Value.UnicodeChar 42923; Value.Integer IntegerKind.U32 604 ]; + Value.Tuple [ Value.UnicodeChar 42924; Value.Integer IntegerKind.U32 609 ]; + Value.Tuple [ Value.UnicodeChar 42925; Value.Integer IntegerKind.U32 620 ]; + Value.Tuple [ Value.UnicodeChar 42926; Value.Integer IntegerKind.U32 618 ]; + Value.Tuple [ Value.UnicodeChar 42928; Value.Integer IntegerKind.U32 670 ]; + Value.Tuple [ Value.UnicodeChar 42929; Value.Integer IntegerKind.U32 647 ]; + Value.Tuple [ Value.UnicodeChar 42930; Value.Integer IntegerKind.U32 669 ]; + Value.Tuple + [ Value.UnicodeChar 42931; Value.Integer IntegerKind.U32 43859 ]; + Value.Tuple + [ Value.UnicodeChar 42932; Value.Integer IntegerKind.U32 42933 ]; + Value.Tuple + [ Value.UnicodeChar 42934; Value.Integer IntegerKind.U32 42935 ]; + Value.Tuple + [ Value.UnicodeChar 42936; Value.Integer IntegerKind.U32 42937 ]; + Value.Tuple + [ Value.UnicodeChar 42938; Value.Integer IntegerKind.U32 42939 ]; + Value.Tuple + [ Value.UnicodeChar 42940; Value.Integer IntegerKind.U32 42941 ]; + Value.Tuple + [ Value.UnicodeChar 42942; Value.Integer IntegerKind.U32 42943 ]; + Value.Tuple + [ Value.UnicodeChar 42944; Value.Integer IntegerKind.U32 42945 ]; + Value.Tuple + [ Value.UnicodeChar 42946; Value.Integer IntegerKind.U32 42947 ]; + Value.Tuple + [ Value.UnicodeChar 42948; Value.Integer IntegerKind.U32 42900 ]; + Value.Tuple [ Value.UnicodeChar 42949; Value.Integer IntegerKind.U32 642 ]; + Value.Tuple [ Value.UnicodeChar 42950; Value.Integer IntegerKind.U32 7566 ]; + Value.Tuple + [ Value.UnicodeChar 42951; Value.Integer IntegerKind.U32 42952 ]; + Value.Tuple + [ Value.UnicodeChar 42953; Value.Integer IntegerKind.U32 42954 ]; + Value.Tuple + [ Value.UnicodeChar 42960; Value.Integer IntegerKind.U32 42961 ]; + Value.Tuple + [ Value.UnicodeChar 42966; Value.Integer IntegerKind.U32 42967 ]; + Value.Tuple + [ Value.UnicodeChar 42968; Value.Integer IntegerKind.U32 42969 ]; + Value.Tuple + [ Value.UnicodeChar 42997; Value.Integer IntegerKind.U32 42998 ]; + Value.Tuple + [ Value.UnicodeChar 65313; Value.Integer IntegerKind.U32 65345 ]; + Value.Tuple + [ Value.UnicodeChar 65314; Value.Integer IntegerKind.U32 65346 ]; + Value.Tuple + [ Value.UnicodeChar 65315; Value.Integer IntegerKind.U32 65347 ]; + Value.Tuple + [ Value.UnicodeChar 65316; Value.Integer IntegerKind.U32 65348 ]; + Value.Tuple + [ Value.UnicodeChar 65317; Value.Integer IntegerKind.U32 65349 ]; + Value.Tuple + [ Value.UnicodeChar 65318; Value.Integer IntegerKind.U32 65350 ]; + Value.Tuple + [ Value.UnicodeChar 65319; Value.Integer IntegerKind.U32 65351 ]; + Value.Tuple + [ Value.UnicodeChar 65320; Value.Integer IntegerKind.U32 65352 ]; + Value.Tuple + [ Value.UnicodeChar 65321; Value.Integer IntegerKind.U32 65353 ]; + Value.Tuple + [ Value.UnicodeChar 65322; Value.Integer IntegerKind.U32 65354 ]; + Value.Tuple + [ Value.UnicodeChar 65323; Value.Integer IntegerKind.U32 65355 ]; + Value.Tuple + [ Value.UnicodeChar 65324; Value.Integer IntegerKind.U32 65356 ]; + Value.Tuple + [ Value.UnicodeChar 65325; Value.Integer IntegerKind.U32 65357 ]; + Value.Tuple + [ Value.UnicodeChar 65326; Value.Integer IntegerKind.U32 65358 ]; + Value.Tuple + [ Value.UnicodeChar 65327; Value.Integer IntegerKind.U32 65359 ]; + Value.Tuple + [ Value.UnicodeChar 65328; Value.Integer IntegerKind.U32 65360 ]; + Value.Tuple + [ Value.UnicodeChar 65329; Value.Integer IntegerKind.U32 65361 ]; + Value.Tuple + [ Value.UnicodeChar 65330; Value.Integer IntegerKind.U32 65362 ]; + Value.Tuple + [ Value.UnicodeChar 65331; Value.Integer IntegerKind.U32 65363 ]; + Value.Tuple + [ Value.UnicodeChar 65332; Value.Integer IntegerKind.U32 65364 ]; + Value.Tuple + [ Value.UnicodeChar 65333; Value.Integer IntegerKind.U32 65365 ]; + Value.Tuple + [ Value.UnicodeChar 65334; Value.Integer IntegerKind.U32 65366 ]; + Value.Tuple + [ Value.UnicodeChar 65335; Value.Integer IntegerKind.U32 65367 ]; + Value.Tuple + [ Value.UnicodeChar 65336; Value.Integer IntegerKind.U32 65368 ]; + Value.Tuple + [ Value.UnicodeChar 65337; Value.Integer IntegerKind.U32 65369 ]; + Value.Tuple + [ Value.UnicodeChar 65338; Value.Integer IntegerKind.U32 65370 ]; + Value.Tuple + [ Value.UnicodeChar 66560; Value.Integer IntegerKind.U32 66600 ]; + Value.Tuple + [ Value.UnicodeChar 66561; Value.Integer IntegerKind.U32 66601 ]; + Value.Tuple + [ Value.UnicodeChar 66562; Value.Integer IntegerKind.U32 66602 ]; + Value.Tuple + [ Value.UnicodeChar 66563; Value.Integer IntegerKind.U32 66603 ]; + Value.Tuple + [ Value.UnicodeChar 66564; Value.Integer IntegerKind.U32 66604 ]; + Value.Tuple + [ Value.UnicodeChar 66565; Value.Integer IntegerKind.U32 66605 ]; + Value.Tuple + [ Value.UnicodeChar 66566; Value.Integer IntegerKind.U32 66606 ]; + Value.Tuple + [ Value.UnicodeChar 66567; Value.Integer IntegerKind.U32 66607 ]; + Value.Tuple + [ Value.UnicodeChar 66568; Value.Integer IntegerKind.U32 66608 ]; + Value.Tuple + [ Value.UnicodeChar 66569; Value.Integer IntegerKind.U32 66609 ]; + Value.Tuple + [ Value.UnicodeChar 66570; Value.Integer IntegerKind.U32 66610 ]; + Value.Tuple + [ Value.UnicodeChar 66571; Value.Integer IntegerKind.U32 66611 ]; + Value.Tuple + [ Value.UnicodeChar 66572; Value.Integer IntegerKind.U32 66612 ]; + Value.Tuple + [ Value.UnicodeChar 66573; Value.Integer IntegerKind.U32 66613 ]; + Value.Tuple + [ Value.UnicodeChar 66574; Value.Integer IntegerKind.U32 66614 ]; + Value.Tuple + [ Value.UnicodeChar 66575; Value.Integer IntegerKind.U32 66615 ]; + Value.Tuple + [ Value.UnicodeChar 66576; Value.Integer IntegerKind.U32 66616 ]; + Value.Tuple + [ Value.UnicodeChar 66577; Value.Integer IntegerKind.U32 66617 ]; + Value.Tuple + [ Value.UnicodeChar 66578; Value.Integer IntegerKind.U32 66618 ]; + Value.Tuple + [ Value.UnicodeChar 66579; Value.Integer IntegerKind.U32 66619 ]; + Value.Tuple + [ Value.UnicodeChar 66580; Value.Integer IntegerKind.U32 66620 ]; + Value.Tuple + [ Value.UnicodeChar 66581; Value.Integer IntegerKind.U32 66621 ]; + Value.Tuple + [ Value.UnicodeChar 66582; Value.Integer IntegerKind.U32 66622 ]; + Value.Tuple + [ Value.UnicodeChar 66583; Value.Integer IntegerKind.U32 66623 ]; + Value.Tuple + [ Value.UnicodeChar 66584; Value.Integer IntegerKind.U32 66624 ]; + Value.Tuple + [ Value.UnicodeChar 66585; Value.Integer IntegerKind.U32 66625 ]; + Value.Tuple + [ Value.UnicodeChar 66586; Value.Integer IntegerKind.U32 66626 ]; + Value.Tuple + [ Value.UnicodeChar 66587; Value.Integer IntegerKind.U32 66627 ]; + Value.Tuple + [ Value.UnicodeChar 66588; Value.Integer IntegerKind.U32 66628 ]; + Value.Tuple + [ Value.UnicodeChar 66589; Value.Integer IntegerKind.U32 66629 ]; + Value.Tuple + [ Value.UnicodeChar 66590; Value.Integer IntegerKind.U32 66630 ]; + Value.Tuple + [ Value.UnicodeChar 66591; Value.Integer IntegerKind.U32 66631 ]; + Value.Tuple + [ Value.UnicodeChar 66592; Value.Integer IntegerKind.U32 66632 ]; + Value.Tuple + [ Value.UnicodeChar 66593; Value.Integer IntegerKind.U32 66633 ]; + Value.Tuple + [ Value.UnicodeChar 66594; Value.Integer IntegerKind.U32 66634 ]; + Value.Tuple + [ Value.UnicodeChar 66595; Value.Integer IntegerKind.U32 66635 ]; + Value.Tuple + [ Value.UnicodeChar 66596; Value.Integer IntegerKind.U32 66636 ]; + Value.Tuple + [ Value.UnicodeChar 66597; Value.Integer IntegerKind.U32 66637 ]; + Value.Tuple + [ Value.UnicodeChar 66598; Value.Integer IntegerKind.U32 66638 ]; + Value.Tuple + [ Value.UnicodeChar 66599; Value.Integer IntegerKind.U32 66639 ]; + Value.Tuple + [ Value.UnicodeChar 66736; Value.Integer IntegerKind.U32 66776 ]; + Value.Tuple + [ Value.UnicodeChar 66737; Value.Integer IntegerKind.U32 66777 ]; + Value.Tuple + [ Value.UnicodeChar 66738; Value.Integer IntegerKind.U32 66778 ]; + Value.Tuple + [ Value.UnicodeChar 66739; Value.Integer IntegerKind.U32 66779 ]; + Value.Tuple + [ Value.UnicodeChar 66740; Value.Integer IntegerKind.U32 66780 ]; + Value.Tuple + [ Value.UnicodeChar 66741; Value.Integer IntegerKind.U32 66781 ]; + Value.Tuple + [ Value.UnicodeChar 66742; Value.Integer IntegerKind.U32 66782 ]; + Value.Tuple + [ Value.UnicodeChar 66743; Value.Integer IntegerKind.U32 66783 ]; + Value.Tuple + [ Value.UnicodeChar 66744; Value.Integer IntegerKind.U32 66784 ]; + Value.Tuple + [ Value.UnicodeChar 66745; Value.Integer IntegerKind.U32 66785 ]; + Value.Tuple + [ Value.UnicodeChar 66746; Value.Integer IntegerKind.U32 66786 ]; + Value.Tuple + [ Value.UnicodeChar 66747; Value.Integer IntegerKind.U32 66787 ]; + Value.Tuple + [ Value.UnicodeChar 66748; Value.Integer IntegerKind.U32 66788 ]; + Value.Tuple + [ Value.UnicodeChar 66749; Value.Integer IntegerKind.U32 66789 ]; + Value.Tuple + [ Value.UnicodeChar 66750; Value.Integer IntegerKind.U32 66790 ]; + Value.Tuple + [ Value.UnicodeChar 66751; Value.Integer IntegerKind.U32 66791 ]; + Value.Tuple + [ Value.UnicodeChar 66752; Value.Integer IntegerKind.U32 66792 ]; + Value.Tuple + [ Value.UnicodeChar 66753; Value.Integer IntegerKind.U32 66793 ]; + Value.Tuple + [ Value.UnicodeChar 66754; Value.Integer IntegerKind.U32 66794 ]; + Value.Tuple + [ Value.UnicodeChar 66755; Value.Integer IntegerKind.U32 66795 ]; + Value.Tuple + [ Value.UnicodeChar 66756; Value.Integer IntegerKind.U32 66796 ]; + Value.Tuple + [ Value.UnicodeChar 66757; Value.Integer IntegerKind.U32 66797 ]; + Value.Tuple + [ Value.UnicodeChar 66758; Value.Integer IntegerKind.U32 66798 ]; + Value.Tuple + [ Value.UnicodeChar 66759; Value.Integer IntegerKind.U32 66799 ]; + Value.Tuple + [ Value.UnicodeChar 66760; Value.Integer IntegerKind.U32 66800 ]; + Value.Tuple + [ Value.UnicodeChar 66761; Value.Integer IntegerKind.U32 66801 ]; + Value.Tuple + [ Value.UnicodeChar 66762; Value.Integer IntegerKind.U32 66802 ]; + Value.Tuple + [ Value.UnicodeChar 66763; Value.Integer IntegerKind.U32 66803 ]; + Value.Tuple + [ Value.UnicodeChar 66764; Value.Integer IntegerKind.U32 66804 ]; + Value.Tuple + [ Value.UnicodeChar 66765; Value.Integer IntegerKind.U32 66805 ]; + Value.Tuple + [ Value.UnicodeChar 66766; Value.Integer IntegerKind.U32 66806 ]; + Value.Tuple + [ Value.UnicodeChar 66767; Value.Integer IntegerKind.U32 66807 ]; + Value.Tuple + [ Value.UnicodeChar 66768; Value.Integer IntegerKind.U32 66808 ]; + Value.Tuple + [ Value.UnicodeChar 66769; Value.Integer IntegerKind.U32 66809 ]; + Value.Tuple + [ Value.UnicodeChar 66770; Value.Integer IntegerKind.U32 66810 ]; + Value.Tuple + [ Value.UnicodeChar 66771; Value.Integer IntegerKind.U32 66811 ]; + Value.Tuple + [ Value.UnicodeChar 66928; Value.Integer IntegerKind.U32 66967 ]; + Value.Tuple + [ Value.UnicodeChar 66929; Value.Integer IntegerKind.U32 66968 ]; + Value.Tuple + [ Value.UnicodeChar 66930; Value.Integer IntegerKind.U32 66969 ]; + Value.Tuple + [ Value.UnicodeChar 66931; Value.Integer IntegerKind.U32 66970 ]; + Value.Tuple + [ Value.UnicodeChar 66932; Value.Integer IntegerKind.U32 66971 ]; + Value.Tuple + [ Value.UnicodeChar 66933; Value.Integer IntegerKind.U32 66972 ]; + Value.Tuple + [ Value.UnicodeChar 66934; Value.Integer IntegerKind.U32 66973 ]; + Value.Tuple + [ Value.UnicodeChar 66935; Value.Integer IntegerKind.U32 66974 ]; + Value.Tuple + [ Value.UnicodeChar 66936; Value.Integer IntegerKind.U32 66975 ]; + Value.Tuple + [ Value.UnicodeChar 66937; Value.Integer IntegerKind.U32 66976 ]; + Value.Tuple + [ Value.UnicodeChar 66938; Value.Integer IntegerKind.U32 66977 ]; + Value.Tuple + [ Value.UnicodeChar 66940; Value.Integer IntegerKind.U32 66979 ]; + Value.Tuple + [ Value.UnicodeChar 66941; Value.Integer IntegerKind.U32 66980 ]; + Value.Tuple + [ Value.UnicodeChar 66942; Value.Integer IntegerKind.U32 66981 ]; + Value.Tuple + [ Value.UnicodeChar 66943; Value.Integer IntegerKind.U32 66982 ]; + Value.Tuple + [ Value.UnicodeChar 66944; Value.Integer IntegerKind.U32 66983 ]; + Value.Tuple + [ Value.UnicodeChar 66945; Value.Integer IntegerKind.U32 66984 ]; + Value.Tuple + [ Value.UnicodeChar 66946; Value.Integer IntegerKind.U32 66985 ]; + Value.Tuple + [ Value.UnicodeChar 66947; Value.Integer IntegerKind.U32 66986 ]; + Value.Tuple + [ Value.UnicodeChar 66948; Value.Integer IntegerKind.U32 66987 ]; + Value.Tuple + [ Value.UnicodeChar 66949; Value.Integer IntegerKind.U32 66988 ]; + Value.Tuple + [ Value.UnicodeChar 66950; Value.Integer IntegerKind.U32 66989 ]; + Value.Tuple + [ Value.UnicodeChar 66951; Value.Integer IntegerKind.U32 66990 ]; + Value.Tuple + [ Value.UnicodeChar 66952; Value.Integer IntegerKind.U32 66991 ]; + Value.Tuple + [ Value.UnicodeChar 66953; Value.Integer IntegerKind.U32 66992 ]; + Value.Tuple + [ Value.UnicodeChar 66954; Value.Integer IntegerKind.U32 66993 ]; + Value.Tuple + [ Value.UnicodeChar 66956; Value.Integer IntegerKind.U32 66995 ]; + Value.Tuple + [ Value.UnicodeChar 66957; Value.Integer IntegerKind.U32 66996 ]; + Value.Tuple + [ Value.UnicodeChar 66958; Value.Integer IntegerKind.U32 66997 ]; + Value.Tuple + [ Value.UnicodeChar 66959; Value.Integer IntegerKind.U32 66998 ]; + Value.Tuple + [ Value.UnicodeChar 66960; Value.Integer IntegerKind.U32 66999 ]; + Value.Tuple + [ Value.UnicodeChar 66961; Value.Integer IntegerKind.U32 67000 ]; + Value.Tuple + [ Value.UnicodeChar 66962; Value.Integer IntegerKind.U32 67001 ]; + Value.Tuple + [ Value.UnicodeChar 66964; Value.Integer IntegerKind.U32 67003 ]; + Value.Tuple + [ Value.UnicodeChar 66965; Value.Integer IntegerKind.U32 67004 ]; + Value.Tuple + [ Value.UnicodeChar 68736; Value.Integer IntegerKind.U32 68800 ]; + Value.Tuple + [ Value.UnicodeChar 68737; Value.Integer IntegerKind.U32 68801 ]; + Value.Tuple + [ Value.UnicodeChar 68738; Value.Integer IntegerKind.U32 68802 ]; + Value.Tuple + [ Value.UnicodeChar 68739; Value.Integer IntegerKind.U32 68803 ]; + Value.Tuple + [ Value.UnicodeChar 68740; Value.Integer IntegerKind.U32 68804 ]; + Value.Tuple + [ Value.UnicodeChar 68741; Value.Integer IntegerKind.U32 68805 ]; + Value.Tuple + [ Value.UnicodeChar 68742; Value.Integer IntegerKind.U32 68806 ]; + Value.Tuple + [ Value.UnicodeChar 68743; Value.Integer IntegerKind.U32 68807 ]; + Value.Tuple + [ Value.UnicodeChar 68744; Value.Integer IntegerKind.U32 68808 ]; + Value.Tuple + [ Value.UnicodeChar 68745; Value.Integer IntegerKind.U32 68809 ]; + Value.Tuple + [ Value.UnicodeChar 68746; Value.Integer IntegerKind.U32 68810 ]; + Value.Tuple + [ Value.UnicodeChar 68747; Value.Integer IntegerKind.U32 68811 ]; + Value.Tuple + [ Value.UnicodeChar 68748; Value.Integer IntegerKind.U32 68812 ]; + Value.Tuple + [ Value.UnicodeChar 68749; Value.Integer IntegerKind.U32 68813 ]; + Value.Tuple + [ Value.UnicodeChar 68750; Value.Integer IntegerKind.U32 68814 ]; + Value.Tuple + [ Value.UnicodeChar 68751; Value.Integer IntegerKind.U32 68815 ]; + Value.Tuple + [ Value.UnicodeChar 68752; Value.Integer IntegerKind.U32 68816 ]; + Value.Tuple + [ Value.UnicodeChar 68753; Value.Integer IntegerKind.U32 68817 ]; + Value.Tuple + [ Value.UnicodeChar 68754; Value.Integer IntegerKind.U32 68818 ]; + Value.Tuple + [ Value.UnicodeChar 68755; Value.Integer IntegerKind.U32 68819 ]; + Value.Tuple + [ Value.UnicodeChar 68756; Value.Integer IntegerKind.U32 68820 ]; + Value.Tuple + [ Value.UnicodeChar 68757; Value.Integer IntegerKind.U32 68821 ]; + Value.Tuple + [ Value.UnicodeChar 68758; Value.Integer IntegerKind.U32 68822 ]; + Value.Tuple + [ Value.UnicodeChar 68759; Value.Integer IntegerKind.U32 68823 ]; + Value.Tuple + [ Value.UnicodeChar 68760; Value.Integer IntegerKind.U32 68824 ]; + Value.Tuple + [ Value.UnicodeChar 68761; Value.Integer IntegerKind.U32 68825 ]; + Value.Tuple + [ Value.UnicodeChar 68762; Value.Integer IntegerKind.U32 68826 ]; + Value.Tuple + [ Value.UnicodeChar 68763; Value.Integer IntegerKind.U32 68827 ]; + Value.Tuple + [ Value.UnicodeChar 68764; Value.Integer IntegerKind.U32 68828 ]; + Value.Tuple + [ Value.UnicodeChar 68765; Value.Integer IntegerKind.U32 68829 ]; + Value.Tuple + [ Value.UnicodeChar 68766; Value.Integer IntegerKind.U32 68830 ]; + Value.Tuple + [ Value.UnicodeChar 68767; Value.Integer IntegerKind.U32 68831 ]; + Value.Tuple + [ Value.UnicodeChar 68768; Value.Integer IntegerKind.U32 68832 ]; + Value.Tuple + [ Value.UnicodeChar 68769; Value.Integer IntegerKind.U32 68833 ]; + Value.Tuple + [ Value.UnicodeChar 68770; Value.Integer IntegerKind.U32 68834 ]; + Value.Tuple + [ Value.UnicodeChar 68771; Value.Integer IntegerKind.U32 68835 ]; + Value.Tuple + [ Value.UnicodeChar 68772; Value.Integer IntegerKind.U32 68836 ]; + Value.Tuple + [ Value.UnicodeChar 68773; Value.Integer IntegerKind.U32 68837 ]; + Value.Tuple + [ Value.UnicodeChar 68774; Value.Integer IntegerKind.U32 68838 ]; + Value.Tuple + [ Value.UnicodeChar 68775; Value.Integer IntegerKind.U32 68839 ]; + Value.Tuple + [ Value.UnicodeChar 68776; Value.Integer IntegerKind.U32 68840 ]; + Value.Tuple + [ Value.UnicodeChar 68777; Value.Integer IntegerKind.U32 68841 ]; + Value.Tuple + [ Value.UnicodeChar 68778; Value.Integer IntegerKind.U32 68842 ]; + Value.Tuple + [ Value.UnicodeChar 68779; Value.Integer IntegerKind.U32 68843 ]; + Value.Tuple + [ Value.UnicodeChar 68780; Value.Integer IntegerKind.U32 68844 ]; + Value.Tuple + [ Value.UnicodeChar 68781; Value.Integer IntegerKind.U32 68845 ]; + Value.Tuple + [ Value.UnicodeChar 68782; Value.Integer IntegerKind.U32 68846 ]; + Value.Tuple + [ Value.UnicodeChar 68783; Value.Integer IntegerKind.U32 68847 ]; + Value.Tuple + [ Value.UnicodeChar 68784; Value.Integer IntegerKind.U32 68848 ]; + Value.Tuple + [ Value.UnicodeChar 68785; Value.Integer IntegerKind.U32 68849 ]; + Value.Tuple + [ Value.UnicodeChar 68786; Value.Integer IntegerKind.U32 68850 ]; + Value.Tuple + [ Value.UnicodeChar 71840; Value.Integer IntegerKind.U32 71872 ]; + Value.Tuple + [ Value.UnicodeChar 71841; Value.Integer IntegerKind.U32 71873 ]; + Value.Tuple + [ Value.UnicodeChar 71842; Value.Integer IntegerKind.U32 71874 ]; + Value.Tuple + [ Value.UnicodeChar 71843; Value.Integer IntegerKind.U32 71875 ]; + Value.Tuple + [ Value.UnicodeChar 71844; Value.Integer IntegerKind.U32 71876 ]; + Value.Tuple + [ Value.UnicodeChar 71845; Value.Integer IntegerKind.U32 71877 ]; + Value.Tuple + [ Value.UnicodeChar 71846; Value.Integer IntegerKind.U32 71878 ]; + Value.Tuple + [ Value.UnicodeChar 71847; Value.Integer IntegerKind.U32 71879 ]; + Value.Tuple + [ Value.UnicodeChar 71848; Value.Integer IntegerKind.U32 71880 ]; + Value.Tuple + [ Value.UnicodeChar 71849; Value.Integer IntegerKind.U32 71881 ]; + Value.Tuple + [ Value.UnicodeChar 71850; Value.Integer IntegerKind.U32 71882 ]; + Value.Tuple + [ Value.UnicodeChar 71851; Value.Integer IntegerKind.U32 71883 ]; + Value.Tuple + [ Value.UnicodeChar 71852; Value.Integer IntegerKind.U32 71884 ]; + Value.Tuple + [ Value.UnicodeChar 71853; Value.Integer IntegerKind.U32 71885 ]; + Value.Tuple + [ Value.UnicodeChar 71854; Value.Integer IntegerKind.U32 71886 ]; + Value.Tuple + [ Value.UnicodeChar 71855; Value.Integer IntegerKind.U32 71887 ]; + Value.Tuple + [ Value.UnicodeChar 71856; Value.Integer IntegerKind.U32 71888 ]; + Value.Tuple + [ Value.UnicodeChar 71857; Value.Integer IntegerKind.U32 71889 ]; + Value.Tuple + [ Value.UnicodeChar 71858; Value.Integer IntegerKind.U32 71890 ]; + Value.Tuple + [ Value.UnicodeChar 71859; Value.Integer IntegerKind.U32 71891 ]; + Value.Tuple + [ Value.UnicodeChar 71860; Value.Integer IntegerKind.U32 71892 ]; + Value.Tuple + [ Value.UnicodeChar 71861; Value.Integer IntegerKind.U32 71893 ]; + Value.Tuple + [ Value.UnicodeChar 71862; Value.Integer IntegerKind.U32 71894 ]; + Value.Tuple + [ Value.UnicodeChar 71863; Value.Integer IntegerKind.U32 71895 ]; + Value.Tuple + [ Value.UnicodeChar 71864; Value.Integer IntegerKind.U32 71896 ]; + Value.Tuple + [ Value.UnicodeChar 71865; Value.Integer IntegerKind.U32 71897 ]; + Value.Tuple + [ Value.UnicodeChar 71866; Value.Integer IntegerKind.U32 71898 ]; + Value.Tuple + [ Value.UnicodeChar 71867; Value.Integer IntegerKind.U32 71899 ]; + Value.Tuple + [ Value.UnicodeChar 71868; Value.Integer IntegerKind.U32 71900 ]; + Value.Tuple + [ Value.UnicodeChar 71869; Value.Integer IntegerKind.U32 71901 ]; + Value.Tuple + [ Value.UnicodeChar 71870; Value.Integer IntegerKind.U32 71902 ]; + Value.Tuple + [ Value.UnicodeChar 71871; Value.Integer IntegerKind.U32 71903 ]; + Value.Tuple + [ Value.UnicodeChar 93760; Value.Integer IntegerKind.U32 93792 ]; + Value.Tuple + [ Value.UnicodeChar 93761; Value.Integer IntegerKind.U32 93793 ]; + Value.Tuple + [ Value.UnicodeChar 93762; Value.Integer IntegerKind.U32 93794 ]; + Value.Tuple + [ Value.UnicodeChar 93763; Value.Integer IntegerKind.U32 93795 ]; + Value.Tuple + [ Value.UnicodeChar 93764; Value.Integer IntegerKind.U32 93796 ]; + Value.Tuple + [ Value.UnicodeChar 93765; Value.Integer IntegerKind.U32 93797 ]; + Value.Tuple + [ Value.UnicodeChar 93766; Value.Integer IntegerKind.U32 93798 ]; + Value.Tuple + [ Value.UnicodeChar 93767; Value.Integer IntegerKind.U32 93799 ]; + Value.Tuple + [ Value.UnicodeChar 93768; Value.Integer IntegerKind.U32 93800 ]; + Value.Tuple + [ Value.UnicodeChar 93769; Value.Integer IntegerKind.U32 93801 ]; + Value.Tuple + [ Value.UnicodeChar 93770; Value.Integer IntegerKind.U32 93802 ]; + Value.Tuple + [ Value.UnicodeChar 93771; Value.Integer IntegerKind.U32 93803 ]; + Value.Tuple + [ Value.UnicodeChar 93772; Value.Integer IntegerKind.U32 93804 ]; + Value.Tuple + [ Value.UnicodeChar 93773; Value.Integer IntegerKind.U32 93805 ]; + Value.Tuple + [ Value.UnicodeChar 93774; Value.Integer IntegerKind.U32 93806 ]; + Value.Tuple + [ Value.UnicodeChar 93775; Value.Integer IntegerKind.U32 93807 ]; + Value.Tuple + [ Value.UnicodeChar 93776; Value.Integer IntegerKind.U32 93808 ]; + Value.Tuple + [ Value.UnicodeChar 93777; Value.Integer IntegerKind.U32 93809 ]; + Value.Tuple + [ Value.UnicodeChar 93778; Value.Integer IntegerKind.U32 93810 ]; + Value.Tuple + [ Value.UnicodeChar 93779; Value.Integer IntegerKind.U32 93811 ]; + Value.Tuple + [ Value.UnicodeChar 93780; Value.Integer IntegerKind.U32 93812 ]; + Value.Tuple + [ Value.UnicodeChar 93781; Value.Integer IntegerKind.U32 93813 ]; + Value.Tuple + [ Value.UnicodeChar 93782; Value.Integer IntegerKind.U32 93814 ]; + Value.Tuple + [ Value.UnicodeChar 93783; Value.Integer IntegerKind.U32 93815 ]; + Value.Tuple + [ Value.UnicodeChar 93784; Value.Integer IntegerKind.U32 93816 ]; + Value.Tuple + [ Value.UnicodeChar 93785; Value.Integer IntegerKind.U32 93817 ]; + Value.Tuple + [ Value.UnicodeChar 93786; Value.Integer IntegerKind.U32 93818 ]; + Value.Tuple + [ Value.UnicodeChar 93787; Value.Integer IntegerKind.U32 93819 ]; + Value.Tuple + [ Value.UnicodeChar 93788; Value.Integer IntegerKind.U32 93820 ]; + Value.Tuple + [ Value.UnicodeChar 93789; Value.Integer IntegerKind.U32 93821 ]; + Value.Tuple + [ Value.UnicodeChar 93790; Value.Integer IntegerKind.U32 93822 ]; + Value.Tuple + [ Value.UnicodeChar 93791; Value.Integer IntegerKind.U32 93823 ]; + Value.Tuple + [ Value.UnicodeChar 125184; Value.Integer IntegerKind.U32 125218 ]; + Value.Tuple + [ Value.UnicodeChar 125185; Value.Integer IntegerKind.U32 125219 ]; + Value.Tuple + [ Value.UnicodeChar 125186; Value.Integer IntegerKind.U32 125220 ]; + Value.Tuple + [ Value.UnicodeChar 125187; Value.Integer IntegerKind.U32 125221 ]; + Value.Tuple + [ Value.UnicodeChar 125188; Value.Integer IntegerKind.U32 125222 ]; + Value.Tuple + [ Value.UnicodeChar 125189; Value.Integer IntegerKind.U32 125223 ]; + Value.Tuple + [ Value.UnicodeChar 125190; Value.Integer IntegerKind.U32 125224 ]; + Value.Tuple + [ Value.UnicodeChar 125191; Value.Integer IntegerKind.U32 125225 ]; + Value.Tuple + [ Value.UnicodeChar 125192; Value.Integer IntegerKind.U32 125226 ]; + Value.Tuple + [ Value.UnicodeChar 125193; Value.Integer IntegerKind.U32 125227 ]; + Value.Tuple + [ Value.UnicodeChar 125194; Value.Integer IntegerKind.U32 125228 ]; + Value.Tuple + [ Value.UnicodeChar 125195; Value.Integer IntegerKind.U32 125229 ]; + Value.Tuple + [ Value.UnicodeChar 125196; Value.Integer IntegerKind.U32 125230 ]; + Value.Tuple + [ Value.UnicodeChar 125197; Value.Integer IntegerKind.U32 125231 ]; + Value.Tuple + [ Value.UnicodeChar 125198; Value.Integer IntegerKind.U32 125232 ]; + Value.Tuple + [ Value.UnicodeChar 125199; Value.Integer IntegerKind.U32 125233 ]; + Value.Tuple + [ Value.UnicodeChar 125200; Value.Integer IntegerKind.U32 125234 ]; + Value.Tuple + [ Value.UnicodeChar 125201; Value.Integer IntegerKind.U32 125235 ]; + Value.Tuple + [ Value.UnicodeChar 125202; Value.Integer IntegerKind.U32 125236 ]; + Value.Tuple + [ Value.UnicodeChar 125203; Value.Integer IntegerKind.U32 125237 ]; + Value.Tuple + [ Value.UnicodeChar 125204; Value.Integer IntegerKind.U32 125238 ]; + Value.Tuple + [ Value.UnicodeChar 125205; Value.Integer IntegerKind.U32 125239 ]; + Value.Tuple + [ Value.UnicodeChar 125206; Value.Integer IntegerKind.U32 125240 ]; + Value.Tuple + [ Value.UnicodeChar 125207; Value.Integer IntegerKind.U32 125241 ]; + Value.Tuple + [ Value.UnicodeChar 125208; Value.Integer IntegerKind.U32 125242 ]; + Value.Tuple + [ Value.UnicodeChar 125209; Value.Integer IntegerKind.U32 125243 ]; + Value.Tuple + [ Value.UnicodeChar 125210; Value.Integer IntegerKind.U32 125244 ]; + Value.Tuple + [ Value.UnicodeChar 125211; Value.Integer IntegerKind.U32 125245 ]; + Value.Tuple + [ Value.UnicodeChar 125212; Value.Integer IntegerKind.U32 125246 ]; + Value.Tuple + [ Value.UnicodeChar 125213; Value.Integer IntegerKind.U32 125247 ]; + Value.Tuple + [ Value.UnicodeChar 125214; Value.Integer IntegerKind.U32 125248 ]; + Value.Tuple + [ Value.UnicodeChar 125215; Value.Integer IntegerKind.U32 125249 ]; + Value.Tuple + [ Value.UnicodeChar 125216; Value.Integer IntegerKind.U32 125250 ]; + Value.Tuple + [ Value.UnicodeChar 125217; Value.Integer IntegerKind.U32 125251 ] ] |)) |) @@ -8641,1505 +9241,2111 @@ Module unicode. (M.alloc (| Value.Array [ - Value.Tuple [ Value.UnicodeChar 181; Value.Integer 924 ]; - Value.Tuple [ Value.UnicodeChar 223; Value.Integer 4194304 ]; - Value.Tuple [ Value.UnicodeChar 224; Value.Integer 192 ]; - Value.Tuple [ Value.UnicodeChar 225; Value.Integer 193 ]; - Value.Tuple [ Value.UnicodeChar 226; Value.Integer 194 ]; - Value.Tuple [ Value.UnicodeChar 227; Value.Integer 195 ]; - Value.Tuple [ Value.UnicodeChar 228; Value.Integer 196 ]; - Value.Tuple [ Value.UnicodeChar 229; Value.Integer 197 ]; - Value.Tuple [ Value.UnicodeChar 230; Value.Integer 198 ]; - Value.Tuple [ Value.UnicodeChar 231; Value.Integer 199 ]; - Value.Tuple [ Value.UnicodeChar 232; Value.Integer 200 ]; - Value.Tuple [ Value.UnicodeChar 233; Value.Integer 201 ]; - Value.Tuple [ Value.UnicodeChar 234; Value.Integer 202 ]; - Value.Tuple [ Value.UnicodeChar 235; Value.Integer 203 ]; - Value.Tuple [ Value.UnicodeChar 236; Value.Integer 204 ]; - Value.Tuple [ Value.UnicodeChar 237; Value.Integer 205 ]; - Value.Tuple [ Value.UnicodeChar 238; Value.Integer 206 ]; - Value.Tuple [ Value.UnicodeChar 239; Value.Integer 207 ]; - Value.Tuple [ Value.UnicodeChar 240; Value.Integer 208 ]; - Value.Tuple [ Value.UnicodeChar 241; Value.Integer 209 ]; - Value.Tuple [ Value.UnicodeChar 242; Value.Integer 210 ]; - Value.Tuple [ Value.UnicodeChar 243; Value.Integer 211 ]; - Value.Tuple [ Value.UnicodeChar 244; Value.Integer 212 ]; - Value.Tuple [ Value.UnicodeChar 245; Value.Integer 213 ]; - Value.Tuple [ Value.UnicodeChar 246; Value.Integer 214 ]; - Value.Tuple [ Value.UnicodeChar 248; Value.Integer 216 ]; - Value.Tuple [ Value.UnicodeChar 249; Value.Integer 217 ]; - Value.Tuple [ Value.UnicodeChar 250; Value.Integer 218 ]; - Value.Tuple [ Value.UnicodeChar 251; Value.Integer 219 ]; - Value.Tuple [ Value.UnicodeChar 252; Value.Integer 220 ]; - Value.Tuple [ Value.UnicodeChar 253; Value.Integer 221 ]; - Value.Tuple [ Value.UnicodeChar 254; Value.Integer 222 ]; - Value.Tuple [ Value.UnicodeChar 255; Value.Integer 376 ]; - Value.Tuple [ Value.UnicodeChar 257; Value.Integer 256 ]; - Value.Tuple [ Value.UnicodeChar 259; Value.Integer 258 ]; - Value.Tuple [ Value.UnicodeChar 261; Value.Integer 260 ]; - Value.Tuple [ Value.UnicodeChar 263; Value.Integer 262 ]; - Value.Tuple [ Value.UnicodeChar 265; Value.Integer 264 ]; - Value.Tuple [ Value.UnicodeChar 267; Value.Integer 266 ]; - Value.Tuple [ Value.UnicodeChar 269; Value.Integer 268 ]; - Value.Tuple [ Value.UnicodeChar 271; Value.Integer 270 ]; - Value.Tuple [ Value.UnicodeChar 273; Value.Integer 272 ]; - Value.Tuple [ Value.UnicodeChar 275; Value.Integer 274 ]; - Value.Tuple [ Value.UnicodeChar 277; Value.Integer 276 ]; - Value.Tuple [ Value.UnicodeChar 279; Value.Integer 278 ]; - Value.Tuple [ Value.UnicodeChar 281; Value.Integer 280 ]; - Value.Tuple [ Value.UnicodeChar 283; Value.Integer 282 ]; - Value.Tuple [ Value.UnicodeChar 285; Value.Integer 284 ]; - Value.Tuple [ Value.UnicodeChar 287; Value.Integer 286 ]; - Value.Tuple [ Value.UnicodeChar 289; Value.Integer 288 ]; - Value.Tuple [ Value.UnicodeChar 291; Value.Integer 290 ]; - Value.Tuple [ Value.UnicodeChar 293; Value.Integer 292 ]; - Value.Tuple [ Value.UnicodeChar 295; Value.Integer 294 ]; - Value.Tuple [ Value.UnicodeChar 297; Value.Integer 296 ]; - Value.Tuple [ Value.UnicodeChar 299; Value.Integer 298 ]; - Value.Tuple [ Value.UnicodeChar 301; Value.Integer 300 ]; - Value.Tuple [ Value.UnicodeChar 303; Value.Integer 302 ]; - Value.Tuple [ Value.UnicodeChar 305; Value.Integer 73 ]; - Value.Tuple [ Value.UnicodeChar 307; Value.Integer 306 ]; - Value.Tuple [ Value.UnicodeChar 309; Value.Integer 308 ]; - Value.Tuple [ Value.UnicodeChar 311; Value.Integer 310 ]; - Value.Tuple [ Value.UnicodeChar 314; Value.Integer 313 ]; - Value.Tuple [ Value.UnicodeChar 316; Value.Integer 315 ]; - Value.Tuple [ Value.UnicodeChar 318; Value.Integer 317 ]; - Value.Tuple [ Value.UnicodeChar 320; Value.Integer 319 ]; - Value.Tuple [ Value.UnicodeChar 322; Value.Integer 321 ]; - Value.Tuple [ Value.UnicodeChar 324; Value.Integer 323 ]; - Value.Tuple [ Value.UnicodeChar 326; Value.Integer 325 ]; - Value.Tuple [ Value.UnicodeChar 328; Value.Integer 327 ]; - Value.Tuple [ Value.UnicodeChar 329; Value.Integer 4194305 ]; - Value.Tuple [ Value.UnicodeChar 331; Value.Integer 330 ]; - Value.Tuple [ Value.UnicodeChar 333; Value.Integer 332 ]; - Value.Tuple [ Value.UnicodeChar 335; Value.Integer 334 ]; - Value.Tuple [ Value.UnicodeChar 337; Value.Integer 336 ]; - Value.Tuple [ Value.UnicodeChar 339; Value.Integer 338 ]; - Value.Tuple [ Value.UnicodeChar 341; Value.Integer 340 ]; - Value.Tuple [ Value.UnicodeChar 343; Value.Integer 342 ]; - Value.Tuple [ Value.UnicodeChar 345; Value.Integer 344 ]; - Value.Tuple [ Value.UnicodeChar 347; Value.Integer 346 ]; - Value.Tuple [ Value.UnicodeChar 349; Value.Integer 348 ]; - Value.Tuple [ Value.UnicodeChar 351; Value.Integer 350 ]; - Value.Tuple [ Value.UnicodeChar 353; Value.Integer 352 ]; - Value.Tuple [ Value.UnicodeChar 355; Value.Integer 354 ]; - Value.Tuple [ Value.UnicodeChar 357; Value.Integer 356 ]; - Value.Tuple [ Value.UnicodeChar 359; Value.Integer 358 ]; - Value.Tuple [ Value.UnicodeChar 361; Value.Integer 360 ]; - Value.Tuple [ Value.UnicodeChar 363; Value.Integer 362 ]; - Value.Tuple [ Value.UnicodeChar 365; Value.Integer 364 ]; - Value.Tuple [ Value.UnicodeChar 367; Value.Integer 366 ]; - Value.Tuple [ Value.UnicodeChar 369; Value.Integer 368 ]; - Value.Tuple [ Value.UnicodeChar 371; Value.Integer 370 ]; - Value.Tuple [ Value.UnicodeChar 373; Value.Integer 372 ]; - Value.Tuple [ Value.UnicodeChar 375; Value.Integer 374 ]; - Value.Tuple [ Value.UnicodeChar 378; Value.Integer 377 ]; - Value.Tuple [ Value.UnicodeChar 380; Value.Integer 379 ]; - Value.Tuple [ Value.UnicodeChar 382; Value.Integer 381 ]; - Value.Tuple [ Value.UnicodeChar 383; Value.Integer 83 ]; - Value.Tuple [ Value.UnicodeChar 384; Value.Integer 579 ]; - Value.Tuple [ Value.UnicodeChar 387; Value.Integer 386 ]; - Value.Tuple [ Value.UnicodeChar 389; Value.Integer 388 ]; - Value.Tuple [ Value.UnicodeChar 392; Value.Integer 391 ]; - Value.Tuple [ Value.UnicodeChar 396; Value.Integer 395 ]; - Value.Tuple [ Value.UnicodeChar 402; Value.Integer 401 ]; - Value.Tuple [ Value.UnicodeChar 405; Value.Integer 502 ]; - Value.Tuple [ Value.UnicodeChar 409; Value.Integer 408 ]; - Value.Tuple [ Value.UnicodeChar 410; Value.Integer 573 ]; - Value.Tuple [ Value.UnicodeChar 414; Value.Integer 544 ]; - Value.Tuple [ Value.UnicodeChar 417; Value.Integer 416 ]; - Value.Tuple [ Value.UnicodeChar 419; Value.Integer 418 ]; - Value.Tuple [ Value.UnicodeChar 421; Value.Integer 420 ]; - Value.Tuple [ Value.UnicodeChar 424; Value.Integer 423 ]; - Value.Tuple [ Value.UnicodeChar 429; Value.Integer 428 ]; - Value.Tuple [ Value.UnicodeChar 432; Value.Integer 431 ]; - Value.Tuple [ Value.UnicodeChar 436; Value.Integer 435 ]; - Value.Tuple [ Value.UnicodeChar 438; Value.Integer 437 ]; - Value.Tuple [ Value.UnicodeChar 441; Value.Integer 440 ]; - Value.Tuple [ Value.UnicodeChar 445; Value.Integer 444 ]; - Value.Tuple [ Value.UnicodeChar 447; Value.Integer 503 ]; - Value.Tuple [ Value.UnicodeChar 453; Value.Integer 452 ]; - Value.Tuple [ Value.UnicodeChar 454; Value.Integer 452 ]; - Value.Tuple [ Value.UnicodeChar 456; Value.Integer 455 ]; - Value.Tuple [ Value.UnicodeChar 457; Value.Integer 455 ]; - Value.Tuple [ Value.UnicodeChar 459; Value.Integer 458 ]; - Value.Tuple [ Value.UnicodeChar 460; Value.Integer 458 ]; - Value.Tuple [ Value.UnicodeChar 462; Value.Integer 461 ]; - Value.Tuple [ Value.UnicodeChar 464; Value.Integer 463 ]; - Value.Tuple [ Value.UnicodeChar 466; Value.Integer 465 ]; - Value.Tuple [ Value.UnicodeChar 468; Value.Integer 467 ]; - Value.Tuple [ Value.UnicodeChar 470; Value.Integer 469 ]; - Value.Tuple [ Value.UnicodeChar 472; Value.Integer 471 ]; - Value.Tuple [ Value.UnicodeChar 474; Value.Integer 473 ]; - Value.Tuple [ Value.UnicodeChar 476; Value.Integer 475 ]; - Value.Tuple [ Value.UnicodeChar 477; Value.Integer 398 ]; - Value.Tuple [ Value.UnicodeChar 479; Value.Integer 478 ]; - Value.Tuple [ Value.UnicodeChar 481; Value.Integer 480 ]; - Value.Tuple [ Value.UnicodeChar 483; Value.Integer 482 ]; - Value.Tuple [ Value.UnicodeChar 485; Value.Integer 484 ]; - Value.Tuple [ Value.UnicodeChar 487; Value.Integer 486 ]; - Value.Tuple [ Value.UnicodeChar 489; Value.Integer 488 ]; - Value.Tuple [ Value.UnicodeChar 491; Value.Integer 490 ]; - Value.Tuple [ Value.UnicodeChar 493; Value.Integer 492 ]; - Value.Tuple [ Value.UnicodeChar 495; Value.Integer 494 ]; - Value.Tuple [ Value.UnicodeChar 496; Value.Integer 4194306 ]; - Value.Tuple [ Value.UnicodeChar 498; Value.Integer 497 ]; - Value.Tuple [ Value.UnicodeChar 499; Value.Integer 497 ]; - Value.Tuple [ Value.UnicodeChar 501; Value.Integer 500 ]; - Value.Tuple [ Value.UnicodeChar 505; Value.Integer 504 ]; - Value.Tuple [ Value.UnicodeChar 507; Value.Integer 506 ]; - Value.Tuple [ Value.UnicodeChar 509; Value.Integer 508 ]; - Value.Tuple [ Value.UnicodeChar 511; Value.Integer 510 ]; - Value.Tuple [ Value.UnicodeChar 513; Value.Integer 512 ]; - Value.Tuple [ Value.UnicodeChar 515; Value.Integer 514 ]; - Value.Tuple [ Value.UnicodeChar 517; Value.Integer 516 ]; - Value.Tuple [ Value.UnicodeChar 519; Value.Integer 518 ]; - Value.Tuple [ Value.UnicodeChar 521; Value.Integer 520 ]; - Value.Tuple [ Value.UnicodeChar 523; Value.Integer 522 ]; - Value.Tuple [ Value.UnicodeChar 525; Value.Integer 524 ]; - Value.Tuple [ Value.UnicodeChar 527; Value.Integer 526 ]; - Value.Tuple [ Value.UnicodeChar 529; Value.Integer 528 ]; - Value.Tuple [ Value.UnicodeChar 531; Value.Integer 530 ]; - Value.Tuple [ Value.UnicodeChar 533; Value.Integer 532 ]; - Value.Tuple [ Value.UnicodeChar 535; Value.Integer 534 ]; - Value.Tuple [ Value.UnicodeChar 537; Value.Integer 536 ]; - Value.Tuple [ Value.UnicodeChar 539; Value.Integer 538 ]; - Value.Tuple [ Value.UnicodeChar 541; Value.Integer 540 ]; - Value.Tuple [ Value.UnicodeChar 543; Value.Integer 542 ]; - Value.Tuple [ Value.UnicodeChar 547; Value.Integer 546 ]; - Value.Tuple [ Value.UnicodeChar 549; Value.Integer 548 ]; - Value.Tuple [ Value.UnicodeChar 551; Value.Integer 550 ]; - Value.Tuple [ Value.UnicodeChar 553; Value.Integer 552 ]; - Value.Tuple [ Value.UnicodeChar 555; Value.Integer 554 ]; - Value.Tuple [ Value.UnicodeChar 557; Value.Integer 556 ]; - Value.Tuple [ Value.UnicodeChar 559; Value.Integer 558 ]; - Value.Tuple [ Value.UnicodeChar 561; Value.Integer 560 ]; - Value.Tuple [ Value.UnicodeChar 563; Value.Integer 562 ]; - Value.Tuple [ Value.UnicodeChar 572; Value.Integer 571 ]; - Value.Tuple [ Value.UnicodeChar 575; Value.Integer 11390 ]; - Value.Tuple [ Value.UnicodeChar 576; Value.Integer 11391 ]; - Value.Tuple [ Value.UnicodeChar 578; Value.Integer 577 ]; - Value.Tuple [ Value.UnicodeChar 583; Value.Integer 582 ]; - Value.Tuple [ Value.UnicodeChar 585; Value.Integer 584 ]; - Value.Tuple [ Value.UnicodeChar 587; Value.Integer 586 ]; - Value.Tuple [ Value.UnicodeChar 589; Value.Integer 588 ]; - Value.Tuple [ Value.UnicodeChar 591; Value.Integer 590 ]; - Value.Tuple [ Value.UnicodeChar 592; Value.Integer 11375 ]; - Value.Tuple [ Value.UnicodeChar 593; Value.Integer 11373 ]; - Value.Tuple [ Value.UnicodeChar 594; Value.Integer 11376 ]; - Value.Tuple [ Value.UnicodeChar 595; Value.Integer 385 ]; - Value.Tuple [ Value.UnicodeChar 596; Value.Integer 390 ]; - Value.Tuple [ Value.UnicodeChar 598; Value.Integer 393 ]; - Value.Tuple [ Value.UnicodeChar 599; Value.Integer 394 ]; - Value.Tuple [ Value.UnicodeChar 601; Value.Integer 399 ]; - Value.Tuple [ Value.UnicodeChar 603; Value.Integer 400 ]; - Value.Tuple [ Value.UnicodeChar 604; Value.Integer 42923 ]; - Value.Tuple [ Value.UnicodeChar 608; Value.Integer 403 ]; - Value.Tuple [ Value.UnicodeChar 609; Value.Integer 42924 ]; - Value.Tuple [ Value.UnicodeChar 611; Value.Integer 404 ]; - Value.Tuple [ Value.UnicodeChar 613; Value.Integer 42893 ]; - Value.Tuple [ Value.UnicodeChar 614; Value.Integer 42922 ]; - Value.Tuple [ Value.UnicodeChar 616; Value.Integer 407 ]; - Value.Tuple [ Value.UnicodeChar 617; Value.Integer 406 ]; - Value.Tuple [ Value.UnicodeChar 618; Value.Integer 42926 ]; - Value.Tuple [ Value.UnicodeChar 619; Value.Integer 11362 ]; - Value.Tuple [ Value.UnicodeChar 620; Value.Integer 42925 ]; - Value.Tuple [ Value.UnicodeChar 623; Value.Integer 412 ]; - Value.Tuple [ Value.UnicodeChar 625; Value.Integer 11374 ]; - Value.Tuple [ Value.UnicodeChar 626; Value.Integer 413 ]; - Value.Tuple [ Value.UnicodeChar 629; Value.Integer 415 ]; - Value.Tuple [ Value.UnicodeChar 637; Value.Integer 11364 ]; - Value.Tuple [ Value.UnicodeChar 640; Value.Integer 422 ]; - Value.Tuple [ Value.UnicodeChar 642; Value.Integer 42949 ]; - Value.Tuple [ Value.UnicodeChar 643; Value.Integer 425 ]; - Value.Tuple [ Value.UnicodeChar 647; Value.Integer 42929 ]; - Value.Tuple [ Value.UnicodeChar 648; Value.Integer 430 ]; - Value.Tuple [ Value.UnicodeChar 649; Value.Integer 580 ]; - Value.Tuple [ Value.UnicodeChar 650; Value.Integer 433 ]; - Value.Tuple [ Value.UnicodeChar 651; Value.Integer 434 ]; - Value.Tuple [ Value.UnicodeChar 652; Value.Integer 581 ]; - Value.Tuple [ Value.UnicodeChar 658; Value.Integer 439 ]; - Value.Tuple [ Value.UnicodeChar 669; Value.Integer 42930 ]; - Value.Tuple [ Value.UnicodeChar 670; Value.Integer 42928 ]; - Value.Tuple [ Value.UnicodeChar 837; Value.Integer 921 ]; - Value.Tuple [ Value.UnicodeChar 881; Value.Integer 880 ]; - Value.Tuple [ Value.UnicodeChar 883; Value.Integer 882 ]; - Value.Tuple [ Value.UnicodeChar 887; Value.Integer 886 ]; - Value.Tuple [ Value.UnicodeChar 891; Value.Integer 1021 ]; - Value.Tuple [ Value.UnicodeChar 892; Value.Integer 1022 ]; - Value.Tuple [ Value.UnicodeChar 893; Value.Integer 1023 ]; - Value.Tuple [ Value.UnicodeChar 912; Value.Integer 4194307 ]; - Value.Tuple [ Value.UnicodeChar 940; Value.Integer 902 ]; - Value.Tuple [ Value.UnicodeChar 941; Value.Integer 904 ]; - Value.Tuple [ Value.UnicodeChar 942; Value.Integer 905 ]; - Value.Tuple [ Value.UnicodeChar 943; Value.Integer 906 ]; - Value.Tuple [ Value.UnicodeChar 944; Value.Integer 4194308 ]; - Value.Tuple [ Value.UnicodeChar 945; Value.Integer 913 ]; - Value.Tuple [ Value.UnicodeChar 946; Value.Integer 914 ]; - Value.Tuple [ Value.UnicodeChar 947; Value.Integer 915 ]; - Value.Tuple [ Value.UnicodeChar 948; Value.Integer 916 ]; - Value.Tuple [ Value.UnicodeChar 949; Value.Integer 917 ]; - Value.Tuple [ Value.UnicodeChar 950; Value.Integer 918 ]; - Value.Tuple [ Value.UnicodeChar 951; Value.Integer 919 ]; - Value.Tuple [ Value.UnicodeChar 952; Value.Integer 920 ]; - Value.Tuple [ Value.UnicodeChar 953; Value.Integer 921 ]; - Value.Tuple [ Value.UnicodeChar 954; Value.Integer 922 ]; - Value.Tuple [ Value.UnicodeChar 955; Value.Integer 923 ]; - Value.Tuple [ Value.UnicodeChar 956; Value.Integer 924 ]; - Value.Tuple [ Value.UnicodeChar 957; Value.Integer 925 ]; - Value.Tuple [ Value.UnicodeChar 958; Value.Integer 926 ]; - Value.Tuple [ Value.UnicodeChar 959; Value.Integer 927 ]; - Value.Tuple [ Value.UnicodeChar 960; Value.Integer 928 ]; - Value.Tuple [ Value.UnicodeChar 961; Value.Integer 929 ]; - Value.Tuple [ Value.UnicodeChar 962; Value.Integer 931 ]; - Value.Tuple [ Value.UnicodeChar 963; Value.Integer 931 ]; - Value.Tuple [ Value.UnicodeChar 964; Value.Integer 932 ]; - Value.Tuple [ Value.UnicodeChar 965; Value.Integer 933 ]; - Value.Tuple [ Value.UnicodeChar 966; Value.Integer 934 ]; - Value.Tuple [ Value.UnicodeChar 967; Value.Integer 935 ]; - Value.Tuple [ Value.UnicodeChar 968; Value.Integer 936 ]; - Value.Tuple [ Value.UnicodeChar 969; Value.Integer 937 ]; - Value.Tuple [ Value.UnicodeChar 970; Value.Integer 938 ]; - Value.Tuple [ Value.UnicodeChar 971; Value.Integer 939 ]; - Value.Tuple [ Value.UnicodeChar 972; Value.Integer 908 ]; - Value.Tuple [ Value.UnicodeChar 973; Value.Integer 910 ]; - Value.Tuple [ Value.UnicodeChar 974; Value.Integer 911 ]; - Value.Tuple [ Value.UnicodeChar 976; Value.Integer 914 ]; - Value.Tuple [ Value.UnicodeChar 977; Value.Integer 920 ]; - Value.Tuple [ Value.UnicodeChar 981; Value.Integer 934 ]; - Value.Tuple [ Value.UnicodeChar 982; Value.Integer 928 ]; - Value.Tuple [ Value.UnicodeChar 983; Value.Integer 975 ]; - Value.Tuple [ Value.UnicodeChar 985; Value.Integer 984 ]; - Value.Tuple [ Value.UnicodeChar 987; Value.Integer 986 ]; - Value.Tuple [ Value.UnicodeChar 989; Value.Integer 988 ]; - Value.Tuple [ Value.UnicodeChar 991; Value.Integer 990 ]; - Value.Tuple [ Value.UnicodeChar 993; Value.Integer 992 ]; - Value.Tuple [ Value.UnicodeChar 995; Value.Integer 994 ]; - Value.Tuple [ Value.UnicodeChar 997; Value.Integer 996 ]; - Value.Tuple [ Value.UnicodeChar 999; Value.Integer 998 ]; - Value.Tuple [ Value.UnicodeChar 1001; Value.Integer 1000 ]; - Value.Tuple [ Value.UnicodeChar 1003; Value.Integer 1002 ]; - Value.Tuple [ Value.UnicodeChar 1005; Value.Integer 1004 ]; - Value.Tuple [ Value.UnicodeChar 1007; Value.Integer 1006 ]; - Value.Tuple [ Value.UnicodeChar 1008; Value.Integer 922 ]; - Value.Tuple [ Value.UnicodeChar 1009; Value.Integer 929 ]; - Value.Tuple [ Value.UnicodeChar 1010; Value.Integer 1017 ]; - Value.Tuple [ Value.UnicodeChar 1011; Value.Integer 895 ]; - Value.Tuple [ Value.UnicodeChar 1013; Value.Integer 917 ]; - Value.Tuple [ Value.UnicodeChar 1016; Value.Integer 1015 ]; - Value.Tuple [ Value.UnicodeChar 1019; Value.Integer 1018 ]; - Value.Tuple [ Value.UnicodeChar 1072; Value.Integer 1040 ]; - Value.Tuple [ Value.UnicodeChar 1073; Value.Integer 1041 ]; - Value.Tuple [ Value.UnicodeChar 1074; Value.Integer 1042 ]; - Value.Tuple [ Value.UnicodeChar 1075; Value.Integer 1043 ]; - Value.Tuple [ Value.UnicodeChar 1076; Value.Integer 1044 ]; - Value.Tuple [ Value.UnicodeChar 1077; Value.Integer 1045 ]; - Value.Tuple [ Value.UnicodeChar 1078; Value.Integer 1046 ]; - Value.Tuple [ Value.UnicodeChar 1079; Value.Integer 1047 ]; - Value.Tuple [ Value.UnicodeChar 1080; Value.Integer 1048 ]; - Value.Tuple [ Value.UnicodeChar 1081; Value.Integer 1049 ]; - Value.Tuple [ Value.UnicodeChar 1082; Value.Integer 1050 ]; - Value.Tuple [ Value.UnicodeChar 1083; Value.Integer 1051 ]; - Value.Tuple [ Value.UnicodeChar 1084; Value.Integer 1052 ]; - Value.Tuple [ Value.UnicodeChar 1085; Value.Integer 1053 ]; - Value.Tuple [ Value.UnicodeChar 1086; Value.Integer 1054 ]; - Value.Tuple [ Value.UnicodeChar 1087; Value.Integer 1055 ]; - Value.Tuple [ Value.UnicodeChar 1088; Value.Integer 1056 ]; - Value.Tuple [ Value.UnicodeChar 1089; Value.Integer 1057 ]; - Value.Tuple [ Value.UnicodeChar 1090; Value.Integer 1058 ]; - Value.Tuple [ Value.UnicodeChar 1091; Value.Integer 1059 ]; - Value.Tuple [ Value.UnicodeChar 1092; Value.Integer 1060 ]; - Value.Tuple [ Value.UnicodeChar 1093; Value.Integer 1061 ]; - Value.Tuple [ Value.UnicodeChar 1094; Value.Integer 1062 ]; - Value.Tuple [ Value.UnicodeChar 1095; Value.Integer 1063 ]; - Value.Tuple [ Value.UnicodeChar 1096; Value.Integer 1064 ]; - Value.Tuple [ Value.UnicodeChar 1097; Value.Integer 1065 ]; - Value.Tuple [ Value.UnicodeChar 1098; Value.Integer 1066 ]; - Value.Tuple [ Value.UnicodeChar 1099; Value.Integer 1067 ]; - Value.Tuple [ Value.UnicodeChar 1100; Value.Integer 1068 ]; - Value.Tuple [ Value.UnicodeChar 1101; Value.Integer 1069 ]; - Value.Tuple [ Value.UnicodeChar 1102; Value.Integer 1070 ]; - Value.Tuple [ Value.UnicodeChar 1103; Value.Integer 1071 ]; - Value.Tuple [ Value.UnicodeChar 1104; Value.Integer 1024 ]; - Value.Tuple [ Value.UnicodeChar 1105; Value.Integer 1025 ]; - Value.Tuple [ Value.UnicodeChar 1106; Value.Integer 1026 ]; - Value.Tuple [ Value.UnicodeChar 1107; Value.Integer 1027 ]; - Value.Tuple [ Value.UnicodeChar 1108; Value.Integer 1028 ]; - Value.Tuple [ Value.UnicodeChar 1109; Value.Integer 1029 ]; - Value.Tuple [ Value.UnicodeChar 1110; Value.Integer 1030 ]; - Value.Tuple [ Value.UnicodeChar 1111; Value.Integer 1031 ]; - Value.Tuple [ Value.UnicodeChar 1112; Value.Integer 1032 ]; - Value.Tuple [ Value.UnicodeChar 1113; Value.Integer 1033 ]; - Value.Tuple [ Value.UnicodeChar 1114; Value.Integer 1034 ]; - Value.Tuple [ Value.UnicodeChar 1115; Value.Integer 1035 ]; - Value.Tuple [ Value.UnicodeChar 1116; Value.Integer 1036 ]; - Value.Tuple [ Value.UnicodeChar 1117; Value.Integer 1037 ]; - Value.Tuple [ Value.UnicodeChar 1118; Value.Integer 1038 ]; - Value.Tuple [ Value.UnicodeChar 1119; Value.Integer 1039 ]; - Value.Tuple [ Value.UnicodeChar 1121; Value.Integer 1120 ]; - Value.Tuple [ Value.UnicodeChar 1123; Value.Integer 1122 ]; - Value.Tuple [ Value.UnicodeChar 1125; Value.Integer 1124 ]; - Value.Tuple [ Value.UnicodeChar 1127; Value.Integer 1126 ]; - Value.Tuple [ Value.UnicodeChar 1129; Value.Integer 1128 ]; - Value.Tuple [ Value.UnicodeChar 1131; Value.Integer 1130 ]; - Value.Tuple [ Value.UnicodeChar 1133; Value.Integer 1132 ]; - Value.Tuple [ Value.UnicodeChar 1135; Value.Integer 1134 ]; - Value.Tuple [ Value.UnicodeChar 1137; Value.Integer 1136 ]; - Value.Tuple [ Value.UnicodeChar 1139; Value.Integer 1138 ]; - Value.Tuple [ Value.UnicodeChar 1141; Value.Integer 1140 ]; - Value.Tuple [ Value.UnicodeChar 1143; Value.Integer 1142 ]; - Value.Tuple [ Value.UnicodeChar 1145; Value.Integer 1144 ]; - Value.Tuple [ Value.UnicodeChar 1147; Value.Integer 1146 ]; - Value.Tuple [ Value.UnicodeChar 1149; Value.Integer 1148 ]; - Value.Tuple [ Value.UnicodeChar 1151; Value.Integer 1150 ]; - Value.Tuple [ Value.UnicodeChar 1153; Value.Integer 1152 ]; - Value.Tuple [ Value.UnicodeChar 1163; Value.Integer 1162 ]; - Value.Tuple [ Value.UnicodeChar 1165; Value.Integer 1164 ]; - Value.Tuple [ Value.UnicodeChar 1167; Value.Integer 1166 ]; - Value.Tuple [ Value.UnicodeChar 1169; Value.Integer 1168 ]; - Value.Tuple [ Value.UnicodeChar 1171; Value.Integer 1170 ]; - Value.Tuple [ Value.UnicodeChar 1173; Value.Integer 1172 ]; - Value.Tuple [ Value.UnicodeChar 1175; Value.Integer 1174 ]; - Value.Tuple [ Value.UnicodeChar 1177; Value.Integer 1176 ]; - Value.Tuple [ Value.UnicodeChar 1179; Value.Integer 1178 ]; - Value.Tuple [ Value.UnicodeChar 1181; Value.Integer 1180 ]; - Value.Tuple [ Value.UnicodeChar 1183; Value.Integer 1182 ]; - Value.Tuple [ Value.UnicodeChar 1185; Value.Integer 1184 ]; - Value.Tuple [ Value.UnicodeChar 1187; Value.Integer 1186 ]; - Value.Tuple [ Value.UnicodeChar 1189; Value.Integer 1188 ]; - Value.Tuple [ Value.UnicodeChar 1191; Value.Integer 1190 ]; - Value.Tuple [ Value.UnicodeChar 1193; Value.Integer 1192 ]; - Value.Tuple [ Value.UnicodeChar 1195; Value.Integer 1194 ]; - Value.Tuple [ Value.UnicodeChar 1197; Value.Integer 1196 ]; - Value.Tuple [ Value.UnicodeChar 1199; Value.Integer 1198 ]; - Value.Tuple [ Value.UnicodeChar 1201; Value.Integer 1200 ]; - Value.Tuple [ Value.UnicodeChar 1203; Value.Integer 1202 ]; - Value.Tuple [ Value.UnicodeChar 1205; Value.Integer 1204 ]; - Value.Tuple [ Value.UnicodeChar 1207; Value.Integer 1206 ]; - Value.Tuple [ Value.UnicodeChar 1209; Value.Integer 1208 ]; - Value.Tuple [ Value.UnicodeChar 1211; Value.Integer 1210 ]; - Value.Tuple [ Value.UnicodeChar 1213; Value.Integer 1212 ]; - Value.Tuple [ Value.UnicodeChar 1215; Value.Integer 1214 ]; - Value.Tuple [ Value.UnicodeChar 1218; Value.Integer 1217 ]; - Value.Tuple [ Value.UnicodeChar 1220; Value.Integer 1219 ]; - Value.Tuple [ Value.UnicodeChar 1222; Value.Integer 1221 ]; - Value.Tuple [ Value.UnicodeChar 1224; Value.Integer 1223 ]; - Value.Tuple [ Value.UnicodeChar 1226; Value.Integer 1225 ]; - Value.Tuple [ Value.UnicodeChar 1228; Value.Integer 1227 ]; - Value.Tuple [ Value.UnicodeChar 1230; Value.Integer 1229 ]; - Value.Tuple [ Value.UnicodeChar 1231; Value.Integer 1216 ]; - Value.Tuple [ Value.UnicodeChar 1233; Value.Integer 1232 ]; - Value.Tuple [ Value.UnicodeChar 1235; Value.Integer 1234 ]; - Value.Tuple [ Value.UnicodeChar 1237; Value.Integer 1236 ]; - Value.Tuple [ Value.UnicodeChar 1239; Value.Integer 1238 ]; - Value.Tuple [ Value.UnicodeChar 1241; Value.Integer 1240 ]; - Value.Tuple [ Value.UnicodeChar 1243; Value.Integer 1242 ]; - Value.Tuple [ Value.UnicodeChar 1245; Value.Integer 1244 ]; - Value.Tuple [ Value.UnicodeChar 1247; Value.Integer 1246 ]; - Value.Tuple [ Value.UnicodeChar 1249; Value.Integer 1248 ]; - Value.Tuple [ Value.UnicodeChar 1251; Value.Integer 1250 ]; - Value.Tuple [ Value.UnicodeChar 1253; Value.Integer 1252 ]; - Value.Tuple [ Value.UnicodeChar 1255; Value.Integer 1254 ]; - Value.Tuple [ Value.UnicodeChar 1257; Value.Integer 1256 ]; - Value.Tuple [ Value.UnicodeChar 1259; Value.Integer 1258 ]; - Value.Tuple [ Value.UnicodeChar 1261; Value.Integer 1260 ]; - Value.Tuple [ Value.UnicodeChar 1263; Value.Integer 1262 ]; - Value.Tuple [ Value.UnicodeChar 1265; Value.Integer 1264 ]; - Value.Tuple [ Value.UnicodeChar 1267; Value.Integer 1266 ]; - Value.Tuple [ Value.UnicodeChar 1269; Value.Integer 1268 ]; - Value.Tuple [ Value.UnicodeChar 1271; Value.Integer 1270 ]; - Value.Tuple [ Value.UnicodeChar 1273; Value.Integer 1272 ]; - Value.Tuple [ Value.UnicodeChar 1275; Value.Integer 1274 ]; - Value.Tuple [ Value.UnicodeChar 1277; Value.Integer 1276 ]; - Value.Tuple [ Value.UnicodeChar 1279; Value.Integer 1278 ]; - Value.Tuple [ Value.UnicodeChar 1281; Value.Integer 1280 ]; - Value.Tuple [ Value.UnicodeChar 1283; Value.Integer 1282 ]; - Value.Tuple [ Value.UnicodeChar 1285; Value.Integer 1284 ]; - Value.Tuple [ Value.UnicodeChar 1287; Value.Integer 1286 ]; - Value.Tuple [ Value.UnicodeChar 1289; Value.Integer 1288 ]; - Value.Tuple [ Value.UnicodeChar 1291; Value.Integer 1290 ]; - Value.Tuple [ Value.UnicodeChar 1293; Value.Integer 1292 ]; - Value.Tuple [ Value.UnicodeChar 1295; Value.Integer 1294 ]; - Value.Tuple [ Value.UnicodeChar 1297; Value.Integer 1296 ]; - Value.Tuple [ Value.UnicodeChar 1299; Value.Integer 1298 ]; - Value.Tuple [ Value.UnicodeChar 1301; Value.Integer 1300 ]; - Value.Tuple [ Value.UnicodeChar 1303; Value.Integer 1302 ]; - Value.Tuple [ Value.UnicodeChar 1305; Value.Integer 1304 ]; - Value.Tuple [ Value.UnicodeChar 1307; Value.Integer 1306 ]; - Value.Tuple [ Value.UnicodeChar 1309; Value.Integer 1308 ]; - Value.Tuple [ Value.UnicodeChar 1311; Value.Integer 1310 ]; - Value.Tuple [ Value.UnicodeChar 1313; Value.Integer 1312 ]; - Value.Tuple [ Value.UnicodeChar 1315; Value.Integer 1314 ]; - Value.Tuple [ Value.UnicodeChar 1317; Value.Integer 1316 ]; - Value.Tuple [ Value.UnicodeChar 1319; Value.Integer 1318 ]; - Value.Tuple [ Value.UnicodeChar 1321; Value.Integer 1320 ]; - Value.Tuple [ Value.UnicodeChar 1323; Value.Integer 1322 ]; - Value.Tuple [ Value.UnicodeChar 1325; Value.Integer 1324 ]; - Value.Tuple [ Value.UnicodeChar 1327; Value.Integer 1326 ]; - Value.Tuple [ Value.UnicodeChar 1377; Value.Integer 1329 ]; - Value.Tuple [ Value.UnicodeChar 1378; Value.Integer 1330 ]; - Value.Tuple [ Value.UnicodeChar 1379; Value.Integer 1331 ]; - Value.Tuple [ Value.UnicodeChar 1380; Value.Integer 1332 ]; - Value.Tuple [ Value.UnicodeChar 1381; Value.Integer 1333 ]; - Value.Tuple [ Value.UnicodeChar 1382; Value.Integer 1334 ]; - Value.Tuple [ Value.UnicodeChar 1383; Value.Integer 1335 ]; - Value.Tuple [ Value.UnicodeChar 1384; Value.Integer 1336 ]; - Value.Tuple [ Value.UnicodeChar 1385; Value.Integer 1337 ]; - Value.Tuple [ Value.UnicodeChar 1386; Value.Integer 1338 ]; - Value.Tuple [ Value.UnicodeChar 1387; Value.Integer 1339 ]; - Value.Tuple [ Value.UnicodeChar 1388; Value.Integer 1340 ]; - Value.Tuple [ Value.UnicodeChar 1389; Value.Integer 1341 ]; - Value.Tuple [ Value.UnicodeChar 1390; Value.Integer 1342 ]; - Value.Tuple [ Value.UnicodeChar 1391; Value.Integer 1343 ]; - Value.Tuple [ Value.UnicodeChar 1392; Value.Integer 1344 ]; - Value.Tuple [ Value.UnicodeChar 1393; Value.Integer 1345 ]; - Value.Tuple [ Value.UnicodeChar 1394; Value.Integer 1346 ]; - Value.Tuple [ Value.UnicodeChar 1395; Value.Integer 1347 ]; - Value.Tuple [ Value.UnicodeChar 1396; Value.Integer 1348 ]; - Value.Tuple [ Value.UnicodeChar 1397; Value.Integer 1349 ]; - Value.Tuple [ Value.UnicodeChar 1398; Value.Integer 1350 ]; - Value.Tuple [ Value.UnicodeChar 1399; Value.Integer 1351 ]; - Value.Tuple [ Value.UnicodeChar 1400; Value.Integer 1352 ]; - Value.Tuple [ Value.UnicodeChar 1401; Value.Integer 1353 ]; - Value.Tuple [ Value.UnicodeChar 1402; Value.Integer 1354 ]; - Value.Tuple [ Value.UnicodeChar 1403; Value.Integer 1355 ]; - Value.Tuple [ Value.UnicodeChar 1404; Value.Integer 1356 ]; - Value.Tuple [ Value.UnicodeChar 1405; Value.Integer 1357 ]; - Value.Tuple [ Value.UnicodeChar 1406; Value.Integer 1358 ]; - Value.Tuple [ Value.UnicodeChar 1407; Value.Integer 1359 ]; - Value.Tuple [ Value.UnicodeChar 1408; Value.Integer 1360 ]; - Value.Tuple [ Value.UnicodeChar 1409; Value.Integer 1361 ]; - Value.Tuple [ Value.UnicodeChar 1410; Value.Integer 1362 ]; - Value.Tuple [ Value.UnicodeChar 1411; Value.Integer 1363 ]; - Value.Tuple [ Value.UnicodeChar 1412; Value.Integer 1364 ]; - Value.Tuple [ Value.UnicodeChar 1413; Value.Integer 1365 ]; - Value.Tuple [ Value.UnicodeChar 1414; Value.Integer 1366 ]; - Value.Tuple [ Value.UnicodeChar 1415; Value.Integer 4194309 ]; - Value.Tuple [ Value.UnicodeChar 4304; Value.Integer 7312 ]; - Value.Tuple [ Value.UnicodeChar 4305; Value.Integer 7313 ]; - Value.Tuple [ Value.UnicodeChar 4306; Value.Integer 7314 ]; - Value.Tuple [ Value.UnicodeChar 4307; Value.Integer 7315 ]; - Value.Tuple [ Value.UnicodeChar 4308; Value.Integer 7316 ]; - Value.Tuple [ Value.UnicodeChar 4309; Value.Integer 7317 ]; - Value.Tuple [ Value.UnicodeChar 4310; Value.Integer 7318 ]; - Value.Tuple [ Value.UnicodeChar 4311; Value.Integer 7319 ]; - Value.Tuple [ Value.UnicodeChar 4312; Value.Integer 7320 ]; - Value.Tuple [ Value.UnicodeChar 4313; Value.Integer 7321 ]; - Value.Tuple [ Value.UnicodeChar 4314; Value.Integer 7322 ]; - Value.Tuple [ Value.UnicodeChar 4315; Value.Integer 7323 ]; - Value.Tuple [ Value.UnicodeChar 4316; Value.Integer 7324 ]; - Value.Tuple [ Value.UnicodeChar 4317; Value.Integer 7325 ]; - Value.Tuple [ Value.UnicodeChar 4318; Value.Integer 7326 ]; - Value.Tuple [ Value.UnicodeChar 4319; Value.Integer 7327 ]; - Value.Tuple [ Value.UnicodeChar 4320; Value.Integer 7328 ]; - Value.Tuple [ Value.UnicodeChar 4321; Value.Integer 7329 ]; - Value.Tuple [ Value.UnicodeChar 4322; Value.Integer 7330 ]; - Value.Tuple [ Value.UnicodeChar 4323; Value.Integer 7331 ]; - Value.Tuple [ Value.UnicodeChar 4324; Value.Integer 7332 ]; - Value.Tuple [ Value.UnicodeChar 4325; Value.Integer 7333 ]; - Value.Tuple [ Value.UnicodeChar 4326; Value.Integer 7334 ]; - Value.Tuple [ Value.UnicodeChar 4327; Value.Integer 7335 ]; - Value.Tuple [ Value.UnicodeChar 4328; Value.Integer 7336 ]; - Value.Tuple [ Value.UnicodeChar 4329; Value.Integer 7337 ]; - Value.Tuple [ Value.UnicodeChar 4330; Value.Integer 7338 ]; - Value.Tuple [ Value.UnicodeChar 4331; Value.Integer 7339 ]; - Value.Tuple [ Value.UnicodeChar 4332; Value.Integer 7340 ]; - Value.Tuple [ Value.UnicodeChar 4333; Value.Integer 7341 ]; - Value.Tuple [ Value.UnicodeChar 4334; Value.Integer 7342 ]; - Value.Tuple [ Value.UnicodeChar 4335; Value.Integer 7343 ]; - Value.Tuple [ Value.UnicodeChar 4336; Value.Integer 7344 ]; - Value.Tuple [ Value.UnicodeChar 4337; Value.Integer 7345 ]; - Value.Tuple [ Value.UnicodeChar 4338; Value.Integer 7346 ]; - Value.Tuple [ Value.UnicodeChar 4339; Value.Integer 7347 ]; - Value.Tuple [ Value.UnicodeChar 4340; Value.Integer 7348 ]; - Value.Tuple [ Value.UnicodeChar 4341; Value.Integer 7349 ]; - Value.Tuple [ Value.UnicodeChar 4342; Value.Integer 7350 ]; - Value.Tuple [ Value.UnicodeChar 4343; Value.Integer 7351 ]; - Value.Tuple [ Value.UnicodeChar 4344; Value.Integer 7352 ]; - Value.Tuple [ Value.UnicodeChar 4345; Value.Integer 7353 ]; - Value.Tuple [ Value.UnicodeChar 4346; Value.Integer 7354 ]; - Value.Tuple [ Value.UnicodeChar 4349; Value.Integer 7357 ]; - Value.Tuple [ Value.UnicodeChar 4350; Value.Integer 7358 ]; - Value.Tuple [ Value.UnicodeChar 4351; Value.Integer 7359 ]; - Value.Tuple [ Value.UnicodeChar 5112; Value.Integer 5104 ]; - Value.Tuple [ Value.UnicodeChar 5113; Value.Integer 5105 ]; - Value.Tuple [ Value.UnicodeChar 5114; Value.Integer 5106 ]; - Value.Tuple [ Value.UnicodeChar 5115; Value.Integer 5107 ]; - Value.Tuple [ Value.UnicodeChar 5116; Value.Integer 5108 ]; - Value.Tuple [ Value.UnicodeChar 5117; Value.Integer 5109 ]; - Value.Tuple [ Value.UnicodeChar 7296; Value.Integer 1042 ]; - Value.Tuple [ Value.UnicodeChar 7297; Value.Integer 1044 ]; - Value.Tuple [ Value.UnicodeChar 7298; Value.Integer 1054 ]; - Value.Tuple [ Value.UnicodeChar 7299; Value.Integer 1057 ]; - Value.Tuple [ Value.UnicodeChar 7300; Value.Integer 1058 ]; - Value.Tuple [ Value.UnicodeChar 7301; Value.Integer 1058 ]; - Value.Tuple [ Value.UnicodeChar 7302; Value.Integer 1066 ]; - Value.Tuple [ Value.UnicodeChar 7303; Value.Integer 1122 ]; - Value.Tuple [ Value.UnicodeChar 7304; Value.Integer 42570 ]; - Value.Tuple [ Value.UnicodeChar 7545; Value.Integer 42877 ]; - Value.Tuple [ Value.UnicodeChar 7549; Value.Integer 11363 ]; - Value.Tuple [ Value.UnicodeChar 7566; Value.Integer 42950 ]; - Value.Tuple [ Value.UnicodeChar 7681; Value.Integer 7680 ]; - Value.Tuple [ Value.UnicodeChar 7683; Value.Integer 7682 ]; - Value.Tuple [ Value.UnicodeChar 7685; Value.Integer 7684 ]; - Value.Tuple [ Value.UnicodeChar 7687; Value.Integer 7686 ]; - Value.Tuple [ Value.UnicodeChar 7689; Value.Integer 7688 ]; - Value.Tuple [ Value.UnicodeChar 7691; Value.Integer 7690 ]; - Value.Tuple [ Value.UnicodeChar 7693; Value.Integer 7692 ]; - Value.Tuple [ Value.UnicodeChar 7695; Value.Integer 7694 ]; - Value.Tuple [ Value.UnicodeChar 7697; Value.Integer 7696 ]; - Value.Tuple [ Value.UnicodeChar 7699; Value.Integer 7698 ]; - Value.Tuple [ Value.UnicodeChar 7701; Value.Integer 7700 ]; - Value.Tuple [ Value.UnicodeChar 7703; Value.Integer 7702 ]; - Value.Tuple [ Value.UnicodeChar 7705; Value.Integer 7704 ]; - Value.Tuple [ Value.UnicodeChar 7707; Value.Integer 7706 ]; - Value.Tuple [ Value.UnicodeChar 7709; Value.Integer 7708 ]; - Value.Tuple [ Value.UnicodeChar 7711; Value.Integer 7710 ]; - Value.Tuple [ Value.UnicodeChar 7713; Value.Integer 7712 ]; - Value.Tuple [ Value.UnicodeChar 7715; Value.Integer 7714 ]; - Value.Tuple [ Value.UnicodeChar 7717; Value.Integer 7716 ]; - Value.Tuple [ Value.UnicodeChar 7719; Value.Integer 7718 ]; - Value.Tuple [ Value.UnicodeChar 7721; Value.Integer 7720 ]; - Value.Tuple [ Value.UnicodeChar 7723; Value.Integer 7722 ]; - Value.Tuple [ Value.UnicodeChar 7725; Value.Integer 7724 ]; - Value.Tuple [ Value.UnicodeChar 7727; Value.Integer 7726 ]; - Value.Tuple [ Value.UnicodeChar 7729; Value.Integer 7728 ]; - Value.Tuple [ Value.UnicodeChar 7731; Value.Integer 7730 ]; - Value.Tuple [ Value.UnicodeChar 7733; Value.Integer 7732 ]; - Value.Tuple [ Value.UnicodeChar 7735; Value.Integer 7734 ]; - Value.Tuple [ Value.UnicodeChar 7737; Value.Integer 7736 ]; - Value.Tuple [ Value.UnicodeChar 7739; Value.Integer 7738 ]; - Value.Tuple [ Value.UnicodeChar 7741; Value.Integer 7740 ]; - Value.Tuple [ Value.UnicodeChar 7743; Value.Integer 7742 ]; - Value.Tuple [ Value.UnicodeChar 7745; Value.Integer 7744 ]; - Value.Tuple [ Value.UnicodeChar 7747; Value.Integer 7746 ]; - Value.Tuple [ Value.UnicodeChar 7749; Value.Integer 7748 ]; - Value.Tuple [ Value.UnicodeChar 7751; Value.Integer 7750 ]; - Value.Tuple [ Value.UnicodeChar 7753; Value.Integer 7752 ]; - Value.Tuple [ Value.UnicodeChar 7755; Value.Integer 7754 ]; - Value.Tuple [ Value.UnicodeChar 7757; Value.Integer 7756 ]; - Value.Tuple [ Value.UnicodeChar 7759; Value.Integer 7758 ]; - Value.Tuple [ Value.UnicodeChar 7761; Value.Integer 7760 ]; - Value.Tuple [ Value.UnicodeChar 7763; Value.Integer 7762 ]; - Value.Tuple [ Value.UnicodeChar 7765; Value.Integer 7764 ]; - Value.Tuple [ Value.UnicodeChar 7767; Value.Integer 7766 ]; - Value.Tuple [ Value.UnicodeChar 7769; Value.Integer 7768 ]; - Value.Tuple [ Value.UnicodeChar 7771; Value.Integer 7770 ]; - Value.Tuple [ Value.UnicodeChar 7773; Value.Integer 7772 ]; - Value.Tuple [ Value.UnicodeChar 7775; Value.Integer 7774 ]; - Value.Tuple [ Value.UnicodeChar 7777; Value.Integer 7776 ]; - Value.Tuple [ Value.UnicodeChar 7779; Value.Integer 7778 ]; - Value.Tuple [ Value.UnicodeChar 7781; Value.Integer 7780 ]; - Value.Tuple [ Value.UnicodeChar 7783; Value.Integer 7782 ]; - Value.Tuple [ Value.UnicodeChar 7785; Value.Integer 7784 ]; - Value.Tuple [ Value.UnicodeChar 7787; Value.Integer 7786 ]; - Value.Tuple [ Value.UnicodeChar 7789; Value.Integer 7788 ]; - Value.Tuple [ Value.UnicodeChar 7791; Value.Integer 7790 ]; - Value.Tuple [ Value.UnicodeChar 7793; Value.Integer 7792 ]; - Value.Tuple [ Value.UnicodeChar 7795; Value.Integer 7794 ]; - Value.Tuple [ Value.UnicodeChar 7797; Value.Integer 7796 ]; - Value.Tuple [ Value.UnicodeChar 7799; Value.Integer 7798 ]; - Value.Tuple [ Value.UnicodeChar 7801; Value.Integer 7800 ]; - Value.Tuple [ Value.UnicodeChar 7803; Value.Integer 7802 ]; - Value.Tuple [ Value.UnicodeChar 7805; Value.Integer 7804 ]; - Value.Tuple [ Value.UnicodeChar 7807; Value.Integer 7806 ]; - Value.Tuple [ Value.UnicodeChar 7809; Value.Integer 7808 ]; - Value.Tuple [ Value.UnicodeChar 7811; Value.Integer 7810 ]; - Value.Tuple [ Value.UnicodeChar 7813; Value.Integer 7812 ]; - Value.Tuple [ Value.UnicodeChar 7815; Value.Integer 7814 ]; - Value.Tuple [ Value.UnicodeChar 7817; Value.Integer 7816 ]; - Value.Tuple [ Value.UnicodeChar 7819; Value.Integer 7818 ]; - Value.Tuple [ Value.UnicodeChar 7821; Value.Integer 7820 ]; - Value.Tuple [ Value.UnicodeChar 7823; Value.Integer 7822 ]; - Value.Tuple [ Value.UnicodeChar 7825; Value.Integer 7824 ]; - Value.Tuple [ Value.UnicodeChar 7827; Value.Integer 7826 ]; - Value.Tuple [ Value.UnicodeChar 7829; Value.Integer 7828 ]; - Value.Tuple [ Value.UnicodeChar 7830; Value.Integer 4194310 ]; - Value.Tuple [ Value.UnicodeChar 7831; Value.Integer 4194311 ]; - Value.Tuple [ Value.UnicodeChar 7832; Value.Integer 4194312 ]; - Value.Tuple [ Value.UnicodeChar 7833; Value.Integer 4194313 ]; - Value.Tuple [ Value.UnicodeChar 7834; Value.Integer 4194314 ]; - Value.Tuple [ Value.UnicodeChar 7835; Value.Integer 7776 ]; - Value.Tuple [ Value.UnicodeChar 7841; Value.Integer 7840 ]; - Value.Tuple [ Value.UnicodeChar 7843; Value.Integer 7842 ]; - Value.Tuple [ Value.UnicodeChar 7845; Value.Integer 7844 ]; - Value.Tuple [ Value.UnicodeChar 7847; Value.Integer 7846 ]; - Value.Tuple [ Value.UnicodeChar 7849; Value.Integer 7848 ]; - Value.Tuple [ Value.UnicodeChar 7851; Value.Integer 7850 ]; - Value.Tuple [ Value.UnicodeChar 7853; Value.Integer 7852 ]; - Value.Tuple [ Value.UnicodeChar 7855; Value.Integer 7854 ]; - Value.Tuple [ Value.UnicodeChar 7857; Value.Integer 7856 ]; - Value.Tuple [ Value.UnicodeChar 7859; Value.Integer 7858 ]; - Value.Tuple [ Value.UnicodeChar 7861; Value.Integer 7860 ]; - Value.Tuple [ Value.UnicodeChar 7863; Value.Integer 7862 ]; - Value.Tuple [ Value.UnicodeChar 7865; Value.Integer 7864 ]; - Value.Tuple [ Value.UnicodeChar 7867; Value.Integer 7866 ]; - Value.Tuple [ Value.UnicodeChar 7869; Value.Integer 7868 ]; - Value.Tuple [ Value.UnicodeChar 7871; Value.Integer 7870 ]; - Value.Tuple [ Value.UnicodeChar 7873; Value.Integer 7872 ]; - Value.Tuple [ Value.UnicodeChar 7875; Value.Integer 7874 ]; - Value.Tuple [ Value.UnicodeChar 7877; Value.Integer 7876 ]; - Value.Tuple [ Value.UnicodeChar 7879; Value.Integer 7878 ]; - Value.Tuple [ Value.UnicodeChar 7881; Value.Integer 7880 ]; - Value.Tuple [ Value.UnicodeChar 7883; Value.Integer 7882 ]; - Value.Tuple [ Value.UnicodeChar 7885; Value.Integer 7884 ]; - Value.Tuple [ Value.UnicodeChar 7887; Value.Integer 7886 ]; - Value.Tuple [ Value.UnicodeChar 7889; Value.Integer 7888 ]; - Value.Tuple [ Value.UnicodeChar 7891; Value.Integer 7890 ]; - Value.Tuple [ Value.UnicodeChar 7893; Value.Integer 7892 ]; - Value.Tuple [ Value.UnicodeChar 7895; Value.Integer 7894 ]; - Value.Tuple [ Value.UnicodeChar 7897; Value.Integer 7896 ]; - Value.Tuple [ Value.UnicodeChar 7899; Value.Integer 7898 ]; - Value.Tuple [ Value.UnicodeChar 7901; Value.Integer 7900 ]; - Value.Tuple [ Value.UnicodeChar 7903; Value.Integer 7902 ]; - Value.Tuple [ Value.UnicodeChar 7905; Value.Integer 7904 ]; - Value.Tuple [ Value.UnicodeChar 7907; Value.Integer 7906 ]; - Value.Tuple [ Value.UnicodeChar 7909; Value.Integer 7908 ]; - Value.Tuple [ Value.UnicodeChar 7911; Value.Integer 7910 ]; - Value.Tuple [ Value.UnicodeChar 7913; Value.Integer 7912 ]; - Value.Tuple [ Value.UnicodeChar 7915; Value.Integer 7914 ]; - Value.Tuple [ Value.UnicodeChar 7917; Value.Integer 7916 ]; - Value.Tuple [ Value.UnicodeChar 7919; Value.Integer 7918 ]; - Value.Tuple [ Value.UnicodeChar 7921; Value.Integer 7920 ]; - Value.Tuple [ Value.UnicodeChar 7923; Value.Integer 7922 ]; - Value.Tuple [ Value.UnicodeChar 7925; Value.Integer 7924 ]; - Value.Tuple [ Value.UnicodeChar 7927; Value.Integer 7926 ]; - Value.Tuple [ Value.UnicodeChar 7929; Value.Integer 7928 ]; - Value.Tuple [ Value.UnicodeChar 7931; Value.Integer 7930 ]; - Value.Tuple [ Value.UnicodeChar 7933; Value.Integer 7932 ]; - Value.Tuple [ Value.UnicodeChar 7935; Value.Integer 7934 ]; - Value.Tuple [ Value.UnicodeChar 7936; Value.Integer 7944 ]; - Value.Tuple [ Value.UnicodeChar 7937; Value.Integer 7945 ]; - Value.Tuple [ Value.UnicodeChar 7938; Value.Integer 7946 ]; - Value.Tuple [ Value.UnicodeChar 7939; Value.Integer 7947 ]; - Value.Tuple [ Value.UnicodeChar 7940; Value.Integer 7948 ]; - Value.Tuple [ Value.UnicodeChar 7941; Value.Integer 7949 ]; - Value.Tuple [ Value.UnicodeChar 7942; Value.Integer 7950 ]; - Value.Tuple [ Value.UnicodeChar 7943; Value.Integer 7951 ]; - Value.Tuple [ Value.UnicodeChar 7952; Value.Integer 7960 ]; - Value.Tuple [ Value.UnicodeChar 7953; Value.Integer 7961 ]; - Value.Tuple [ Value.UnicodeChar 7954; Value.Integer 7962 ]; - Value.Tuple [ Value.UnicodeChar 7955; Value.Integer 7963 ]; - Value.Tuple [ Value.UnicodeChar 7956; Value.Integer 7964 ]; - Value.Tuple [ Value.UnicodeChar 7957; Value.Integer 7965 ]; - Value.Tuple [ Value.UnicodeChar 7968; Value.Integer 7976 ]; - Value.Tuple [ Value.UnicodeChar 7969; Value.Integer 7977 ]; - Value.Tuple [ Value.UnicodeChar 7970; Value.Integer 7978 ]; - Value.Tuple [ Value.UnicodeChar 7971; Value.Integer 7979 ]; - Value.Tuple [ Value.UnicodeChar 7972; Value.Integer 7980 ]; - Value.Tuple [ Value.UnicodeChar 7973; Value.Integer 7981 ]; - Value.Tuple [ Value.UnicodeChar 7974; Value.Integer 7982 ]; - Value.Tuple [ Value.UnicodeChar 7975; Value.Integer 7983 ]; - Value.Tuple [ Value.UnicodeChar 7984; Value.Integer 7992 ]; - Value.Tuple [ Value.UnicodeChar 7985; Value.Integer 7993 ]; - Value.Tuple [ Value.UnicodeChar 7986; Value.Integer 7994 ]; - Value.Tuple [ Value.UnicodeChar 7987; Value.Integer 7995 ]; - Value.Tuple [ Value.UnicodeChar 7988; Value.Integer 7996 ]; - Value.Tuple [ Value.UnicodeChar 7989; Value.Integer 7997 ]; - Value.Tuple [ Value.UnicodeChar 7990; Value.Integer 7998 ]; - Value.Tuple [ Value.UnicodeChar 7991; Value.Integer 7999 ]; - Value.Tuple [ Value.UnicodeChar 8000; Value.Integer 8008 ]; - Value.Tuple [ Value.UnicodeChar 8001; Value.Integer 8009 ]; - Value.Tuple [ Value.UnicodeChar 8002; Value.Integer 8010 ]; - Value.Tuple [ Value.UnicodeChar 8003; Value.Integer 8011 ]; - Value.Tuple [ Value.UnicodeChar 8004; Value.Integer 8012 ]; - Value.Tuple [ Value.UnicodeChar 8005; Value.Integer 8013 ]; - Value.Tuple [ Value.UnicodeChar 8016; Value.Integer 4194315 ]; - Value.Tuple [ Value.UnicodeChar 8017; Value.Integer 8025 ]; - Value.Tuple [ Value.UnicodeChar 8018; Value.Integer 4194316 ]; - Value.Tuple [ Value.UnicodeChar 8019; Value.Integer 8027 ]; - Value.Tuple [ Value.UnicodeChar 8020; Value.Integer 4194317 ]; - Value.Tuple [ Value.UnicodeChar 8021; Value.Integer 8029 ]; - Value.Tuple [ Value.UnicodeChar 8022; Value.Integer 4194318 ]; - Value.Tuple [ Value.UnicodeChar 8023; Value.Integer 8031 ]; - Value.Tuple [ Value.UnicodeChar 8032; Value.Integer 8040 ]; - Value.Tuple [ Value.UnicodeChar 8033; Value.Integer 8041 ]; - Value.Tuple [ Value.UnicodeChar 8034; Value.Integer 8042 ]; - Value.Tuple [ Value.UnicodeChar 8035; Value.Integer 8043 ]; - Value.Tuple [ Value.UnicodeChar 8036; Value.Integer 8044 ]; - Value.Tuple [ Value.UnicodeChar 8037; Value.Integer 8045 ]; - Value.Tuple [ Value.UnicodeChar 8038; Value.Integer 8046 ]; - Value.Tuple [ Value.UnicodeChar 8039; Value.Integer 8047 ]; - Value.Tuple [ Value.UnicodeChar 8048; Value.Integer 8122 ]; - Value.Tuple [ Value.UnicodeChar 8049; Value.Integer 8123 ]; - Value.Tuple [ Value.UnicodeChar 8050; Value.Integer 8136 ]; - Value.Tuple [ Value.UnicodeChar 8051; Value.Integer 8137 ]; - Value.Tuple [ Value.UnicodeChar 8052; Value.Integer 8138 ]; - Value.Tuple [ Value.UnicodeChar 8053; Value.Integer 8139 ]; - Value.Tuple [ Value.UnicodeChar 8054; Value.Integer 8154 ]; - Value.Tuple [ Value.UnicodeChar 8055; Value.Integer 8155 ]; - Value.Tuple [ Value.UnicodeChar 8056; Value.Integer 8184 ]; - Value.Tuple [ Value.UnicodeChar 8057; Value.Integer 8185 ]; - Value.Tuple [ Value.UnicodeChar 8058; Value.Integer 8170 ]; - Value.Tuple [ Value.UnicodeChar 8059; Value.Integer 8171 ]; - Value.Tuple [ Value.UnicodeChar 8060; Value.Integer 8186 ]; - Value.Tuple [ Value.UnicodeChar 8061; Value.Integer 8187 ]; - Value.Tuple [ Value.UnicodeChar 8064; Value.Integer 4194319 ]; - Value.Tuple [ Value.UnicodeChar 8065; Value.Integer 4194320 ]; - Value.Tuple [ Value.UnicodeChar 8066; Value.Integer 4194321 ]; - Value.Tuple [ Value.UnicodeChar 8067; Value.Integer 4194322 ]; - Value.Tuple [ Value.UnicodeChar 8068; Value.Integer 4194323 ]; - Value.Tuple [ Value.UnicodeChar 8069; Value.Integer 4194324 ]; - Value.Tuple [ Value.UnicodeChar 8070; Value.Integer 4194325 ]; - Value.Tuple [ Value.UnicodeChar 8071; Value.Integer 4194326 ]; - Value.Tuple [ Value.UnicodeChar 8072; Value.Integer 4194327 ]; - Value.Tuple [ Value.UnicodeChar 8073; Value.Integer 4194328 ]; - Value.Tuple [ Value.UnicodeChar 8074; Value.Integer 4194329 ]; - Value.Tuple [ Value.UnicodeChar 8075; Value.Integer 4194330 ]; - Value.Tuple [ Value.UnicodeChar 8076; Value.Integer 4194331 ]; - Value.Tuple [ Value.UnicodeChar 8077; Value.Integer 4194332 ]; - Value.Tuple [ Value.UnicodeChar 8078; Value.Integer 4194333 ]; - Value.Tuple [ Value.UnicodeChar 8079; Value.Integer 4194334 ]; - Value.Tuple [ Value.UnicodeChar 8080; Value.Integer 4194335 ]; - Value.Tuple [ Value.UnicodeChar 8081; Value.Integer 4194336 ]; - Value.Tuple [ Value.UnicodeChar 8082; Value.Integer 4194337 ]; - Value.Tuple [ Value.UnicodeChar 8083; Value.Integer 4194338 ]; - Value.Tuple [ Value.UnicodeChar 8084; Value.Integer 4194339 ]; - Value.Tuple [ Value.UnicodeChar 8085; Value.Integer 4194340 ]; - Value.Tuple [ Value.UnicodeChar 8086; Value.Integer 4194341 ]; - Value.Tuple [ Value.UnicodeChar 8087; Value.Integer 4194342 ]; - Value.Tuple [ Value.UnicodeChar 8088; Value.Integer 4194343 ]; - Value.Tuple [ Value.UnicodeChar 8089; Value.Integer 4194344 ]; - Value.Tuple [ Value.UnicodeChar 8090; Value.Integer 4194345 ]; - Value.Tuple [ Value.UnicodeChar 8091; Value.Integer 4194346 ]; - Value.Tuple [ Value.UnicodeChar 8092; Value.Integer 4194347 ]; - Value.Tuple [ Value.UnicodeChar 8093; Value.Integer 4194348 ]; - Value.Tuple [ Value.UnicodeChar 8094; Value.Integer 4194349 ]; - Value.Tuple [ Value.UnicodeChar 8095; Value.Integer 4194350 ]; - Value.Tuple [ Value.UnicodeChar 8096; Value.Integer 4194351 ]; - Value.Tuple [ Value.UnicodeChar 8097; Value.Integer 4194352 ]; - Value.Tuple [ Value.UnicodeChar 8098; Value.Integer 4194353 ]; - Value.Tuple [ Value.UnicodeChar 8099; Value.Integer 4194354 ]; - Value.Tuple [ Value.UnicodeChar 8100; Value.Integer 4194355 ]; - Value.Tuple [ Value.UnicodeChar 8101; Value.Integer 4194356 ]; - Value.Tuple [ Value.UnicodeChar 8102; Value.Integer 4194357 ]; - Value.Tuple [ Value.UnicodeChar 8103; Value.Integer 4194358 ]; - Value.Tuple [ Value.UnicodeChar 8104; Value.Integer 4194359 ]; - Value.Tuple [ Value.UnicodeChar 8105; Value.Integer 4194360 ]; - Value.Tuple [ Value.UnicodeChar 8106; Value.Integer 4194361 ]; - Value.Tuple [ Value.UnicodeChar 8107; Value.Integer 4194362 ]; - Value.Tuple [ Value.UnicodeChar 8108; Value.Integer 4194363 ]; - Value.Tuple [ Value.UnicodeChar 8109; Value.Integer 4194364 ]; - Value.Tuple [ Value.UnicodeChar 8110; Value.Integer 4194365 ]; - Value.Tuple [ Value.UnicodeChar 8111; Value.Integer 4194366 ]; - Value.Tuple [ Value.UnicodeChar 8112; Value.Integer 8120 ]; - Value.Tuple [ Value.UnicodeChar 8113; Value.Integer 8121 ]; - Value.Tuple [ Value.UnicodeChar 8114; Value.Integer 4194367 ]; - Value.Tuple [ Value.UnicodeChar 8115; Value.Integer 4194368 ]; - Value.Tuple [ Value.UnicodeChar 8116; Value.Integer 4194369 ]; - Value.Tuple [ Value.UnicodeChar 8118; Value.Integer 4194370 ]; - Value.Tuple [ Value.UnicodeChar 8119; Value.Integer 4194371 ]; - Value.Tuple [ Value.UnicodeChar 8124; Value.Integer 4194372 ]; - Value.Tuple [ Value.UnicodeChar 8126; Value.Integer 921 ]; - Value.Tuple [ Value.UnicodeChar 8130; Value.Integer 4194373 ]; - Value.Tuple [ Value.UnicodeChar 8131; Value.Integer 4194374 ]; - Value.Tuple [ Value.UnicodeChar 8132; Value.Integer 4194375 ]; - Value.Tuple [ Value.UnicodeChar 8134; Value.Integer 4194376 ]; - Value.Tuple [ Value.UnicodeChar 8135; Value.Integer 4194377 ]; - Value.Tuple [ Value.UnicodeChar 8140; Value.Integer 4194378 ]; - Value.Tuple [ Value.UnicodeChar 8144; Value.Integer 8152 ]; - Value.Tuple [ Value.UnicodeChar 8145; Value.Integer 8153 ]; - Value.Tuple [ Value.UnicodeChar 8146; Value.Integer 4194379 ]; - Value.Tuple [ Value.UnicodeChar 8147; Value.Integer 4194380 ]; - Value.Tuple [ Value.UnicodeChar 8150; Value.Integer 4194381 ]; - Value.Tuple [ Value.UnicodeChar 8151; Value.Integer 4194382 ]; - Value.Tuple [ Value.UnicodeChar 8160; Value.Integer 8168 ]; - Value.Tuple [ Value.UnicodeChar 8161; Value.Integer 8169 ]; - Value.Tuple [ Value.UnicodeChar 8162; Value.Integer 4194383 ]; - Value.Tuple [ Value.UnicodeChar 8163; Value.Integer 4194384 ]; - Value.Tuple [ Value.UnicodeChar 8164; Value.Integer 4194385 ]; - Value.Tuple [ Value.UnicodeChar 8165; Value.Integer 8172 ]; - Value.Tuple [ Value.UnicodeChar 8166; Value.Integer 4194386 ]; - Value.Tuple [ Value.UnicodeChar 8167; Value.Integer 4194387 ]; - Value.Tuple [ Value.UnicodeChar 8178; Value.Integer 4194388 ]; - Value.Tuple [ Value.UnicodeChar 8179; Value.Integer 4194389 ]; - Value.Tuple [ Value.UnicodeChar 8180; Value.Integer 4194390 ]; - Value.Tuple [ Value.UnicodeChar 8182; Value.Integer 4194391 ]; - Value.Tuple [ Value.UnicodeChar 8183; Value.Integer 4194392 ]; - Value.Tuple [ Value.UnicodeChar 8188; Value.Integer 4194393 ]; - Value.Tuple [ Value.UnicodeChar 8526; Value.Integer 8498 ]; - Value.Tuple [ Value.UnicodeChar 8560; Value.Integer 8544 ]; - Value.Tuple [ Value.UnicodeChar 8561; Value.Integer 8545 ]; - Value.Tuple [ Value.UnicodeChar 8562; Value.Integer 8546 ]; - Value.Tuple [ Value.UnicodeChar 8563; Value.Integer 8547 ]; - Value.Tuple [ Value.UnicodeChar 8564; Value.Integer 8548 ]; - Value.Tuple [ Value.UnicodeChar 8565; Value.Integer 8549 ]; - Value.Tuple [ Value.UnicodeChar 8566; Value.Integer 8550 ]; - Value.Tuple [ Value.UnicodeChar 8567; Value.Integer 8551 ]; - Value.Tuple [ Value.UnicodeChar 8568; Value.Integer 8552 ]; - Value.Tuple [ Value.UnicodeChar 8569; Value.Integer 8553 ]; - Value.Tuple [ Value.UnicodeChar 8570; Value.Integer 8554 ]; - Value.Tuple [ Value.UnicodeChar 8571; Value.Integer 8555 ]; - Value.Tuple [ Value.UnicodeChar 8572; Value.Integer 8556 ]; - Value.Tuple [ Value.UnicodeChar 8573; Value.Integer 8557 ]; - Value.Tuple [ Value.UnicodeChar 8574; Value.Integer 8558 ]; - Value.Tuple [ Value.UnicodeChar 8575; Value.Integer 8559 ]; - Value.Tuple [ Value.UnicodeChar 8580; Value.Integer 8579 ]; - Value.Tuple [ Value.UnicodeChar 9424; Value.Integer 9398 ]; - Value.Tuple [ Value.UnicodeChar 9425; Value.Integer 9399 ]; - Value.Tuple [ Value.UnicodeChar 9426; Value.Integer 9400 ]; - Value.Tuple [ Value.UnicodeChar 9427; Value.Integer 9401 ]; - Value.Tuple [ Value.UnicodeChar 9428; Value.Integer 9402 ]; - Value.Tuple [ Value.UnicodeChar 9429; Value.Integer 9403 ]; - Value.Tuple [ Value.UnicodeChar 9430; Value.Integer 9404 ]; - Value.Tuple [ Value.UnicodeChar 9431; Value.Integer 9405 ]; - Value.Tuple [ Value.UnicodeChar 9432; Value.Integer 9406 ]; - Value.Tuple [ Value.UnicodeChar 9433; Value.Integer 9407 ]; - Value.Tuple [ Value.UnicodeChar 9434; Value.Integer 9408 ]; - Value.Tuple [ Value.UnicodeChar 9435; Value.Integer 9409 ]; - Value.Tuple [ Value.UnicodeChar 9436; Value.Integer 9410 ]; - Value.Tuple [ Value.UnicodeChar 9437; Value.Integer 9411 ]; - Value.Tuple [ Value.UnicodeChar 9438; Value.Integer 9412 ]; - Value.Tuple [ Value.UnicodeChar 9439; Value.Integer 9413 ]; - Value.Tuple [ Value.UnicodeChar 9440; Value.Integer 9414 ]; - Value.Tuple [ Value.UnicodeChar 9441; Value.Integer 9415 ]; - Value.Tuple [ Value.UnicodeChar 9442; Value.Integer 9416 ]; - Value.Tuple [ Value.UnicodeChar 9443; Value.Integer 9417 ]; - Value.Tuple [ Value.UnicodeChar 9444; Value.Integer 9418 ]; - Value.Tuple [ Value.UnicodeChar 9445; Value.Integer 9419 ]; - Value.Tuple [ Value.UnicodeChar 9446; Value.Integer 9420 ]; - Value.Tuple [ Value.UnicodeChar 9447; Value.Integer 9421 ]; - Value.Tuple [ Value.UnicodeChar 9448; Value.Integer 9422 ]; - Value.Tuple [ Value.UnicodeChar 9449; Value.Integer 9423 ]; - Value.Tuple [ Value.UnicodeChar 11312; Value.Integer 11264 ]; - Value.Tuple [ Value.UnicodeChar 11313; Value.Integer 11265 ]; - Value.Tuple [ Value.UnicodeChar 11314; Value.Integer 11266 ]; - Value.Tuple [ Value.UnicodeChar 11315; Value.Integer 11267 ]; - Value.Tuple [ Value.UnicodeChar 11316; Value.Integer 11268 ]; - Value.Tuple [ Value.UnicodeChar 11317; Value.Integer 11269 ]; - Value.Tuple [ Value.UnicodeChar 11318; Value.Integer 11270 ]; - Value.Tuple [ Value.UnicodeChar 11319; Value.Integer 11271 ]; - Value.Tuple [ Value.UnicodeChar 11320; Value.Integer 11272 ]; - Value.Tuple [ Value.UnicodeChar 11321; Value.Integer 11273 ]; - Value.Tuple [ Value.UnicodeChar 11322; Value.Integer 11274 ]; - Value.Tuple [ Value.UnicodeChar 11323; Value.Integer 11275 ]; - Value.Tuple [ Value.UnicodeChar 11324; Value.Integer 11276 ]; - Value.Tuple [ Value.UnicodeChar 11325; Value.Integer 11277 ]; - Value.Tuple [ Value.UnicodeChar 11326; Value.Integer 11278 ]; - Value.Tuple [ Value.UnicodeChar 11327; Value.Integer 11279 ]; - Value.Tuple [ Value.UnicodeChar 11328; Value.Integer 11280 ]; - Value.Tuple [ Value.UnicodeChar 11329; Value.Integer 11281 ]; - Value.Tuple [ Value.UnicodeChar 11330; Value.Integer 11282 ]; - Value.Tuple [ Value.UnicodeChar 11331; Value.Integer 11283 ]; - Value.Tuple [ Value.UnicodeChar 11332; Value.Integer 11284 ]; - Value.Tuple [ Value.UnicodeChar 11333; Value.Integer 11285 ]; - Value.Tuple [ Value.UnicodeChar 11334; Value.Integer 11286 ]; - Value.Tuple [ Value.UnicodeChar 11335; Value.Integer 11287 ]; - Value.Tuple [ Value.UnicodeChar 11336; Value.Integer 11288 ]; - Value.Tuple [ Value.UnicodeChar 11337; Value.Integer 11289 ]; - Value.Tuple [ Value.UnicodeChar 11338; Value.Integer 11290 ]; - Value.Tuple [ Value.UnicodeChar 11339; Value.Integer 11291 ]; - Value.Tuple [ Value.UnicodeChar 11340; Value.Integer 11292 ]; - Value.Tuple [ Value.UnicodeChar 11341; Value.Integer 11293 ]; - Value.Tuple [ Value.UnicodeChar 11342; Value.Integer 11294 ]; - Value.Tuple [ Value.UnicodeChar 11343; Value.Integer 11295 ]; - Value.Tuple [ Value.UnicodeChar 11344; Value.Integer 11296 ]; - Value.Tuple [ Value.UnicodeChar 11345; Value.Integer 11297 ]; - Value.Tuple [ Value.UnicodeChar 11346; Value.Integer 11298 ]; - Value.Tuple [ Value.UnicodeChar 11347; Value.Integer 11299 ]; - Value.Tuple [ Value.UnicodeChar 11348; Value.Integer 11300 ]; - Value.Tuple [ Value.UnicodeChar 11349; Value.Integer 11301 ]; - Value.Tuple [ Value.UnicodeChar 11350; Value.Integer 11302 ]; - Value.Tuple [ Value.UnicodeChar 11351; Value.Integer 11303 ]; - Value.Tuple [ Value.UnicodeChar 11352; Value.Integer 11304 ]; - Value.Tuple [ Value.UnicodeChar 11353; Value.Integer 11305 ]; - Value.Tuple [ Value.UnicodeChar 11354; Value.Integer 11306 ]; - Value.Tuple [ Value.UnicodeChar 11355; Value.Integer 11307 ]; - Value.Tuple [ Value.UnicodeChar 11356; Value.Integer 11308 ]; - Value.Tuple [ Value.UnicodeChar 11357; Value.Integer 11309 ]; - Value.Tuple [ Value.UnicodeChar 11358; Value.Integer 11310 ]; - Value.Tuple [ Value.UnicodeChar 11359; Value.Integer 11311 ]; - Value.Tuple [ Value.UnicodeChar 11361; Value.Integer 11360 ]; - Value.Tuple [ Value.UnicodeChar 11365; Value.Integer 570 ]; - Value.Tuple [ Value.UnicodeChar 11366; Value.Integer 574 ]; - Value.Tuple [ Value.UnicodeChar 11368; Value.Integer 11367 ]; - Value.Tuple [ Value.UnicodeChar 11370; Value.Integer 11369 ]; - Value.Tuple [ Value.UnicodeChar 11372; Value.Integer 11371 ]; - Value.Tuple [ Value.UnicodeChar 11379; Value.Integer 11378 ]; - Value.Tuple [ Value.UnicodeChar 11382; Value.Integer 11381 ]; - Value.Tuple [ Value.UnicodeChar 11393; Value.Integer 11392 ]; - Value.Tuple [ Value.UnicodeChar 11395; Value.Integer 11394 ]; - Value.Tuple [ Value.UnicodeChar 11397; Value.Integer 11396 ]; - Value.Tuple [ Value.UnicodeChar 11399; Value.Integer 11398 ]; - Value.Tuple [ Value.UnicodeChar 11401; Value.Integer 11400 ]; - Value.Tuple [ Value.UnicodeChar 11403; Value.Integer 11402 ]; - Value.Tuple [ Value.UnicodeChar 11405; Value.Integer 11404 ]; - Value.Tuple [ Value.UnicodeChar 11407; Value.Integer 11406 ]; - Value.Tuple [ Value.UnicodeChar 11409; Value.Integer 11408 ]; - Value.Tuple [ Value.UnicodeChar 11411; Value.Integer 11410 ]; - Value.Tuple [ Value.UnicodeChar 11413; Value.Integer 11412 ]; - Value.Tuple [ Value.UnicodeChar 11415; Value.Integer 11414 ]; - Value.Tuple [ Value.UnicodeChar 11417; Value.Integer 11416 ]; - Value.Tuple [ Value.UnicodeChar 11419; Value.Integer 11418 ]; - Value.Tuple [ Value.UnicodeChar 11421; Value.Integer 11420 ]; - Value.Tuple [ Value.UnicodeChar 11423; Value.Integer 11422 ]; - Value.Tuple [ Value.UnicodeChar 11425; Value.Integer 11424 ]; - Value.Tuple [ Value.UnicodeChar 11427; Value.Integer 11426 ]; - Value.Tuple [ Value.UnicodeChar 11429; Value.Integer 11428 ]; - Value.Tuple [ Value.UnicodeChar 11431; Value.Integer 11430 ]; - Value.Tuple [ Value.UnicodeChar 11433; Value.Integer 11432 ]; - Value.Tuple [ Value.UnicodeChar 11435; Value.Integer 11434 ]; - Value.Tuple [ Value.UnicodeChar 11437; Value.Integer 11436 ]; - Value.Tuple [ Value.UnicodeChar 11439; Value.Integer 11438 ]; - Value.Tuple [ Value.UnicodeChar 11441; Value.Integer 11440 ]; - Value.Tuple [ Value.UnicodeChar 11443; Value.Integer 11442 ]; - Value.Tuple [ Value.UnicodeChar 11445; Value.Integer 11444 ]; - Value.Tuple [ Value.UnicodeChar 11447; Value.Integer 11446 ]; - Value.Tuple [ Value.UnicodeChar 11449; Value.Integer 11448 ]; - Value.Tuple [ Value.UnicodeChar 11451; Value.Integer 11450 ]; - Value.Tuple [ Value.UnicodeChar 11453; Value.Integer 11452 ]; - Value.Tuple [ Value.UnicodeChar 11455; Value.Integer 11454 ]; - Value.Tuple [ Value.UnicodeChar 11457; Value.Integer 11456 ]; - Value.Tuple [ Value.UnicodeChar 11459; Value.Integer 11458 ]; - Value.Tuple [ Value.UnicodeChar 11461; Value.Integer 11460 ]; - Value.Tuple [ Value.UnicodeChar 11463; Value.Integer 11462 ]; - Value.Tuple [ Value.UnicodeChar 11465; Value.Integer 11464 ]; - Value.Tuple [ Value.UnicodeChar 11467; Value.Integer 11466 ]; - Value.Tuple [ Value.UnicodeChar 11469; Value.Integer 11468 ]; - Value.Tuple [ Value.UnicodeChar 11471; Value.Integer 11470 ]; - Value.Tuple [ Value.UnicodeChar 11473; Value.Integer 11472 ]; - Value.Tuple [ Value.UnicodeChar 11475; Value.Integer 11474 ]; - Value.Tuple [ Value.UnicodeChar 11477; Value.Integer 11476 ]; - Value.Tuple [ Value.UnicodeChar 11479; Value.Integer 11478 ]; - Value.Tuple [ Value.UnicodeChar 11481; Value.Integer 11480 ]; - Value.Tuple [ Value.UnicodeChar 11483; Value.Integer 11482 ]; - Value.Tuple [ Value.UnicodeChar 11485; Value.Integer 11484 ]; - Value.Tuple [ Value.UnicodeChar 11487; Value.Integer 11486 ]; - Value.Tuple [ Value.UnicodeChar 11489; Value.Integer 11488 ]; - Value.Tuple [ Value.UnicodeChar 11491; Value.Integer 11490 ]; - Value.Tuple [ Value.UnicodeChar 11500; Value.Integer 11499 ]; - Value.Tuple [ Value.UnicodeChar 11502; Value.Integer 11501 ]; - Value.Tuple [ Value.UnicodeChar 11507; Value.Integer 11506 ]; - Value.Tuple [ Value.UnicodeChar 11520; Value.Integer 4256 ]; - Value.Tuple [ Value.UnicodeChar 11521; Value.Integer 4257 ]; - Value.Tuple [ Value.UnicodeChar 11522; Value.Integer 4258 ]; - Value.Tuple [ Value.UnicodeChar 11523; Value.Integer 4259 ]; - Value.Tuple [ Value.UnicodeChar 11524; Value.Integer 4260 ]; - Value.Tuple [ Value.UnicodeChar 11525; Value.Integer 4261 ]; - Value.Tuple [ Value.UnicodeChar 11526; Value.Integer 4262 ]; - Value.Tuple [ Value.UnicodeChar 11527; Value.Integer 4263 ]; - Value.Tuple [ Value.UnicodeChar 11528; Value.Integer 4264 ]; - Value.Tuple [ Value.UnicodeChar 11529; Value.Integer 4265 ]; - Value.Tuple [ Value.UnicodeChar 11530; Value.Integer 4266 ]; - Value.Tuple [ Value.UnicodeChar 11531; Value.Integer 4267 ]; - Value.Tuple [ Value.UnicodeChar 11532; Value.Integer 4268 ]; - Value.Tuple [ Value.UnicodeChar 11533; Value.Integer 4269 ]; - Value.Tuple [ Value.UnicodeChar 11534; Value.Integer 4270 ]; - Value.Tuple [ Value.UnicodeChar 11535; Value.Integer 4271 ]; - Value.Tuple [ Value.UnicodeChar 11536; Value.Integer 4272 ]; - Value.Tuple [ Value.UnicodeChar 11537; Value.Integer 4273 ]; - Value.Tuple [ Value.UnicodeChar 11538; Value.Integer 4274 ]; - Value.Tuple [ Value.UnicodeChar 11539; Value.Integer 4275 ]; - Value.Tuple [ Value.UnicodeChar 11540; Value.Integer 4276 ]; - Value.Tuple [ Value.UnicodeChar 11541; Value.Integer 4277 ]; - Value.Tuple [ Value.UnicodeChar 11542; Value.Integer 4278 ]; - Value.Tuple [ Value.UnicodeChar 11543; Value.Integer 4279 ]; - Value.Tuple [ Value.UnicodeChar 11544; Value.Integer 4280 ]; - Value.Tuple [ Value.UnicodeChar 11545; Value.Integer 4281 ]; - Value.Tuple [ Value.UnicodeChar 11546; Value.Integer 4282 ]; - Value.Tuple [ Value.UnicodeChar 11547; Value.Integer 4283 ]; - Value.Tuple [ Value.UnicodeChar 11548; Value.Integer 4284 ]; - Value.Tuple [ Value.UnicodeChar 11549; Value.Integer 4285 ]; - Value.Tuple [ Value.UnicodeChar 11550; Value.Integer 4286 ]; - Value.Tuple [ Value.UnicodeChar 11551; Value.Integer 4287 ]; - Value.Tuple [ Value.UnicodeChar 11552; Value.Integer 4288 ]; - Value.Tuple [ Value.UnicodeChar 11553; Value.Integer 4289 ]; - Value.Tuple [ Value.UnicodeChar 11554; Value.Integer 4290 ]; - Value.Tuple [ Value.UnicodeChar 11555; Value.Integer 4291 ]; - Value.Tuple [ Value.UnicodeChar 11556; Value.Integer 4292 ]; - Value.Tuple [ Value.UnicodeChar 11557; Value.Integer 4293 ]; - Value.Tuple [ Value.UnicodeChar 11559; Value.Integer 4295 ]; - Value.Tuple [ Value.UnicodeChar 11565; Value.Integer 4301 ]; - Value.Tuple [ Value.UnicodeChar 42561; Value.Integer 42560 ]; - Value.Tuple [ Value.UnicodeChar 42563; Value.Integer 42562 ]; - Value.Tuple [ Value.UnicodeChar 42565; Value.Integer 42564 ]; - Value.Tuple [ Value.UnicodeChar 42567; Value.Integer 42566 ]; - Value.Tuple [ Value.UnicodeChar 42569; Value.Integer 42568 ]; - Value.Tuple [ Value.UnicodeChar 42571; Value.Integer 42570 ]; - Value.Tuple [ Value.UnicodeChar 42573; Value.Integer 42572 ]; - Value.Tuple [ Value.UnicodeChar 42575; Value.Integer 42574 ]; - Value.Tuple [ Value.UnicodeChar 42577; Value.Integer 42576 ]; - Value.Tuple [ Value.UnicodeChar 42579; Value.Integer 42578 ]; - Value.Tuple [ Value.UnicodeChar 42581; Value.Integer 42580 ]; - Value.Tuple [ Value.UnicodeChar 42583; Value.Integer 42582 ]; - Value.Tuple [ Value.UnicodeChar 42585; Value.Integer 42584 ]; - Value.Tuple [ Value.UnicodeChar 42587; Value.Integer 42586 ]; - Value.Tuple [ Value.UnicodeChar 42589; Value.Integer 42588 ]; - Value.Tuple [ Value.UnicodeChar 42591; Value.Integer 42590 ]; - Value.Tuple [ Value.UnicodeChar 42593; Value.Integer 42592 ]; - Value.Tuple [ Value.UnicodeChar 42595; Value.Integer 42594 ]; - Value.Tuple [ Value.UnicodeChar 42597; Value.Integer 42596 ]; - Value.Tuple [ Value.UnicodeChar 42599; Value.Integer 42598 ]; - Value.Tuple [ Value.UnicodeChar 42601; Value.Integer 42600 ]; - Value.Tuple [ Value.UnicodeChar 42603; Value.Integer 42602 ]; - Value.Tuple [ Value.UnicodeChar 42605; Value.Integer 42604 ]; - Value.Tuple [ Value.UnicodeChar 42625; Value.Integer 42624 ]; - Value.Tuple [ Value.UnicodeChar 42627; Value.Integer 42626 ]; - Value.Tuple [ Value.UnicodeChar 42629; Value.Integer 42628 ]; - Value.Tuple [ Value.UnicodeChar 42631; Value.Integer 42630 ]; - Value.Tuple [ Value.UnicodeChar 42633; Value.Integer 42632 ]; - Value.Tuple [ Value.UnicodeChar 42635; Value.Integer 42634 ]; - Value.Tuple [ Value.UnicodeChar 42637; Value.Integer 42636 ]; - Value.Tuple [ Value.UnicodeChar 42639; Value.Integer 42638 ]; - Value.Tuple [ Value.UnicodeChar 42641; Value.Integer 42640 ]; - Value.Tuple [ Value.UnicodeChar 42643; Value.Integer 42642 ]; - Value.Tuple [ Value.UnicodeChar 42645; Value.Integer 42644 ]; - Value.Tuple [ Value.UnicodeChar 42647; Value.Integer 42646 ]; - Value.Tuple [ Value.UnicodeChar 42649; Value.Integer 42648 ]; - Value.Tuple [ Value.UnicodeChar 42651; Value.Integer 42650 ]; - Value.Tuple [ Value.UnicodeChar 42787; Value.Integer 42786 ]; - Value.Tuple [ Value.UnicodeChar 42789; Value.Integer 42788 ]; - Value.Tuple [ Value.UnicodeChar 42791; Value.Integer 42790 ]; - Value.Tuple [ Value.UnicodeChar 42793; Value.Integer 42792 ]; - Value.Tuple [ Value.UnicodeChar 42795; Value.Integer 42794 ]; - Value.Tuple [ Value.UnicodeChar 42797; Value.Integer 42796 ]; - Value.Tuple [ Value.UnicodeChar 42799; Value.Integer 42798 ]; - Value.Tuple [ Value.UnicodeChar 42803; Value.Integer 42802 ]; - Value.Tuple [ Value.UnicodeChar 42805; Value.Integer 42804 ]; - Value.Tuple [ Value.UnicodeChar 42807; Value.Integer 42806 ]; - Value.Tuple [ Value.UnicodeChar 42809; Value.Integer 42808 ]; - Value.Tuple [ Value.UnicodeChar 42811; Value.Integer 42810 ]; - Value.Tuple [ Value.UnicodeChar 42813; Value.Integer 42812 ]; - Value.Tuple [ Value.UnicodeChar 42815; Value.Integer 42814 ]; - Value.Tuple [ Value.UnicodeChar 42817; Value.Integer 42816 ]; - Value.Tuple [ Value.UnicodeChar 42819; Value.Integer 42818 ]; - Value.Tuple [ Value.UnicodeChar 42821; Value.Integer 42820 ]; - Value.Tuple [ Value.UnicodeChar 42823; Value.Integer 42822 ]; - Value.Tuple [ Value.UnicodeChar 42825; Value.Integer 42824 ]; - Value.Tuple [ Value.UnicodeChar 42827; Value.Integer 42826 ]; - Value.Tuple [ Value.UnicodeChar 42829; Value.Integer 42828 ]; - Value.Tuple [ Value.UnicodeChar 42831; Value.Integer 42830 ]; - Value.Tuple [ Value.UnicodeChar 42833; Value.Integer 42832 ]; - Value.Tuple [ Value.UnicodeChar 42835; Value.Integer 42834 ]; - Value.Tuple [ Value.UnicodeChar 42837; Value.Integer 42836 ]; - Value.Tuple [ Value.UnicodeChar 42839; Value.Integer 42838 ]; - Value.Tuple [ Value.UnicodeChar 42841; Value.Integer 42840 ]; - Value.Tuple [ Value.UnicodeChar 42843; Value.Integer 42842 ]; - Value.Tuple [ Value.UnicodeChar 42845; Value.Integer 42844 ]; - Value.Tuple [ Value.UnicodeChar 42847; Value.Integer 42846 ]; - Value.Tuple [ Value.UnicodeChar 42849; Value.Integer 42848 ]; - Value.Tuple [ Value.UnicodeChar 42851; Value.Integer 42850 ]; - Value.Tuple [ Value.UnicodeChar 42853; Value.Integer 42852 ]; - Value.Tuple [ Value.UnicodeChar 42855; Value.Integer 42854 ]; - Value.Tuple [ Value.UnicodeChar 42857; Value.Integer 42856 ]; - Value.Tuple [ Value.UnicodeChar 42859; Value.Integer 42858 ]; - Value.Tuple [ Value.UnicodeChar 42861; Value.Integer 42860 ]; - Value.Tuple [ Value.UnicodeChar 42863; Value.Integer 42862 ]; - Value.Tuple [ Value.UnicodeChar 42874; Value.Integer 42873 ]; - Value.Tuple [ Value.UnicodeChar 42876; Value.Integer 42875 ]; - Value.Tuple [ Value.UnicodeChar 42879; Value.Integer 42878 ]; - Value.Tuple [ Value.UnicodeChar 42881; Value.Integer 42880 ]; - Value.Tuple [ Value.UnicodeChar 42883; Value.Integer 42882 ]; - Value.Tuple [ Value.UnicodeChar 42885; Value.Integer 42884 ]; - Value.Tuple [ Value.UnicodeChar 42887; Value.Integer 42886 ]; - Value.Tuple [ Value.UnicodeChar 42892; Value.Integer 42891 ]; - Value.Tuple [ Value.UnicodeChar 42897; Value.Integer 42896 ]; - Value.Tuple [ Value.UnicodeChar 42899; Value.Integer 42898 ]; - Value.Tuple [ Value.UnicodeChar 42900; Value.Integer 42948 ]; - Value.Tuple [ Value.UnicodeChar 42903; Value.Integer 42902 ]; - Value.Tuple [ Value.UnicodeChar 42905; Value.Integer 42904 ]; - Value.Tuple [ Value.UnicodeChar 42907; Value.Integer 42906 ]; - Value.Tuple [ Value.UnicodeChar 42909; Value.Integer 42908 ]; - Value.Tuple [ Value.UnicodeChar 42911; Value.Integer 42910 ]; - Value.Tuple [ Value.UnicodeChar 42913; Value.Integer 42912 ]; - Value.Tuple [ Value.UnicodeChar 42915; Value.Integer 42914 ]; - Value.Tuple [ Value.UnicodeChar 42917; Value.Integer 42916 ]; - Value.Tuple [ Value.UnicodeChar 42919; Value.Integer 42918 ]; - Value.Tuple [ Value.UnicodeChar 42921; Value.Integer 42920 ]; - Value.Tuple [ Value.UnicodeChar 42933; Value.Integer 42932 ]; - Value.Tuple [ Value.UnicodeChar 42935; Value.Integer 42934 ]; - Value.Tuple [ Value.UnicodeChar 42937; Value.Integer 42936 ]; - Value.Tuple [ Value.UnicodeChar 42939; Value.Integer 42938 ]; - Value.Tuple [ Value.UnicodeChar 42941; Value.Integer 42940 ]; - Value.Tuple [ Value.UnicodeChar 42943; Value.Integer 42942 ]; - Value.Tuple [ Value.UnicodeChar 42945; Value.Integer 42944 ]; - Value.Tuple [ Value.UnicodeChar 42947; Value.Integer 42946 ]; - Value.Tuple [ Value.UnicodeChar 42952; Value.Integer 42951 ]; - Value.Tuple [ Value.UnicodeChar 42954; Value.Integer 42953 ]; - Value.Tuple [ Value.UnicodeChar 42961; Value.Integer 42960 ]; - Value.Tuple [ Value.UnicodeChar 42967; Value.Integer 42966 ]; - Value.Tuple [ Value.UnicodeChar 42969; Value.Integer 42968 ]; - Value.Tuple [ Value.UnicodeChar 42998; Value.Integer 42997 ]; - Value.Tuple [ Value.UnicodeChar 43859; Value.Integer 42931 ]; - Value.Tuple [ Value.UnicodeChar 43888; Value.Integer 5024 ]; - Value.Tuple [ Value.UnicodeChar 43889; Value.Integer 5025 ]; - Value.Tuple [ Value.UnicodeChar 43890; Value.Integer 5026 ]; - Value.Tuple [ Value.UnicodeChar 43891; Value.Integer 5027 ]; - Value.Tuple [ Value.UnicodeChar 43892; Value.Integer 5028 ]; - Value.Tuple [ Value.UnicodeChar 43893; Value.Integer 5029 ]; - Value.Tuple [ Value.UnicodeChar 43894; Value.Integer 5030 ]; - Value.Tuple [ Value.UnicodeChar 43895; Value.Integer 5031 ]; - Value.Tuple [ Value.UnicodeChar 43896; Value.Integer 5032 ]; - Value.Tuple [ Value.UnicodeChar 43897; Value.Integer 5033 ]; - Value.Tuple [ Value.UnicodeChar 43898; Value.Integer 5034 ]; - Value.Tuple [ Value.UnicodeChar 43899; Value.Integer 5035 ]; - Value.Tuple [ Value.UnicodeChar 43900; Value.Integer 5036 ]; - Value.Tuple [ Value.UnicodeChar 43901; Value.Integer 5037 ]; - Value.Tuple [ Value.UnicodeChar 43902; Value.Integer 5038 ]; - Value.Tuple [ Value.UnicodeChar 43903; Value.Integer 5039 ]; - Value.Tuple [ Value.UnicodeChar 43904; Value.Integer 5040 ]; - Value.Tuple [ Value.UnicodeChar 43905; Value.Integer 5041 ]; - Value.Tuple [ Value.UnicodeChar 43906; Value.Integer 5042 ]; - Value.Tuple [ Value.UnicodeChar 43907; Value.Integer 5043 ]; - Value.Tuple [ Value.UnicodeChar 43908; Value.Integer 5044 ]; - Value.Tuple [ Value.UnicodeChar 43909; Value.Integer 5045 ]; - Value.Tuple [ Value.UnicodeChar 43910; Value.Integer 5046 ]; - Value.Tuple [ Value.UnicodeChar 43911; Value.Integer 5047 ]; - Value.Tuple [ Value.UnicodeChar 43912; Value.Integer 5048 ]; - Value.Tuple [ Value.UnicodeChar 43913; Value.Integer 5049 ]; - Value.Tuple [ Value.UnicodeChar 43914; Value.Integer 5050 ]; - Value.Tuple [ Value.UnicodeChar 43915; Value.Integer 5051 ]; - Value.Tuple [ Value.UnicodeChar 43916; Value.Integer 5052 ]; - Value.Tuple [ Value.UnicodeChar 43917; Value.Integer 5053 ]; - Value.Tuple [ Value.UnicodeChar 43918; Value.Integer 5054 ]; - Value.Tuple [ Value.UnicodeChar 43919; Value.Integer 5055 ]; - Value.Tuple [ Value.UnicodeChar 43920; Value.Integer 5056 ]; - Value.Tuple [ Value.UnicodeChar 43921; Value.Integer 5057 ]; - Value.Tuple [ Value.UnicodeChar 43922; Value.Integer 5058 ]; - Value.Tuple [ Value.UnicodeChar 43923; Value.Integer 5059 ]; - Value.Tuple [ Value.UnicodeChar 43924; Value.Integer 5060 ]; - Value.Tuple [ Value.UnicodeChar 43925; Value.Integer 5061 ]; - Value.Tuple [ Value.UnicodeChar 43926; Value.Integer 5062 ]; - Value.Tuple [ Value.UnicodeChar 43927; Value.Integer 5063 ]; - Value.Tuple [ Value.UnicodeChar 43928; Value.Integer 5064 ]; - Value.Tuple [ Value.UnicodeChar 43929; Value.Integer 5065 ]; - Value.Tuple [ Value.UnicodeChar 43930; Value.Integer 5066 ]; - Value.Tuple [ Value.UnicodeChar 43931; Value.Integer 5067 ]; - Value.Tuple [ Value.UnicodeChar 43932; Value.Integer 5068 ]; - Value.Tuple [ Value.UnicodeChar 43933; Value.Integer 5069 ]; - Value.Tuple [ Value.UnicodeChar 43934; Value.Integer 5070 ]; - Value.Tuple [ Value.UnicodeChar 43935; Value.Integer 5071 ]; - Value.Tuple [ Value.UnicodeChar 43936; Value.Integer 5072 ]; - Value.Tuple [ Value.UnicodeChar 43937; Value.Integer 5073 ]; - Value.Tuple [ Value.UnicodeChar 43938; Value.Integer 5074 ]; - Value.Tuple [ Value.UnicodeChar 43939; Value.Integer 5075 ]; - Value.Tuple [ Value.UnicodeChar 43940; Value.Integer 5076 ]; - Value.Tuple [ Value.UnicodeChar 43941; Value.Integer 5077 ]; - Value.Tuple [ Value.UnicodeChar 43942; Value.Integer 5078 ]; - Value.Tuple [ Value.UnicodeChar 43943; Value.Integer 5079 ]; - Value.Tuple [ Value.UnicodeChar 43944; Value.Integer 5080 ]; - Value.Tuple [ Value.UnicodeChar 43945; Value.Integer 5081 ]; - Value.Tuple [ Value.UnicodeChar 43946; Value.Integer 5082 ]; - Value.Tuple [ Value.UnicodeChar 43947; Value.Integer 5083 ]; - Value.Tuple [ Value.UnicodeChar 43948; Value.Integer 5084 ]; - Value.Tuple [ Value.UnicodeChar 43949; Value.Integer 5085 ]; - Value.Tuple [ Value.UnicodeChar 43950; Value.Integer 5086 ]; - Value.Tuple [ Value.UnicodeChar 43951; Value.Integer 5087 ]; - Value.Tuple [ Value.UnicodeChar 43952; Value.Integer 5088 ]; - Value.Tuple [ Value.UnicodeChar 43953; Value.Integer 5089 ]; - Value.Tuple [ Value.UnicodeChar 43954; Value.Integer 5090 ]; - Value.Tuple [ Value.UnicodeChar 43955; Value.Integer 5091 ]; - Value.Tuple [ Value.UnicodeChar 43956; Value.Integer 5092 ]; - Value.Tuple [ Value.UnicodeChar 43957; Value.Integer 5093 ]; - Value.Tuple [ Value.UnicodeChar 43958; Value.Integer 5094 ]; - Value.Tuple [ Value.UnicodeChar 43959; Value.Integer 5095 ]; - Value.Tuple [ Value.UnicodeChar 43960; Value.Integer 5096 ]; - Value.Tuple [ Value.UnicodeChar 43961; Value.Integer 5097 ]; - Value.Tuple [ Value.UnicodeChar 43962; Value.Integer 5098 ]; - Value.Tuple [ Value.UnicodeChar 43963; Value.Integer 5099 ]; - Value.Tuple [ Value.UnicodeChar 43964; Value.Integer 5100 ]; - Value.Tuple [ Value.UnicodeChar 43965; Value.Integer 5101 ]; - Value.Tuple [ Value.UnicodeChar 43966; Value.Integer 5102 ]; - Value.Tuple [ Value.UnicodeChar 43967; Value.Integer 5103 ]; - Value.Tuple [ Value.UnicodeChar 64256; Value.Integer 4194394 ]; - Value.Tuple [ Value.UnicodeChar 64257; Value.Integer 4194395 ]; - Value.Tuple [ Value.UnicodeChar 64258; Value.Integer 4194396 ]; - Value.Tuple [ Value.UnicodeChar 64259; Value.Integer 4194397 ]; - Value.Tuple [ Value.UnicodeChar 64260; Value.Integer 4194398 ]; - Value.Tuple [ Value.UnicodeChar 64261; Value.Integer 4194399 ]; - Value.Tuple [ Value.UnicodeChar 64262; Value.Integer 4194400 ]; - Value.Tuple [ Value.UnicodeChar 64275; Value.Integer 4194401 ]; - Value.Tuple [ Value.UnicodeChar 64276; Value.Integer 4194402 ]; - Value.Tuple [ Value.UnicodeChar 64277; Value.Integer 4194403 ]; - Value.Tuple [ Value.UnicodeChar 64278; Value.Integer 4194404 ]; - Value.Tuple [ Value.UnicodeChar 64279; Value.Integer 4194405 ]; - Value.Tuple [ Value.UnicodeChar 65345; Value.Integer 65313 ]; - Value.Tuple [ Value.UnicodeChar 65346; Value.Integer 65314 ]; - Value.Tuple [ Value.UnicodeChar 65347; Value.Integer 65315 ]; - Value.Tuple [ Value.UnicodeChar 65348; Value.Integer 65316 ]; - Value.Tuple [ Value.UnicodeChar 65349; Value.Integer 65317 ]; - Value.Tuple [ Value.UnicodeChar 65350; Value.Integer 65318 ]; - Value.Tuple [ Value.UnicodeChar 65351; Value.Integer 65319 ]; - Value.Tuple [ Value.UnicodeChar 65352; Value.Integer 65320 ]; - Value.Tuple [ Value.UnicodeChar 65353; Value.Integer 65321 ]; - Value.Tuple [ Value.UnicodeChar 65354; Value.Integer 65322 ]; - Value.Tuple [ Value.UnicodeChar 65355; Value.Integer 65323 ]; - Value.Tuple [ Value.UnicodeChar 65356; Value.Integer 65324 ]; - Value.Tuple [ Value.UnicodeChar 65357; Value.Integer 65325 ]; - Value.Tuple [ Value.UnicodeChar 65358; Value.Integer 65326 ]; - Value.Tuple [ Value.UnicodeChar 65359; Value.Integer 65327 ]; - Value.Tuple [ Value.UnicodeChar 65360; Value.Integer 65328 ]; - Value.Tuple [ Value.UnicodeChar 65361; Value.Integer 65329 ]; - Value.Tuple [ Value.UnicodeChar 65362; Value.Integer 65330 ]; - Value.Tuple [ Value.UnicodeChar 65363; Value.Integer 65331 ]; - Value.Tuple [ Value.UnicodeChar 65364; Value.Integer 65332 ]; - Value.Tuple [ Value.UnicodeChar 65365; Value.Integer 65333 ]; - Value.Tuple [ Value.UnicodeChar 65366; Value.Integer 65334 ]; - Value.Tuple [ Value.UnicodeChar 65367; Value.Integer 65335 ]; - Value.Tuple [ Value.UnicodeChar 65368; Value.Integer 65336 ]; - Value.Tuple [ Value.UnicodeChar 65369; Value.Integer 65337 ]; - Value.Tuple [ Value.UnicodeChar 65370; Value.Integer 65338 ]; - Value.Tuple [ Value.UnicodeChar 66600; Value.Integer 66560 ]; - Value.Tuple [ Value.UnicodeChar 66601; Value.Integer 66561 ]; - Value.Tuple [ Value.UnicodeChar 66602; Value.Integer 66562 ]; - Value.Tuple [ Value.UnicodeChar 66603; Value.Integer 66563 ]; - Value.Tuple [ Value.UnicodeChar 66604; Value.Integer 66564 ]; - Value.Tuple [ Value.UnicodeChar 66605; Value.Integer 66565 ]; - Value.Tuple [ Value.UnicodeChar 66606; Value.Integer 66566 ]; - Value.Tuple [ Value.UnicodeChar 66607; Value.Integer 66567 ]; - Value.Tuple [ Value.UnicodeChar 66608; Value.Integer 66568 ]; - Value.Tuple [ Value.UnicodeChar 66609; Value.Integer 66569 ]; - Value.Tuple [ Value.UnicodeChar 66610; Value.Integer 66570 ]; - Value.Tuple [ Value.UnicodeChar 66611; Value.Integer 66571 ]; - Value.Tuple [ Value.UnicodeChar 66612; Value.Integer 66572 ]; - Value.Tuple [ Value.UnicodeChar 66613; Value.Integer 66573 ]; - Value.Tuple [ Value.UnicodeChar 66614; Value.Integer 66574 ]; - Value.Tuple [ Value.UnicodeChar 66615; Value.Integer 66575 ]; - Value.Tuple [ Value.UnicodeChar 66616; Value.Integer 66576 ]; - Value.Tuple [ Value.UnicodeChar 66617; Value.Integer 66577 ]; - Value.Tuple [ Value.UnicodeChar 66618; Value.Integer 66578 ]; - Value.Tuple [ Value.UnicodeChar 66619; Value.Integer 66579 ]; - Value.Tuple [ Value.UnicodeChar 66620; Value.Integer 66580 ]; - Value.Tuple [ Value.UnicodeChar 66621; Value.Integer 66581 ]; - Value.Tuple [ Value.UnicodeChar 66622; Value.Integer 66582 ]; - Value.Tuple [ Value.UnicodeChar 66623; Value.Integer 66583 ]; - Value.Tuple [ Value.UnicodeChar 66624; Value.Integer 66584 ]; - Value.Tuple [ Value.UnicodeChar 66625; Value.Integer 66585 ]; - Value.Tuple [ Value.UnicodeChar 66626; Value.Integer 66586 ]; - Value.Tuple [ Value.UnicodeChar 66627; Value.Integer 66587 ]; - Value.Tuple [ Value.UnicodeChar 66628; Value.Integer 66588 ]; - Value.Tuple [ Value.UnicodeChar 66629; Value.Integer 66589 ]; - Value.Tuple [ Value.UnicodeChar 66630; Value.Integer 66590 ]; - Value.Tuple [ Value.UnicodeChar 66631; Value.Integer 66591 ]; - Value.Tuple [ Value.UnicodeChar 66632; Value.Integer 66592 ]; - Value.Tuple [ Value.UnicodeChar 66633; Value.Integer 66593 ]; - Value.Tuple [ Value.UnicodeChar 66634; Value.Integer 66594 ]; - Value.Tuple [ Value.UnicodeChar 66635; Value.Integer 66595 ]; - Value.Tuple [ Value.UnicodeChar 66636; Value.Integer 66596 ]; - Value.Tuple [ Value.UnicodeChar 66637; Value.Integer 66597 ]; - Value.Tuple [ Value.UnicodeChar 66638; Value.Integer 66598 ]; - Value.Tuple [ Value.UnicodeChar 66639; Value.Integer 66599 ]; - Value.Tuple [ Value.UnicodeChar 66776; Value.Integer 66736 ]; - Value.Tuple [ Value.UnicodeChar 66777; Value.Integer 66737 ]; - Value.Tuple [ Value.UnicodeChar 66778; Value.Integer 66738 ]; - Value.Tuple [ Value.UnicodeChar 66779; Value.Integer 66739 ]; - Value.Tuple [ Value.UnicodeChar 66780; Value.Integer 66740 ]; - Value.Tuple [ Value.UnicodeChar 66781; Value.Integer 66741 ]; - Value.Tuple [ Value.UnicodeChar 66782; Value.Integer 66742 ]; - Value.Tuple [ Value.UnicodeChar 66783; Value.Integer 66743 ]; - Value.Tuple [ Value.UnicodeChar 66784; Value.Integer 66744 ]; - Value.Tuple [ Value.UnicodeChar 66785; Value.Integer 66745 ]; - Value.Tuple [ Value.UnicodeChar 66786; Value.Integer 66746 ]; - Value.Tuple [ Value.UnicodeChar 66787; Value.Integer 66747 ]; - Value.Tuple [ Value.UnicodeChar 66788; Value.Integer 66748 ]; - Value.Tuple [ Value.UnicodeChar 66789; Value.Integer 66749 ]; - Value.Tuple [ Value.UnicodeChar 66790; Value.Integer 66750 ]; - Value.Tuple [ Value.UnicodeChar 66791; Value.Integer 66751 ]; - Value.Tuple [ Value.UnicodeChar 66792; Value.Integer 66752 ]; - Value.Tuple [ Value.UnicodeChar 66793; Value.Integer 66753 ]; - Value.Tuple [ Value.UnicodeChar 66794; Value.Integer 66754 ]; - Value.Tuple [ Value.UnicodeChar 66795; Value.Integer 66755 ]; - Value.Tuple [ Value.UnicodeChar 66796; Value.Integer 66756 ]; - Value.Tuple [ Value.UnicodeChar 66797; Value.Integer 66757 ]; - Value.Tuple [ Value.UnicodeChar 66798; Value.Integer 66758 ]; - Value.Tuple [ Value.UnicodeChar 66799; Value.Integer 66759 ]; - Value.Tuple [ Value.UnicodeChar 66800; Value.Integer 66760 ]; - Value.Tuple [ Value.UnicodeChar 66801; Value.Integer 66761 ]; - Value.Tuple [ Value.UnicodeChar 66802; Value.Integer 66762 ]; - Value.Tuple [ Value.UnicodeChar 66803; Value.Integer 66763 ]; - Value.Tuple [ Value.UnicodeChar 66804; Value.Integer 66764 ]; - Value.Tuple [ Value.UnicodeChar 66805; Value.Integer 66765 ]; - Value.Tuple [ Value.UnicodeChar 66806; Value.Integer 66766 ]; - Value.Tuple [ Value.UnicodeChar 66807; Value.Integer 66767 ]; - Value.Tuple [ Value.UnicodeChar 66808; Value.Integer 66768 ]; - Value.Tuple [ Value.UnicodeChar 66809; Value.Integer 66769 ]; - Value.Tuple [ Value.UnicodeChar 66810; Value.Integer 66770 ]; - Value.Tuple [ Value.UnicodeChar 66811; Value.Integer 66771 ]; - Value.Tuple [ Value.UnicodeChar 66967; Value.Integer 66928 ]; - Value.Tuple [ Value.UnicodeChar 66968; Value.Integer 66929 ]; - Value.Tuple [ Value.UnicodeChar 66969; Value.Integer 66930 ]; - Value.Tuple [ Value.UnicodeChar 66970; Value.Integer 66931 ]; - Value.Tuple [ Value.UnicodeChar 66971; Value.Integer 66932 ]; - Value.Tuple [ Value.UnicodeChar 66972; Value.Integer 66933 ]; - Value.Tuple [ Value.UnicodeChar 66973; Value.Integer 66934 ]; - Value.Tuple [ Value.UnicodeChar 66974; Value.Integer 66935 ]; - Value.Tuple [ Value.UnicodeChar 66975; Value.Integer 66936 ]; - Value.Tuple [ Value.UnicodeChar 66976; Value.Integer 66937 ]; - Value.Tuple [ Value.UnicodeChar 66977; Value.Integer 66938 ]; - Value.Tuple [ Value.UnicodeChar 66979; Value.Integer 66940 ]; - Value.Tuple [ Value.UnicodeChar 66980; Value.Integer 66941 ]; - Value.Tuple [ Value.UnicodeChar 66981; Value.Integer 66942 ]; - Value.Tuple [ Value.UnicodeChar 66982; Value.Integer 66943 ]; - Value.Tuple [ Value.UnicodeChar 66983; Value.Integer 66944 ]; - Value.Tuple [ Value.UnicodeChar 66984; Value.Integer 66945 ]; - Value.Tuple [ Value.UnicodeChar 66985; Value.Integer 66946 ]; - Value.Tuple [ Value.UnicodeChar 66986; Value.Integer 66947 ]; - Value.Tuple [ Value.UnicodeChar 66987; Value.Integer 66948 ]; - Value.Tuple [ Value.UnicodeChar 66988; Value.Integer 66949 ]; - Value.Tuple [ Value.UnicodeChar 66989; Value.Integer 66950 ]; - Value.Tuple [ Value.UnicodeChar 66990; Value.Integer 66951 ]; - Value.Tuple [ Value.UnicodeChar 66991; Value.Integer 66952 ]; - Value.Tuple [ Value.UnicodeChar 66992; Value.Integer 66953 ]; - Value.Tuple [ Value.UnicodeChar 66993; Value.Integer 66954 ]; - Value.Tuple [ Value.UnicodeChar 66995; Value.Integer 66956 ]; - Value.Tuple [ Value.UnicodeChar 66996; Value.Integer 66957 ]; - Value.Tuple [ Value.UnicodeChar 66997; Value.Integer 66958 ]; - Value.Tuple [ Value.UnicodeChar 66998; Value.Integer 66959 ]; - Value.Tuple [ Value.UnicodeChar 66999; Value.Integer 66960 ]; - Value.Tuple [ Value.UnicodeChar 67000; Value.Integer 66961 ]; - Value.Tuple [ Value.UnicodeChar 67001; Value.Integer 66962 ]; - Value.Tuple [ Value.UnicodeChar 67003; Value.Integer 66964 ]; - Value.Tuple [ Value.UnicodeChar 67004; Value.Integer 66965 ]; - Value.Tuple [ Value.UnicodeChar 68800; Value.Integer 68736 ]; - Value.Tuple [ Value.UnicodeChar 68801; Value.Integer 68737 ]; - Value.Tuple [ Value.UnicodeChar 68802; Value.Integer 68738 ]; - Value.Tuple [ Value.UnicodeChar 68803; Value.Integer 68739 ]; - Value.Tuple [ Value.UnicodeChar 68804; Value.Integer 68740 ]; - Value.Tuple [ Value.UnicodeChar 68805; Value.Integer 68741 ]; - Value.Tuple [ Value.UnicodeChar 68806; Value.Integer 68742 ]; - Value.Tuple [ Value.UnicodeChar 68807; Value.Integer 68743 ]; - Value.Tuple [ Value.UnicodeChar 68808; Value.Integer 68744 ]; - Value.Tuple [ Value.UnicodeChar 68809; Value.Integer 68745 ]; - Value.Tuple [ Value.UnicodeChar 68810; Value.Integer 68746 ]; - Value.Tuple [ Value.UnicodeChar 68811; Value.Integer 68747 ]; - Value.Tuple [ Value.UnicodeChar 68812; Value.Integer 68748 ]; - Value.Tuple [ Value.UnicodeChar 68813; Value.Integer 68749 ]; - Value.Tuple [ Value.UnicodeChar 68814; Value.Integer 68750 ]; - Value.Tuple [ Value.UnicodeChar 68815; Value.Integer 68751 ]; - Value.Tuple [ Value.UnicodeChar 68816; Value.Integer 68752 ]; - Value.Tuple [ Value.UnicodeChar 68817; Value.Integer 68753 ]; - Value.Tuple [ Value.UnicodeChar 68818; Value.Integer 68754 ]; - Value.Tuple [ Value.UnicodeChar 68819; Value.Integer 68755 ]; - Value.Tuple [ Value.UnicodeChar 68820; Value.Integer 68756 ]; - Value.Tuple [ Value.UnicodeChar 68821; Value.Integer 68757 ]; - Value.Tuple [ Value.UnicodeChar 68822; Value.Integer 68758 ]; - Value.Tuple [ Value.UnicodeChar 68823; Value.Integer 68759 ]; - Value.Tuple [ Value.UnicodeChar 68824; Value.Integer 68760 ]; - Value.Tuple [ Value.UnicodeChar 68825; Value.Integer 68761 ]; - Value.Tuple [ Value.UnicodeChar 68826; Value.Integer 68762 ]; - Value.Tuple [ Value.UnicodeChar 68827; Value.Integer 68763 ]; - Value.Tuple [ Value.UnicodeChar 68828; Value.Integer 68764 ]; - Value.Tuple [ Value.UnicodeChar 68829; Value.Integer 68765 ]; - Value.Tuple [ Value.UnicodeChar 68830; Value.Integer 68766 ]; - Value.Tuple [ Value.UnicodeChar 68831; Value.Integer 68767 ]; - Value.Tuple [ Value.UnicodeChar 68832; Value.Integer 68768 ]; - Value.Tuple [ Value.UnicodeChar 68833; Value.Integer 68769 ]; - Value.Tuple [ Value.UnicodeChar 68834; Value.Integer 68770 ]; - Value.Tuple [ Value.UnicodeChar 68835; Value.Integer 68771 ]; - Value.Tuple [ Value.UnicodeChar 68836; Value.Integer 68772 ]; - Value.Tuple [ Value.UnicodeChar 68837; Value.Integer 68773 ]; - Value.Tuple [ Value.UnicodeChar 68838; Value.Integer 68774 ]; - Value.Tuple [ Value.UnicodeChar 68839; Value.Integer 68775 ]; - Value.Tuple [ Value.UnicodeChar 68840; Value.Integer 68776 ]; - Value.Tuple [ Value.UnicodeChar 68841; Value.Integer 68777 ]; - Value.Tuple [ Value.UnicodeChar 68842; Value.Integer 68778 ]; - Value.Tuple [ Value.UnicodeChar 68843; Value.Integer 68779 ]; - Value.Tuple [ Value.UnicodeChar 68844; Value.Integer 68780 ]; - Value.Tuple [ Value.UnicodeChar 68845; Value.Integer 68781 ]; - Value.Tuple [ Value.UnicodeChar 68846; Value.Integer 68782 ]; - Value.Tuple [ Value.UnicodeChar 68847; Value.Integer 68783 ]; - Value.Tuple [ Value.UnicodeChar 68848; Value.Integer 68784 ]; - Value.Tuple [ Value.UnicodeChar 68849; Value.Integer 68785 ]; - Value.Tuple [ Value.UnicodeChar 68850; Value.Integer 68786 ]; - Value.Tuple [ Value.UnicodeChar 71872; Value.Integer 71840 ]; - Value.Tuple [ Value.UnicodeChar 71873; Value.Integer 71841 ]; - Value.Tuple [ Value.UnicodeChar 71874; Value.Integer 71842 ]; - Value.Tuple [ Value.UnicodeChar 71875; Value.Integer 71843 ]; - Value.Tuple [ Value.UnicodeChar 71876; Value.Integer 71844 ]; - Value.Tuple [ Value.UnicodeChar 71877; Value.Integer 71845 ]; - Value.Tuple [ Value.UnicodeChar 71878; Value.Integer 71846 ]; - Value.Tuple [ Value.UnicodeChar 71879; Value.Integer 71847 ]; - Value.Tuple [ Value.UnicodeChar 71880; Value.Integer 71848 ]; - Value.Tuple [ Value.UnicodeChar 71881; Value.Integer 71849 ]; - Value.Tuple [ Value.UnicodeChar 71882; Value.Integer 71850 ]; - Value.Tuple [ Value.UnicodeChar 71883; Value.Integer 71851 ]; - Value.Tuple [ Value.UnicodeChar 71884; Value.Integer 71852 ]; - Value.Tuple [ Value.UnicodeChar 71885; Value.Integer 71853 ]; - Value.Tuple [ Value.UnicodeChar 71886; Value.Integer 71854 ]; - Value.Tuple [ Value.UnicodeChar 71887; Value.Integer 71855 ]; - Value.Tuple [ Value.UnicodeChar 71888; Value.Integer 71856 ]; - Value.Tuple [ Value.UnicodeChar 71889; Value.Integer 71857 ]; - Value.Tuple [ Value.UnicodeChar 71890; Value.Integer 71858 ]; - Value.Tuple [ Value.UnicodeChar 71891; Value.Integer 71859 ]; - Value.Tuple [ Value.UnicodeChar 71892; Value.Integer 71860 ]; - Value.Tuple [ Value.UnicodeChar 71893; Value.Integer 71861 ]; - Value.Tuple [ Value.UnicodeChar 71894; Value.Integer 71862 ]; - Value.Tuple [ Value.UnicodeChar 71895; Value.Integer 71863 ]; - Value.Tuple [ Value.UnicodeChar 71896; Value.Integer 71864 ]; - Value.Tuple [ Value.UnicodeChar 71897; Value.Integer 71865 ]; - Value.Tuple [ Value.UnicodeChar 71898; Value.Integer 71866 ]; - Value.Tuple [ Value.UnicodeChar 71899; Value.Integer 71867 ]; - Value.Tuple [ Value.UnicodeChar 71900; Value.Integer 71868 ]; - Value.Tuple [ Value.UnicodeChar 71901; Value.Integer 71869 ]; - Value.Tuple [ Value.UnicodeChar 71902; Value.Integer 71870 ]; - Value.Tuple [ Value.UnicodeChar 71903; Value.Integer 71871 ]; - Value.Tuple [ Value.UnicodeChar 93792; Value.Integer 93760 ]; - Value.Tuple [ Value.UnicodeChar 93793; Value.Integer 93761 ]; - Value.Tuple [ Value.UnicodeChar 93794; Value.Integer 93762 ]; - Value.Tuple [ Value.UnicodeChar 93795; Value.Integer 93763 ]; - Value.Tuple [ Value.UnicodeChar 93796; Value.Integer 93764 ]; - Value.Tuple [ Value.UnicodeChar 93797; Value.Integer 93765 ]; - Value.Tuple [ Value.UnicodeChar 93798; Value.Integer 93766 ]; - Value.Tuple [ Value.UnicodeChar 93799; Value.Integer 93767 ]; - Value.Tuple [ Value.UnicodeChar 93800; Value.Integer 93768 ]; - Value.Tuple [ Value.UnicodeChar 93801; Value.Integer 93769 ]; - Value.Tuple [ Value.UnicodeChar 93802; Value.Integer 93770 ]; - Value.Tuple [ Value.UnicodeChar 93803; Value.Integer 93771 ]; - Value.Tuple [ Value.UnicodeChar 93804; Value.Integer 93772 ]; - Value.Tuple [ Value.UnicodeChar 93805; Value.Integer 93773 ]; - Value.Tuple [ Value.UnicodeChar 93806; Value.Integer 93774 ]; - Value.Tuple [ Value.UnicodeChar 93807; Value.Integer 93775 ]; - Value.Tuple [ Value.UnicodeChar 93808; Value.Integer 93776 ]; - Value.Tuple [ Value.UnicodeChar 93809; Value.Integer 93777 ]; - Value.Tuple [ Value.UnicodeChar 93810; Value.Integer 93778 ]; - Value.Tuple [ Value.UnicodeChar 93811; Value.Integer 93779 ]; - Value.Tuple [ Value.UnicodeChar 93812; Value.Integer 93780 ]; - Value.Tuple [ Value.UnicodeChar 93813; Value.Integer 93781 ]; - Value.Tuple [ Value.UnicodeChar 93814; Value.Integer 93782 ]; - Value.Tuple [ Value.UnicodeChar 93815; Value.Integer 93783 ]; - Value.Tuple [ Value.UnicodeChar 93816; Value.Integer 93784 ]; - Value.Tuple [ Value.UnicodeChar 93817; Value.Integer 93785 ]; - Value.Tuple [ Value.UnicodeChar 93818; Value.Integer 93786 ]; - Value.Tuple [ Value.UnicodeChar 93819; Value.Integer 93787 ]; - Value.Tuple [ Value.UnicodeChar 93820; Value.Integer 93788 ]; - Value.Tuple [ Value.UnicodeChar 93821; Value.Integer 93789 ]; - Value.Tuple [ Value.UnicodeChar 93822; Value.Integer 93790 ]; - Value.Tuple [ Value.UnicodeChar 93823; Value.Integer 93791 ]; - Value.Tuple [ Value.UnicodeChar 125218; Value.Integer 125184 ]; - Value.Tuple [ Value.UnicodeChar 125219; Value.Integer 125185 ]; - Value.Tuple [ Value.UnicodeChar 125220; Value.Integer 125186 ]; - Value.Tuple [ Value.UnicodeChar 125221; Value.Integer 125187 ]; - Value.Tuple [ Value.UnicodeChar 125222; Value.Integer 125188 ]; - Value.Tuple [ Value.UnicodeChar 125223; Value.Integer 125189 ]; - Value.Tuple [ Value.UnicodeChar 125224; Value.Integer 125190 ]; - Value.Tuple [ Value.UnicodeChar 125225; Value.Integer 125191 ]; - Value.Tuple [ Value.UnicodeChar 125226; Value.Integer 125192 ]; - Value.Tuple [ Value.UnicodeChar 125227; Value.Integer 125193 ]; - Value.Tuple [ Value.UnicodeChar 125228; Value.Integer 125194 ]; - Value.Tuple [ Value.UnicodeChar 125229; Value.Integer 125195 ]; - Value.Tuple [ Value.UnicodeChar 125230; Value.Integer 125196 ]; - Value.Tuple [ Value.UnicodeChar 125231; Value.Integer 125197 ]; - Value.Tuple [ Value.UnicodeChar 125232; Value.Integer 125198 ]; - Value.Tuple [ Value.UnicodeChar 125233; Value.Integer 125199 ]; - Value.Tuple [ Value.UnicodeChar 125234; Value.Integer 125200 ]; - Value.Tuple [ Value.UnicodeChar 125235; Value.Integer 125201 ]; - Value.Tuple [ Value.UnicodeChar 125236; Value.Integer 125202 ]; - Value.Tuple [ Value.UnicodeChar 125237; Value.Integer 125203 ]; - Value.Tuple [ Value.UnicodeChar 125238; Value.Integer 125204 ]; - Value.Tuple [ Value.UnicodeChar 125239; Value.Integer 125205 ]; - Value.Tuple [ Value.UnicodeChar 125240; Value.Integer 125206 ]; - Value.Tuple [ Value.UnicodeChar 125241; Value.Integer 125207 ]; - Value.Tuple [ Value.UnicodeChar 125242; Value.Integer 125208 ]; - Value.Tuple [ Value.UnicodeChar 125243; Value.Integer 125209 ]; - Value.Tuple [ Value.UnicodeChar 125244; Value.Integer 125210 ]; - Value.Tuple [ Value.UnicodeChar 125245; Value.Integer 125211 ]; - Value.Tuple [ Value.UnicodeChar 125246; Value.Integer 125212 ]; - Value.Tuple [ Value.UnicodeChar 125247; Value.Integer 125213 ]; - Value.Tuple [ Value.UnicodeChar 125248; Value.Integer 125214 ]; - Value.Tuple [ Value.UnicodeChar 125249; Value.Integer 125215 ]; - Value.Tuple [ Value.UnicodeChar 125250; Value.Integer 125216 ]; - Value.Tuple [ Value.UnicodeChar 125251; Value.Integer 125217 ] + Value.Tuple [ Value.UnicodeChar 181; Value.Integer IntegerKind.U32 924 ]; + Value.Tuple + [ Value.UnicodeChar 223; Value.Integer IntegerKind.U32 4194304 ]; + Value.Tuple [ Value.UnicodeChar 224; Value.Integer IntegerKind.U32 192 ]; + Value.Tuple [ Value.UnicodeChar 225; Value.Integer IntegerKind.U32 193 ]; + Value.Tuple [ Value.UnicodeChar 226; Value.Integer IntegerKind.U32 194 ]; + Value.Tuple [ Value.UnicodeChar 227; Value.Integer IntegerKind.U32 195 ]; + Value.Tuple [ Value.UnicodeChar 228; Value.Integer IntegerKind.U32 196 ]; + Value.Tuple [ Value.UnicodeChar 229; Value.Integer IntegerKind.U32 197 ]; + Value.Tuple [ Value.UnicodeChar 230; Value.Integer IntegerKind.U32 198 ]; + Value.Tuple [ Value.UnicodeChar 231; Value.Integer IntegerKind.U32 199 ]; + Value.Tuple [ Value.UnicodeChar 232; Value.Integer IntegerKind.U32 200 ]; + Value.Tuple [ Value.UnicodeChar 233; Value.Integer IntegerKind.U32 201 ]; + Value.Tuple [ Value.UnicodeChar 234; Value.Integer IntegerKind.U32 202 ]; + Value.Tuple [ Value.UnicodeChar 235; Value.Integer IntegerKind.U32 203 ]; + Value.Tuple [ Value.UnicodeChar 236; Value.Integer IntegerKind.U32 204 ]; + Value.Tuple [ Value.UnicodeChar 237; Value.Integer IntegerKind.U32 205 ]; + Value.Tuple [ Value.UnicodeChar 238; Value.Integer IntegerKind.U32 206 ]; + Value.Tuple [ Value.UnicodeChar 239; Value.Integer IntegerKind.U32 207 ]; + Value.Tuple [ Value.UnicodeChar 240; Value.Integer IntegerKind.U32 208 ]; + Value.Tuple [ Value.UnicodeChar 241; Value.Integer IntegerKind.U32 209 ]; + Value.Tuple [ Value.UnicodeChar 242; Value.Integer IntegerKind.U32 210 ]; + Value.Tuple [ Value.UnicodeChar 243; Value.Integer IntegerKind.U32 211 ]; + Value.Tuple [ Value.UnicodeChar 244; Value.Integer IntegerKind.U32 212 ]; + Value.Tuple [ Value.UnicodeChar 245; Value.Integer IntegerKind.U32 213 ]; + Value.Tuple [ Value.UnicodeChar 246; Value.Integer IntegerKind.U32 214 ]; + Value.Tuple [ Value.UnicodeChar 248; Value.Integer IntegerKind.U32 216 ]; + Value.Tuple [ Value.UnicodeChar 249; Value.Integer IntegerKind.U32 217 ]; + Value.Tuple [ Value.UnicodeChar 250; Value.Integer IntegerKind.U32 218 ]; + Value.Tuple [ Value.UnicodeChar 251; Value.Integer IntegerKind.U32 219 ]; + Value.Tuple [ Value.UnicodeChar 252; Value.Integer IntegerKind.U32 220 ]; + Value.Tuple [ Value.UnicodeChar 253; Value.Integer IntegerKind.U32 221 ]; + Value.Tuple [ Value.UnicodeChar 254; Value.Integer IntegerKind.U32 222 ]; + Value.Tuple [ Value.UnicodeChar 255; Value.Integer IntegerKind.U32 376 ]; + Value.Tuple [ Value.UnicodeChar 257; Value.Integer IntegerKind.U32 256 ]; + Value.Tuple [ Value.UnicodeChar 259; Value.Integer IntegerKind.U32 258 ]; + Value.Tuple [ Value.UnicodeChar 261; Value.Integer IntegerKind.U32 260 ]; + Value.Tuple [ Value.UnicodeChar 263; Value.Integer IntegerKind.U32 262 ]; + Value.Tuple [ Value.UnicodeChar 265; Value.Integer IntegerKind.U32 264 ]; + Value.Tuple [ Value.UnicodeChar 267; Value.Integer IntegerKind.U32 266 ]; + Value.Tuple [ Value.UnicodeChar 269; Value.Integer IntegerKind.U32 268 ]; + Value.Tuple [ Value.UnicodeChar 271; Value.Integer IntegerKind.U32 270 ]; + Value.Tuple [ Value.UnicodeChar 273; Value.Integer IntegerKind.U32 272 ]; + Value.Tuple [ Value.UnicodeChar 275; Value.Integer IntegerKind.U32 274 ]; + Value.Tuple [ Value.UnicodeChar 277; Value.Integer IntegerKind.U32 276 ]; + Value.Tuple [ Value.UnicodeChar 279; Value.Integer IntegerKind.U32 278 ]; + Value.Tuple [ Value.UnicodeChar 281; Value.Integer IntegerKind.U32 280 ]; + Value.Tuple [ Value.UnicodeChar 283; Value.Integer IntegerKind.U32 282 ]; + Value.Tuple [ Value.UnicodeChar 285; Value.Integer IntegerKind.U32 284 ]; + Value.Tuple [ Value.UnicodeChar 287; Value.Integer IntegerKind.U32 286 ]; + Value.Tuple [ Value.UnicodeChar 289; Value.Integer IntegerKind.U32 288 ]; + Value.Tuple [ Value.UnicodeChar 291; Value.Integer IntegerKind.U32 290 ]; + Value.Tuple [ Value.UnicodeChar 293; Value.Integer IntegerKind.U32 292 ]; + Value.Tuple [ Value.UnicodeChar 295; Value.Integer IntegerKind.U32 294 ]; + Value.Tuple [ Value.UnicodeChar 297; Value.Integer IntegerKind.U32 296 ]; + Value.Tuple [ Value.UnicodeChar 299; Value.Integer IntegerKind.U32 298 ]; + Value.Tuple [ Value.UnicodeChar 301; Value.Integer IntegerKind.U32 300 ]; + Value.Tuple [ Value.UnicodeChar 303; Value.Integer IntegerKind.U32 302 ]; + Value.Tuple [ Value.UnicodeChar 305; Value.Integer IntegerKind.U32 73 ]; + Value.Tuple [ Value.UnicodeChar 307; Value.Integer IntegerKind.U32 306 ]; + Value.Tuple [ Value.UnicodeChar 309; Value.Integer IntegerKind.U32 308 ]; + Value.Tuple [ Value.UnicodeChar 311; Value.Integer IntegerKind.U32 310 ]; + Value.Tuple [ Value.UnicodeChar 314; Value.Integer IntegerKind.U32 313 ]; + Value.Tuple [ Value.UnicodeChar 316; Value.Integer IntegerKind.U32 315 ]; + Value.Tuple [ Value.UnicodeChar 318; Value.Integer IntegerKind.U32 317 ]; + Value.Tuple [ Value.UnicodeChar 320; Value.Integer IntegerKind.U32 319 ]; + Value.Tuple [ Value.UnicodeChar 322; Value.Integer IntegerKind.U32 321 ]; + Value.Tuple [ Value.UnicodeChar 324; Value.Integer IntegerKind.U32 323 ]; + Value.Tuple [ Value.UnicodeChar 326; Value.Integer IntegerKind.U32 325 ]; + Value.Tuple [ Value.UnicodeChar 328; Value.Integer IntegerKind.U32 327 ]; + Value.Tuple + [ Value.UnicodeChar 329; Value.Integer IntegerKind.U32 4194305 ]; + Value.Tuple [ Value.UnicodeChar 331; Value.Integer IntegerKind.U32 330 ]; + Value.Tuple [ Value.UnicodeChar 333; Value.Integer IntegerKind.U32 332 ]; + Value.Tuple [ Value.UnicodeChar 335; Value.Integer IntegerKind.U32 334 ]; + Value.Tuple [ Value.UnicodeChar 337; Value.Integer IntegerKind.U32 336 ]; + Value.Tuple [ Value.UnicodeChar 339; Value.Integer IntegerKind.U32 338 ]; + Value.Tuple [ Value.UnicodeChar 341; Value.Integer IntegerKind.U32 340 ]; + Value.Tuple [ Value.UnicodeChar 343; Value.Integer IntegerKind.U32 342 ]; + Value.Tuple [ Value.UnicodeChar 345; Value.Integer IntegerKind.U32 344 ]; + Value.Tuple [ Value.UnicodeChar 347; Value.Integer IntegerKind.U32 346 ]; + Value.Tuple [ Value.UnicodeChar 349; Value.Integer IntegerKind.U32 348 ]; + Value.Tuple [ Value.UnicodeChar 351; Value.Integer IntegerKind.U32 350 ]; + Value.Tuple [ Value.UnicodeChar 353; Value.Integer IntegerKind.U32 352 ]; + Value.Tuple [ Value.UnicodeChar 355; Value.Integer IntegerKind.U32 354 ]; + Value.Tuple [ Value.UnicodeChar 357; Value.Integer IntegerKind.U32 356 ]; + Value.Tuple [ Value.UnicodeChar 359; Value.Integer IntegerKind.U32 358 ]; + Value.Tuple [ Value.UnicodeChar 361; Value.Integer IntegerKind.U32 360 ]; + Value.Tuple [ Value.UnicodeChar 363; Value.Integer IntegerKind.U32 362 ]; + Value.Tuple [ Value.UnicodeChar 365; Value.Integer IntegerKind.U32 364 ]; + Value.Tuple [ Value.UnicodeChar 367; Value.Integer IntegerKind.U32 366 ]; + Value.Tuple [ Value.UnicodeChar 369; Value.Integer IntegerKind.U32 368 ]; + Value.Tuple [ Value.UnicodeChar 371; Value.Integer IntegerKind.U32 370 ]; + Value.Tuple [ Value.UnicodeChar 373; Value.Integer IntegerKind.U32 372 ]; + Value.Tuple [ Value.UnicodeChar 375; Value.Integer IntegerKind.U32 374 ]; + Value.Tuple [ Value.UnicodeChar 378; Value.Integer IntegerKind.U32 377 ]; + Value.Tuple [ Value.UnicodeChar 380; Value.Integer IntegerKind.U32 379 ]; + Value.Tuple [ Value.UnicodeChar 382; Value.Integer IntegerKind.U32 381 ]; + Value.Tuple [ Value.UnicodeChar 383; Value.Integer IntegerKind.U32 83 ]; + Value.Tuple [ Value.UnicodeChar 384; Value.Integer IntegerKind.U32 579 ]; + Value.Tuple [ Value.UnicodeChar 387; Value.Integer IntegerKind.U32 386 ]; + Value.Tuple [ Value.UnicodeChar 389; Value.Integer IntegerKind.U32 388 ]; + Value.Tuple [ Value.UnicodeChar 392; Value.Integer IntegerKind.U32 391 ]; + Value.Tuple [ Value.UnicodeChar 396; Value.Integer IntegerKind.U32 395 ]; + Value.Tuple [ Value.UnicodeChar 402; Value.Integer IntegerKind.U32 401 ]; + Value.Tuple [ Value.UnicodeChar 405; Value.Integer IntegerKind.U32 502 ]; + Value.Tuple [ Value.UnicodeChar 409; Value.Integer IntegerKind.U32 408 ]; + Value.Tuple [ Value.UnicodeChar 410; Value.Integer IntegerKind.U32 573 ]; + Value.Tuple [ Value.UnicodeChar 414; Value.Integer IntegerKind.U32 544 ]; + Value.Tuple [ Value.UnicodeChar 417; Value.Integer IntegerKind.U32 416 ]; + Value.Tuple [ Value.UnicodeChar 419; Value.Integer IntegerKind.U32 418 ]; + Value.Tuple [ Value.UnicodeChar 421; Value.Integer IntegerKind.U32 420 ]; + Value.Tuple [ Value.UnicodeChar 424; Value.Integer IntegerKind.U32 423 ]; + Value.Tuple [ Value.UnicodeChar 429; Value.Integer IntegerKind.U32 428 ]; + Value.Tuple [ Value.UnicodeChar 432; Value.Integer IntegerKind.U32 431 ]; + Value.Tuple [ Value.UnicodeChar 436; Value.Integer IntegerKind.U32 435 ]; + Value.Tuple [ Value.UnicodeChar 438; Value.Integer IntegerKind.U32 437 ]; + Value.Tuple [ Value.UnicodeChar 441; Value.Integer IntegerKind.U32 440 ]; + Value.Tuple [ Value.UnicodeChar 445; Value.Integer IntegerKind.U32 444 ]; + Value.Tuple [ Value.UnicodeChar 447; Value.Integer IntegerKind.U32 503 ]; + Value.Tuple [ Value.UnicodeChar 453; Value.Integer IntegerKind.U32 452 ]; + Value.Tuple [ Value.UnicodeChar 454; Value.Integer IntegerKind.U32 452 ]; + Value.Tuple [ Value.UnicodeChar 456; Value.Integer IntegerKind.U32 455 ]; + Value.Tuple [ Value.UnicodeChar 457; Value.Integer IntegerKind.U32 455 ]; + Value.Tuple [ Value.UnicodeChar 459; Value.Integer IntegerKind.U32 458 ]; + Value.Tuple [ Value.UnicodeChar 460; Value.Integer IntegerKind.U32 458 ]; + Value.Tuple [ Value.UnicodeChar 462; Value.Integer IntegerKind.U32 461 ]; + Value.Tuple [ Value.UnicodeChar 464; Value.Integer IntegerKind.U32 463 ]; + Value.Tuple [ Value.UnicodeChar 466; Value.Integer IntegerKind.U32 465 ]; + Value.Tuple [ Value.UnicodeChar 468; Value.Integer IntegerKind.U32 467 ]; + Value.Tuple [ Value.UnicodeChar 470; Value.Integer IntegerKind.U32 469 ]; + Value.Tuple [ Value.UnicodeChar 472; Value.Integer IntegerKind.U32 471 ]; + Value.Tuple [ Value.UnicodeChar 474; Value.Integer IntegerKind.U32 473 ]; + Value.Tuple [ Value.UnicodeChar 476; Value.Integer IntegerKind.U32 475 ]; + Value.Tuple [ Value.UnicodeChar 477; Value.Integer IntegerKind.U32 398 ]; + Value.Tuple [ Value.UnicodeChar 479; Value.Integer IntegerKind.U32 478 ]; + Value.Tuple [ Value.UnicodeChar 481; Value.Integer IntegerKind.U32 480 ]; + Value.Tuple [ Value.UnicodeChar 483; Value.Integer IntegerKind.U32 482 ]; + Value.Tuple [ Value.UnicodeChar 485; Value.Integer IntegerKind.U32 484 ]; + Value.Tuple [ Value.UnicodeChar 487; Value.Integer IntegerKind.U32 486 ]; + Value.Tuple [ Value.UnicodeChar 489; Value.Integer IntegerKind.U32 488 ]; + Value.Tuple [ Value.UnicodeChar 491; Value.Integer IntegerKind.U32 490 ]; + Value.Tuple [ Value.UnicodeChar 493; Value.Integer IntegerKind.U32 492 ]; + Value.Tuple [ Value.UnicodeChar 495; Value.Integer IntegerKind.U32 494 ]; + Value.Tuple + [ Value.UnicodeChar 496; Value.Integer IntegerKind.U32 4194306 ]; + Value.Tuple [ Value.UnicodeChar 498; Value.Integer IntegerKind.U32 497 ]; + Value.Tuple [ Value.UnicodeChar 499; Value.Integer IntegerKind.U32 497 ]; + Value.Tuple [ Value.UnicodeChar 501; Value.Integer IntegerKind.U32 500 ]; + Value.Tuple [ Value.UnicodeChar 505; Value.Integer IntegerKind.U32 504 ]; + Value.Tuple [ Value.UnicodeChar 507; Value.Integer IntegerKind.U32 506 ]; + Value.Tuple [ Value.UnicodeChar 509; Value.Integer IntegerKind.U32 508 ]; + Value.Tuple [ Value.UnicodeChar 511; Value.Integer IntegerKind.U32 510 ]; + Value.Tuple [ Value.UnicodeChar 513; Value.Integer IntegerKind.U32 512 ]; + Value.Tuple [ Value.UnicodeChar 515; Value.Integer IntegerKind.U32 514 ]; + Value.Tuple [ Value.UnicodeChar 517; Value.Integer IntegerKind.U32 516 ]; + Value.Tuple [ Value.UnicodeChar 519; Value.Integer IntegerKind.U32 518 ]; + Value.Tuple [ Value.UnicodeChar 521; Value.Integer IntegerKind.U32 520 ]; + Value.Tuple [ Value.UnicodeChar 523; Value.Integer IntegerKind.U32 522 ]; + Value.Tuple [ Value.UnicodeChar 525; Value.Integer IntegerKind.U32 524 ]; + Value.Tuple [ Value.UnicodeChar 527; Value.Integer IntegerKind.U32 526 ]; + Value.Tuple [ Value.UnicodeChar 529; Value.Integer IntegerKind.U32 528 ]; + Value.Tuple [ Value.UnicodeChar 531; Value.Integer IntegerKind.U32 530 ]; + Value.Tuple [ Value.UnicodeChar 533; Value.Integer IntegerKind.U32 532 ]; + Value.Tuple [ Value.UnicodeChar 535; Value.Integer IntegerKind.U32 534 ]; + Value.Tuple [ Value.UnicodeChar 537; Value.Integer IntegerKind.U32 536 ]; + Value.Tuple [ Value.UnicodeChar 539; Value.Integer IntegerKind.U32 538 ]; + Value.Tuple [ Value.UnicodeChar 541; Value.Integer IntegerKind.U32 540 ]; + Value.Tuple [ Value.UnicodeChar 543; Value.Integer IntegerKind.U32 542 ]; + Value.Tuple [ Value.UnicodeChar 547; Value.Integer IntegerKind.U32 546 ]; + Value.Tuple [ Value.UnicodeChar 549; Value.Integer IntegerKind.U32 548 ]; + Value.Tuple [ Value.UnicodeChar 551; Value.Integer IntegerKind.U32 550 ]; + Value.Tuple [ Value.UnicodeChar 553; Value.Integer IntegerKind.U32 552 ]; + Value.Tuple [ Value.UnicodeChar 555; Value.Integer IntegerKind.U32 554 ]; + Value.Tuple [ Value.UnicodeChar 557; Value.Integer IntegerKind.U32 556 ]; + Value.Tuple [ Value.UnicodeChar 559; Value.Integer IntegerKind.U32 558 ]; + Value.Tuple [ Value.UnicodeChar 561; Value.Integer IntegerKind.U32 560 ]; + Value.Tuple [ Value.UnicodeChar 563; Value.Integer IntegerKind.U32 562 ]; + Value.Tuple [ Value.UnicodeChar 572; Value.Integer IntegerKind.U32 571 ]; + Value.Tuple [ Value.UnicodeChar 575; Value.Integer IntegerKind.U32 11390 ]; + Value.Tuple [ Value.UnicodeChar 576; Value.Integer IntegerKind.U32 11391 ]; + Value.Tuple [ Value.UnicodeChar 578; Value.Integer IntegerKind.U32 577 ]; + Value.Tuple [ Value.UnicodeChar 583; Value.Integer IntegerKind.U32 582 ]; + Value.Tuple [ Value.UnicodeChar 585; Value.Integer IntegerKind.U32 584 ]; + Value.Tuple [ Value.UnicodeChar 587; Value.Integer IntegerKind.U32 586 ]; + Value.Tuple [ Value.UnicodeChar 589; Value.Integer IntegerKind.U32 588 ]; + Value.Tuple [ Value.UnicodeChar 591; Value.Integer IntegerKind.U32 590 ]; + Value.Tuple [ Value.UnicodeChar 592; Value.Integer IntegerKind.U32 11375 ]; + Value.Tuple [ Value.UnicodeChar 593; Value.Integer IntegerKind.U32 11373 ]; + Value.Tuple [ Value.UnicodeChar 594; Value.Integer IntegerKind.U32 11376 ]; + Value.Tuple [ Value.UnicodeChar 595; Value.Integer IntegerKind.U32 385 ]; + Value.Tuple [ Value.UnicodeChar 596; Value.Integer IntegerKind.U32 390 ]; + Value.Tuple [ Value.UnicodeChar 598; Value.Integer IntegerKind.U32 393 ]; + Value.Tuple [ Value.UnicodeChar 599; Value.Integer IntegerKind.U32 394 ]; + Value.Tuple [ Value.UnicodeChar 601; Value.Integer IntegerKind.U32 399 ]; + Value.Tuple [ Value.UnicodeChar 603; Value.Integer IntegerKind.U32 400 ]; + Value.Tuple [ Value.UnicodeChar 604; Value.Integer IntegerKind.U32 42923 ]; + Value.Tuple [ Value.UnicodeChar 608; Value.Integer IntegerKind.U32 403 ]; + Value.Tuple [ Value.UnicodeChar 609; Value.Integer IntegerKind.U32 42924 ]; + Value.Tuple [ Value.UnicodeChar 611; Value.Integer IntegerKind.U32 404 ]; + Value.Tuple [ Value.UnicodeChar 613; Value.Integer IntegerKind.U32 42893 ]; + Value.Tuple [ Value.UnicodeChar 614; Value.Integer IntegerKind.U32 42922 ]; + Value.Tuple [ Value.UnicodeChar 616; Value.Integer IntegerKind.U32 407 ]; + Value.Tuple [ Value.UnicodeChar 617; Value.Integer IntegerKind.U32 406 ]; + Value.Tuple [ Value.UnicodeChar 618; Value.Integer IntegerKind.U32 42926 ]; + Value.Tuple [ Value.UnicodeChar 619; Value.Integer IntegerKind.U32 11362 ]; + Value.Tuple [ Value.UnicodeChar 620; Value.Integer IntegerKind.U32 42925 ]; + Value.Tuple [ Value.UnicodeChar 623; Value.Integer IntegerKind.U32 412 ]; + Value.Tuple [ Value.UnicodeChar 625; Value.Integer IntegerKind.U32 11374 ]; + Value.Tuple [ Value.UnicodeChar 626; Value.Integer IntegerKind.U32 413 ]; + Value.Tuple [ Value.UnicodeChar 629; Value.Integer IntegerKind.U32 415 ]; + Value.Tuple [ Value.UnicodeChar 637; Value.Integer IntegerKind.U32 11364 ]; + Value.Tuple [ Value.UnicodeChar 640; Value.Integer IntegerKind.U32 422 ]; + Value.Tuple [ Value.UnicodeChar 642; Value.Integer IntegerKind.U32 42949 ]; + Value.Tuple [ Value.UnicodeChar 643; Value.Integer IntegerKind.U32 425 ]; + Value.Tuple [ Value.UnicodeChar 647; Value.Integer IntegerKind.U32 42929 ]; + Value.Tuple [ Value.UnicodeChar 648; Value.Integer IntegerKind.U32 430 ]; + Value.Tuple [ Value.UnicodeChar 649; Value.Integer IntegerKind.U32 580 ]; + Value.Tuple [ Value.UnicodeChar 650; Value.Integer IntegerKind.U32 433 ]; + Value.Tuple [ Value.UnicodeChar 651; Value.Integer IntegerKind.U32 434 ]; + Value.Tuple [ Value.UnicodeChar 652; Value.Integer IntegerKind.U32 581 ]; + Value.Tuple [ Value.UnicodeChar 658; Value.Integer IntegerKind.U32 439 ]; + Value.Tuple [ Value.UnicodeChar 669; Value.Integer IntegerKind.U32 42930 ]; + Value.Tuple [ Value.UnicodeChar 670; Value.Integer IntegerKind.U32 42928 ]; + Value.Tuple [ Value.UnicodeChar 837; Value.Integer IntegerKind.U32 921 ]; + Value.Tuple [ Value.UnicodeChar 881; Value.Integer IntegerKind.U32 880 ]; + Value.Tuple [ Value.UnicodeChar 883; Value.Integer IntegerKind.U32 882 ]; + Value.Tuple [ Value.UnicodeChar 887; Value.Integer IntegerKind.U32 886 ]; + Value.Tuple [ Value.UnicodeChar 891; Value.Integer IntegerKind.U32 1021 ]; + Value.Tuple [ Value.UnicodeChar 892; Value.Integer IntegerKind.U32 1022 ]; + Value.Tuple [ Value.UnicodeChar 893; Value.Integer IntegerKind.U32 1023 ]; + Value.Tuple + [ Value.UnicodeChar 912; Value.Integer IntegerKind.U32 4194307 ]; + Value.Tuple [ Value.UnicodeChar 940; Value.Integer IntegerKind.U32 902 ]; + Value.Tuple [ Value.UnicodeChar 941; Value.Integer IntegerKind.U32 904 ]; + Value.Tuple [ Value.UnicodeChar 942; Value.Integer IntegerKind.U32 905 ]; + Value.Tuple [ Value.UnicodeChar 943; Value.Integer IntegerKind.U32 906 ]; + Value.Tuple + [ Value.UnicodeChar 944; Value.Integer IntegerKind.U32 4194308 ]; + Value.Tuple [ Value.UnicodeChar 945; Value.Integer IntegerKind.U32 913 ]; + Value.Tuple [ Value.UnicodeChar 946; Value.Integer IntegerKind.U32 914 ]; + Value.Tuple [ Value.UnicodeChar 947; Value.Integer IntegerKind.U32 915 ]; + Value.Tuple [ Value.UnicodeChar 948; Value.Integer IntegerKind.U32 916 ]; + Value.Tuple [ Value.UnicodeChar 949; Value.Integer IntegerKind.U32 917 ]; + Value.Tuple [ Value.UnicodeChar 950; Value.Integer IntegerKind.U32 918 ]; + Value.Tuple [ Value.UnicodeChar 951; Value.Integer IntegerKind.U32 919 ]; + Value.Tuple [ Value.UnicodeChar 952; Value.Integer IntegerKind.U32 920 ]; + Value.Tuple [ Value.UnicodeChar 953; Value.Integer IntegerKind.U32 921 ]; + Value.Tuple [ Value.UnicodeChar 954; Value.Integer IntegerKind.U32 922 ]; + Value.Tuple [ Value.UnicodeChar 955; Value.Integer IntegerKind.U32 923 ]; + Value.Tuple [ Value.UnicodeChar 956; Value.Integer IntegerKind.U32 924 ]; + Value.Tuple [ Value.UnicodeChar 957; Value.Integer IntegerKind.U32 925 ]; + Value.Tuple [ Value.UnicodeChar 958; Value.Integer IntegerKind.U32 926 ]; + Value.Tuple [ Value.UnicodeChar 959; Value.Integer IntegerKind.U32 927 ]; + Value.Tuple [ Value.UnicodeChar 960; Value.Integer IntegerKind.U32 928 ]; + Value.Tuple [ Value.UnicodeChar 961; Value.Integer IntegerKind.U32 929 ]; + Value.Tuple [ Value.UnicodeChar 962; Value.Integer IntegerKind.U32 931 ]; + Value.Tuple [ Value.UnicodeChar 963; Value.Integer IntegerKind.U32 931 ]; + Value.Tuple [ Value.UnicodeChar 964; Value.Integer IntegerKind.U32 932 ]; + Value.Tuple [ Value.UnicodeChar 965; Value.Integer IntegerKind.U32 933 ]; + Value.Tuple [ Value.UnicodeChar 966; Value.Integer IntegerKind.U32 934 ]; + Value.Tuple [ Value.UnicodeChar 967; Value.Integer IntegerKind.U32 935 ]; + Value.Tuple [ Value.UnicodeChar 968; Value.Integer IntegerKind.U32 936 ]; + Value.Tuple [ Value.UnicodeChar 969; Value.Integer IntegerKind.U32 937 ]; + Value.Tuple [ Value.UnicodeChar 970; Value.Integer IntegerKind.U32 938 ]; + Value.Tuple [ Value.UnicodeChar 971; Value.Integer IntegerKind.U32 939 ]; + Value.Tuple [ Value.UnicodeChar 972; Value.Integer IntegerKind.U32 908 ]; + Value.Tuple [ Value.UnicodeChar 973; Value.Integer IntegerKind.U32 910 ]; + Value.Tuple [ Value.UnicodeChar 974; Value.Integer IntegerKind.U32 911 ]; + Value.Tuple [ Value.UnicodeChar 976; Value.Integer IntegerKind.U32 914 ]; + Value.Tuple [ Value.UnicodeChar 977; Value.Integer IntegerKind.U32 920 ]; + Value.Tuple [ Value.UnicodeChar 981; Value.Integer IntegerKind.U32 934 ]; + Value.Tuple [ Value.UnicodeChar 982; Value.Integer IntegerKind.U32 928 ]; + Value.Tuple [ Value.UnicodeChar 983; Value.Integer IntegerKind.U32 975 ]; + Value.Tuple [ Value.UnicodeChar 985; Value.Integer IntegerKind.U32 984 ]; + Value.Tuple [ Value.UnicodeChar 987; Value.Integer IntegerKind.U32 986 ]; + Value.Tuple [ Value.UnicodeChar 989; Value.Integer IntegerKind.U32 988 ]; + Value.Tuple [ Value.UnicodeChar 991; Value.Integer IntegerKind.U32 990 ]; + Value.Tuple [ Value.UnicodeChar 993; Value.Integer IntegerKind.U32 992 ]; + Value.Tuple [ Value.UnicodeChar 995; Value.Integer IntegerKind.U32 994 ]; + Value.Tuple [ Value.UnicodeChar 997; Value.Integer IntegerKind.U32 996 ]; + Value.Tuple [ Value.UnicodeChar 999; Value.Integer IntegerKind.U32 998 ]; + Value.Tuple [ Value.UnicodeChar 1001; Value.Integer IntegerKind.U32 1000 ]; + Value.Tuple [ Value.UnicodeChar 1003; Value.Integer IntegerKind.U32 1002 ]; + Value.Tuple [ Value.UnicodeChar 1005; Value.Integer IntegerKind.U32 1004 ]; + Value.Tuple [ Value.UnicodeChar 1007; Value.Integer IntegerKind.U32 1006 ]; + Value.Tuple [ Value.UnicodeChar 1008; Value.Integer IntegerKind.U32 922 ]; + Value.Tuple [ Value.UnicodeChar 1009; Value.Integer IntegerKind.U32 929 ]; + Value.Tuple [ Value.UnicodeChar 1010; Value.Integer IntegerKind.U32 1017 ]; + Value.Tuple [ Value.UnicodeChar 1011; Value.Integer IntegerKind.U32 895 ]; + Value.Tuple [ Value.UnicodeChar 1013; Value.Integer IntegerKind.U32 917 ]; + Value.Tuple [ Value.UnicodeChar 1016; Value.Integer IntegerKind.U32 1015 ]; + Value.Tuple [ Value.UnicodeChar 1019; Value.Integer IntegerKind.U32 1018 ]; + Value.Tuple [ Value.UnicodeChar 1072; Value.Integer IntegerKind.U32 1040 ]; + Value.Tuple [ Value.UnicodeChar 1073; Value.Integer IntegerKind.U32 1041 ]; + Value.Tuple [ Value.UnicodeChar 1074; Value.Integer IntegerKind.U32 1042 ]; + Value.Tuple [ Value.UnicodeChar 1075; Value.Integer IntegerKind.U32 1043 ]; + Value.Tuple [ Value.UnicodeChar 1076; Value.Integer IntegerKind.U32 1044 ]; + Value.Tuple [ Value.UnicodeChar 1077; Value.Integer IntegerKind.U32 1045 ]; + Value.Tuple [ Value.UnicodeChar 1078; Value.Integer IntegerKind.U32 1046 ]; + Value.Tuple [ Value.UnicodeChar 1079; Value.Integer IntegerKind.U32 1047 ]; + Value.Tuple [ Value.UnicodeChar 1080; Value.Integer IntegerKind.U32 1048 ]; + Value.Tuple [ Value.UnicodeChar 1081; Value.Integer IntegerKind.U32 1049 ]; + Value.Tuple [ Value.UnicodeChar 1082; Value.Integer IntegerKind.U32 1050 ]; + Value.Tuple [ Value.UnicodeChar 1083; Value.Integer IntegerKind.U32 1051 ]; + Value.Tuple [ Value.UnicodeChar 1084; Value.Integer IntegerKind.U32 1052 ]; + Value.Tuple [ Value.UnicodeChar 1085; Value.Integer IntegerKind.U32 1053 ]; + Value.Tuple [ Value.UnicodeChar 1086; Value.Integer IntegerKind.U32 1054 ]; + Value.Tuple [ Value.UnicodeChar 1087; Value.Integer IntegerKind.U32 1055 ]; + Value.Tuple [ Value.UnicodeChar 1088; Value.Integer IntegerKind.U32 1056 ]; + Value.Tuple [ Value.UnicodeChar 1089; Value.Integer IntegerKind.U32 1057 ]; + Value.Tuple [ Value.UnicodeChar 1090; Value.Integer IntegerKind.U32 1058 ]; + Value.Tuple [ Value.UnicodeChar 1091; Value.Integer IntegerKind.U32 1059 ]; + Value.Tuple [ Value.UnicodeChar 1092; Value.Integer IntegerKind.U32 1060 ]; + Value.Tuple [ Value.UnicodeChar 1093; Value.Integer IntegerKind.U32 1061 ]; + Value.Tuple [ Value.UnicodeChar 1094; Value.Integer IntegerKind.U32 1062 ]; + Value.Tuple [ Value.UnicodeChar 1095; Value.Integer IntegerKind.U32 1063 ]; + Value.Tuple [ Value.UnicodeChar 1096; Value.Integer IntegerKind.U32 1064 ]; + Value.Tuple [ Value.UnicodeChar 1097; Value.Integer IntegerKind.U32 1065 ]; + Value.Tuple [ Value.UnicodeChar 1098; Value.Integer IntegerKind.U32 1066 ]; + Value.Tuple [ Value.UnicodeChar 1099; Value.Integer IntegerKind.U32 1067 ]; + Value.Tuple [ Value.UnicodeChar 1100; Value.Integer IntegerKind.U32 1068 ]; + Value.Tuple [ Value.UnicodeChar 1101; Value.Integer IntegerKind.U32 1069 ]; + Value.Tuple [ Value.UnicodeChar 1102; Value.Integer IntegerKind.U32 1070 ]; + Value.Tuple [ Value.UnicodeChar 1103; Value.Integer IntegerKind.U32 1071 ]; + Value.Tuple [ Value.UnicodeChar 1104; Value.Integer IntegerKind.U32 1024 ]; + Value.Tuple [ Value.UnicodeChar 1105; Value.Integer IntegerKind.U32 1025 ]; + Value.Tuple [ Value.UnicodeChar 1106; Value.Integer IntegerKind.U32 1026 ]; + Value.Tuple [ Value.UnicodeChar 1107; Value.Integer IntegerKind.U32 1027 ]; + Value.Tuple [ Value.UnicodeChar 1108; Value.Integer IntegerKind.U32 1028 ]; + Value.Tuple [ Value.UnicodeChar 1109; Value.Integer IntegerKind.U32 1029 ]; + Value.Tuple [ Value.UnicodeChar 1110; Value.Integer IntegerKind.U32 1030 ]; + Value.Tuple [ Value.UnicodeChar 1111; Value.Integer IntegerKind.U32 1031 ]; + Value.Tuple [ Value.UnicodeChar 1112; Value.Integer IntegerKind.U32 1032 ]; + Value.Tuple [ Value.UnicodeChar 1113; Value.Integer IntegerKind.U32 1033 ]; + Value.Tuple [ Value.UnicodeChar 1114; Value.Integer IntegerKind.U32 1034 ]; + Value.Tuple [ Value.UnicodeChar 1115; Value.Integer IntegerKind.U32 1035 ]; + Value.Tuple [ Value.UnicodeChar 1116; Value.Integer IntegerKind.U32 1036 ]; + Value.Tuple [ Value.UnicodeChar 1117; Value.Integer IntegerKind.U32 1037 ]; + Value.Tuple [ Value.UnicodeChar 1118; Value.Integer IntegerKind.U32 1038 ]; + Value.Tuple [ Value.UnicodeChar 1119; Value.Integer IntegerKind.U32 1039 ]; + Value.Tuple [ Value.UnicodeChar 1121; Value.Integer IntegerKind.U32 1120 ]; + Value.Tuple [ Value.UnicodeChar 1123; Value.Integer IntegerKind.U32 1122 ]; + Value.Tuple [ Value.UnicodeChar 1125; Value.Integer IntegerKind.U32 1124 ]; + Value.Tuple [ Value.UnicodeChar 1127; Value.Integer IntegerKind.U32 1126 ]; + Value.Tuple [ Value.UnicodeChar 1129; Value.Integer IntegerKind.U32 1128 ]; + Value.Tuple [ Value.UnicodeChar 1131; Value.Integer IntegerKind.U32 1130 ]; + Value.Tuple [ Value.UnicodeChar 1133; Value.Integer IntegerKind.U32 1132 ]; + Value.Tuple [ Value.UnicodeChar 1135; Value.Integer IntegerKind.U32 1134 ]; + Value.Tuple [ Value.UnicodeChar 1137; Value.Integer IntegerKind.U32 1136 ]; + Value.Tuple [ Value.UnicodeChar 1139; Value.Integer IntegerKind.U32 1138 ]; + Value.Tuple [ Value.UnicodeChar 1141; Value.Integer IntegerKind.U32 1140 ]; + Value.Tuple [ Value.UnicodeChar 1143; Value.Integer IntegerKind.U32 1142 ]; + Value.Tuple [ Value.UnicodeChar 1145; Value.Integer IntegerKind.U32 1144 ]; + Value.Tuple [ Value.UnicodeChar 1147; Value.Integer IntegerKind.U32 1146 ]; + Value.Tuple [ Value.UnicodeChar 1149; Value.Integer IntegerKind.U32 1148 ]; + Value.Tuple [ Value.UnicodeChar 1151; Value.Integer IntegerKind.U32 1150 ]; + Value.Tuple [ Value.UnicodeChar 1153; Value.Integer IntegerKind.U32 1152 ]; + Value.Tuple [ Value.UnicodeChar 1163; Value.Integer IntegerKind.U32 1162 ]; + Value.Tuple [ Value.UnicodeChar 1165; Value.Integer IntegerKind.U32 1164 ]; + Value.Tuple [ Value.UnicodeChar 1167; Value.Integer IntegerKind.U32 1166 ]; + Value.Tuple [ Value.UnicodeChar 1169; Value.Integer IntegerKind.U32 1168 ]; + Value.Tuple [ Value.UnicodeChar 1171; Value.Integer IntegerKind.U32 1170 ]; + Value.Tuple [ Value.UnicodeChar 1173; Value.Integer IntegerKind.U32 1172 ]; + Value.Tuple [ Value.UnicodeChar 1175; Value.Integer IntegerKind.U32 1174 ]; + Value.Tuple [ Value.UnicodeChar 1177; Value.Integer IntegerKind.U32 1176 ]; + Value.Tuple [ Value.UnicodeChar 1179; Value.Integer IntegerKind.U32 1178 ]; + Value.Tuple [ Value.UnicodeChar 1181; Value.Integer IntegerKind.U32 1180 ]; + Value.Tuple [ Value.UnicodeChar 1183; Value.Integer IntegerKind.U32 1182 ]; + Value.Tuple [ Value.UnicodeChar 1185; Value.Integer IntegerKind.U32 1184 ]; + Value.Tuple [ Value.UnicodeChar 1187; Value.Integer IntegerKind.U32 1186 ]; + Value.Tuple [ Value.UnicodeChar 1189; Value.Integer IntegerKind.U32 1188 ]; + Value.Tuple [ Value.UnicodeChar 1191; Value.Integer IntegerKind.U32 1190 ]; + Value.Tuple [ Value.UnicodeChar 1193; Value.Integer IntegerKind.U32 1192 ]; + Value.Tuple [ Value.UnicodeChar 1195; Value.Integer IntegerKind.U32 1194 ]; + Value.Tuple [ Value.UnicodeChar 1197; Value.Integer IntegerKind.U32 1196 ]; + Value.Tuple [ Value.UnicodeChar 1199; Value.Integer IntegerKind.U32 1198 ]; + Value.Tuple [ Value.UnicodeChar 1201; Value.Integer IntegerKind.U32 1200 ]; + Value.Tuple [ Value.UnicodeChar 1203; Value.Integer IntegerKind.U32 1202 ]; + Value.Tuple [ Value.UnicodeChar 1205; Value.Integer IntegerKind.U32 1204 ]; + Value.Tuple [ Value.UnicodeChar 1207; Value.Integer IntegerKind.U32 1206 ]; + Value.Tuple [ Value.UnicodeChar 1209; Value.Integer IntegerKind.U32 1208 ]; + Value.Tuple [ Value.UnicodeChar 1211; Value.Integer IntegerKind.U32 1210 ]; + Value.Tuple [ Value.UnicodeChar 1213; Value.Integer IntegerKind.U32 1212 ]; + Value.Tuple [ Value.UnicodeChar 1215; Value.Integer IntegerKind.U32 1214 ]; + Value.Tuple [ Value.UnicodeChar 1218; Value.Integer IntegerKind.U32 1217 ]; + Value.Tuple [ Value.UnicodeChar 1220; Value.Integer IntegerKind.U32 1219 ]; + Value.Tuple [ Value.UnicodeChar 1222; Value.Integer IntegerKind.U32 1221 ]; + Value.Tuple [ Value.UnicodeChar 1224; Value.Integer IntegerKind.U32 1223 ]; + Value.Tuple [ Value.UnicodeChar 1226; Value.Integer IntegerKind.U32 1225 ]; + Value.Tuple [ Value.UnicodeChar 1228; Value.Integer IntegerKind.U32 1227 ]; + Value.Tuple [ Value.UnicodeChar 1230; Value.Integer IntegerKind.U32 1229 ]; + Value.Tuple [ Value.UnicodeChar 1231; Value.Integer IntegerKind.U32 1216 ]; + Value.Tuple [ Value.UnicodeChar 1233; Value.Integer IntegerKind.U32 1232 ]; + Value.Tuple [ Value.UnicodeChar 1235; Value.Integer IntegerKind.U32 1234 ]; + Value.Tuple [ Value.UnicodeChar 1237; Value.Integer IntegerKind.U32 1236 ]; + Value.Tuple [ Value.UnicodeChar 1239; Value.Integer IntegerKind.U32 1238 ]; + Value.Tuple [ Value.UnicodeChar 1241; Value.Integer IntegerKind.U32 1240 ]; + Value.Tuple [ Value.UnicodeChar 1243; Value.Integer IntegerKind.U32 1242 ]; + Value.Tuple [ Value.UnicodeChar 1245; Value.Integer IntegerKind.U32 1244 ]; + Value.Tuple [ Value.UnicodeChar 1247; Value.Integer IntegerKind.U32 1246 ]; + Value.Tuple [ Value.UnicodeChar 1249; Value.Integer IntegerKind.U32 1248 ]; + Value.Tuple [ Value.UnicodeChar 1251; Value.Integer IntegerKind.U32 1250 ]; + Value.Tuple [ Value.UnicodeChar 1253; Value.Integer IntegerKind.U32 1252 ]; + Value.Tuple [ Value.UnicodeChar 1255; Value.Integer IntegerKind.U32 1254 ]; + Value.Tuple [ Value.UnicodeChar 1257; Value.Integer IntegerKind.U32 1256 ]; + Value.Tuple [ Value.UnicodeChar 1259; Value.Integer IntegerKind.U32 1258 ]; + Value.Tuple [ Value.UnicodeChar 1261; Value.Integer IntegerKind.U32 1260 ]; + Value.Tuple [ Value.UnicodeChar 1263; Value.Integer IntegerKind.U32 1262 ]; + Value.Tuple [ Value.UnicodeChar 1265; Value.Integer IntegerKind.U32 1264 ]; + Value.Tuple [ Value.UnicodeChar 1267; Value.Integer IntegerKind.U32 1266 ]; + Value.Tuple [ Value.UnicodeChar 1269; Value.Integer IntegerKind.U32 1268 ]; + Value.Tuple [ Value.UnicodeChar 1271; Value.Integer IntegerKind.U32 1270 ]; + Value.Tuple [ Value.UnicodeChar 1273; Value.Integer IntegerKind.U32 1272 ]; + Value.Tuple [ Value.UnicodeChar 1275; Value.Integer IntegerKind.U32 1274 ]; + Value.Tuple [ Value.UnicodeChar 1277; Value.Integer IntegerKind.U32 1276 ]; + Value.Tuple [ Value.UnicodeChar 1279; Value.Integer IntegerKind.U32 1278 ]; + Value.Tuple [ Value.UnicodeChar 1281; Value.Integer IntegerKind.U32 1280 ]; + Value.Tuple [ Value.UnicodeChar 1283; Value.Integer IntegerKind.U32 1282 ]; + Value.Tuple [ Value.UnicodeChar 1285; Value.Integer IntegerKind.U32 1284 ]; + Value.Tuple [ Value.UnicodeChar 1287; Value.Integer IntegerKind.U32 1286 ]; + Value.Tuple [ Value.UnicodeChar 1289; Value.Integer IntegerKind.U32 1288 ]; + Value.Tuple [ Value.UnicodeChar 1291; Value.Integer IntegerKind.U32 1290 ]; + Value.Tuple [ Value.UnicodeChar 1293; Value.Integer IntegerKind.U32 1292 ]; + Value.Tuple [ Value.UnicodeChar 1295; Value.Integer IntegerKind.U32 1294 ]; + Value.Tuple [ Value.UnicodeChar 1297; Value.Integer IntegerKind.U32 1296 ]; + Value.Tuple [ Value.UnicodeChar 1299; Value.Integer IntegerKind.U32 1298 ]; + Value.Tuple [ Value.UnicodeChar 1301; Value.Integer IntegerKind.U32 1300 ]; + Value.Tuple [ Value.UnicodeChar 1303; Value.Integer IntegerKind.U32 1302 ]; + Value.Tuple [ Value.UnicodeChar 1305; Value.Integer IntegerKind.U32 1304 ]; + Value.Tuple [ Value.UnicodeChar 1307; Value.Integer IntegerKind.U32 1306 ]; + Value.Tuple [ Value.UnicodeChar 1309; Value.Integer IntegerKind.U32 1308 ]; + Value.Tuple [ Value.UnicodeChar 1311; Value.Integer IntegerKind.U32 1310 ]; + Value.Tuple [ Value.UnicodeChar 1313; Value.Integer IntegerKind.U32 1312 ]; + Value.Tuple [ Value.UnicodeChar 1315; Value.Integer IntegerKind.U32 1314 ]; + Value.Tuple [ Value.UnicodeChar 1317; Value.Integer IntegerKind.U32 1316 ]; + Value.Tuple [ Value.UnicodeChar 1319; Value.Integer IntegerKind.U32 1318 ]; + Value.Tuple [ Value.UnicodeChar 1321; Value.Integer IntegerKind.U32 1320 ]; + Value.Tuple [ Value.UnicodeChar 1323; Value.Integer IntegerKind.U32 1322 ]; + Value.Tuple [ Value.UnicodeChar 1325; Value.Integer IntegerKind.U32 1324 ]; + Value.Tuple [ Value.UnicodeChar 1327; Value.Integer IntegerKind.U32 1326 ]; + Value.Tuple [ Value.UnicodeChar 1377; Value.Integer IntegerKind.U32 1329 ]; + Value.Tuple [ Value.UnicodeChar 1378; Value.Integer IntegerKind.U32 1330 ]; + Value.Tuple [ Value.UnicodeChar 1379; Value.Integer IntegerKind.U32 1331 ]; + Value.Tuple [ Value.UnicodeChar 1380; Value.Integer IntegerKind.U32 1332 ]; + Value.Tuple [ Value.UnicodeChar 1381; Value.Integer IntegerKind.U32 1333 ]; + Value.Tuple [ Value.UnicodeChar 1382; Value.Integer IntegerKind.U32 1334 ]; + Value.Tuple [ Value.UnicodeChar 1383; Value.Integer IntegerKind.U32 1335 ]; + Value.Tuple [ Value.UnicodeChar 1384; Value.Integer IntegerKind.U32 1336 ]; + Value.Tuple [ Value.UnicodeChar 1385; Value.Integer IntegerKind.U32 1337 ]; + Value.Tuple [ Value.UnicodeChar 1386; Value.Integer IntegerKind.U32 1338 ]; + Value.Tuple [ Value.UnicodeChar 1387; Value.Integer IntegerKind.U32 1339 ]; + Value.Tuple [ Value.UnicodeChar 1388; Value.Integer IntegerKind.U32 1340 ]; + Value.Tuple [ Value.UnicodeChar 1389; Value.Integer IntegerKind.U32 1341 ]; + Value.Tuple [ Value.UnicodeChar 1390; Value.Integer IntegerKind.U32 1342 ]; + Value.Tuple [ Value.UnicodeChar 1391; Value.Integer IntegerKind.U32 1343 ]; + Value.Tuple [ Value.UnicodeChar 1392; Value.Integer IntegerKind.U32 1344 ]; + Value.Tuple [ Value.UnicodeChar 1393; Value.Integer IntegerKind.U32 1345 ]; + Value.Tuple [ Value.UnicodeChar 1394; Value.Integer IntegerKind.U32 1346 ]; + Value.Tuple [ Value.UnicodeChar 1395; Value.Integer IntegerKind.U32 1347 ]; + Value.Tuple [ Value.UnicodeChar 1396; Value.Integer IntegerKind.U32 1348 ]; + Value.Tuple [ Value.UnicodeChar 1397; Value.Integer IntegerKind.U32 1349 ]; + Value.Tuple [ Value.UnicodeChar 1398; Value.Integer IntegerKind.U32 1350 ]; + Value.Tuple [ Value.UnicodeChar 1399; Value.Integer IntegerKind.U32 1351 ]; + Value.Tuple [ Value.UnicodeChar 1400; Value.Integer IntegerKind.U32 1352 ]; + Value.Tuple [ Value.UnicodeChar 1401; Value.Integer IntegerKind.U32 1353 ]; + Value.Tuple [ Value.UnicodeChar 1402; Value.Integer IntegerKind.U32 1354 ]; + Value.Tuple [ Value.UnicodeChar 1403; Value.Integer IntegerKind.U32 1355 ]; + Value.Tuple [ Value.UnicodeChar 1404; Value.Integer IntegerKind.U32 1356 ]; + Value.Tuple [ Value.UnicodeChar 1405; Value.Integer IntegerKind.U32 1357 ]; + Value.Tuple [ Value.UnicodeChar 1406; Value.Integer IntegerKind.U32 1358 ]; + Value.Tuple [ Value.UnicodeChar 1407; Value.Integer IntegerKind.U32 1359 ]; + Value.Tuple [ Value.UnicodeChar 1408; Value.Integer IntegerKind.U32 1360 ]; + Value.Tuple [ Value.UnicodeChar 1409; Value.Integer IntegerKind.U32 1361 ]; + Value.Tuple [ Value.UnicodeChar 1410; Value.Integer IntegerKind.U32 1362 ]; + Value.Tuple [ Value.UnicodeChar 1411; Value.Integer IntegerKind.U32 1363 ]; + Value.Tuple [ Value.UnicodeChar 1412; Value.Integer IntegerKind.U32 1364 ]; + Value.Tuple [ Value.UnicodeChar 1413; Value.Integer IntegerKind.U32 1365 ]; + Value.Tuple [ Value.UnicodeChar 1414; Value.Integer IntegerKind.U32 1366 ]; + Value.Tuple + [ Value.UnicodeChar 1415; Value.Integer IntegerKind.U32 4194309 ]; + Value.Tuple [ Value.UnicodeChar 4304; Value.Integer IntegerKind.U32 7312 ]; + Value.Tuple [ Value.UnicodeChar 4305; Value.Integer IntegerKind.U32 7313 ]; + Value.Tuple [ Value.UnicodeChar 4306; Value.Integer IntegerKind.U32 7314 ]; + Value.Tuple [ Value.UnicodeChar 4307; Value.Integer IntegerKind.U32 7315 ]; + Value.Tuple [ Value.UnicodeChar 4308; Value.Integer IntegerKind.U32 7316 ]; + Value.Tuple [ Value.UnicodeChar 4309; Value.Integer IntegerKind.U32 7317 ]; + Value.Tuple [ Value.UnicodeChar 4310; Value.Integer IntegerKind.U32 7318 ]; + Value.Tuple [ Value.UnicodeChar 4311; Value.Integer IntegerKind.U32 7319 ]; + Value.Tuple [ Value.UnicodeChar 4312; Value.Integer IntegerKind.U32 7320 ]; + Value.Tuple [ Value.UnicodeChar 4313; Value.Integer IntegerKind.U32 7321 ]; + Value.Tuple [ Value.UnicodeChar 4314; Value.Integer IntegerKind.U32 7322 ]; + Value.Tuple [ Value.UnicodeChar 4315; Value.Integer IntegerKind.U32 7323 ]; + Value.Tuple [ Value.UnicodeChar 4316; Value.Integer IntegerKind.U32 7324 ]; + Value.Tuple [ Value.UnicodeChar 4317; Value.Integer IntegerKind.U32 7325 ]; + Value.Tuple [ Value.UnicodeChar 4318; Value.Integer IntegerKind.U32 7326 ]; + Value.Tuple [ Value.UnicodeChar 4319; Value.Integer IntegerKind.U32 7327 ]; + Value.Tuple [ Value.UnicodeChar 4320; Value.Integer IntegerKind.U32 7328 ]; + Value.Tuple [ Value.UnicodeChar 4321; Value.Integer IntegerKind.U32 7329 ]; + Value.Tuple [ Value.UnicodeChar 4322; Value.Integer IntegerKind.U32 7330 ]; + Value.Tuple [ Value.UnicodeChar 4323; Value.Integer IntegerKind.U32 7331 ]; + Value.Tuple [ Value.UnicodeChar 4324; Value.Integer IntegerKind.U32 7332 ]; + Value.Tuple [ Value.UnicodeChar 4325; Value.Integer IntegerKind.U32 7333 ]; + Value.Tuple [ Value.UnicodeChar 4326; Value.Integer IntegerKind.U32 7334 ]; + Value.Tuple [ Value.UnicodeChar 4327; Value.Integer IntegerKind.U32 7335 ]; + Value.Tuple [ Value.UnicodeChar 4328; Value.Integer IntegerKind.U32 7336 ]; + Value.Tuple [ Value.UnicodeChar 4329; Value.Integer IntegerKind.U32 7337 ]; + Value.Tuple [ Value.UnicodeChar 4330; Value.Integer IntegerKind.U32 7338 ]; + Value.Tuple [ Value.UnicodeChar 4331; Value.Integer IntegerKind.U32 7339 ]; + Value.Tuple [ Value.UnicodeChar 4332; Value.Integer IntegerKind.U32 7340 ]; + Value.Tuple [ Value.UnicodeChar 4333; Value.Integer IntegerKind.U32 7341 ]; + Value.Tuple [ Value.UnicodeChar 4334; Value.Integer IntegerKind.U32 7342 ]; + Value.Tuple [ Value.UnicodeChar 4335; Value.Integer IntegerKind.U32 7343 ]; + Value.Tuple [ Value.UnicodeChar 4336; Value.Integer IntegerKind.U32 7344 ]; + Value.Tuple [ Value.UnicodeChar 4337; Value.Integer IntegerKind.U32 7345 ]; + Value.Tuple [ Value.UnicodeChar 4338; Value.Integer IntegerKind.U32 7346 ]; + Value.Tuple [ Value.UnicodeChar 4339; Value.Integer IntegerKind.U32 7347 ]; + Value.Tuple [ Value.UnicodeChar 4340; Value.Integer IntegerKind.U32 7348 ]; + Value.Tuple [ Value.UnicodeChar 4341; Value.Integer IntegerKind.U32 7349 ]; + Value.Tuple [ Value.UnicodeChar 4342; Value.Integer IntegerKind.U32 7350 ]; + Value.Tuple [ Value.UnicodeChar 4343; Value.Integer IntegerKind.U32 7351 ]; + Value.Tuple [ Value.UnicodeChar 4344; Value.Integer IntegerKind.U32 7352 ]; + Value.Tuple [ Value.UnicodeChar 4345; Value.Integer IntegerKind.U32 7353 ]; + Value.Tuple [ Value.UnicodeChar 4346; Value.Integer IntegerKind.U32 7354 ]; + Value.Tuple [ Value.UnicodeChar 4349; Value.Integer IntegerKind.U32 7357 ]; + Value.Tuple [ Value.UnicodeChar 4350; Value.Integer IntegerKind.U32 7358 ]; + Value.Tuple [ Value.UnicodeChar 4351; Value.Integer IntegerKind.U32 7359 ]; + Value.Tuple [ Value.UnicodeChar 5112; Value.Integer IntegerKind.U32 5104 ]; + Value.Tuple [ Value.UnicodeChar 5113; Value.Integer IntegerKind.U32 5105 ]; + Value.Tuple [ Value.UnicodeChar 5114; Value.Integer IntegerKind.U32 5106 ]; + Value.Tuple [ Value.UnicodeChar 5115; Value.Integer IntegerKind.U32 5107 ]; + Value.Tuple [ Value.UnicodeChar 5116; Value.Integer IntegerKind.U32 5108 ]; + Value.Tuple [ Value.UnicodeChar 5117; Value.Integer IntegerKind.U32 5109 ]; + Value.Tuple [ Value.UnicodeChar 7296; Value.Integer IntegerKind.U32 1042 ]; + Value.Tuple [ Value.UnicodeChar 7297; Value.Integer IntegerKind.U32 1044 ]; + Value.Tuple [ Value.UnicodeChar 7298; Value.Integer IntegerKind.U32 1054 ]; + Value.Tuple [ Value.UnicodeChar 7299; Value.Integer IntegerKind.U32 1057 ]; + Value.Tuple [ Value.UnicodeChar 7300; Value.Integer IntegerKind.U32 1058 ]; + Value.Tuple [ Value.UnicodeChar 7301; Value.Integer IntegerKind.U32 1058 ]; + Value.Tuple [ Value.UnicodeChar 7302; Value.Integer IntegerKind.U32 1066 ]; + Value.Tuple [ Value.UnicodeChar 7303; Value.Integer IntegerKind.U32 1122 ]; + Value.Tuple [ Value.UnicodeChar 7304; Value.Integer IntegerKind.U32 42570 ]; + Value.Tuple [ Value.UnicodeChar 7545; Value.Integer IntegerKind.U32 42877 ]; + Value.Tuple [ Value.UnicodeChar 7549; Value.Integer IntegerKind.U32 11363 ]; + Value.Tuple [ Value.UnicodeChar 7566; Value.Integer IntegerKind.U32 42950 ]; + Value.Tuple [ Value.UnicodeChar 7681; Value.Integer IntegerKind.U32 7680 ]; + Value.Tuple [ Value.UnicodeChar 7683; Value.Integer IntegerKind.U32 7682 ]; + Value.Tuple [ Value.UnicodeChar 7685; Value.Integer IntegerKind.U32 7684 ]; + Value.Tuple [ Value.UnicodeChar 7687; Value.Integer IntegerKind.U32 7686 ]; + Value.Tuple [ Value.UnicodeChar 7689; Value.Integer IntegerKind.U32 7688 ]; + Value.Tuple [ Value.UnicodeChar 7691; Value.Integer IntegerKind.U32 7690 ]; + Value.Tuple [ Value.UnicodeChar 7693; Value.Integer IntegerKind.U32 7692 ]; + Value.Tuple [ Value.UnicodeChar 7695; Value.Integer IntegerKind.U32 7694 ]; + Value.Tuple [ Value.UnicodeChar 7697; Value.Integer IntegerKind.U32 7696 ]; + Value.Tuple [ Value.UnicodeChar 7699; Value.Integer IntegerKind.U32 7698 ]; + Value.Tuple [ Value.UnicodeChar 7701; Value.Integer IntegerKind.U32 7700 ]; + Value.Tuple [ Value.UnicodeChar 7703; Value.Integer IntegerKind.U32 7702 ]; + Value.Tuple [ Value.UnicodeChar 7705; Value.Integer IntegerKind.U32 7704 ]; + Value.Tuple [ Value.UnicodeChar 7707; Value.Integer IntegerKind.U32 7706 ]; + Value.Tuple [ Value.UnicodeChar 7709; Value.Integer IntegerKind.U32 7708 ]; + Value.Tuple [ Value.UnicodeChar 7711; Value.Integer IntegerKind.U32 7710 ]; + Value.Tuple [ Value.UnicodeChar 7713; Value.Integer IntegerKind.U32 7712 ]; + Value.Tuple [ Value.UnicodeChar 7715; Value.Integer IntegerKind.U32 7714 ]; + Value.Tuple [ Value.UnicodeChar 7717; Value.Integer IntegerKind.U32 7716 ]; + Value.Tuple [ Value.UnicodeChar 7719; Value.Integer IntegerKind.U32 7718 ]; + Value.Tuple [ Value.UnicodeChar 7721; Value.Integer IntegerKind.U32 7720 ]; + Value.Tuple [ Value.UnicodeChar 7723; Value.Integer IntegerKind.U32 7722 ]; + Value.Tuple [ Value.UnicodeChar 7725; Value.Integer IntegerKind.U32 7724 ]; + Value.Tuple [ Value.UnicodeChar 7727; Value.Integer IntegerKind.U32 7726 ]; + Value.Tuple [ Value.UnicodeChar 7729; Value.Integer IntegerKind.U32 7728 ]; + Value.Tuple [ Value.UnicodeChar 7731; Value.Integer IntegerKind.U32 7730 ]; + Value.Tuple [ Value.UnicodeChar 7733; Value.Integer IntegerKind.U32 7732 ]; + Value.Tuple [ Value.UnicodeChar 7735; Value.Integer IntegerKind.U32 7734 ]; + Value.Tuple [ Value.UnicodeChar 7737; Value.Integer IntegerKind.U32 7736 ]; + Value.Tuple [ Value.UnicodeChar 7739; Value.Integer IntegerKind.U32 7738 ]; + Value.Tuple [ Value.UnicodeChar 7741; Value.Integer IntegerKind.U32 7740 ]; + Value.Tuple [ Value.UnicodeChar 7743; Value.Integer IntegerKind.U32 7742 ]; + Value.Tuple [ Value.UnicodeChar 7745; Value.Integer IntegerKind.U32 7744 ]; + Value.Tuple [ Value.UnicodeChar 7747; Value.Integer IntegerKind.U32 7746 ]; + Value.Tuple [ Value.UnicodeChar 7749; Value.Integer IntegerKind.U32 7748 ]; + Value.Tuple [ Value.UnicodeChar 7751; Value.Integer IntegerKind.U32 7750 ]; + Value.Tuple [ Value.UnicodeChar 7753; Value.Integer IntegerKind.U32 7752 ]; + Value.Tuple [ Value.UnicodeChar 7755; Value.Integer IntegerKind.U32 7754 ]; + Value.Tuple [ Value.UnicodeChar 7757; Value.Integer IntegerKind.U32 7756 ]; + Value.Tuple [ Value.UnicodeChar 7759; Value.Integer IntegerKind.U32 7758 ]; + Value.Tuple [ Value.UnicodeChar 7761; Value.Integer IntegerKind.U32 7760 ]; + Value.Tuple [ Value.UnicodeChar 7763; Value.Integer IntegerKind.U32 7762 ]; + Value.Tuple [ Value.UnicodeChar 7765; Value.Integer IntegerKind.U32 7764 ]; + Value.Tuple [ Value.UnicodeChar 7767; Value.Integer IntegerKind.U32 7766 ]; + Value.Tuple [ Value.UnicodeChar 7769; Value.Integer IntegerKind.U32 7768 ]; + Value.Tuple [ Value.UnicodeChar 7771; Value.Integer IntegerKind.U32 7770 ]; + Value.Tuple [ Value.UnicodeChar 7773; Value.Integer IntegerKind.U32 7772 ]; + Value.Tuple [ Value.UnicodeChar 7775; Value.Integer IntegerKind.U32 7774 ]; + Value.Tuple [ Value.UnicodeChar 7777; Value.Integer IntegerKind.U32 7776 ]; + Value.Tuple [ Value.UnicodeChar 7779; Value.Integer IntegerKind.U32 7778 ]; + Value.Tuple [ Value.UnicodeChar 7781; Value.Integer IntegerKind.U32 7780 ]; + Value.Tuple [ Value.UnicodeChar 7783; Value.Integer IntegerKind.U32 7782 ]; + Value.Tuple [ Value.UnicodeChar 7785; Value.Integer IntegerKind.U32 7784 ]; + Value.Tuple [ Value.UnicodeChar 7787; Value.Integer IntegerKind.U32 7786 ]; + Value.Tuple [ Value.UnicodeChar 7789; Value.Integer IntegerKind.U32 7788 ]; + Value.Tuple [ Value.UnicodeChar 7791; Value.Integer IntegerKind.U32 7790 ]; + Value.Tuple [ Value.UnicodeChar 7793; Value.Integer IntegerKind.U32 7792 ]; + Value.Tuple [ Value.UnicodeChar 7795; Value.Integer IntegerKind.U32 7794 ]; + Value.Tuple [ Value.UnicodeChar 7797; Value.Integer IntegerKind.U32 7796 ]; + Value.Tuple [ Value.UnicodeChar 7799; Value.Integer IntegerKind.U32 7798 ]; + Value.Tuple [ Value.UnicodeChar 7801; Value.Integer IntegerKind.U32 7800 ]; + Value.Tuple [ Value.UnicodeChar 7803; Value.Integer IntegerKind.U32 7802 ]; + Value.Tuple [ Value.UnicodeChar 7805; Value.Integer IntegerKind.U32 7804 ]; + Value.Tuple [ Value.UnicodeChar 7807; Value.Integer IntegerKind.U32 7806 ]; + Value.Tuple [ Value.UnicodeChar 7809; Value.Integer IntegerKind.U32 7808 ]; + Value.Tuple [ Value.UnicodeChar 7811; Value.Integer IntegerKind.U32 7810 ]; + Value.Tuple [ Value.UnicodeChar 7813; Value.Integer IntegerKind.U32 7812 ]; + Value.Tuple [ Value.UnicodeChar 7815; Value.Integer IntegerKind.U32 7814 ]; + Value.Tuple [ Value.UnicodeChar 7817; Value.Integer IntegerKind.U32 7816 ]; + Value.Tuple [ Value.UnicodeChar 7819; Value.Integer IntegerKind.U32 7818 ]; + Value.Tuple [ Value.UnicodeChar 7821; Value.Integer IntegerKind.U32 7820 ]; + Value.Tuple [ Value.UnicodeChar 7823; Value.Integer IntegerKind.U32 7822 ]; + Value.Tuple [ Value.UnicodeChar 7825; Value.Integer IntegerKind.U32 7824 ]; + Value.Tuple [ Value.UnicodeChar 7827; Value.Integer IntegerKind.U32 7826 ]; + Value.Tuple [ Value.UnicodeChar 7829; Value.Integer IntegerKind.U32 7828 ]; + Value.Tuple + [ Value.UnicodeChar 7830; Value.Integer IntegerKind.U32 4194310 ]; + Value.Tuple + [ Value.UnicodeChar 7831; Value.Integer IntegerKind.U32 4194311 ]; + Value.Tuple + [ Value.UnicodeChar 7832; Value.Integer IntegerKind.U32 4194312 ]; + Value.Tuple + [ Value.UnicodeChar 7833; Value.Integer IntegerKind.U32 4194313 ]; + Value.Tuple + [ Value.UnicodeChar 7834; Value.Integer IntegerKind.U32 4194314 ]; + Value.Tuple [ Value.UnicodeChar 7835; Value.Integer IntegerKind.U32 7776 ]; + Value.Tuple [ Value.UnicodeChar 7841; Value.Integer IntegerKind.U32 7840 ]; + Value.Tuple [ Value.UnicodeChar 7843; Value.Integer IntegerKind.U32 7842 ]; + Value.Tuple [ Value.UnicodeChar 7845; Value.Integer IntegerKind.U32 7844 ]; + Value.Tuple [ Value.UnicodeChar 7847; Value.Integer IntegerKind.U32 7846 ]; + Value.Tuple [ Value.UnicodeChar 7849; Value.Integer IntegerKind.U32 7848 ]; + Value.Tuple [ Value.UnicodeChar 7851; Value.Integer IntegerKind.U32 7850 ]; + Value.Tuple [ Value.UnicodeChar 7853; Value.Integer IntegerKind.U32 7852 ]; + Value.Tuple [ Value.UnicodeChar 7855; Value.Integer IntegerKind.U32 7854 ]; + Value.Tuple [ Value.UnicodeChar 7857; Value.Integer IntegerKind.U32 7856 ]; + Value.Tuple [ Value.UnicodeChar 7859; Value.Integer IntegerKind.U32 7858 ]; + Value.Tuple [ Value.UnicodeChar 7861; Value.Integer IntegerKind.U32 7860 ]; + Value.Tuple [ Value.UnicodeChar 7863; Value.Integer IntegerKind.U32 7862 ]; + Value.Tuple [ Value.UnicodeChar 7865; Value.Integer IntegerKind.U32 7864 ]; + Value.Tuple [ Value.UnicodeChar 7867; Value.Integer IntegerKind.U32 7866 ]; + Value.Tuple [ Value.UnicodeChar 7869; Value.Integer IntegerKind.U32 7868 ]; + Value.Tuple [ Value.UnicodeChar 7871; Value.Integer IntegerKind.U32 7870 ]; + Value.Tuple [ Value.UnicodeChar 7873; Value.Integer IntegerKind.U32 7872 ]; + Value.Tuple [ Value.UnicodeChar 7875; Value.Integer IntegerKind.U32 7874 ]; + Value.Tuple [ Value.UnicodeChar 7877; Value.Integer IntegerKind.U32 7876 ]; + Value.Tuple [ Value.UnicodeChar 7879; Value.Integer IntegerKind.U32 7878 ]; + Value.Tuple [ Value.UnicodeChar 7881; Value.Integer IntegerKind.U32 7880 ]; + Value.Tuple [ Value.UnicodeChar 7883; Value.Integer IntegerKind.U32 7882 ]; + Value.Tuple [ Value.UnicodeChar 7885; Value.Integer IntegerKind.U32 7884 ]; + Value.Tuple [ Value.UnicodeChar 7887; Value.Integer IntegerKind.U32 7886 ]; + Value.Tuple [ Value.UnicodeChar 7889; Value.Integer IntegerKind.U32 7888 ]; + Value.Tuple [ Value.UnicodeChar 7891; Value.Integer IntegerKind.U32 7890 ]; + Value.Tuple [ Value.UnicodeChar 7893; Value.Integer IntegerKind.U32 7892 ]; + Value.Tuple [ Value.UnicodeChar 7895; Value.Integer IntegerKind.U32 7894 ]; + Value.Tuple [ Value.UnicodeChar 7897; Value.Integer IntegerKind.U32 7896 ]; + Value.Tuple [ Value.UnicodeChar 7899; Value.Integer IntegerKind.U32 7898 ]; + Value.Tuple [ Value.UnicodeChar 7901; Value.Integer IntegerKind.U32 7900 ]; + Value.Tuple [ Value.UnicodeChar 7903; Value.Integer IntegerKind.U32 7902 ]; + Value.Tuple [ Value.UnicodeChar 7905; Value.Integer IntegerKind.U32 7904 ]; + Value.Tuple [ Value.UnicodeChar 7907; Value.Integer IntegerKind.U32 7906 ]; + Value.Tuple [ Value.UnicodeChar 7909; Value.Integer IntegerKind.U32 7908 ]; + Value.Tuple [ Value.UnicodeChar 7911; Value.Integer IntegerKind.U32 7910 ]; + Value.Tuple [ Value.UnicodeChar 7913; Value.Integer IntegerKind.U32 7912 ]; + Value.Tuple [ Value.UnicodeChar 7915; Value.Integer IntegerKind.U32 7914 ]; + Value.Tuple [ Value.UnicodeChar 7917; Value.Integer IntegerKind.U32 7916 ]; + Value.Tuple [ Value.UnicodeChar 7919; Value.Integer IntegerKind.U32 7918 ]; + Value.Tuple [ Value.UnicodeChar 7921; Value.Integer IntegerKind.U32 7920 ]; + Value.Tuple [ Value.UnicodeChar 7923; Value.Integer IntegerKind.U32 7922 ]; + Value.Tuple [ Value.UnicodeChar 7925; Value.Integer IntegerKind.U32 7924 ]; + Value.Tuple [ Value.UnicodeChar 7927; Value.Integer IntegerKind.U32 7926 ]; + Value.Tuple [ Value.UnicodeChar 7929; Value.Integer IntegerKind.U32 7928 ]; + Value.Tuple [ Value.UnicodeChar 7931; Value.Integer IntegerKind.U32 7930 ]; + Value.Tuple [ Value.UnicodeChar 7933; Value.Integer IntegerKind.U32 7932 ]; + Value.Tuple [ Value.UnicodeChar 7935; Value.Integer IntegerKind.U32 7934 ]; + Value.Tuple [ Value.UnicodeChar 7936; Value.Integer IntegerKind.U32 7944 ]; + Value.Tuple [ Value.UnicodeChar 7937; Value.Integer IntegerKind.U32 7945 ]; + Value.Tuple [ Value.UnicodeChar 7938; Value.Integer IntegerKind.U32 7946 ]; + Value.Tuple [ Value.UnicodeChar 7939; Value.Integer IntegerKind.U32 7947 ]; + Value.Tuple [ Value.UnicodeChar 7940; Value.Integer IntegerKind.U32 7948 ]; + Value.Tuple [ Value.UnicodeChar 7941; Value.Integer IntegerKind.U32 7949 ]; + Value.Tuple [ Value.UnicodeChar 7942; Value.Integer IntegerKind.U32 7950 ]; + Value.Tuple [ Value.UnicodeChar 7943; Value.Integer IntegerKind.U32 7951 ]; + Value.Tuple [ Value.UnicodeChar 7952; Value.Integer IntegerKind.U32 7960 ]; + Value.Tuple [ Value.UnicodeChar 7953; Value.Integer IntegerKind.U32 7961 ]; + Value.Tuple [ Value.UnicodeChar 7954; Value.Integer IntegerKind.U32 7962 ]; + Value.Tuple [ Value.UnicodeChar 7955; Value.Integer IntegerKind.U32 7963 ]; + Value.Tuple [ Value.UnicodeChar 7956; Value.Integer IntegerKind.U32 7964 ]; + Value.Tuple [ Value.UnicodeChar 7957; Value.Integer IntegerKind.U32 7965 ]; + Value.Tuple [ Value.UnicodeChar 7968; Value.Integer IntegerKind.U32 7976 ]; + Value.Tuple [ Value.UnicodeChar 7969; Value.Integer IntegerKind.U32 7977 ]; + Value.Tuple [ Value.UnicodeChar 7970; Value.Integer IntegerKind.U32 7978 ]; + Value.Tuple [ Value.UnicodeChar 7971; Value.Integer IntegerKind.U32 7979 ]; + Value.Tuple [ Value.UnicodeChar 7972; Value.Integer IntegerKind.U32 7980 ]; + Value.Tuple [ Value.UnicodeChar 7973; Value.Integer IntegerKind.U32 7981 ]; + Value.Tuple [ Value.UnicodeChar 7974; Value.Integer IntegerKind.U32 7982 ]; + Value.Tuple [ Value.UnicodeChar 7975; Value.Integer IntegerKind.U32 7983 ]; + Value.Tuple [ Value.UnicodeChar 7984; Value.Integer IntegerKind.U32 7992 ]; + Value.Tuple [ Value.UnicodeChar 7985; Value.Integer IntegerKind.U32 7993 ]; + Value.Tuple [ Value.UnicodeChar 7986; Value.Integer IntegerKind.U32 7994 ]; + Value.Tuple [ Value.UnicodeChar 7987; Value.Integer IntegerKind.U32 7995 ]; + Value.Tuple [ Value.UnicodeChar 7988; Value.Integer IntegerKind.U32 7996 ]; + Value.Tuple [ Value.UnicodeChar 7989; Value.Integer IntegerKind.U32 7997 ]; + Value.Tuple [ Value.UnicodeChar 7990; Value.Integer IntegerKind.U32 7998 ]; + Value.Tuple [ Value.UnicodeChar 7991; Value.Integer IntegerKind.U32 7999 ]; + Value.Tuple [ Value.UnicodeChar 8000; Value.Integer IntegerKind.U32 8008 ]; + Value.Tuple [ Value.UnicodeChar 8001; Value.Integer IntegerKind.U32 8009 ]; + Value.Tuple [ Value.UnicodeChar 8002; Value.Integer IntegerKind.U32 8010 ]; + Value.Tuple [ Value.UnicodeChar 8003; Value.Integer IntegerKind.U32 8011 ]; + Value.Tuple [ Value.UnicodeChar 8004; Value.Integer IntegerKind.U32 8012 ]; + Value.Tuple [ Value.UnicodeChar 8005; Value.Integer IntegerKind.U32 8013 ]; + Value.Tuple + [ Value.UnicodeChar 8016; Value.Integer IntegerKind.U32 4194315 ]; + Value.Tuple [ Value.UnicodeChar 8017; Value.Integer IntegerKind.U32 8025 ]; + Value.Tuple + [ Value.UnicodeChar 8018; Value.Integer IntegerKind.U32 4194316 ]; + Value.Tuple [ Value.UnicodeChar 8019; Value.Integer IntegerKind.U32 8027 ]; + Value.Tuple + [ Value.UnicodeChar 8020; Value.Integer IntegerKind.U32 4194317 ]; + Value.Tuple [ Value.UnicodeChar 8021; Value.Integer IntegerKind.U32 8029 ]; + Value.Tuple + [ Value.UnicodeChar 8022; Value.Integer IntegerKind.U32 4194318 ]; + Value.Tuple [ Value.UnicodeChar 8023; Value.Integer IntegerKind.U32 8031 ]; + Value.Tuple [ Value.UnicodeChar 8032; Value.Integer IntegerKind.U32 8040 ]; + Value.Tuple [ Value.UnicodeChar 8033; Value.Integer IntegerKind.U32 8041 ]; + Value.Tuple [ Value.UnicodeChar 8034; Value.Integer IntegerKind.U32 8042 ]; + Value.Tuple [ Value.UnicodeChar 8035; Value.Integer IntegerKind.U32 8043 ]; + Value.Tuple [ Value.UnicodeChar 8036; Value.Integer IntegerKind.U32 8044 ]; + Value.Tuple [ Value.UnicodeChar 8037; Value.Integer IntegerKind.U32 8045 ]; + Value.Tuple [ Value.UnicodeChar 8038; Value.Integer IntegerKind.U32 8046 ]; + Value.Tuple [ Value.UnicodeChar 8039; Value.Integer IntegerKind.U32 8047 ]; + Value.Tuple [ Value.UnicodeChar 8048; Value.Integer IntegerKind.U32 8122 ]; + Value.Tuple [ Value.UnicodeChar 8049; Value.Integer IntegerKind.U32 8123 ]; + Value.Tuple [ Value.UnicodeChar 8050; Value.Integer IntegerKind.U32 8136 ]; + Value.Tuple [ Value.UnicodeChar 8051; Value.Integer IntegerKind.U32 8137 ]; + Value.Tuple [ Value.UnicodeChar 8052; Value.Integer IntegerKind.U32 8138 ]; + Value.Tuple [ Value.UnicodeChar 8053; Value.Integer IntegerKind.U32 8139 ]; + Value.Tuple [ Value.UnicodeChar 8054; Value.Integer IntegerKind.U32 8154 ]; + Value.Tuple [ Value.UnicodeChar 8055; Value.Integer IntegerKind.U32 8155 ]; + Value.Tuple [ Value.UnicodeChar 8056; Value.Integer IntegerKind.U32 8184 ]; + Value.Tuple [ Value.UnicodeChar 8057; Value.Integer IntegerKind.U32 8185 ]; + Value.Tuple [ Value.UnicodeChar 8058; Value.Integer IntegerKind.U32 8170 ]; + Value.Tuple [ Value.UnicodeChar 8059; Value.Integer IntegerKind.U32 8171 ]; + Value.Tuple [ Value.UnicodeChar 8060; Value.Integer IntegerKind.U32 8186 ]; + Value.Tuple [ Value.UnicodeChar 8061; Value.Integer IntegerKind.U32 8187 ]; + Value.Tuple + [ Value.UnicodeChar 8064; Value.Integer IntegerKind.U32 4194319 ]; + Value.Tuple + [ Value.UnicodeChar 8065; Value.Integer IntegerKind.U32 4194320 ]; + Value.Tuple + [ Value.UnicodeChar 8066; Value.Integer IntegerKind.U32 4194321 ]; + Value.Tuple + [ Value.UnicodeChar 8067; Value.Integer IntegerKind.U32 4194322 ]; + Value.Tuple + [ Value.UnicodeChar 8068; Value.Integer IntegerKind.U32 4194323 ]; + Value.Tuple + [ Value.UnicodeChar 8069; Value.Integer IntegerKind.U32 4194324 ]; + Value.Tuple + [ Value.UnicodeChar 8070; Value.Integer IntegerKind.U32 4194325 ]; + Value.Tuple + [ Value.UnicodeChar 8071; Value.Integer IntegerKind.U32 4194326 ]; + Value.Tuple + [ Value.UnicodeChar 8072; Value.Integer IntegerKind.U32 4194327 ]; + Value.Tuple + [ Value.UnicodeChar 8073; Value.Integer IntegerKind.U32 4194328 ]; + Value.Tuple + [ Value.UnicodeChar 8074; Value.Integer IntegerKind.U32 4194329 ]; + Value.Tuple + [ Value.UnicodeChar 8075; Value.Integer IntegerKind.U32 4194330 ]; + Value.Tuple + [ Value.UnicodeChar 8076; Value.Integer IntegerKind.U32 4194331 ]; + Value.Tuple + [ Value.UnicodeChar 8077; Value.Integer IntegerKind.U32 4194332 ]; + Value.Tuple + [ Value.UnicodeChar 8078; Value.Integer IntegerKind.U32 4194333 ]; + Value.Tuple + [ Value.UnicodeChar 8079; Value.Integer IntegerKind.U32 4194334 ]; + Value.Tuple + [ Value.UnicodeChar 8080; Value.Integer IntegerKind.U32 4194335 ]; + Value.Tuple + [ Value.UnicodeChar 8081; Value.Integer IntegerKind.U32 4194336 ]; + Value.Tuple + [ Value.UnicodeChar 8082; Value.Integer IntegerKind.U32 4194337 ]; + Value.Tuple + [ Value.UnicodeChar 8083; Value.Integer IntegerKind.U32 4194338 ]; + Value.Tuple + [ Value.UnicodeChar 8084; Value.Integer IntegerKind.U32 4194339 ]; + Value.Tuple + [ Value.UnicodeChar 8085; Value.Integer IntegerKind.U32 4194340 ]; + Value.Tuple + [ Value.UnicodeChar 8086; Value.Integer IntegerKind.U32 4194341 ]; + Value.Tuple + [ Value.UnicodeChar 8087; Value.Integer IntegerKind.U32 4194342 ]; + Value.Tuple + [ Value.UnicodeChar 8088; Value.Integer IntegerKind.U32 4194343 ]; + Value.Tuple + [ Value.UnicodeChar 8089; Value.Integer IntegerKind.U32 4194344 ]; + Value.Tuple + [ Value.UnicodeChar 8090; Value.Integer IntegerKind.U32 4194345 ]; + Value.Tuple + [ Value.UnicodeChar 8091; Value.Integer IntegerKind.U32 4194346 ]; + Value.Tuple + [ Value.UnicodeChar 8092; Value.Integer IntegerKind.U32 4194347 ]; + Value.Tuple + [ Value.UnicodeChar 8093; Value.Integer IntegerKind.U32 4194348 ]; + Value.Tuple + [ Value.UnicodeChar 8094; Value.Integer IntegerKind.U32 4194349 ]; + Value.Tuple + [ Value.UnicodeChar 8095; Value.Integer IntegerKind.U32 4194350 ]; + Value.Tuple + [ Value.UnicodeChar 8096; Value.Integer IntegerKind.U32 4194351 ]; + Value.Tuple + [ Value.UnicodeChar 8097; Value.Integer IntegerKind.U32 4194352 ]; + Value.Tuple + [ Value.UnicodeChar 8098; Value.Integer IntegerKind.U32 4194353 ]; + Value.Tuple + [ Value.UnicodeChar 8099; Value.Integer IntegerKind.U32 4194354 ]; + Value.Tuple + [ Value.UnicodeChar 8100; Value.Integer IntegerKind.U32 4194355 ]; + Value.Tuple + [ Value.UnicodeChar 8101; Value.Integer IntegerKind.U32 4194356 ]; + Value.Tuple + [ Value.UnicodeChar 8102; Value.Integer IntegerKind.U32 4194357 ]; + Value.Tuple + [ Value.UnicodeChar 8103; Value.Integer IntegerKind.U32 4194358 ]; + Value.Tuple + [ Value.UnicodeChar 8104; Value.Integer IntegerKind.U32 4194359 ]; + Value.Tuple + [ Value.UnicodeChar 8105; Value.Integer IntegerKind.U32 4194360 ]; + Value.Tuple + [ Value.UnicodeChar 8106; Value.Integer IntegerKind.U32 4194361 ]; + Value.Tuple + [ Value.UnicodeChar 8107; Value.Integer IntegerKind.U32 4194362 ]; + Value.Tuple + [ Value.UnicodeChar 8108; Value.Integer IntegerKind.U32 4194363 ]; + Value.Tuple + [ Value.UnicodeChar 8109; Value.Integer IntegerKind.U32 4194364 ]; + Value.Tuple + [ Value.UnicodeChar 8110; Value.Integer IntegerKind.U32 4194365 ]; + Value.Tuple + [ Value.UnicodeChar 8111; Value.Integer IntegerKind.U32 4194366 ]; + Value.Tuple [ Value.UnicodeChar 8112; Value.Integer IntegerKind.U32 8120 ]; + Value.Tuple [ Value.UnicodeChar 8113; Value.Integer IntegerKind.U32 8121 ]; + Value.Tuple + [ Value.UnicodeChar 8114; Value.Integer IntegerKind.U32 4194367 ]; + Value.Tuple + [ Value.UnicodeChar 8115; Value.Integer IntegerKind.U32 4194368 ]; + Value.Tuple + [ Value.UnicodeChar 8116; Value.Integer IntegerKind.U32 4194369 ]; + Value.Tuple + [ Value.UnicodeChar 8118; Value.Integer IntegerKind.U32 4194370 ]; + Value.Tuple + [ Value.UnicodeChar 8119; Value.Integer IntegerKind.U32 4194371 ]; + Value.Tuple + [ Value.UnicodeChar 8124; Value.Integer IntegerKind.U32 4194372 ]; + Value.Tuple [ Value.UnicodeChar 8126; Value.Integer IntegerKind.U32 921 ]; + Value.Tuple + [ Value.UnicodeChar 8130; Value.Integer IntegerKind.U32 4194373 ]; + Value.Tuple + [ Value.UnicodeChar 8131; Value.Integer IntegerKind.U32 4194374 ]; + Value.Tuple + [ Value.UnicodeChar 8132; Value.Integer IntegerKind.U32 4194375 ]; + Value.Tuple + [ Value.UnicodeChar 8134; Value.Integer IntegerKind.U32 4194376 ]; + Value.Tuple + [ Value.UnicodeChar 8135; Value.Integer IntegerKind.U32 4194377 ]; + Value.Tuple + [ Value.UnicodeChar 8140; Value.Integer IntegerKind.U32 4194378 ]; + Value.Tuple [ Value.UnicodeChar 8144; Value.Integer IntegerKind.U32 8152 ]; + Value.Tuple [ Value.UnicodeChar 8145; Value.Integer IntegerKind.U32 8153 ]; + Value.Tuple + [ Value.UnicodeChar 8146; Value.Integer IntegerKind.U32 4194379 ]; + Value.Tuple + [ Value.UnicodeChar 8147; Value.Integer IntegerKind.U32 4194380 ]; + Value.Tuple + [ Value.UnicodeChar 8150; Value.Integer IntegerKind.U32 4194381 ]; + Value.Tuple + [ Value.UnicodeChar 8151; Value.Integer IntegerKind.U32 4194382 ]; + Value.Tuple [ Value.UnicodeChar 8160; Value.Integer IntegerKind.U32 8168 ]; + Value.Tuple [ Value.UnicodeChar 8161; Value.Integer IntegerKind.U32 8169 ]; + Value.Tuple + [ Value.UnicodeChar 8162; Value.Integer IntegerKind.U32 4194383 ]; + Value.Tuple + [ Value.UnicodeChar 8163; Value.Integer IntegerKind.U32 4194384 ]; + Value.Tuple + [ Value.UnicodeChar 8164; Value.Integer IntegerKind.U32 4194385 ]; + Value.Tuple [ Value.UnicodeChar 8165; Value.Integer IntegerKind.U32 8172 ]; + Value.Tuple + [ Value.UnicodeChar 8166; Value.Integer IntegerKind.U32 4194386 ]; + Value.Tuple + [ Value.UnicodeChar 8167; Value.Integer IntegerKind.U32 4194387 ]; + Value.Tuple + [ Value.UnicodeChar 8178; Value.Integer IntegerKind.U32 4194388 ]; + Value.Tuple + [ Value.UnicodeChar 8179; Value.Integer IntegerKind.U32 4194389 ]; + Value.Tuple + [ Value.UnicodeChar 8180; Value.Integer IntegerKind.U32 4194390 ]; + Value.Tuple + [ Value.UnicodeChar 8182; Value.Integer IntegerKind.U32 4194391 ]; + Value.Tuple + [ Value.UnicodeChar 8183; Value.Integer IntegerKind.U32 4194392 ]; + Value.Tuple + [ Value.UnicodeChar 8188; Value.Integer IntegerKind.U32 4194393 ]; + Value.Tuple [ Value.UnicodeChar 8526; Value.Integer IntegerKind.U32 8498 ]; + Value.Tuple [ Value.UnicodeChar 8560; Value.Integer IntegerKind.U32 8544 ]; + Value.Tuple [ Value.UnicodeChar 8561; Value.Integer IntegerKind.U32 8545 ]; + Value.Tuple [ Value.UnicodeChar 8562; Value.Integer IntegerKind.U32 8546 ]; + Value.Tuple [ Value.UnicodeChar 8563; Value.Integer IntegerKind.U32 8547 ]; + Value.Tuple [ Value.UnicodeChar 8564; Value.Integer IntegerKind.U32 8548 ]; + Value.Tuple [ Value.UnicodeChar 8565; Value.Integer IntegerKind.U32 8549 ]; + Value.Tuple [ Value.UnicodeChar 8566; Value.Integer IntegerKind.U32 8550 ]; + Value.Tuple [ Value.UnicodeChar 8567; Value.Integer IntegerKind.U32 8551 ]; + Value.Tuple [ Value.UnicodeChar 8568; Value.Integer IntegerKind.U32 8552 ]; + Value.Tuple [ Value.UnicodeChar 8569; Value.Integer IntegerKind.U32 8553 ]; + Value.Tuple [ Value.UnicodeChar 8570; Value.Integer IntegerKind.U32 8554 ]; + Value.Tuple [ Value.UnicodeChar 8571; Value.Integer IntegerKind.U32 8555 ]; + Value.Tuple [ Value.UnicodeChar 8572; Value.Integer IntegerKind.U32 8556 ]; + Value.Tuple [ Value.UnicodeChar 8573; Value.Integer IntegerKind.U32 8557 ]; + Value.Tuple [ Value.UnicodeChar 8574; Value.Integer IntegerKind.U32 8558 ]; + Value.Tuple [ Value.UnicodeChar 8575; Value.Integer IntegerKind.U32 8559 ]; + Value.Tuple [ Value.UnicodeChar 8580; Value.Integer IntegerKind.U32 8579 ]; + Value.Tuple [ Value.UnicodeChar 9424; Value.Integer IntegerKind.U32 9398 ]; + Value.Tuple [ Value.UnicodeChar 9425; Value.Integer IntegerKind.U32 9399 ]; + Value.Tuple [ Value.UnicodeChar 9426; Value.Integer IntegerKind.U32 9400 ]; + Value.Tuple [ Value.UnicodeChar 9427; Value.Integer IntegerKind.U32 9401 ]; + Value.Tuple [ Value.UnicodeChar 9428; Value.Integer IntegerKind.U32 9402 ]; + Value.Tuple [ Value.UnicodeChar 9429; Value.Integer IntegerKind.U32 9403 ]; + Value.Tuple [ Value.UnicodeChar 9430; Value.Integer IntegerKind.U32 9404 ]; + Value.Tuple [ Value.UnicodeChar 9431; Value.Integer IntegerKind.U32 9405 ]; + Value.Tuple [ Value.UnicodeChar 9432; Value.Integer IntegerKind.U32 9406 ]; + Value.Tuple [ Value.UnicodeChar 9433; Value.Integer IntegerKind.U32 9407 ]; + Value.Tuple [ Value.UnicodeChar 9434; Value.Integer IntegerKind.U32 9408 ]; + Value.Tuple [ Value.UnicodeChar 9435; Value.Integer IntegerKind.U32 9409 ]; + Value.Tuple [ Value.UnicodeChar 9436; Value.Integer IntegerKind.U32 9410 ]; + Value.Tuple [ Value.UnicodeChar 9437; Value.Integer IntegerKind.U32 9411 ]; + Value.Tuple [ Value.UnicodeChar 9438; Value.Integer IntegerKind.U32 9412 ]; + Value.Tuple [ Value.UnicodeChar 9439; Value.Integer IntegerKind.U32 9413 ]; + Value.Tuple [ Value.UnicodeChar 9440; Value.Integer IntegerKind.U32 9414 ]; + Value.Tuple [ Value.UnicodeChar 9441; Value.Integer IntegerKind.U32 9415 ]; + Value.Tuple [ Value.UnicodeChar 9442; Value.Integer IntegerKind.U32 9416 ]; + Value.Tuple [ Value.UnicodeChar 9443; Value.Integer IntegerKind.U32 9417 ]; + Value.Tuple [ Value.UnicodeChar 9444; Value.Integer IntegerKind.U32 9418 ]; + Value.Tuple [ Value.UnicodeChar 9445; Value.Integer IntegerKind.U32 9419 ]; + Value.Tuple [ Value.UnicodeChar 9446; Value.Integer IntegerKind.U32 9420 ]; + Value.Tuple [ Value.UnicodeChar 9447; Value.Integer IntegerKind.U32 9421 ]; + Value.Tuple [ Value.UnicodeChar 9448; Value.Integer IntegerKind.U32 9422 ]; + Value.Tuple [ Value.UnicodeChar 9449; Value.Integer IntegerKind.U32 9423 ]; + Value.Tuple + [ Value.UnicodeChar 11312; Value.Integer IntegerKind.U32 11264 ]; + Value.Tuple + [ Value.UnicodeChar 11313; Value.Integer IntegerKind.U32 11265 ]; + Value.Tuple + [ Value.UnicodeChar 11314; Value.Integer IntegerKind.U32 11266 ]; + Value.Tuple + [ Value.UnicodeChar 11315; Value.Integer IntegerKind.U32 11267 ]; + Value.Tuple + [ Value.UnicodeChar 11316; Value.Integer IntegerKind.U32 11268 ]; + Value.Tuple + [ Value.UnicodeChar 11317; Value.Integer IntegerKind.U32 11269 ]; + Value.Tuple + [ Value.UnicodeChar 11318; Value.Integer IntegerKind.U32 11270 ]; + Value.Tuple + [ Value.UnicodeChar 11319; Value.Integer IntegerKind.U32 11271 ]; + Value.Tuple + [ Value.UnicodeChar 11320; Value.Integer IntegerKind.U32 11272 ]; + Value.Tuple + [ Value.UnicodeChar 11321; Value.Integer IntegerKind.U32 11273 ]; + Value.Tuple + [ Value.UnicodeChar 11322; Value.Integer IntegerKind.U32 11274 ]; + Value.Tuple + [ Value.UnicodeChar 11323; Value.Integer IntegerKind.U32 11275 ]; + Value.Tuple + [ Value.UnicodeChar 11324; Value.Integer IntegerKind.U32 11276 ]; + Value.Tuple + [ Value.UnicodeChar 11325; Value.Integer IntegerKind.U32 11277 ]; + Value.Tuple + [ Value.UnicodeChar 11326; Value.Integer IntegerKind.U32 11278 ]; + Value.Tuple + [ Value.UnicodeChar 11327; Value.Integer IntegerKind.U32 11279 ]; + Value.Tuple + [ Value.UnicodeChar 11328; Value.Integer IntegerKind.U32 11280 ]; + Value.Tuple + [ Value.UnicodeChar 11329; Value.Integer IntegerKind.U32 11281 ]; + Value.Tuple + [ Value.UnicodeChar 11330; Value.Integer IntegerKind.U32 11282 ]; + Value.Tuple + [ Value.UnicodeChar 11331; Value.Integer IntegerKind.U32 11283 ]; + Value.Tuple + [ Value.UnicodeChar 11332; Value.Integer IntegerKind.U32 11284 ]; + Value.Tuple + [ Value.UnicodeChar 11333; Value.Integer IntegerKind.U32 11285 ]; + Value.Tuple + [ Value.UnicodeChar 11334; Value.Integer IntegerKind.U32 11286 ]; + Value.Tuple + [ Value.UnicodeChar 11335; Value.Integer IntegerKind.U32 11287 ]; + Value.Tuple + [ Value.UnicodeChar 11336; Value.Integer IntegerKind.U32 11288 ]; + Value.Tuple + [ Value.UnicodeChar 11337; Value.Integer IntegerKind.U32 11289 ]; + Value.Tuple + [ Value.UnicodeChar 11338; Value.Integer IntegerKind.U32 11290 ]; + Value.Tuple + [ Value.UnicodeChar 11339; Value.Integer IntegerKind.U32 11291 ]; + Value.Tuple + [ Value.UnicodeChar 11340; Value.Integer IntegerKind.U32 11292 ]; + Value.Tuple + [ Value.UnicodeChar 11341; Value.Integer IntegerKind.U32 11293 ]; + Value.Tuple + [ Value.UnicodeChar 11342; Value.Integer IntegerKind.U32 11294 ]; + Value.Tuple + [ Value.UnicodeChar 11343; Value.Integer IntegerKind.U32 11295 ]; + Value.Tuple + [ Value.UnicodeChar 11344; Value.Integer IntegerKind.U32 11296 ]; + Value.Tuple + [ Value.UnicodeChar 11345; Value.Integer IntegerKind.U32 11297 ]; + Value.Tuple + [ Value.UnicodeChar 11346; Value.Integer IntegerKind.U32 11298 ]; + Value.Tuple + [ Value.UnicodeChar 11347; Value.Integer IntegerKind.U32 11299 ]; + Value.Tuple + [ Value.UnicodeChar 11348; Value.Integer IntegerKind.U32 11300 ]; + Value.Tuple + [ Value.UnicodeChar 11349; Value.Integer IntegerKind.U32 11301 ]; + Value.Tuple + [ Value.UnicodeChar 11350; Value.Integer IntegerKind.U32 11302 ]; + Value.Tuple + [ Value.UnicodeChar 11351; Value.Integer IntegerKind.U32 11303 ]; + Value.Tuple + [ Value.UnicodeChar 11352; Value.Integer IntegerKind.U32 11304 ]; + Value.Tuple + [ Value.UnicodeChar 11353; Value.Integer IntegerKind.U32 11305 ]; + Value.Tuple + [ Value.UnicodeChar 11354; Value.Integer IntegerKind.U32 11306 ]; + Value.Tuple + [ Value.UnicodeChar 11355; Value.Integer IntegerKind.U32 11307 ]; + Value.Tuple + [ Value.UnicodeChar 11356; Value.Integer IntegerKind.U32 11308 ]; + Value.Tuple + [ Value.UnicodeChar 11357; Value.Integer IntegerKind.U32 11309 ]; + Value.Tuple + [ Value.UnicodeChar 11358; Value.Integer IntegerKind.U32 11310 ]; + Value.Tuple + [ Value.UnicodeChar 11359; Value.Integer IntegerKind.U32 11311 ]; + Value.Tuple + [ Value.UnicodeChar 11361; Value.Integer IntegerKind.U32 11360 ]; + Value.Tuple [ Value.UnicodeChar 11365; Value.Integer IntegerKind.U32 570 ]; + Value.Tuple [ Value.UnicodeChar 11366; Value.Integer IntegerKind.U32 574 ]; + Value.Tuple + [ Value.UnicodeChar 11368; Value.Integer IntegerKind.U32 11367 ]; + Value.Tuple + [ Value.UnicodeChar 11370; Value.Integer IntegerKind.U32 11369 ]; + Value.Tuple + [ Value.UnicodeChar 11372; Value.Integer IntegerKind.U32 11371 ]; + Value.Tuple + [ Value.UnicodeChar 11379; Value.Integer IntegerKind.U32 11378 ]; + Value.Tuple + [ Value.UnicodeChar 11382; Value.Integer IntegerKind.U32 11381 ]; + Value.Tuple + [ Value.UnicodeChar 11393; Value.Integer IntegerKind.U32 11392 ]; + Value.Tuple + [ Value.UnicodeChar 11395; Value.Integer IntegerKind.U32 11394 ]; + Value.Tuple + [ Value.UnicodeChar 11397; Value.Integer IntegerKind.U32 11396 ]; + Value.Tuple + [ Value.UnicodeChar 11399; Value.Integer IntegerKind.U32 11398 ]; + Value.Tuple + [ Value.UnicodeChar 11401; Value.Integer IntegerKind.U32 11400 ]; + Value.Tuple + [ Value.UnicodeChar 11403; Value.Integer IntegerKind.U32 11402 ]; + Value.Tuple + [ Value.UnicodeChar 11405; Value.Integer IntegerKind.U32 11404 ]; + Value.Tuple + [ Value.UnicodeChar 11407; Value.Integer IntegerKind.U32 11406 ]; + Value.Tuple + [ Value.UnicodeChar 11409; Value.Integer IntegerKind.U32 11408 ]; + Value.Tuple + [ Value.UnicodeChar 11411; Value.Integer IntegerKind.U32 11410 ]; + Value.Tuple + [ Value.UnicodeChar 11413; Value.Integer IntegerKind.U32 11412 ]; + Value.Tuple + [ Value.UnicodeChar 11415; Value.Integer IntegerKind.U32 11414 ]; + Value.Tuple + [ Value.UnicodeChar 11417; Value.Integer IntegerKind.U32 11416 ]; + Value.Tuple + [ Value.UnicodeChar 11419; Value.Integer IntegerKind.U32 11418 ]; + Value.Tuple + [ Value.UnicodeChar 11421; Value.Integer IntegerKind.U32 11420 ]; + Value.Tuple + [ Value.UnicodeChar 11423; Value.Integer IntegerKind.U32 11422 ]; + Value.Tuple + [ Value.UnicodeChar 11425; Value.Integer IntegerKind.U32 11424 ]; + Value.Tuple + [ Value.UnicodeChar 11427; Value.Integer IntegerKind.U32 11426 ]; + Value.Tuple + [ Value.UnicodeChar 11429; Value.Integer IntegerKind.U32 11428 ]; + Value.Tuple + [ Value.UnicodeChar 11431; Value.Integer IntegerKind.U32 11430 ]; + Value.Tuple + [ Value.UnicodeChar 11433; Value.Integer IntegerKind.U32 11432 ]; + Value.Tuple + [ Value.UnicodeChar 11435; Value.Integer IntegerKind.U32 11434 ]; + Value.Tuple + [ Value.UnicodeChar 11437; Value.Integer IntegerKind.U32 11436 ]; + Value.Tuple + [ Value.UnicodeChar 11439; Value.Integer IntegerKind.U32 11438 ]; + Value.Tuple + [ Value.UnicodeChar 11441; Value.Integer IntegerKind.U32 11440 ]; + Value.Tuple + [ Value.UnicodeChar 11443; Value.Integer IntegerKind.U32 11442 ]; + Value.Tuple + [ Value.UnicodeChar 11445; Value.Integer IntegerKind.U32 11444 ]; + Value.Tuple + [ Value.UnicodeChar 11447; Value.Integer IntegerKind.U32 11446 ]; + Value.Tuple + [ Value.UnicodeChar 11449; Value.Integer IntegerKind.U32 11448 ]; + Value.Tuple + [ Value.UnicodeChar 11451; Value.Integer IntegerKind.U32 11450 ]; + Value.Tuple + [ Value.UnicodeChar 11453; Value.Integer IntegerKind.U32 11452 ]; + Value.Tuple + [ Value.UnicodeChar 11455; Value.Integer IntegerKind.U32 11454 ]; + Value.Tuple + [ Value.UnicodeChar 11457; Value.Integer IntegerKind.U32 11456 ]; + Value.Tuple + [ Value.UnicodeChar 11459; Value.Integer IntegerKind.U32 11458 ]; + Value.Tuple + [ Value.UnicodeChar 11461; Value.Integer IntegerKind.U32 11460 ]; + Value.Tuple + [ Value.UnicodeChar 11463; Value.Integer IntegerKind.U32 11462 ]; + Value.Tuple + [ Value.UnicodeChar 11465; Value.Integer IntegerKind.U32 11464 ]; + Value.Tuple + [ Value.UnicodeChar 11467; Value.Integer IntegerKind.U32 11466 ]; + Value.Tuple + [ Value.UnicodeChar 11469; Value.Integer IntegerKind.U32 11468 ]; + Value.Tuple + [ Value.UnicodeChar 11471; Value.Integer IntegerKind.U32 11470 ]; + Value.Tuple + [ Value.UnicodeChar 11473; Value.Integer IntegerKind.U32 11472 ]; + Value.Tuple + [ Value.UnicodeChar 11475; Value.Integer IntegerKind.U32 11474 ]; + Value.Tuple + [ Value.UnicodeChar 11477; Value.Integer IntegerKind.U32 11476 ]; + Value.Tuple + [ Value.UnicodeChar 11479; Value.Integer IntegerKind.U32 11478 ]; + Value.Tuple + [ Value.UnicodeChar 11481; Value.Integer IntegerKind.U32 11480 ]; + Value.Tuple + [ Value.UnicodeChar 11483; Value.Integer IntegerKind.U32 11482 ]; + Value.Tuple + [ Value.UnicodeChar 11485; Value.Integer IntegerKind.U32 11484 ]; + Value.Tuple + [ Value.UnicodeChar 11487; Value.Integer IntegerKind.U32 11486 ]; + Value.Tuple + [ Value.UnicodeChar 11489; Value.Integer IntegerKind.U32 11488 ]; + Value.Tuple + [ Value.UnicodeChar 11491; Value.Integer IntegerKind.U32 11490 ]; + Value.Tuple + [ Value.UnicodeChar 11500; Value.Integer IntegerKind.U32 11499 ]; + Value.Tuple + [ Value.UnicodeChar 11502; Value.Integer IntegerKind.U32 11501 ]; + Value.Tuple + [ Value.UnicodeChar 11507; Value.Integer IntegerKind.U32 11506 ]; + Value.Tuple [ Value.UnicodeChar 11520; Value.Integer IntegerKind.U32 4256 ]; + Value.Tuple [ Value.UnicodeChar 11521; Value.Integer IntegerKind.U32 4257 ]; + Value.Tuple [ Value.UnicodeChar 11522; Value.Integer IntegerKind.U32 4258 ]; + Value.Tuple [ Value.UnicodeChar 11523; Value.Integer IntegerKind.U32 4259 ]; + Value.Tuple [ Value.UnicodeChar 11524; Value.Integer IntegerKind.U32 4260 ]; + Value.Tuple [ Value.UnicodeChar 11525; Value.Integer IntegerKind.U32 4261 ]; + Value.Tuple [ Value.UnicodeChar 11526; Value.Integer IntegerKind.U32 4262 ]; + Value.Tuple [ Value.UnicodeChar 11527; Value.Integer IntegerKind.U32 4263 ]; + Value.Tuple [ Value.UnicodeChar 11528; Value.Integer IntegerKind.U32 4264 ]; + Value.Tuple [ Value.UnicodeChar 11529; Value.Integer IntegerKind.U32 4265 ]; + Value.Tuple [ Value.UnicodeChar 11530; Value.Integer IntegerKind.U32 4266 ]; + Value.Tuple [ Value.UnicodeChar 11531; Value.Integer IntegerKind.U32 4267 ]; + Value.Tuple [ Value.UnicodeChar 11532; Value.Integer IntegerKind.U32 4268 ]; + Value.Tuple [ Value.UnicodeChar 11533; Value.Integer IntegerKind.U32 4269 ]; + Value.Tuple [ Value.UnicodeChar 11534; Value.Integer IntegerKind.U32 4270 ]; + Value.Tuple [ Value.UnicodeChar 11535; Value.Integer IntegerKind.U32 4271 ]; + Value.Tuple [ Value.UnicodeChar 11536; Value.Integer IntegerKind.U32 4272 ]; + Value.Tuple [ Value.UnicodeChar 11537; Value.Integer IntegerKind.U32 4273 ]; + Value.Tuple [ Value.UnicodeChar 11538; Value.Integer IntegerKind.U32 4274 ]; + Value.Tuple [ Value.UnicodeChar 11539; Value.Integer IntegerKind.U32 4275 ]; + Value.Tuple [ Value.UnicodeChar 11540; Value.Integer IntegerKind.U32 4276 ]; + Value.Tuple [ Value.UnicodeChar 11541; Value.Integer IntegerKind.U32 4277 ]; + Value.Tuple [ Value.UnicodeChar 11542; Value.Integer IntegerKind.U32 4278 ]; + Value.Tuple [ Value.UnicodeChar 11543; Value.Integer IntegerKind.U32 4279 ]; + Value.Tuple [ Value.UnicodeChar 11544; Value.Integer IntegerKind.U32 4280 ]; + Value.Tuple [ Value.UnicodeChar 11545; Value.Integer IntegerKind.U32 4281 ]; + Value.Tuple [ Value.UnicodeChar 11546; Value.Integer IntegerKind.U32 4282 ]; + Value.Tuple [ Value.UnicodeChar 11547; Value.Integer IntegerKind.U32 4283 ]; + Value.Tuple [ Value.UnicodeChar 11548; Value.Integer IntegerKind.U32 4284 ]; + Value.Tuple [ Value.UnicodeChar 11549; Value.Integer IntegerKind.U32 4285 ]; + Value.Tuple [ Value.UnicodeChar 11550; Value.Integer IntegerKind.U32 4286 ]; + Value.Tuple [ Value.UnicodeChar 11551; Value.Integer IntegerKind.U32 4287 ]; + Value.Tuple [ Value.UnicodeChar 11552; Value.Integer IntegerKind.U32 4288 ]; + Value.Tuple [ Value.UnicodeChar 11553; Value.Integer IntegerKind.U32 4289 ]; + Value.Tuple [ Value.UnicodeChar 11554; Value.Integer IntegerKind.U32 4290 ]; + Value.Tuple [ Value.UnicodeChar 11555; Value.Integer IntegerKind.U32 4291 ]; + Value.Tuple [ Value.UnicodeChar 11556; Value.Integer IntegerKind.U32 4292 ]; + Value.Tuple [ Value.UnicodeChar 11557; Value.Integer IntegerKind.U32 4293 ]; + Value.Tuple [ Value.UnicodeChar 11559; Value.Integer IntegerKind.U32 4295 ]; + Value.Tuple [ Value.UnicodeChar 11565; Value.Integer IntegerKind.U32 4301 ]; + Value.Tuple + [ Value.UnicodeChar 42561; Value.Integer IntegerKind.U32 42560 ]; + Value.Tuple + [ Value.UnicodeChar 42563; Value.Integer IntegerKind.U32 42562 ]; + Value.Tuple + [ Value.UnicodeChar 42565; Value.Integer IntegerKind.U32 42564 ]; + Value.Tuple + [ Value.UnicodeChar 42567; Value.Integer IntegerKind.U32 42566 ]; + Value.Tuple + [ Value.UnicodeChar 42569; Value.Integer IntegerKind.U32 42568 ]; + Value.Tuple + [ Value.UnicodeChar 42571; Value.Integer IntegerKind.U32 42570 ]; + Value.Tuple + [ Value.UnicodeChar 42573; Value.Integer IntegerKind.U32 42572 ]; + Value.Tuple + [ Value.UnicodeChar 42575; Value.Integer IntegerKind.U32 42574 ]; + Value.Tuple + [ Value.UnicodeChar 42577; Value.Integer IntegerKind.U32 42576 ]; + Value.Tuple + [ Value.UnicodeChar 42579; Value.Integer IntegerKind.U32 42578 ]; + Value.Tuple + [ Value.UnicodeChar 42581; Value.Integer IntegerKind.U32 42580 ]; + Value.Tuple + [ Value.UnicodeChar 42583; Value.Integer IntegerKind.U32 42582 ]; + Value.Tuple + [ Value.UnicodeChar 42585; Value.Integer IntegerKind.U32 42584 ]; + Value.Tuple + [ Value.UnicodeChar 42587; Value.Integer IntegerKind.U32 42586 ]; + Value.Tuple + [ Value.UnicodeChar 42589; Value.Integer IntegerKind.U32 42588 ]; + Value.Tuple + [ Value.UnicodeChar 42591; Value.Integer IntegerKind.U32 42590 ]; + Value.Tuple + [ Value.UnicodeChar 42593; Value.Integer IntegerKind.U32 42592 ]; + Value.Tuple + [ Value.UnicodeChar 42595; Value.Integer IntegerKind.U32 42594 ]; + Value.Tuple + [ Value.UnicodeChar 42597; Value.Integer IntegerKind.U32 42596 ]; + Value.Tuple + [ Value.UnicodeChar 42599; Value.Integer IntegerKind.U32 42598 ]; + Value.Tuple + [ Value.UnicodeChar 42601; Value.Integer IntegerKind.U32 42600 ]; + Value.Tuple + [ Value.UnicodeChar 42603; Value.Integer IntegerKind.U32 42602 ]; + Value.Tuple + [ Value.UnicodeChar 42605; Value.Integer IntegerKind.U32 42604 ]; + Value.Tuple + [ Value.UnicodeChar 42625; Value.Integer IntegerKind.U32 42624 ]; + Value.Tuple + [ Value.UnicodeChar 42627; Value.Integer IntegerKind.U32 42626 ]; + Value.Tuple + [ Value.UnicodeChar 42629; Value.Integer IntegerKind.U32 42628 ]; + Value.Tuple + [ Value.UnicodeChar 42631; Value.Integer IntegerKind.U32 42630 ]; + Value.Tuple + [ Value.UnicodeChar 42633; Value.Integer IntegerKind.U32 42632 ]; + Value.Tuple + [ Value.UnicodeChar 42635; Value.Integer IntegerKind.U32 42634 ]; + Value.Tuple + [ Value.UnicodeChar 42637; Value.Integer IntegerKind.U32 42636 ]; + Value.Tuple + [ Value.UnicodeChar 42639; Value.Integer IntegerKind.U32 42638 ]; + Value.Tuple + [ Value.UnicodeChar 42641; Value.Integer IntegerKind.U32 42640 ]; + Value.Tuple + [ Value.UnicodeChar 42643; Value.Integer IntegerKind.U32 42642 ]; + Value.Tuple + [ Value.UnicodeChar 42645; Value.Integer IntegerKind.U32 42644 ]; + Value.Tuple + [ Value.UnicodeChar 42647; Value.Integer IntegerKind.U32 42646 ]; + Value.Tuple + [ Value.UnicodeChar 42649; Value.Integer IntegerKind.U32 42648 ]; + Value.Tuple + [ Value.UnicodeChar 42651; Value.Integer IntegerKind.U32 42650 ]; + Value.Tuple + [ Value.UnicodeChar 42787; Value.Integer IntegerKind.U32 42786 ]; + Value.Tuple + [ Value.UnicodeChar 42789; Value.Integer IntegerKind.U32 42788 ]; + Value.Tuple + [ Value.UnicodeChar 42791; Value.Integer IntegerKind.U32 42790 ]; + Value.Tuple + [ Value.UnicodeChar 42793; Value.Integer IntegerKind.U32 42792 ]; + Value.Tuple + [ Value.UnicodeChar 42795; Value.Integer IntegerKind.U32 42794 ]; + Value.Tuple + [ Value.UnicodeChar 42797; Value.Integer IntegerKind.U32 42796 ]; + Value.Tuple + [ Value.UnicodeChar 42799; Value.Integer IntegerKind.U32 42798 ]; + Value.Tuple + [ Value.UnicodeChar 42803; Value.Integer IntegerKind.U32 42802 ]; + Value.Tuple + [ Value.UnicodeChar 42805; Value.Integer IntegerKind.U32 42804 ]; + Value.Tuple + [ Value.UnicodeChar 42807; Value.Integer IntegerKind.U32 42806 ]; + Value.Tuple + [ Value.UnicodeChar 42809; Value.Integer IntegerKind.U32 42808 ]; + Value.Tuple + [ Value.UnicodeChar 42811; Value.Integer IntegerKind.U32 42810 ]; + Value.Tuple + [ Value.UnicodeChar 42813; Value.Integer IntegerKind.U32 42812 ]; + Value.Tuple + [ Value.UnicodeChar 42815; Value.Integer IntegerKind.U32 42814 ]; + Value.Tuple + [ Value.UnicodeChar 42817; Value.Integer IntegerKind.U32 42816 ]; + Value.Tuple + [ Value.UnicodeChar 42819; Value.Integer IntegerKind.U32 42818 ]; + Value.Tuple + [ Value.UnicodeChar 42821; Value.Integer IntegerKind.U32 42820 ]; + Value.Tuple + [ Value.UnicodeChar 42823; Value.Integer IntegerKind.U32 42822 ]; + Value.Tuple + [ Value.UnicodeChar 42825; Value.Integer IntegerKind.U32 42824 ]; + Value.Tuple + [ Value.UnicodeChar 42827; Value.Integer IntegerKind.U32 42826 ]; + Value.Tuple + [ Value.UnicodeChar 42829; Value.Integer IntegerKind.U32 42828 ]; + Value.Tuple + [ Value.UnicodeChar 42831; Value.Integer IntegerKind.U32 42830 ]; + Value.Tuple + [ Value.UnicodeChar 42833; Value.Integer IntegerKind.U32 42832 ]; + Value.Tuple + [ Value.UnicodeChar 42835; Value.Integer IntegerKind.U32 42834 ]; + Value.Tuple + [ Value.UnicodeChar 42837; Value.Integer IntegerKind.U32 42836 ]; + Value.Tuple + [ Value.UnicodeChar 42839; Value.Integer IntegerKind.U32 42838 ]; + Value.Tuple + [ Value.UnicodeChar 42841; Value.Integer IntegerKind.U32 42840 ]; + Value.Tuple + [ Value.UnicodeChar 42843; Value.Integer IntegerKind.U32 42842 ]; + Value.Tuple + [ Value.UnicodeChar 42845; Value.Integer IntegerKind.U32 42844 ]; + Value.Tuple + [ Value.UnicodeChar 42847; Value.Integer IntegerKind.U32 42846 ]; + Value.Tuple + [ Value.UnicodeChar 42849; Value.Integer IntegerKind.U32 42848 ]; + Value.Tuple + [ Value.UnicodeChar 42851; Value.Integer IntegerKind.U32 42850 ]; + Value.Tuple + [ Value.UnicodeChar 42853; Value.Integer IntegerKind.U32 42852 ]; + Value.Tuple + [ Value.UnicodeChar 42855; Value.Integer IntegerKind.U32 42854 ]; + Value.Tuple + [ Value.UnicodeChar 42857; Value.Integer IntegerKind.U32 42856 ]; + Value.Tuple + [ Value.UnicodeChar 42859; Value.Integer IntegerKind.U32 42858 ]; + Value.Tuple + [ Value.UnicodeChar 42861; Value.Integer IntegerKind.U32 42860 ]; + Value.Tuple + [ Value.UnicodeChar 42863; Value.Integer IntegerKind.U32 42862 ]; + Value.Tuple + [ Value.UnicodeChar 42874; Value.Integer IntegerKind.U32 42873 ]; + Value.Tuple + [ Value.UnicodeChar 42876; Value.Integer IntegerKind.U32 42875 ]; + Value.Tuple + [ Value.UnicodeChar 42879; Value.Integer IntegerKind.U32 42878 ]; + Value.Tuple + [ Value.UnicodeChar 42881; Value.Integer IntegerKind.U32 42880 ]; + Value.Tuple + [ Value.UnicodeChar 42883; Value.Integer IntegerKind.U32 42882 ]; + Value.Tuple + [ Value.UnicodeChar 42885; Value.Integer IntegerKind.U32 42884 ]; + Value.Tuple + [ Value.UnicodeChar 42887; Value.Integer IntegerKind.U32 42886 ]; + Value.Tuple + [ Value.UnicodeChar 42892; Value.Integer IntegerKind.U32 42891 ]; + Value.Tuple + [ Value.UnicodeChar 42897; Value.Integer IntegerKind.U32 42896 ]; + Value.Tuple + [ Value.UnicodeChar 42899; Value.Integer IntegerKind.U32 42898 ]; + Value.Tuple + [ Value.UnicodeChar 42900; Value.Integer IntegerKind.U32 42948 ]; + Value.Tuple + [ Value.UnicodeChar 42903; Value.Integer IntegerKind.U32 42902 ]; + Value.Tuple + [ Value.UnicodeChar 42905; Value.Integer IntegerKind.U32 42904 ]; + Value.Tuple + [ Value.UnicodeChar 42907; Value.Integer IntegerKind.U32 42906 ]; + Value.Tuple + [ Value.UnicodeChar 42909; Value.Integer IntegerKind.U32 42908 ]; + Value.Tuple + [ Value.UnicodeChar 42911; Value.Integer IntegerKind.U32 42910 ]; + Value.Tuple + [ Value.UnicodeChar 42913; Value.Integer IntegerKind.U32 42912 ]; + Value.Tuple + [ Value.UnicodeChar 42915; Value.Integer IntegerKind.U32 42914 ]; + Value.Tuple + [ Value.UnicodeChar 42917; Value.Integer IntegerKind.U32 42916 ]; + Value.Tuple + [ Value.UnicodeChar 42919; Value.Integer IntegerKind.U32 42918 ]; + Value.Tuple + [ Value.UnicodeChar 42921; Value.Integer IntegerKind.U32 42920 ]; + Value.Tuple + [ Value.UnicodeChar 42933; Value.Integer IntegerKind.U32 42932 ]; + Value.Tuple + [ Value.UnicodeChar 42935; Value.Integer IntegerKind.U32 42934 ]; + Value.Tuple + [ Value.UnicodeChar 42937; Value.Integer IntegerKind.U32 42936 ]; + Value.Tuple + [ Value.UnicodeChar 42939; Value.Integer IntegerKind.U32 42938 ]; + Value.Tuple + [ Value.UnicodeChar 42941; Value.Integer IntegerKind.U32 42940 ]; + Value.Tuple + [ Value.UnicodeChar 42943; Value.Integer IntegerKind.U32 42942 ]; + Value.Tuple + [ Value.UnicodeChar 42945; Value.Integer IntegerKind.U32 42944 ]; + Value.Tuple + [ Value.UnicodeChar 42947; Value.Integer IntegerKind.U32 42946 ]; + Value.Tuple + [ Value.UnicodeChar 42952; Value.Integer IntegerKind.U32 42951 ]; + Value.Tuple + [ Value.UnicodeChar 42954; Value.Integer IntegerKind.U32 42953 ]; + Value.Tuple + [ Value.UnicodeChar 42961; Value.Integer IntegerKind.U32 42960 ]; + Value.Tuple + [ Value.UnicodeChar 42967; Value.Integer IntegerKind.U32 42966 ]; + Value.Tuple + [ Value.UnicodeChar 42969; Value.Integer IntegerKind.U32 42968 ]; + Value.Tuple + [ Value.UnicodeChar 42998; Value.Integer IntegerKind.U32 42997 ]; + Value.Tuple + [ Value.UnicodeChar 43859; Value.Integer IntegerKind.U32 42931 ]; + Value.Tuple [ Value.UnicodeChar 43888; Value.Integer IntegerKind.U32 5024 ]; + Value.Tuple [ Value.UnicodeChar 43889; Value.Integer IntegerKind.U32 5025 ]; + Value.Tuple [ Value.UnicodeChar 43890; Value.Integer IntegerKind.U32 5026 ]; + Value.Tuple [ Value.UnicodeChar 43891; Value.Integer IntegerKind.U32 5027 ]; + Value.Tuple [ Value.UnicodeChar 43892; Value.Integer IntegerKind.U32 5028 ]; + Value.Tuple [ Value.UnicodeChar 43893; Value.Integer IntegerKind.U32 5029 ]; + Value.Tuple [ Value.UnicodeChar 43894; Value.Integer IntegerKind.U32 5030 ]; + Value.Tuple [ Value.UnicodeChar 43895; Value.Integer IntegerKind.U32 5031 ]; + Value.Tuple [ Value.UnicodeChar 43896; Value.Integer IntegerKind.U32 5032 ]; + Value.Tuple [ Value.UnicodeChar 43897; Value.Integer IntegerKind.U32 5033 ]; + Value.Tuple [ Value.UnicodeChar 43898; Value.Integer IntegerKind.U32 5034 ]; + Value.Tuple [ Value.UnicodeChar 43899; Value.Integer IntegerKind.U32 5035 ]; + Value.Tuple [ Value.UnicodeChar 43900; Value.Integer IntegerKind.U32 5036 ]; + Value.Tuple [ Value.UnicodeChar 43901; Value.Integer IntegerKind.U32 5037 ]; + Value.Tuple [ Value.UnicodeChar 43902; Value.Integer IntegerKind.U32 5038 ]; + Value.Tuple [ Value.UnicodeChar 43903; Value.Integer IntegerKind.U32 5039 ]; + Value.Tuple [ Value.UnicodeChar 43904; Value.Integer IntegerKind.U32 5040 ]; + Value.Tuple [ Value.UnicodeChar 43905; Value.Integer IntegerKind.U32 5041 ]; + Value.Tuple [ Value.UnicodeChar 43906; Value.Integer IntegerKind.U32 5042 ]; + Value.Tuple [ Value.UnicodeChar 43907; Value.Integer IntegerKind.U32 5043 ]; + Value.Tuple [ Value.UnicodeChar 43908; Value.Integer IntegerKind.U32 5044 ]; + Value.Tuple [ Value.UnicodeChar 43909; Value.Integer IntegerKind.U32 5045 ]; + Value.Tuple [ Value.UnicodeChar 43910; Value.Integer IntegerKind.U32 5046 ]; + Value.Tuple [ Value.UnicodeChar 43911; Value.Integer IntegerKind.U32 5047 ]; + Value.Tuple [ Value.UnicodeChar 43912; Value.Integer IntegerKind.U32 5048 ]; + Value.Tuple [ Value.UnicodeChar 43913; Value.Integer IntegerKind.U32 5049 ]; + Value.Tuple [ Value.UnicodeChar 43914; Value.Integer IntegerKind.U32 5050 ]; + Value.Tuple [ Value.UnicodeChar 43915; Value.Integer IntegerKind.U32 5051 ]; + Value.Tuple [ Value.UnicodeChar 43916; Value.Integer IntegerKind.U32 5052 ]; + Value.Tuple [ Value.UnicodeChar 43917; Value.Integer IntegerKind.U32 5053 ]; + Value.Tuple [ Value.UnicodeChar 43918; Value.Integer IntegerKind.U32 5054 ]; + Value.Tuple [ Value.UnicodeChar 43919; Value.Integer IntegerKind.U32 5055 ]; + Value.Tuple [ Value.UnicodeChar 43920; Value.Integer IntegerKind.U32 5056 ]; + Value.Tuple [ Value.UnicodeChar 43921; Value.Integer IntegerKind.U32 5057 ]; + Value.Tuple [ Value.UnicodeChar 43922; Value.Integer IntegerKind.U32 5058 ]; + Value.Tuple [ Value.UnicodeChar 43923; Value.Integer IntegerKind.U32 5059 ]; + Value.Tuple [ Value.UnicodeChar 43924; Value.Integer IntegerKind.U32 5060 ]; + Value.Tuple [ Value.UnicodeChar 43925; Value.Integer IntegerKind.U32 5061 ]; + Value.Tuple [ Value.UnicodeChar 43926; Value.Integer IntegerKind.U32 5062 ]; + Value.Tuple [ Value.UnicodeChar 43927; Value.Integer IntegerKind.U32 5063 ]; + Value.Tuple [ Value.UnicodeChar 43928; Value.Integer IntegerKind.U32 5064 ]; + Value.Tuple [ Value.UnicodeChar 43929; Value.Integer IntegerKind.U32 5065 ]; + Value.Tuple [ Value.UnicodeChar 43930; Value.Integer IntegerKind.U32 5066 ]; + Value.Tuple [ Value.UnicodeChar 43931; Value.Integer IntegerKind.U32 5067 ]; + Value.Tuple [ Value.UnicodeChar 43932; Value.Integer IntegerKind.U32 5068 ]; + Value.Tuple [ Value.UnicodeChar 43933; Value.Integer IntegerKind.U32 5069 ]; + Value.Tuple [ Value.UnicodeChar 43934; Value.Integer IntegerKind.U32 5070 ]; + Value.Tuple [ Value.UnicodeChar 43935; Value.Integer IntegerKind.U32 5071 ]; + Value.Tuple [ Value.UnicodeChar 43936; Value.Integer IntegerKind.U32 5072 ]; + Value.Tuple [ Value.UnicodeChar 43937; Value.Integer IntegerKind.U32 5073 ]; + Value.Tuple [ Value.UnicodeChar 43938; Value.Integer IntegerKind.U32 5074 ]; + Value.Tuple [ Value.UnicodeChar 43939; Value.Integer IntegerKind.U32 5075 ]; + Value.Tuple [ Value.UnicodeChar 43940; Value.Integer IntegerKind.U32 5076 ]; + Value.Tuple [ Value.UnicodeChar 43941; Value.Integer IntegerKind.U32 5077 ]; + Value.Tuple [ Value.UnicodeChar 43942; Value.Integer IntegerKind.U32 5078 ]; + Value.Tuple [ Value.UnicodeChar 43943; Value.Integer IntegerKind.U32 5079 ]; + Value.Tuple [ Value.UnicodeChar 43944; Value.Integer IntegerKind.U32 5080 ]; + Value.Tuple [ Value.UnicodeChar 43945; Value.Integer IntegerKind.U32 5081 ]; + Value.Tuple [ Value.UnicodeChar 43946; Value.Integer IntegerKind.U32 5082 ]; + Value.Tuple [ Value.UnicodeChar 43947; Value.Integer IntegerKind.U32 5083 ]; + Value.Tuple [ Value.UnicodeChar 43948; Value.Integer IntegerKind.U32 5084 ]; + Value.Tuple [ Value.UnicodeChar 43949; Value.Integer IntegerKind.U32 5085 ]; + Value.Tuple [ Value.UnicodeChar 43950; Value.Integer IntegerKind.U32 5086 ]; + Value.Tuple [ Value.UnicodeChar 43951; Value.Integer IntegerKind.U32 5087 ]; + Value.Tuple [ Value.UnicodeChar 43952; Value.Integer IntegerKind.U32 5088 ]; + Value.Tuple [ Value.UnicodeChar 43953; Value.Integer IntegerKind.U32 5089 ]; + Value.Tuple [ Value.UnicodeChar 43954; Value.Integer IntegerKind.U32 5090 ]; + Value.Tuple [ Value.UnicodeChar 43955; Value.Integer IntegerKind.U32 5091 ]; + Value.Tuple [ Value.UnicodeChar 43956; Value.Integer IntegerKind.U32 5092 ]; + Value.Tuple [ Value.UnicodeChar 43957; Value.Integer IntegerKind.U32 5093 ]; + Value.Tuple [ Value.UnicodeChar 43958; Value.Integer IntegerKind.U32 5094 ]; + Value.Tuple [ Value.UnicodeChar 43959; Value.Integer IntegerKind.U32 5095 ]; + Value.Tuple [ Value.UnicodeChar 43960; Value.Integer IntegerKind.U32 5096 ]; + Value.Tuple [ Value.UnicodeChar 43961; Value.Integer IntegerKind.U32 5097 ]; + Value.Tuple [ Value.UnicodeChar 43962; Value.Integer IntegerKind.U32 5098 ]; + Value.Tuple [ Value.UnicodeChar 43963; Value.Integer IntegerKind.U32 5099 ]; + Value.Tuple [ Value.UnicodeChar 43964; Value.Integer IntegerKind.U32 5100 ]; + Value.Tuple [ Value.UnicodeChar 43965; Value.Integer IntegerKind.U32 5101 ]; + Value.Tuple [ Value.UnicodeChar 43966; Value.Integer IntegerKind.U32 5102 ]; + Value.Tuple [ Value.UnicodeChar 43967; Value.Integer IntegerKind.U32 5103 ]; + Value.Tuple + [ Value.UnicodeChar 64256; Value.Integer IntegerKind.U32 4194394 ]; + Value.Tuple + [ Value.UnicodeChar 64257; Value.Integer IntegerKind.U32 4194395 ]; + Value.Tuple + [ Value.UnicodeChar 64258; Value.Integer IntegerKind.U32 4194396 ]; + Value.Tuple + [ Value.UnicodeChar 64259; Value.Integer IntegerKind.U32 4194397 ]; + Value.Tuple + [ Value.UnicodeChar 64260; Value.Integer IntegerKind.U32 4194398 ]; + Value.Tuple + [ Value.UnicodeChar 64261; Value.Integer IntegerKind.U32 4194399 ]; + Value.Tuple + [ Value.UnicodeChar 64262; Value.Integer IntegerKind.U32 4194400 ]; + Value.Tuple + [ Value.UnicodeChar 64275; Value.Integer IntegerKind.U32 4194401 ]; + Value.Tuple + [ Value.UnicodeChar 64276; Value.Integer IntegerKind.U32 4194402 ]; + Value.Tuple + [ Value.UnicodeChar 64277; Value.Integer IntegerKind.U32 4194403 ]; + Value.Tuple + [ Value.UnicodeChar 64278; Value.Integer IntegerKind.U32 4194404 ]; + Value.Tuple + [ Value.UnicodeChar 64279; Value.Integer IntegerKind.U32 4194405 ]; + Value.Tuple + [ Value.UnicodeChar 65345; Value.Integer IntegerKind.U32 65313 ]; + Value.Tuple + [ Value.UnicodeChar 65346; Value.Integer IntegerKind.U32 65314 ]; + Value.Tuple + [ Value.UnicodeChar 65347; Value.Integer IntegerKind.U32 65315 ]; + Value.Tuple + [ Value.UnicodeChar 65348; Value.Integer IntegerKind.U32 65316 ]; + Value.Tuple + [ Value.UnicodeChar 65349; Value.Integer IntegerKind.U32 65317 ]; + Value.Tuple + [ Value.UnicodeChar 65350; Value.Integer IntegerKind.U32 65318 ]; + Value.Tuple + [ Value.UnicodeChar 65351; Value.Integer IntegerKind.U32 65319 ]; + Value.Tuple + [ Value.UnicodeChar 65352; Value.Integer IntegerKind.U32 65320 ]; + Value.Tuple + [ Value.UnicodeChar 65353; Value.Integer IntegerKind.U32 65321 ]; + Value.Tuple + [ Value.UnicodeChar 65354; Value.Integer IntegerKind.U32 65322 ]; + Value.Tuple + [ Value.UnicodeChar 65355; Value.Integer IntegerKind.U32 65323 ]; + Value.Tuple + [ Value.UnicodeChar 65356; Value.Integer IntegerKind.U32 65324 ]; + Value.Tuple + [ Value.UnicodeChar 65357; Value.Integer IntegerKind.U32 65325 ]; + Value.Tuple + [ Value.UnicodeChar 65358; Value.Integer IntegerKind.U32 65326 ]; + Value.Tuple + [ Value.UnicodeChar 65359; Value.Integer IntegerKind.U32 65327 ]; + Value.Tuple + [ Value.UnicodeChar 65360; Value.Integer IntegerKind.U32 65328 ]; + Value.Tuple + [ Value.UnicodeChar 65361; Value.Integer IntegerKind.U32 65329 ]; + Value.Tuple + [ Value.UnicodeChar 65362; Value.Integer IntegerKind.U32 65330 ]; + Value.Tuple + [ Value.UnicodeChar 65363; Value.Integer IntegerKind.U32 65331 ]; + Value.Tuple + [ Value.UnicodeChar 65364; Value.Integer IntegerKind.U32 65332 ]; + Value.Tuple + [ Value.UnicodeChar 65365; Value.Integer IntegerKind.U32 65333 ]; + Value.Tuple + [ Value.UnicodeChar 65366; Value.Integer IntegerKind.U32 65334 ]; + Value.Tuple + [ Value.UnicodeChar 65367; Value.Integer IntegerKind.U32 65335 ]; + Value.Tuple + [ Value.UnicodeChar 65368; Value.Integer IntegerKind.U32 65336 ]; + Value.Tuple + [ Value.UnicodeChar 65369; Value.Integer IntegerKind.U32 65337 ]; + Value.Tuple + [ Value.UnicodeChar 65370; Value.Integer IntegerKind.U32 65338 ]; + Value.Tuple + [ Value.UnicodeChar 66600; Value.Integer IntegerKind.U32 66560 ]; + Value.Tuple + [ Value.UnicodeChar 66601; Value.Integer IntegerKind.U32 66561 ]; + Value.Tuple + [ Value.UnicodeChar 66602; Value.Integer IntegerKind.U32 66562 ]; + Value.Tuple + [ Value.UnicodeChar 66603; Value.Integer IntegerKind.U32 66563 ]; + Value.Tuple + [ Value.UnicodeChar 66604; Value.Integer IntegerKind.U32 66564 ]; + Value.Tuple + [ Value.UnicodeChar 66605; Value.Integer IntegerKind.U32 66565 ]; + Value.Tuple + [ Value.UnicodeChar 66606; Value.Integer IntegerKind.U32 66566 ]; + Value.Tuple + [ Value.UnicodeChar 66607; Value.Integer IntegerKind.U32 66567 ]; + Value.Tuple + [ Value.UnicodeChar 66608; Value.Integer IntegerKind.U32 66568 ]; + Value.Tuple + [ Value.UnicodeChar 66609; Value.Integer IntegerKind.U32 66569 ]; + Value.Tuple + [ Value.UnicodeChar 66610; Value.Integer IntegerKind.U32 66570 ]; + Value.Tuple + [ Value.UnicodeChar 66611; Value.Integer IntegerKind.U32 66571 ]; + Value.Tuple + [ Value.UnicodeChar 66612; Value.Integer IntegerKind.U32 66572 ]; + Value.Tuple + [ Value.UnicodeChar 66613; Value.Integer IntegerKind.U32 66573 ]; + Value.Tuple + [ Value.UnicodeChar 66614; Value.Integer IntegerKind.U32 66574 ]; + Value.Tuple + [ Value.UnicodeChar 66615; Value.Integer IntegerKind.U32 66575 ]; + Value.Tuple + [ Value.UnicodeChar 66616; Value.Integer IntegerKind.U32 66576 ]; + Value.Tuple + [ Value.UnicodeChar 66617; Value.Integer IntegerKind.U32 66577 ]; + Value.Tuple + [ Value.UnicodeChar 66618; Value.Integer IntegerKind.U32 66578 ]; + Value.Tuple + [ Value.UnicodeChar 66619; Value.Integer IntegerKind.U32 66579 ]; + Value.Tuple + [ Value.UnicodeChar 66620; Value.Integer IntegerKind.U32 66580 ]; + Value.Tuple + [ Value.UnicodeChar 66621; Value.Integer IntegerKind.U32 66581 ]; + Value.Tuple + [ Value.UnicodeChar 66622; Value.Integer IntegerKind.U32 66582 ]; + Value.Tuple + [ Value.UnicodeChar 66623; Value.Integer IntegerKind.U32 66583 ]; + Value.Tuple + [ Value.UnicodeChar 66624; Value.Integer IntegerKind.U32 66584 ]; + Value.Tuple + [ Value.UnicodeChar 66625; Value.Integer IntegerKind.U32 66585 ]; + Value.Tuple + [ Value.UnicodeChar 66626; Value.Integer IntegerKind.U32 66586 ]; + Value.Tuple + [ Value.UnicodeChar 66627; Value.Integer IntegerKind.U32 66587 ]; + Value.Tuple + [ Value.UnicodeChar 66628; Value.Integer IntegerKind.U32 66588 ]; + Value.Tuple + [ Value.UnicodeChar 66629; Value.Integer IntegerKind.U32 66589 ]; + Value.Tuple + [ Value.UnicodeChar 66630; Value.Integer IntegerKind.U32 66590 ]; + Value.Tuple + [ Value.UnicodeChar 66631; Value.Integer IntegerKind.U32 66591 ]; + Value.Tuple + [ Value.UnicodeChar 66632; Value.Integer IntegerKind.U32 66592 ]; + Value.Tuple + [ Value.UnicodeChar 66633; Value.Integer IntegerKind.U32 66593 ]; + Value.Tuple + [ Value.UnicodeChar 66634; Value.Integer IntegerKind.U32 66594 ]; + Value.Tuple + [ Value.UnicodeChar 66635; Value.Integer IntegerKind.U32 66595 ]; + Value.Tuple + [ Value.UnicodeChar 66636; Value.Integer IntegerKind.U32 66596 ]; + Value.Tuple + [ Value.UnicodeChar 66637; Value.Integer IntegerKind.U32 66597 ]; + Value.Tuple + [ Value.UnicodeChar 66638; Value.Integer IntegerKind.U32 66598 ]; + Value.Tuple + [ Value.UnicodeChar 66639; Value.Integer IntegerKind.U32 66599 ]; + Value.Tuple + [ Value.UnicodeChar 66776; Value.Integer IntegerKind.U32 66736 ]; + Value.Tuple + [ Value.UnicodeChar 66777; Value.Integer IntegerKind.U32 66737 ]; + Value.Tuple + [ Value.UnicodeChar 66778; Value.Integer IntegerKind.U32 66738 ]; + Value.Tuple + [ Value.UnicodeChar 66779; Value.Integer IntegerKind.U32 66739 ]; + Value.Tuple + [ Value.UnicodeChar 66780; Value.Integer IntegerKind.U32 66740 ]; + Value.Tuple + [ Value.UnicodeChar 66781; Value.Integer IntegerKind.U32 66741 ]; + Value.Tuple + [ Value.UnicodeChar 66782; Value.Integer IntegerKind.U32 66742 ]; + Value.Tuple + [ Value.UnicodeChar 66783; Value.Integer IntegerKind.U32 66743 ]; + Value.Tuple + [ Value.UnicodeChar 66784; Value.Integer IntegerKind.U32 66744 ]; + Value.Tuple + [ Value.UnicodeChar 66785; Value.Integer IntegerKind.U32 66745 ]; + Value.Tuple + [ Value.UnicodeChar 66786; Value.Integer IntegerKind.U32 66746 ]; + Value.Tuple + [ Value.UnicodeChar 66787; Value.Integer IntegerKind.U32 66747 ]; + Value.Tuple + [ Value.UnicodeChar 66788; Value.Integer IntegerKind.U32 66748 ]; + Value.Tuple + [ Value.UnicodeChar 66789; Value.Integer IntegerKind.U32 66749 ]; + Value.Tuple + [ Value.UnicodeChar 66790; Value.Integer IntegerKind.U32 66750 ]; + Value.Tuple + [ Value.UnicodeChar 66791; Value.Integer IntegerKind.U32 66751 ]; + Value.Tuple + [ Value.UnicodeChar 66792; Value.Integer IntegerKind.U32 66752 ]; + Value.Tuple + [ Value.UnicodeChar 66793; Value.Integer IntegerKind.U32 66753 ]; + Value.Tuple + [ Value.UnicodeChar 66794; Value.Integer IntegerKind.U32 66754 ]; + Value.Tuple + [ Value.UnicodeChar 66795; Value.Integer IntegerKind.U32 66755 ]; + Value.Tuple + [ Value.UnicodeChar 66796; Value.Integer IntegerKind.U32 66756 ]; + Value.Tuple + [ Value.UnicodeChar 66797; Value.Integer IntegerKind.U32 66757 ]; + Value.Tuple + [ Value.UnicodeChar 66798; Value.Integer IntegerKind.U32 66758 ]; + Value.Tuple + [ Value.UnicodeChar 66799; Value.Integer IntegerKind.U32 66759 ]; + Value.Tuple + [ Value.UnicodeChar 66800; Value.Integer IntegerKind.U32 66760 ]; + Value.Tuple + [ Value.UnicodeChar 66801; Value.Integer IntegerKind.U32 66761 ]; + Value.Tuple + [ Value.UnicodeChar 66802; Value.Integer IntegerKind.U32 66762 ]; + Value.Tuple + [ Value.UnicodeChar 66803; Value.Integer IntegerKind.U32 66763 ]; + Value.Tuple + [ Value.UnicodeChar 66804; Value.Integer IntegerKind.U32 66764 ]; + Value.Tuple + [ Value.UnicodeChar 66805; Value.Integer IntegerKind.U32 66765 ]; + Value.Tuple + [ Value.UnicodeChar 66806; Value.Integer IntegerKind.U32 66766 ]; + Value.Tuple + [ Value.UnicodeChar 66807; Value.Integer IntegerKind.U32 66767 ]; + Value.Tuple + [ Value.UnicodeChar 66808; Value.Integer IntegerKind.U32 66768 ]; + Value.Tuple + [ Value.UnicodeChar 66809; Value.Integer IntegerKind.U32 66769 ]; + Value.Tuple + [ Value.UnicodeChar 66810; Value.Integer IntegerKind.U32 66770 ]; + Value.Tuple + [ Value.UnicodeChar 66811; Value.Integer IntegerKind.U32 66771 ]; + Value.Tuple + [ Value.UnicodeChar 66967; Value.Integer IntegerKind.U32 66928 ]; + Value.Tuple + [ Value.UnicodeChar 66968; Value.Integer IntegerKind.U32 66929 ]; + Value.Tuple + [ Value.UnicodeChar 66969; Value.Integer IntegerKind.U32 66930 ]; + Value.Tuple + [ Value.UnicodeChar 66970; Value.Integer IntegerKind.U32 66931 ]; + Value.Tuple + [ Value.UnicodeChar 66971; Value.Integer IntegerKind.U32 66932 ]; + Value.Tuple + [ Value.UnicodeChar 66972; Value.Integer IntegerKind.U32 66933 ]; + Value.Tuple + [ Value.UnicodeChar 66973; Value.Integer IntegerKind.U32 66934 ]; + Value.Tuple + [ Value.UnicodeChar 66974; Value.Integer IntegerKind.U32 66935 ]; + Value.Tuple + [ Value.UnicodeChar 66975; Value.Integer IntegerKind.U32 66936 ]; + Value.Tuple + [ Value.UnicodeChar 66976; Value.Integer IntegerKind.U32 66937 ]; + Value.Tuple + [ Value.UnicodeChar 66977; Value.Integer IntegerKind.U32 66938 ]; + Value.Tuple + [ Value.UnicodeChar 66979; Value.Integer IntegerKind.U32 66940 ]; + Value.Tuple + [ Value.UnicodeChar 66980; Value.Integer IntegerKind.U32 66941 ]; + Value.Tuple + [ Value.UnicodeChar 66981; Value.Integer IntegerKind.U32 66942 ]; + Value.Tuple + [ Value.UnicodeChar 66982; Value.Integer IntegerKind.U32 66943 ]; + Value.Tuple + [ Value.UnicodeChar 66983; Value.Integer IntegerKind.U32 66944 ]; + Value.Tuple + [ Value.UnicodeChar 66984; Value.Integer IntegerKind.U32 66945 ]; + Value.Tuple + [ Value.UnicodeChar 66985; Value.Integer IntegerKind.U32 66946 ]; + Value.Tuple + [ Value.UnicodeChar 66986; Value.Integer IntegerKind.U32 66947 ]; + Value.Tuple + [ Value.UnicodeChar 66987; Value.Integer IntegerKind.U32 66948 ]; + Value.Tuple + [ Value.UnicodeChar 66988; Value.Integer IntegerKind.U32 66949 ]; + Value.Tuple + [ Value.UnicodeChar 66989; Value.Integer IntegerKind.U32 66950 ]; + Value.Tuple + [ Value.UnicodeChar 66990; Value.Integer IntegerKind.U32 66951 ]; + Value.Tuple + [ Value.UnicodeChar 66991; Value.Integer IntegerKind.U32 66952 ]; + Value.Tuple + [ Value.UnicodeChar 66992; Value.Integer IntegerKind.U32 66953 ]; + Value.Tuple + [ Value.UnicodeChar 66993; Value.Integer IntegerKind.U32 66954 ]; + Value.Tuple + [ Value.UnicodeChar 66995; Value.Integer IntegerKind.U32 66956 ]; + Value.Tuple + [ Value.UnicodeChar 66996; Value.Integer IntegerKind.U32 66957 ]; + Value.Tuple + [ Value.UnicodeChar 66997; Value.Integer IntegerKind.U32 66958 ]; + Value.Tuple + [ Value.UnicodeChar 66998; Value.Integer IntegerKind.U32 66959 ]; + Value.Tuple + [ Value.UnicodeChar 66999; Value.Integer IntegerKind.U32 66960 ]; + Value.Tuple + [ Value.UnicodeChar 67000; Value.Integer IntegerKind.U32 66961 ]; + Value.Tuple + [ Value.UnicodeChar 67001; Value.Integer IntegerKind.U32 66962 ]; + Value.Tuple + [ Value.UnicodeChar 67003; Value.Integer IntegerKind.U32 66964 ]; + Value.Tuple + [ Value.UnicodeChar 67004; Value.Integer IntegerKind.U32 66965 ]; + Value.Tuple + [ Value.UnicodeChar 68800; Value.Integer IntegerKind.U32 68736 ]; + Value.Tuple + [ Value.UnicodeChar 68801; Value.Integer IntegerKind.U32 68737 ]; + Value.Tuple + [ Value.UnicodeChar 68802; Value.Integer IntegerKind.U32 68738 ]; + Value.Tuple + [ Value.UnicodeChar 68803; Value.Integer IntegerKind.U32 68739 ]; + Value.Tuple + [ Value.UnicodeChar 68804; Value.Integer IntegerKind.U32 68740 ]; + Value.Tuple + [ Value.UnicodeChar 68805; Value.Integer IntegerKind.U32 68741 ]; + Value.Tuple + [ Value.UnicodeChar 68806; Value.Integer IntegerKind.U32 68742 ]; + Value.Tuple + [ Value.UnicodeChar 68807; Value.Integer IntegerKind.U32 68743 ]; + Value.Tuple + [ Value.UnicodeChar 68808; Value.Integer IntegerKind.U32 68744 ]; + Value.Tuple + [ Value.UnicodeChar 68809; Value.Integer IntegerKind.U32 68745 ]; + Value.Tuple + [ Value.UnicodeChar 68810; Value.Integer IntegerKind.U32 68746 ]; + Value.Tuple + [ Value.UnicodeChar 68811; Value.Integer IntegerKind.U32 68747 ]; + Value.Tuple + [ Value.UnicodeChar 68812; Value.Integer IntegerKind.U32 68748 ]; + Value.Tuple + [ Value.UnicodeChar 68813; Value.Integer IntegerKind.U32 68749 ]; + Value.Tuple + [ Value.UnicodeChar 68814; Value.Integer IntegerKind.U32 68750 ]; + Value.Tuple + [ Value.UnicodeChar 68815; Value.Integer IntegerKind.U32 68751 ]; + Value.Tuple + [ Value.UnicodeChar 68816; Value.Integer IntegerKind.U32 68752 ]; + Value.Tuple + [ Value.UnicodeChar 68817; Value.Integer IntegerKind.U32 68753 ]; + Value.Tuple + [ Value.UnicodeChar 68818; Value.Integer IntegerKind.U32 68754 ]; + Value.Tuple + [ Value.UnicodeChar 68819; Value.Integer IntegerKind.U32 68755 ]; + Value.Tuple + [ Value.UnicodeChar 68820; Value.Integer IntegerKind.U32 68756 ]; + Value.Tuple + [ Value.UnicodeChar 68821; Value.Integer IntegerKind.U32 68757 ]; + Value.Tuple + [ Value.UnicodeChar 68822; Value.Integer IntegerKind.U32 68758 ]; + Value.Tuple + [ Value.UnicodeChar 68823; Value.Integer IntegerKind.U32 68759 ]; + Value.Tuple + [ Value.UnicodeChar 68824; Value.Integer IntegerKind.U32 68760 ]; + Value.Tuple + [ Value.UnicodeChar 68825; Value.Integer IntegerKind.U32 68761 ]; + Value.Tuple + [ Value.UnicodeChar 68826; Value.Integer IntegerKind.U32 68762 ]; + Value.Tuple + [ Value.UnicodeChar 68827; Value.Integer IntegerKind.U32 68763 ]; + Value.Tuple + [ Value.UnicodeChar 68828; Value.Integer IntegerKind.U32 68764 ]; + Value.Tuple + [ Value.UnicodeChar 68829; Value.Integer IntegerKind.U32 68765 ]; + Value.Tuple + [ Value.UnicodeChar 68830; Value.Integer IntegerKind.U32 68766 ]; + Value.Tuple + [ Value.UnicodeChar 68831; Value.Integer IntegerKind.U32 68767 ]; + Value.Tuple + [ Value.UnicodeChar 68832; Value.Integer IntegerKind.U32 68768 ]; + Value.Tuple + [ Value.UnicodeChar 68833; Value.Integer IntegerKind.U32 68769 ]; + Value.Tuple + [ Value.UnicodeChar 68834; Value.Integer IntegerKind.U32 68770 ]; + Value.Tuple + [ Value.UnicodeChar 68835; Value.Integer IntegerKind.U32 68771 ]; + Value.Tuple + [ Value.UnicodeChar 68836; Value.Integer IntegerKind.U32 68772 ]; + Value.Tuple + [ Value.UnicodeChar 68837; Value.Integer IntegerKind.U32 68773 ]; + Value.Tuple + [ Value.UnicodeChar 68838; Value.Integer IntegerKind.U32 68774 ]; + Value.Tuple + [ Value.UnicodeChar 68839; Value.Integer IntegerKind.U32 68775 ]; + Value.Tuple + [ Value.UnicodeChar 68840; Value.Integer IntegerKind.U32 68776 ]; + Value.Tuple + [ Value.UnicodeChar 68841; Value.Integer IntegerKind.U32 68777 ]; + Value.Tuple + [ Value.UnicodeChar 68842; Value.Integer IntegerKind.U32 68778 ]; + Value.Tuple + [ Value.UnicodeChar 68843; Value.Integer IntegerKind.U32 68779 ]; + Value.Tuple + [ Value.UnicodeChar 68844; Value.Integer IntegerKind.U32 68780 ]; + Value.Tuple + [ Value.UnicodeChar 68845; Value.Integer IntegerKind.U32 68781 ]; + Value.Tuple + [ Value.UnicodeChar 68846; Value.Integer IntegerKind.U32 68782 ]; + Value.Tuple + [ Value.UnicodeChar 68847; Value.Integer IntegerKind.U32 68783 ]; + Value.Tuple + [ Value.UnicodeChar 68848; Value.Integer IntegerKind.U32 68784 ]; + Value.Tuple + [ Value.UnicodeChar 68849; Value.Integer IntegerKind.U32 68785 ]; + Value.Tuple + [ Value.UnicodeChar 68850; Value.Integer IntegerKind.U32 68786 ]; + Value.Tuple + [ Value.UnicodeChar 71872; Value.Integer IntegerKind.U32 71840 ]; + Value.Tuple + [ Value.UnicodeChar 71873; Value.Integer IntegerKind.U32 71841 ]; + Value.Tuple + [ Value.UnicodeChar 71874; Value.Integer IntegerKind.U32 71842 ]; + Value.Tuple + [ Value.UnicodeChar 71875; Value.Integer IntegerKind.U32 71843 ]; + Value.Tuple + [ Value.UnicodeChar 71876; Value.Integer IntegerKind.U32 71844 ]; + Value.Tuple + [ Value.UnicodeChar 71877; Value.Integer IntegerKind.U32 71845 ]; + Value.Tuple + [ Value.UnicodeChar 71878; Value.Integer IntegerKind.U32 71846 ]; + Value.Tuple + [ Value.UnicodeChar 71879; Value.Integer IntegerKind.U32 71847 ]; + Value.Tuple + [ Value.UnicodeChar 71880; Value.Integer IntegerKind.U32 71848 ]; + Value.Tuple + [ Value.UnicodeChar 71881; Value.Integer IntegerKind.U32 71849 ]; + Value.Tuple + [ Value.UnicodeChar 71882; Value.Integer IntegerKind.U32 71850 ]; + Value.Tuple + [ Value.UnicodeChar 71883; Value.Integer IntegerKind.U32 71851 ]; + Value.Tuple + [ Value.UnicodeChar 71884; Value.Integer IntegerKind.U32 71852 ]; + Value.Tuple + [ Value.UnicodeChar 71885; Value.Integer IntegerKind.U32 71853 ]; + Value.Tuple + [ Value.UnicodeChar 71886; Value.Integer IntegerKind.U32 71854 ]; + Value.Tuple + [ Value.UnicodeChar 71887; Value.Integer IntegerKind.U32 71855 ]; + Value.Tuple + [ Value.UnicodeChar 71888; Value.Integer IntegerKind.U32 71856 ]; + Value.Tuple + [ Value.UnicodeChar 71889; Value.Integer IntegerKind.U32 71857 ]; + Value.Tuple + [ Value.UnicodeChar 71890; Value.Integer IntegerKind.U32 71858 ]; + Value.Tuple + [ Value.UnicodeChar 71891; Value.Integer IntegerKind.U32 71859 ]; + Value.Tuple + [ Value.UnicodeChar 71892; Value.Integer IntegerKind.U32 71860 ]; + Value.Tuple + [ Value.UnicodeChar 71893; Value.Integer IntegerKind.U32 71861 ]; + Value.Tuple + [ Value.UnicodeChar 71894; Value.Integer IntegerKind.U32 71862 ]; + Value.Tuple + [ Value.UnicodeChar 71895; Value.Integer IntegerKind.U32 71863 ]; + Value.Tuple + [ Value.UnicodeChar 71896; Value.Integer IntegerKind.U32 71864 ]; + Value.Tuple + [ Value.UnicodeChar 71897; Value.Integer IntegerKind.U32 71865 ]; + Value.Tuple + [ Value.UnicodeChar 71898; Value.Integer IntegerKind.U32 71866 ]; + Value.Tuple + [ Value.UnicodeChar 71899; Value.Integer IntegerKind.U32 71867 ]; + Value.Tuple + [ Value.UnicodeChar 71900; Value.Integer IntegerKind.U32 71868 ]; + Value.Tuple + [ Value.UnicodeChar 71901; Value.Integer IntegerKind.U32 71869 ]; + Value.Tuple + [ Value.UnicodeChar 71902; Value.Integer IntegerKind.U32 71870 ]; + Value.Tuple + [ Value.UnicodeChar 71903; Value.Integer IntegerKind.U32 71871 ]; + Value.Tuple + [ Value.UnicodeChar 93792; Value.Integer IntegerKind.U32 93760 ]; + Value.Tuple + [ Value.UnicodeChar 93793; Value.Integer IntegerKind.U32 93761 ]; + Value.Tuple + [ Value.UnicodeChar 93794; Value.Integer IntegerKind.U32 93762 ]; + Value.Tuple + [ Value.UnicodeChar 93795; Value.Integer IntegerKind.U32 93763 ]; + Value.Tuple + [ Value.UnicodeChar 93796; Value.Integer IntegerKind.U32 93764 ]; + Value.Tuple + [ Value.UnicodeChar 93797; Value.Integer IntegerKind.U32 93765 ]; + Value.Tuple + [ Value.UnicodeChar 93798; Value.Integer IntegerKind.U32 93766 ]; + Value.Tuple + [ Value.UnicodeChar 93799; Value.Integer IntegerKind.U32 93767 ]; + Value.Tuple + [ Value.UnicodeChar 93800; Value.Integer IntegerKind.U32 93768 ]; + Value.Tuple + [ Value.UnicodeChar 93801; Value.Integer IntegerKind.U32 93769 ]; + Value.Tuple + [ Value.UnicodeChar 93802; Value.Integer IntegerKind.U32 93770 ]; + Value.Tuple + [ Value.UnicodeChar 93803; Value.Integer IntegerKind.U32 93771 ]; + Value.Tuple + [ Value.UnicodeChar 93804; Value.Integer IntegerKind.U32 93772 ]; + Value.Tuple + [ Value.UnicodeChar 93805; Value.Integer IntegerKind.U32 93773 ]; + Value.Tuple + [ Value.UnicodeChar 93806; Value.Integer IntegerKind.U32 93774 ]; + Value.Tuple + [ Value.UnicodeChar 93807; Value.Integer IntegerKind.U32 93775 ]; + Value.Tuple + [ Value.UnicodeChar 93808; Value.Integer IntegerKind.U32 93776 ]; + Value.Tuple + [ Value.UnicodeChar 93809; Value.Integer IntegerKind.U32 93777 ]; + Value.Tuple + [ Value.UnicodeChar 93810; Value.Integer IntegerKind.U32 93778 ]; + Value.Tuple + [ Value.UnicodeChar 93811; Value.Integer IntegerKind.U32 93779 ]; + Value.Tuple + [ Value.UnicodeChar 93812; Value.Integer IntegerKind.U32 93780 ]; + Value.Tuple + [ Value.UnicodeChar 93813; Value.Integer IntegerKind.U32 93781 ]; + Value.Tuple + [ Value.UnicodeChar 93814; Value.Integer IntegerKind.U32 93782 ]; + Value.Tuple + [ Value.UnicodeChar 93815; Value.Integer IntegerKind.U32 93783 ]; + Value.Tuple + [ Value.UnicodeChar 93816; Value.Integer IntegerKind.U32 93784 ]; + Value.Tuple + [ Value.UnicodeChar 93817; Value.Integer IntegerKind.U32 93785 ]; + Value.Tuple + [ Value.UnicodeChar 93818; Value.Integer IntegerKind.U32 93786 ]; + Value.Tuple + [ Value.UnicodeChar 93819; Value.Integer IntegerKind.U32 93787 ]; + Value.Tuple + [ Value.UnicodeChar 93820; Value.Integer IntegerKind.U32 93788 ]; + Value.Tuple + [ Value.UnicodeChar 93821; Value.Integer IntegerKind.U32 93789 ]; + Value.Tuple + [ Value.UnicodeChar 93822; Value.Integer IntegerKind.U32 93790 ]; + Value.Tuple + [ Value.UnicodeChar 93823; Value.Integer IntegerKind.U32 93791 ]; + Value.Tuple + [ Value.UnicodeChar 125218; Value.Integer IntegerKind.U32 125184 ]; + Value.Tuple + [ Value.UnicodeChar 125219; Value.Integer IntegerKind.U32 125185 ]; + Value.Tuple + [ Value.UnicodeChar 125220; Value.Integer IntegerKind.U32 125186 ]; + Value.Tuple + [ Value.UnicodeChar 125221; Value.Integer IntegerKind.U32 125187 ]; + Value.Tuple + [ Value.UnicodeChar 125222; Value.Integer IntegerKind.U32 125188 ]; + Value.Tuple + [ Value.UnicodeChar 125223; Value.Integer IntegerKind.U32 125189 ]; + Value.Tuple + [ Value.UnicodeChar 125224; Value.Integer IntegerKind.U32 125190 ]; + Value.Tuple + [ Value.UnicodeChar 125225; Value.Integer IntegerKind.U32 125191 ]; + Value.Tuple + [ Value.UnicodeChar 125226; Value.Integer IntegerKind.U32 125192 ]; + Value.Tuple + [ Value.UnicodeChar 125227; Value.Integer IntegerKind.U32 125193 ]; + Value.Tuple + [ Value.UnicodeChar 125228; Value.Integer IntegerKind.U32 125194 ]; + Value.Tuple + [ Value.UnicodeChar 125229; Value.Integer IntegerKind.U32 125195 ]; + Value.Tuple + [ Value.UnicodeChar 125230; Value.Integer IntegerKind.U32 125196 ]; + Value.Tuple + [ Value.UnicodeChar 125231; Value.Integer IntegerKind.U32 125197 ]; + Value.Tuple + [ Value.UnicodeChar 125232; Value.Integer IntegerKind.U32 125198 ]; + Value.Tuple + [ Value.UnicodeChar 125233; Value.Integer IntegerKind.U32 125199 ]; + Value.Tuple + [ Value.UnicodeChar 125234; Value.Integer IntegerKind.U32 125200 ]; + Value.Tuple + [ Value.UnicodeChar 125235; Value.Integer IntegerKind.U32 125201 ]; + Value.Tuple + [ Value.UnicodeChar 125236; Value.Integer IntegerKind.U32 125202 ]; + Value.Tuple + [ Value.UnicodeChar 125237; Value.Integer IntegerKind.U32 125203 ]; + Value.Tuple + [ Value.UnicodeChar 125238; Value.Integer IntegerKind.U32 125204 ]; + Value.Tuple + [ Value.UnicodeChar 125239; Value.Integer IntegerKind.U32 125205 ]; + Value.Tuple + [ Value.UnicodeChar 125240; Value.Integer IntegerKind.U32 125206 ]; + Value.Tuple + [ Value.UnicodeChar 125241; Value.Integer IntegerKind.U32 125207 ]; + Value.Tuple + [ Value.UnicodeChar 125242; Value.Integer IntegerKind.U32 125208 ]; + Value.Tuple + [ Value.UnicodeChar 125243; Value.Integer IntegerKind.U32 125209 ]; + Value.Tuple + [ Value.UnicodeChar 125244; Value.Integer IntegerKind.U32 125210 ]; + Value.Tuple + [ Value.UnicodeChar 125245; Value.Integer IntegerKind.U32 125211 ]; + Value.Tuple + [ Value.UnicodeChar 125246; Value.Integer IntegerKind.U32 125212 ]; + Value.Tuple + [ Value.UnicodeChar 125247; Value.Integer IntegerKind.U32 125213 ]; + Value.Tuple + [ Value.UnicodeChar 125248; Value.Integer IntegerKind.U32 125214 ]; + Value.Tuple + [ Value.UnicodeChar 125249; Value.Integer IntegerKind.U32 125215 ]; + Value.Tuple + [ Value.UnicodeChar 125250; Value.Integer IntegerKind.U32 125216 ]; + Value.Tuple + [ Value.UnicodeChar 125251; Value.Integer IntegerKind.U32 125217 ] ] |)) |) diff --git a/CoqOfRust/core/unit.v b/CoqOfRust/core/unit.v index e2b9ddf3b..b6223015f 100644 --- a/CoqOfRust/core/unit.v +++ b/CoqOfRust/core/unit.v @@ -44,11 +44,11 @@ Module unit_. M.alloc (| α0 |), [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/custom/add_one.v b/CoqOfRust/examples/default/examples/custom/add_one.v index 76ea50891..94d6d711a 100644 --- a/CoqOfRust/examples/default/examples/custom/add_one.v +++ b/CoqOfRust/examples/default/examples/custom/add_one.v @@ -11,8 +11,8 @@ Definition add_one (τ : list Ty.t) (α : list Value.t) : M := | [], [ x ] => ltac:(M.monadic (let x := M.alloc (| x |) in - BinOp.Wrap.add Integer.U32 (M.read (| x |)) (Value.Integer 1))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| x |), Value.Integer IntegerKind.U32 1 |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_add_one : M.IsFunction "add_one::add_one" add_one. diff --git a/CoqOfRust/examples/default/examples/custom/constructor_as_function.v b/CoqOfRust/examples/default/examples/custom/constructor_as_function.v index 7b3c4ea80..295fa40f5 100644 --- a/CoqOfRust/examples/default/examples/custom/constructor_as_function.v +++ b/CoqOfRust/examples/default/examples/custom/constructor_as_function.v @@ -22,18 +22,26 @@ Definition matching (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Integer 0 |) in - M.alloc (| Value.Integer 0 |))); + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 0 + |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_1 |), + Value.Integer IntegerKind.I32 0 + |) in + M.alloc (| Value.Integer IntegerKind.I32 0 |))); fun γ => ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in - M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.I32 1 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_matching : M.IsFunction "constructor_as_function::matching" matching. @@ -75,7 +83,7 @@ Module Impl_core_fmt_Debug_for_constructor_as_function_Constructor. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -170,7 +178,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.alloc (| Value.Array - [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -231,7 +243,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "constructor_as_function::main" main. diff --git a/CoqOfRust/examples/default/examples/custom/hello_world.v b/CoqOfRust/examples/default/examples/custom/hello_world.v index e49481726..a580a36c1 100644 --- a/CoqOfRust/examples/default/examples/custom/hello_world.v +++ b/CoqOfRust/examples/default/examples/custom/hello_world.v @@ -85,7 +85,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) in let~ number := - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 7 ] |) in + M.alloc (| + Value.StructTuple "core::option::Option::Some" [ Value.Integer IntegerKind.I32 7 ] + |) in let~ letter := M.alloc (| Value.StructTuple "core::option::Option::None" [] |) in let~ emoticon := M.alloc (| Value.StructTuple "core::option::Option::None" [] |) in let~ _ := @@ -373,7 +375,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "hello_world::main" main. diff --git a/CoqOfRust/examples/default/examples/custom/if_let.v b/CoqOfRust/examples/default/examples/custom/if_let.v index 5e31322b4..af4f20dcb 100644 --- a/CoqOfRust/examples/default/examples/custom/if_let.v +++ b/CoqOfRust/examples/default/examples/custom/if_let.v @@ -21,7 +21,7 @@ Definition order (τ : list Ty.t) (α : list Value.t) : M := |), ltac:(M.monadic (M.read (| b4 |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_order : M.IsFunction "if_let::order" order. @@ -99,17 +99,17 @@ Definition extract_value (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic match γ with | [ value ] => ltac:(M.monadic value) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "if_let::Container::Empty" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.I32 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extract_value : M.IsFunction "if_let::extract_value" extract_value. @@ -152,7 +152,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ x := - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 5 ] |) in + M.alloc (| + Value.StructTuple "core::option::Option::Some" [ Value.Integer IntegerKind.I32 5 ] + |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -282,7 +284,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let γ0_0 := M.SubPointer.get_struct_tuple_field (| γ, "core::option::Option::Some", 0 |) in let y := M.copy (| γ0_0 |) in - let γ := M.use (M.alloc (| BinOp.Pure.gt (M.read (| y |)) (Value.Integer 3) |)) in + let γ := + M.use + (M.alloc (| + BinOp.gt (| M.read (| y |), Value.Integer IntegerKind.I32 3 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let γ := x in let γ0_0 := @@ -356,7 +362,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let γ0_0 := M.SubPointer.get_struct_tuple_field (| γ, "core::option::Option::Some", 0 |) in let y := M.copy (| γ0_0 |) in - let γ := M.alloc (| BinOp.Pure.gt (M.read (| y |)) (Value.Integer 3) |) in + let γ := + M.alloc (| BinOp.gt (| M.read (| y |), Value.Integer IntegerKind.I32 3 |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let γ := x in let γ0_0 := @@ -421,7 +428,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "if_let::main" main. diff --git a/CoqOfRust/examples/default/examples/custom/impl_param.v b/CoqOfRust/examples/default/examples/custom/impl_param.v index 86a6284fe..090fa329c 100644 --- a/CoqOfRust/examples/default/examples/custom/impl_param.v +++ b/CoqOfRust/examples/default/examples/custom/impl_param.v @@ -56,7 +56,7 @@ Definition with_impls (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_with_impls : M.IsFunction "impl_param::with_impls" with_impls. diff --git a/CoqOfRust/examples/default/examples/custom/module_duplicate.v b/CoqOfRust/examples/default/examples/custom/module_duplicate.v index d477b5982..1c2cb69a4 100644 --- a/CoqOfRust/examples/default/examples/custom/module_duplicate.v +++ b/CoqOfRust/examples/default/examples/custom/module_duplicate.v @@ -40,7 +40,7 @@ Module foo. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_f_foo_gre : M.IsFunction "module_duplicate::foo::gre::f_foo_gre" f_foo_gre. @@ -89,7 +89,7 @@ Module foo. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_f_foo : M.IsFunction "module_duplicate::foo::f_foo" f_foo. @@ -111,7 +111,7 @@ Definition f (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_f : M.IsFunction "module_duplicate::f" f. diff --git a/CoqOfRust/examples/default/examples/custom/mutual_loop.v b/CoqOfRust/examples/default/examples/custom/mutual_loop.v index 96e9fff02..1c4d28711 100644 --- a/CoqOfRust/examples/default/examples/custom/mutual_loop.v +++ b/CoqOfRust/examples/default/examples/custom/mutual_loop.v @@ -19,7 +19,7 @@ Module Impl_mutual_loop_LoopA. Definition new (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "mutual_loop::LoopA" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -38,7 +38,7 @@ Module Impl_mutual_loop_LoopA. M.get_associated_function (| Ty.path "mutual_loop::LoopB", "start_loop", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_start_loop : M.IsAssociatedFunction Self "start_loop" start_loop. @@ -82,7 +82,7 @@ Module Impl_mutual_loop_LoopB. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_start_loop : M.IsAssociatedFunction Self "start_loop" start_loop. @@ -116,7 +116,7 @@ Definition start_loop (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_start_loop : M.IsFunction "mutual_loop::start_loop" start_loop. diff --git a/CoqOfRust/examples/default/examples/custom/pattern_in_function_parameters.v b/CoqOfRust/examples/default/examples/custom/pattern_in_function_parameters.v index 729219826..6e91aedf4 100644 --- a/CoqOfRust/examples/default/examples/custom/pattern_in_function_parameters.v +++ b/CoqOfRust/examples/default/examples/custom/pattern_in_function_parameters.v @@ -20,10 +20,10 @@ Definition sum (τ : list Ty.t) (α : list Value.t) : M := let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let x := M.copy (| γ0_0 |) in let y := M.copy (| γ0_1 |) in - BinOp.Wrap.add Integer.I32 (M.read (| x |)) (M.read (| y |)))) + BinOp.Wrap.add (| M.read (| x |), M.read (| y |) |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sum : M.IsFunction "pattern_in_function_parameters::sum" sum. @@ -75,7 +75,7 @@ Definition steps_between (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| start |)) (M.read (| end_ |)) + BinOp.le (| M.read (| start |), M.read (| end_ |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -84,10 +84,7 @@ Definition steps_between (τ : list Ty.t) (α : list Value.t) : M := |) in let~ count := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (M.read (| end_ |)) - (M.read (| start |)) + BinOp.Wrap.sub (| M.read (| end_ |), M.read (| start |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -98,13 +95,15 @@ Definition steps_between (τ : list Ty.t) (α : list Value.t) : M := M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt - (M.read (| start |)) - (Value.Integer 55296), + BinOp.lt (| + M.read (| start |), + Value.Integer IntegerKind.U32 55296 + |), ltac:(M.monadic - (BinOp.Pure.le - (Value.Integer 57344) - (M.read (| end_ |)))) + (BinOp.le (| + Value.Integer IntegerKind.U32 57344, + M.read (| end_ |) + |))) |) |)) in let _ := @@ -134,10 +133,10 @@ Definition steps_between (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - BinOp.Wrap.sub - Integer.U32 - (M.read (| count |)) - (Value.Integer 2048) + BinOp.Wrap.sub (| + M.read (| count |), + Value.Integer IntegerKind.U32 2048 + |) ] |) ] @@ -183,7 +182,7 @@ Definition steps_between (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_steps_between : diff --git a/CoqOfRust/examples/default/examples/custom/polymorphic_associated_function.v b/CoqOfRust/examples/default/examples/custom/polymorphic_associated_function.v index d484e146d..24430e466 100644 --- a/CoqOfRust/examples/default/examples/custom/polymorphic_associated_function.v +++ b/CoqOfRust/examples/default/examples/custom/polymorphic_associated_function.v @@ -42,7 +42,7 @@ Module Impl_polymorphic_associated_function_Foo_A. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_convert : @@ -65,7 +65,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ foo := M.alloc (| - Value.StructRecord "polymorphic_associated_function::Foo" [ ("data", Value.Integer 42) ] + Value.StructRecord + "polymorphic_associated_function::Foo" + [ ("data", Value.Integer IntegerKind.I32 42) ] |) in let~ bar := M.alloc (| @@ -106,10 +108,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -144,7 +148,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "polymorphic_associated_function::main" main. diff --git a/CoqOfRust/examples/default/examples/custom/provided_method.v b/CoqOfRust/examples/default/examples/custom/provided_method.v index 5344aea72..83a6f4bcf 100644 --- a/CoqOfRust/examples/default/examples/custom/provided_method.v +++ b/CoqOfRust/examples/default/examples/custom/provided_method.v @@ -8,10 +8,9 @@ Module ProvidedAndRequired. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.I32 - (Value.Integer 42) - (M.call_closure (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.I32 42, + M.call_closure (| M.get_trait_method (| "provided_method::ProvidedAndRequired", Self, @@ -20,8 +19,9 @@ Module ProvidedAndRequired. [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_provided : @@ -42,7 +42,7 @@ Module Impl_provided_method_ProvidedAndRequired_for_i32. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67,7 +67,7 @@ Module Impl_provided_method_ProvidedAndRequired_for_u32. ltac:(M.monadic (let self := M.alloc (| self |) in M.rust_cast (M.read (| M.read (| self |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -80,8 +80,8 @@ Module Impl_provided_method_ProvidedAndRequired_for_u32. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - Value.Integer 0)) - | _, _ => M.impossible + Value.Integer IntegerKind.I32 0)) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -106,7 +106,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 5 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.I32 5 |) in let~ _ := M.match_operator (| M.alloc (| @@ -124,7 +124,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ x ] |) |); - M.alloc (| Value.Integer 47 |) + M.alloc (| Value.Integer IntegerKind.I32 47 |) ] |), [ @@ -142,10 +142,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -178,7 +180,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |) in - let~ y := M.alloc (| Value.Integer 5 |) in + let~ y := M.alloc (| Value.Integer IntegerKind.U32 5 |) in let~ _ := M.match_operator (| M.alloc (| @@ -196,7 +198,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ y ] |) |); - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.I32 0 |) ] |), [ @@ -214,10 +216,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -252,7 +256,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "provided_method::main" main. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/basic_contract_caller.v b/CoqOfRust/examples/default/examples/ink_contracts/basic_contract_caller.v index c19de350f..541396963 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/basic_contract_caller.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/basic_contract_caller.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_basic_contract_caller_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_basic_contract_caller_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -102,7 +102,7 @@ Module Impl_basic_contract_caller_OtherContract. Value.StructRecord "basic_contract_caller::OtherContract" [ ("value", M.read (| init_value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -125,18 +125,19 @@ Module Impl_basic_contract_caller_OtherContract. "basic_contract_caller::OtherContract", "value" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "basic_contract_caller::OtherContract", "value" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flip : M.IsAssociatedFunction Self "flip" flip. @@ -158,7 +159,7 @@ Module Impl_basic_contract_caller_OtherContract. "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -207,7 +208,7 @@ Module Impl_basic_contract_caller_BasicContractCaller. [ ("other_contract", M.read (| other_contract |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -258,7 +259,7 @@ Module Impl_basic_contract_caller_BasicContractCaller. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flip_and_get : M.IsAssociatedFunction Self "flip_and_get" flip_and_get. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/call_runtime.v b/CoqOfRust/examples/default/examples/ink_contracts/call_runtime.v index a9cbf5feb..85e416265 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/call_runtime.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/call_runtime.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_call_runtime_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_call_runtime_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -158,7 +158,7 @@ Module Impl_core_default_Default_for_call_runtime_RuntimeCaller. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "call_runtime::RuntimeCaller" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -198,7 +198,7 @@ Module Impl_core_fmt_Debug_for_call_runtime_RuntimeError. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "CallRuntimeFailed" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -231,7 +231,7 @@ Module Impl_core_cmp_PartialEq_for_call_runtime_RuntimeError. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -263,7 +263,7 @@ Module Impl_core_cmp_Eq_for_call_runtime_RuntimeError. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -338,7 +338,7 @@ Module Impl_core_convert_From_call_runtime_EnvError_for_call_runtime_RuntimeErro ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -388,7 +388,7 @@ Module Impl_call_runtime_RuntimeCaller. M.get_associated_function (| Ty.path "call_runtime::RuntimeCaller", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -412,7 +412,7 @@ Module Impl_call_runtime_RuntimeCaller. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -506,7 +506,7 @@ Module Impl_call_runtime_RuntimeCaller. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_through_runtime : @@ -565,7 +565,7 @@ Module Impl_call_runtime_RuntimeCaller. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call_nonexistent_extrinsic : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/conditional_compilation.v b/CoqOfRust/examples/default/examples/ink_contracts/conditional_compilation.v index 88850da18..1c70349b1 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/conditional_compilation.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/conditional_compilation.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_conditional_compilation_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_conditional_compilation_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -142,7 +142,7 @@ Module Impl_conditional_compilation_Env. "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -203,7 +203,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -234,7 +234,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -252,7 +252,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. Value.StructRecord "conditional_compilation::ConditionalCompilation" [ ("value", M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_foo : M.IsAssociatedFunction Self "new_foo" new_foo. @@ -270,7 +270,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. Value.StructRecord "conditional_compilation::ConditionalCompilation" [ ("value", M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_bar : M.IsAssociatedFunction Self "new_bar" new_bar. @@ -288,7 +288,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. Value.StructRecord "conditional_compilation::ConditionalCompilation" [ ("value", M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_foo_bar : M.IsAssociatedFunction Self "new_foo_bar" new_foo_bar. @@ -316,14 +316,15 @@ Module Impl_conditional_compilation_ConditionalCompilation. "conditional_compilation::ConditionalCompilation", "value" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "conditional_compilation::ConditionalCompilation", "value" |) - |)) + |) + |) |) in let~ caller := M.alloc (| @@ -388,7 +389,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inherent_flip_foo : @@ -463,14 +464,15 @@ Module Impl_conditional_compilation_ConditionalCompilation. "conditional_compilation::ConditionalCompilation", "value" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "conditional_compilation::ConditionalCompilation", "value" |) - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -514,7 +516,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inherent_flip_bar : @@ -542,18 +544,19 @@ Module Impl_conditional_compilation_Flip_for_conditional_compilation_Conditional "conditional_compilation::ConditionalCompilation", "value" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "conditional_compilation::ConditionalCompilation", "value" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -573,7 +576,7 @@ Module Impl_conditional_compilation_Flip_for_conditional_compilation_Conditional "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -655,7 +658,7 @@ Module Impl_conditional_compilation_Flip_for_conditional_compilation_Conditional |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/contract_terminate.v b/CoqOfRust/examples/default/examples/ink_contracts/contract_terminate.v index 48e71ee97..ee0c4795e 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/contract_terminate.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/contract_terminate.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_contract_terminate_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_contract_terminate_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95,7 +95,7 @@ Module Impl_contract_terminate_Env. "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -148,7 +148,7 @@ Module Impl_contract_terminate_JustTerminate. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -161,7 +161,7 @@ Module Impl_contract_terminate_JustTerminate. Definition new (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "contract_terminate::JustTerminate" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -216,7 +216,7 @@ Module Impl_contract_terminate_JustTerminate. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_terminate_me : M.IsAssociatedFunction Self "terminate_me" terminate_me. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/contract_transfer.v b/CoqOfRust/examples/default/examples/ink_contracts/contract_transfer.v index 877279224..9c3038b12 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/contract_transfer.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/contract_transfer.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_contract_transfer_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_contract_transfer_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,7 +97,7 @@ Module Impl_contract_transfer_Env. "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -164,7 +164,7 @@ Module Impl_contract_transfer_GiveMe. M.get_associated_function (| Ty.path "contract_transfer::GiveMe", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -177,7 +177,7 @@ Module Impl_contract_transfer_GiveMe. Definition new (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "contract_transfer::GiveMe" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -316,10 +316,10 @@ Module Impl_contract_transfer_GiveMe. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| value |)) - (M.call_closure (| + UnOp.not (| + BinOp.le (| + M.read (| value |), + M.call_closure (| M.get_associated_function (| Ty.path "contract_transfer::Env", "balance", @@ -337,7 +337,9 @@ Module Impl_contract_transfer_GiveMe. |) |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -434,7 +436,7 @@ Module Impl_contract_transfer_GiveMe. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_give_me : M.IsAssociatedFunction Self "give_me" give_me. @@ -522,9 +524,9 @@ Module Impl_contract_transfer_GiveMe. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "contract_transfer::Env", "transferred_value", @@ -542,8 +544,10 @@ Module Impl_contract_transfer_GiveMe. |) |) ] - |)) - (Value.Integer 10)) + |), + Value.Integer IntegerKind.U128 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -562,7 +566,7 @@ Module Impl_contract_transfer_GiveMe. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_was_it_ten : M.IsAssociatedFunction Self "was_it_ten" was_it_ten. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/custom_allocator.v b/CoqOfRust/examples/default/examples/ink_contracts/custom_allocator.v index c05ba5731..a27bece46 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/custom_allocator.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/custom_allocator.v @@ -58,7 +58,7 @@ Module Impl_custom_allocator_CustomAllocator. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -81,7 +81,7 @@ Module Impl_custom_allocator_CustomAllocator. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_default : M.IsAssociatedFunction Self "default" default. @@ -115,11 +115,11 @@ Module Impl_custom_allocator_CustomAllocator. "custom_allocator::CustomAllocator", "value" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.call_closure (| M.get_trait_method (| "core::ops::index::Index", @@ -136,14 +136,15 @@ Module Impl_custom_allocator_CustomAllocator. "custom_allocator::CustomAllocator", "value" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flip : M.IsAssociatedFunction Self "flip" flip. @@ -175,11 +176,11 @@ Module Impl_custom_allocator_CustomAllocator. "custom_allocator::CustomAllocator", "value" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/custom_environment.v b/CoqOfRust/examples/default/examples/ink_contracts/custom_environment.v index 6f7e99a57..28a6b2063 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/custom_environment.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/custom_environment.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_custom_environment_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_custom_environment_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91,7 +91,7 @@ Module Impl_core_default_Default_for_custom_environment_Topics. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "custom_environment::Topics" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -183,7 +183,7 @@ Module Impl_core_default_Default_for_custom_environment_EventWithTopics. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -229,7 +229,7 @@ Module Impl_custom_environment_Env. "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -270,7 +270,7 @@ Module Impl_custom_environment_Topics. M.get_associated_function (| Ty.path "custom_environment::Topics", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -294,7 +294,7 @@ Module Impl_custom_environment_Topics. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -345,7 +345,7 @@ Module Impl_custom_environment_Topics. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trigger : M.IsAssociatedFunction Self "trigger" trigger. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/dns.v b/CoqOfRust/examples/default/examples/ink_contracts/dns.v index 2a6f7dea2..5ca1423ac 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/dns.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/dns.v @@ -47,7 +47,7 @@ Module Impl_core_default_Default_where_core_default_Default_K_where_core_default [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -163,7 +163,7 @@ Module Impl_core_default_Default_for_dns_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -189,7 +189,7 @@ Module Impl_core_clone_Clone_for_dns_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -228,14 +228,15 @@ Module Impl_core_cmp_PartialEq_for_dns_AccountId. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "dns::AccountId", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "dns::AccountId", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -350,7 +351,7 @@ Module Impl_dns_Env. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "dns::Env", "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -400,9 +401,9 @@ Definition zero_address (τ : list Ty.t) (α : list Value.t) : M := "into", [] |), - [ repeat (Value.Integer 0) 32 ] + [ repeat (Value.Integer IntegerKind.U8 0) 32 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_zero_address : M.IsFunction "dns::zero_address" zero_address. @@ -518,7 +519,7 @@ Module Impl_core_default_Default_for_dns_DomainNameService. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -591,9 +592,9 @@ Module Impl_core_cmp_PartialEq_for_dns_Error. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -625,7 +626,7 @@ Module Impl_core_cmp_Eq_for_dns_Error. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -668,7 +669,7 @@ Module Impl_dns_DomainNameService. M.get_associated_function (| Ty.path "dns::DomainNameService", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -692,7 +693,7 @@ Module Impl_dns_DomainNameService. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -833,7 +834,7 @@ Module Impl_dns_DomainNameService. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_register : M.IsAssociatedFunction Self "register" register. @@ -884,7 +885,7 @@ Module Impl_dns_DomainNameService. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_owner_or_default : @@ -1059,7 +1060,7 @@ Module Impl_dns_DomainNameService. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_address : M.IsAssociatedFunction Self "set_address" set_address. @@ -1234,7 +1235,7 @@ Module Impl_dns_DomainNameService. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer : M.IsAssociatedFunction Self "transfer" transfer. @@ -1285,7 +1286,7 @@ Module Impl_dns_DomainNameService. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_address_or_default : @@ -1310,7 +1311,7 @@ Module Impl_dns_DomainNameService. |), [ M.read (| self |); M.read (| name |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_address : M.IsAssociatedFunction Self "get_address" get_address. @@ -1334,7 +1335,7 @@ Module Impl_dns_DomainNameService. |), [ M.read (| self |); M.read (| name |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_owner : M.IsAssociatedFunction Self "get_owner" get_owner. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/e2e_call_runtime.v b/CoqOfRust/examples/default/examples/ink_contracts/e2e_call_runtime.v index b06407de6..a9582fa3d 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/e2e_call_runtime.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/e2e_call_runtime.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_e2e_call_runtime_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_e2e_call_runtime_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -104,7 +104,7 @@ Module Impl_core_default_Default_for_e2e_call_runtime_Contract. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "e2e_call_runtime::Contract" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -141,7 +141,7 @@ Module Impl_e2e_call_runtime_Contract. M.get_associated_function (| Ty.path "e2e_call_runtime::Contract", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -154,7 +154,7 @@ Module Impl_e2e_call_runtime_Contract. Definition new (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "e2e_call_runtime::Contract" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -180,7 +180,7 @@ Module Impl_e2e_call_runtime_Contract. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_contract_balance : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/erc1155.v b/CoqOfRust/examples/default/examples/ink_contracts/erc1155.v index 8a39adf41..4b8720fda 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/erc1155.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/erc1155.v @@ -47,7 +47,7 @@ Module Impl_core_default_Default_where_core_default_Default_K_where_core_default [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -152,7 +152,7 @@ Module Impl_core_default_Default_for_erc1155_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -178,7 +178,7 @@ Module Impl_core_clone_Clone_for_erc1155_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -217,14 +217,15 @@ Module Impl_core_cmp_PartialEq_for_erc1155_AccountId. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "erc1155::AccountId", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "erc1155::AccountId", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -279,9 +280,9 @@ Definition zero_address (τ : list Ty.t) (α : list Value.t) : M := "into", [] |), - [ repeat (Value.Integer 0) 32 ] + [ repeat (Value.Integer IntegerKind.U8 0) 32 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_zero_address : M.IsFunction "erc1155::zero_address" zero_address. @@ -290,14 +291,26 @@ Definition value_ON_ERC_1155_RECEIVED_SELECTOR : Value.t := M.run ltac:(M.monadic (M.alloc (| - Value.Array [ Value.Integer 242; Value.Integer 58; Value.Integer 110; Value.Integer 97 ] + Value.Array + [ + Value.Integer IntegerKind.U8 242; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 110; + Value.Integer IntegerKind.U8 97 + ] |))). Definition _ON_ERC_1155_BATCH_RECEIVED_SELECTOR : Value.t := M.run ltac:(M.monadic (M.alloc (| - Value.Array [ Value.Integer 188; Value.Integer 25; Value.Integer 124; Value.Integer 129 ] + Value.Array + [ + Value.Integer IntegerKind.U8 188; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 124; + Value.Integer IntegerKind.U8 129 + ] |))). Axiom TokenId : (Ty.path "erc1155::TokenId") = (Ty.path "u128"). @@ -384,9 +397,9 @@ Module Impl_core_cmp_PartialEq_for_erc1155_Error. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -418,7 +431,7 @@ Module Impl_core_cmp_Eq_for_erc1155_Error. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -519,7 +532,7 @@ Module Impl_erc1155_Env. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "erc1155::Env", "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -605,7 +618,7 @@ Module Impl_core_default_Default_for_erc1155_Contract. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -642,7 +655,7 @@ Module Impl_erc1155_Contract. M.get_associated_function (| Ty.path "erc1155::Contract", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -666,7 +679,7 @@ Module Impl_erc1155_Contract. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -720,7 +733,10 @@ Module Impl_erc1155_Contract. "erc1155::Contract", "token_id_nonce" |) in - M.write (| β, BinOp.Wrap.add Integer.U128 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U128 1 |) + |) in let~ _ := M.alloc (| M.call_closure (| @@ -782,7 +798,10 @@ Module Impl_erc1155_Contract. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| value |)) (Value.Integer 0) + BinOp.eq (| + M.read (| value |), + Value.Integer IntegerKind.U128 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -822,7 +841,7 @@ Module Impl_erc1155_Contract. "token_id_nonce" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_create : M.IsAssociatedFunction Self "create" create. @@ -865,16 +884,18 @@ Module Impl_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.le - (M.read (| token_id |)) - (M.read (| + UnOp.not (| + BinOp.le (| + M.read (| token_id |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "erc1155::Contract", "token_id_nonce" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -975,7 +996,7 @@ Module Impl_erc1155_Contract. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mint : M.IsAssociatedFunction Self "mint" mint. @@ -1054,7 +1075,7 @@ Module Impl_erc1155_Contract. |) in let~ _ := let β := sender_balance in - M.write (| β, BinOp.Wrap.sub Integer.U128 (M.read (| β |)) (M.read (| value |)) |) in + M.write (| β, BinOp.Wrap.sub (| M.read (| β |), M.read (| value |) |) |) in let~ _ := M.alloc (| M.call_closure (| @@ -1103,13 +1124,13 @@ Module Impl_erc1155_Contract. M.alloc (| Value.Tuple [ M.read (| to |); M.read (| token_id |) ] |) ] |); - M.read (| M.use (M.alloc (| Value.Integer 0 |)) |) + M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U128 0 |)) |) ] |) |) in let~ _ := let β := recipient_balance in - M.write (| β, BinOp.Wrap.add Integer.U128 (M.read (| β |)) (M.read (| value |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| value |) |) |) in let~ _ := M.alloc (| M.call_closure (| @@ -1177,7 +1198,7 @@ Module Impl_erc1155_Contract. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_perform_transfer : @@ -1268,7 +1289,7 @@ Module Impl_erc1155_Contract. let value := M.alloc (| value |) in let data := M.alloc (| data |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_acceptance_check : @@ -1308,7 +1329,7 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. M.alloc (| Value.Tuple [ M.read (| owner |); M.read (| operator |) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1347,10 +1368,10 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. M.alloc (| Value.Tuple [ M.read (| owner |); M.read (| token_id |) ] |) ] |); - M.read (| M.use (M.alloc (| Value.Integer 0 |)) |) + M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U128 0 |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1436,8 +1457,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "erc1155::Erc1155", Ty.path "erc1155::Contract", @@ -1450,7 +1471,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. M.read (| from |); M.read (| caller |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1496,8 +1518,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.path "erc1155::AccountId", @@ -1514,7 +1536,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1565,8 +1588,7 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge (M.read (| balance |)) (M.read (| value |))) + UnOp.not (| BinOp.ge (| M.read (| balance |), M.read (| value |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1634,7 +1656,7 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1733,8 +1755,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "erc1155::Erc1155", Ty.path "erc1155::Contract", @@ -1747,7 +1769,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. M.read (| from |); M.read (| caller |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1793,8 +1816,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.path "erc1155::AccountId", @@ -1811,7 +1834,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1849,9 +1873,9 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1860,7 +1884,9 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. [] |), [ token_ids ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1899,9 +1925,9 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1910,8 +1936,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. [] |), [ token_ids ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1920,7 +1946,9 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. [] |), [ values ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2119,10 +2147,12 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.read (| balance |)) - (M.read (| v |))) + UnOp.not (| + BinOp.ge (| + M.read (| balance |), + M.read (| v |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2285,7 +2315,7 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. "index", [] |), - [ token_ids; Value.Integer 0 ] + [ token_ids; Value.Integer IntegerKind.Usize 0 ] |) |); M.read (| @@ -2299,7 +2329,7 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. "index", [] |), - [ values; Value.Integer 0 ] + [ values; Value.Integer IntegerKind.Usize 0 ] |) |); M.read (| data |) @@ -2309,7 +2339,7 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2517,7 +2547,7 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. |)) in output |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2573,8 +2603,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.path "erc1155::AccountId", @@ -2583,7 +2613,8 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. [] |), [ operator; caller ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2706,7 +2737,7 @@ Module Impl_erc1155_Erc1155_for_erc1155_Contract. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2796,7 +2827,7 @@ Module Impl_erc1155_Erc1155TokenReceiver_for_erc1155_Contract. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2867,7 +2898,7 @@ Module Impl_erc1155_Erc1155TokenReceiver_for_erc1155_Contract. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/erc20.v b/CoqOfRust/examples/default/examples/ink_contracts/erc20.v index 630cc7f05..72dec3847 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/erc20.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/erc20.v @@ -47,7 +47,7 @@ Module Impl_core_default_Default_where_core_default_Default_K_where_core_default [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108,7 +108,7 @@ Module Impl_core_default_Default_for_erc20_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -134,7 +134,7 @@ Module Impl_core_clone_Clone_for_erc20_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -229,7 +229,7 @@ Module Impl_core_default_Default_for_erc20_Erc20. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -325,7 +325,7 @@ Module Impl_erc20_Env. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "erc20::Env", "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -366,7 +366,7 @@ Module Impl_erc20_Erc20. M.get_associated_function (| Ty.path "erc20::Erc20", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -486,7 +486,7 @@ Module Impl_erc20_Erc20. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -508,7 +508,7 @@ Module Impl_erc20_Erc20. "total_supply" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_total_supply : M.IsAssociatedFunction Self "total_supply" total_supply. @@ -548,7 +548,7 @@ Module Impl_erc20_Erc20. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_balance_of_impl : @@ -569,7 +569,7 @@ Module Impl_erc20_Erc20. M.get_associated_function (| Ty.path "erc20::Erc20", "balance_of_impl", [] |), [ M.read (| self |); owner ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_balance_of : M.IsAssociatedFunction Self "balance_of" balance_of. @@ -617,7 +617,7 @@ Module Impl_erc20_Erc20. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allowance_impl : @@ -639,7 +639,7 @@ Module Impl_erc20_Erc20. M.get_associated_function (| Ty.path "erc20::Erc20", "allowance_impl", [] |), [ M.read (| self |); owner; spender ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allowance : M.IsAssociatedFunction Self "allowance" allowance. @@ -689,7 +689,7 @@ Module Impl_erc20_Erc20. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| from_balance |)) (M.read (| value |)) + BinOp.lt (| M.read (| from_balance |), M.read (| value |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -724,7 +724,7 @@ Module Impl_erc20_Erc20. "balances" |); M.read (| M.read (| from |) |); - BinOp.Wrap.sub Integer.U128 (M.read (| from_balance |)) (M.read (| value |)) + BinOp.Wrap.sub (| M.read (| from_balance |), M.read (| value |) |) ] |) |) in @@ -752,7 +752,7 @@ Module Impl_erc20_Erc20. "balances" |); M.read (| M.read (| to |) |); - BinOp.Wrap.add Integer.U128 (M.read (| to_balance |)) (M.read (| value |)) + BinOp.Wrap.add (| M.read (| to_balance |), M.read (| value |) |) ] |) |) in @@ -790,7 +790,7 @@ Module Impl_erc20_Erc20. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_from_to : @@ -831,7 +831,7 @@ Module Impl_erc20_Erc20. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer : M.IsAssociatedFunction Self "transfer" transfer. @@ -921,7 +921,7 @@ Module Impl_erc20_Erc20. |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_approve : M.IsAssociatedFunction Self "approve" approve. @@ -979,7 +979,7 @@ Module Impl_erc20_Erc20. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| allowance |)) (M.read (| value |)) + BinOp.lt (| M.read (| allowance |), M.read (| value |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1091,14 +1091,14 @@ Module Impl_erc20_Erc20. "allowances" |); Value.Tuple [ M.read (| from |); M.read (| caller |) ]; - BinOp.Wrap.sub Integer.U128 (M.read (| allowance |)) (M.read (| value |)) + BinOp.Wrap.sub (| M.read (| allowance |), M.read (| value |) |) ] |) |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_from : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/erc721.v b/CoqOfRust/examples/default/examples/ink_contracts/erc721.v index c4f27529d..42ee94b91 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/erc721.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/erc721.v @@ -47,7 +47,7 @@ Module Impl_core_default_Default_where_core_default_Default_K_where_core_default [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -152,7 +152,7 @@ Module Impl_core_default_Default_for_erc721_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -178,7 +178,7 @@ Module Impl_core_clone_Clone_for_erc721_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -217,14 +217,15 @@ Module Impl_core_cmp_PartialEq_for_erc721_AccountId. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "erc721::AccountId", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "erc721::AccountId", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -350,7 +351,7 @@ Module Impl_core_default_Default_for_erc721_Erc721. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -448,9 +449,9 @@ Module Impl_core_cmp_PartialEq_for_erc721_Error. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -482,7 +483,7 @@ Module Impl_core_cmp_Eq_for_erc721_Error. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -504,7 +505,7 @@ Module Impl_core_clone_Clone_for_erc721_Error. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -599,7 +600,7 @@ Module Impl_erc721_Env. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "erc721::Env", "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -640,7 +641,7 @@ Module Impl_erc721_Erc721. M.get_associated_function (| Ty.path "erc721::Erc721", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -664,7 +665,7 @@ Module Impl_erc721_Erc721. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -702,10 +703,10 @@ Module Impl_erc721_Erc721. M.read (| of |) ] |); - M.read (| M.use (M.alloc (| Value.Integer 0 |)) |) + M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U32 0 |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_balance_of_or_zero : @@ -745,7 +746,7 @@ Module Impl_erc721_Erc721. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear_approval : @@ -781,7 +782,7 @@ Module Impl_erc721_Erc721. M.alloc (| Value.Tuple [ M.read (| owner |); M.read (| operator |) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_approved_for_all : @@ -813,7 +814,7 @@ Module Impl_erc721_Erc721. id ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_owner_of : M.IsAssociatedFunction Self "owner_of" owner_of. @@ -869,7 +870,7 @@ Module Impl_erc721_Erc721. "from", [] |), - [ repeat (Value.Integer 0) 32 ] + [ repeat (Value.Integer IntegerKind.U8 0) 32 ] |) ] |) @@ -961,7 +962,7 @@ Module Impl_erc721_Erc721. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_approved_or_owner : @@ -993,7 +994,7 @@ Module Impl_erc721_Erc721. id ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_exists_ : M.IsAssociatedFunction Self "exists_" exists_. @@ -1013,7 +1014,7 @@ Module Impl_erc721_Erc721. M.get_associated_function (| Ty.path "erc721::Erc721", "balance_of_or_zero", [] |), [ M.read (| self |); owner ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_balance_of : M.IsAssociatedFunction Self "balance_of" balance_of. @@ -1044,7 +1045,7 @@ Module Impl_erc721_Erc721. id ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_approved : M.IsAssociatedFunction Self "get_approved" get_approved. @@ -1065,7 +1066,7 @@ Module Impl_erc721_Erc721. M.get_associated_function (| Ty.path "erc721::Erc721", "approved_for_all", [] |), [ M.read (| self |); M.read (| owner |); M.read (| operator |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_approved_for_all : @@ -1244,7 +1245,7 @@ Module Impl_erc721_Erc721. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_approve_for_all : @@ -1343,7 +1344,7 @@ Module Impl_erc721_Erc721. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_approval_for_all : @@ -1418,8 +1419,8 @@ Module Impl_erc721_Erc721. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| + UnOp.not (| + LogicalOp.or (| M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", @@ -1468,7 +1469,8 @@ Module Impl_erc721_Erc721. M.read (| caller |) ] |))) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1514,7 +1516,7 @@ Module Impl_erc721_Erc721. "from", [] |), - [ repeat (Value.Integer 0) 32 ] + [ repeat (Value.Integer IntegerKind.U8 0) 32 ] |) |) ] @@ -1630,7 +1632,7 @@ Module Impl_erc721_Erc721. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_approve_for : M.IsAssociatedFunction Self "approve_for" approve_for. @@ -1728,7 +1730,7 @@ Module Impl_erc721_Erc721. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_approve : M.IsAssociatedFunction Self "approve" approve. @@ -1794,8 +1796,8 @@ Module Impl_erc721_Erc721. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "erc721::Mapping") @@ -1804,7 +1806,8 @@ Module Impl_erc721_Erc721. [] |), [ M.read (| token_owner |); id ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1883,16 +1886,18 @@ Module Impl_erc721_Erc721. fun γ => ltac:(M.monadic (let c := M.copy (| γ |) in - BinOp.Wrap.sub - Integer.U32 - (M.read (| c |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| c |), + M.read (| M.use - (M.alloc (| Value.Integer 1 |)) - |)))) + (M.alloc (| + Value.Integer IntegerKind.U32 1 + |)) + |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -1989,7 +1994,7 @@ Module Impl_erc721_Erc721. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_token_from : @@ -2164,7 +2169,7 @@ Module Impl_erc721_Erc721. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer : M.IsAssociatedFunction Self "transfer" transfer. @@ -2268,7 +2273,7 @@ Module Impl_erc721_Erc721. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_from : @@ -2412,7 +2417,7 @@ Module Impl_erc721_Erc721. "from", [] |), - [ repeat (Value.Integer 0) 32 ] + [ repeat (Value.Integer IntegerKind.U8 0) 32 ] |) ]); ("to", @@ -2428,7 +2433,7 @@ Module Impl_erc721_Erc721. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mint : M.IsAssociatedFunction Self "mint" mint. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/flipper.v b/CoqOfRust/examples/default/examples/ink_contracts/flipper.v index 7ee44f60e..eb5206be5 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/flipper.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/flipper.v @@ -22,7 +22,7 @@ Module Impl_flipper_Flipper. ltac:(M.monadic (let init_value := M.alloc (| init_value |) in Value.StructRecord "flipper::Flipper" [ ("value", M.read (| init_value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -45,7 +45,7 @@ Module Impl_flipper_Flipper. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_default : M.IsAssociatedFunction Self "new_default" new_default. @@ -68,18 +68,19 @@ Module Impl_flipper_Flipper. "flipper::Flipper", "value" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "flipper::Flipper", "value" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flip : M.IsAssociatedFunction Self "flip" flip. @@ -97,7 +98,7 @@ Module Impl_flipper_Flipper. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "flipper::Flipper", "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/incrementer.v b/CoqOfRust/examples/default/examples/ink_contracts/incrementer.v index 681c2116e..a27dddf84 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/incrementer.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/incrementer.v @@ -22,7 +22,7 @@ Module Impl_incrementer_Incrementer. ltac:(M.monadic (let init_value := M.alloc (| init_value |) in Value.StructRecord "incrementer::Incrementer" [ ("value", M.read (| init_value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -45,7 +45,7 @@ Module Impl_incrementer_Incrementer. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_default : M.IsAssociatedFunction Self "new_default" new_default. @@ -69,10 +69,10 @@ Module Impl_incrementer_Incrementer. "incrementer::Incrementer", "value" |) in - M.write (| β, BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| by_ |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| by_ |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inc : M.IsAssociatedFunction Self "inc" inc. @@ -94,7 +94,7 @@ Module Impl_incrementer_Incrementer. "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/call_builder.v b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/call_builder.v index 3c53b135a..dcadceb7c 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/call_builder.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/call_builder.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_call_builder_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_call_builder_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -126,7 +126,7 @@ Module Impl_core_default_Default_for_call_builder_CallBuilderTest. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "call_builder::CallBuilderTest" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -159,7 +159,7 @@ Module Impl_call_builder_CallBuilderTest. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -264,7 +264,7 @@ Module Impl_call_builder_CallBuilderTest. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call : M.IsAssociatedFunction Self "call" call. @@ -288,7 +288,7 @@ Module Impl_call_builder_CallBuilderTest. let address := M.alloc (| address |) in let selector := M.alloc (| selector |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_invoke : M.IsAssociatedFunction Self "invoke" invoke. @@ -332,7 +332,7 @@ Module Impl_call_builder_CallBuilderTest. let selector := M.alloc (| selector |) in let init_value := M.alloc (| init_value |) in Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call_instantiate : @@ -374,7 +374,7 @@ Module Impl_call_builder_CallBuilderTest. let selector := M.alloc (| selector |) in let init_value := M.alloc (| init_value |) in Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call_instantiate_fallible : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/call_builder_delegate.v b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/call_builder_delegate.v index 7b1119b89..86b9f59ed 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/call_builder_delegate.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/call_builder_delegate.v @@ -43,7 +43,7 @@ Module Impl_core_default_Default_for_call_builder_delegate_CallBuilderDelegateTe [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70,7 +70,7 @@ Module Impl_call_builder_delegate_CallBuilderDelegateTest. Value.StructRecord "call_builder_delegate::CallBuilderDelegateTest" [ ("value", M.read (| value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -102,7 +102,7 @@ Module Impl_call_builder_delegate_CallBuilderDelegateTest. let code_hash := M.alloc (| code_hash |) in let selector := M.alloc (| selector |) in Value.StructTuple "core::option::Option::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_delegate : M.IsAssociatedFunction Self "delegate" delegate. @@ -126,8 +126,8 @@ Module Impl_call_builder_delegate_CallBuilderDelegateTest. (let self := M.alloc (| self |) in let code_hash := M.alloc (| code_hash |) in let selector := M.alloc (| selector |) in - Value.Integer 0)) - | _, _ => M.impossible + Value.Integer IntegerKind.I32 0)) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_invoke : M.IsAssociatedFunction Self "invoke" invoke. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/constructors_return_value.v b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/constructors_return_value.v index 7e0777bd3..323890997 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/constructors_return_value.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/constructors_return_value.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_constructors_return_value_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_constructors_return_value_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -138,7 +138,7 @@ Module Impl_core_fmt_Debug_for_constructors_return_value_ConstructorError. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "ConstructorError" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -185,7 +185,7 @@ Definition return_value (τ : list Ty.t) (α : list Value.t) : M := M.get_function (| "core::panicking::panic", [] |), [ M.read (| Value.String "not implemented" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_return_value : M.IsFunction "constructors_return_value::return_value" return_value. @@ -206,7 +206,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. Value.StructRecord "constructors_return_value::ConstructorsReturnValue" [ ("value", M.read (| init_value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -257,7 +257,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new : M.IsAssociatedFunction Self "try_new" try_new. @@ -309,14 +309,14 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. "from", [] |), - [ repeat (Value.Integer 0) 32 ] + [ repeat (Value.Integer IntegerKind.U8 0) 32 ] |) ] |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revert_new : M.IsAssociatedFunction Self "revert_new" revert_new. @@ -365,7 +365,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. "from", [] |), - [ repeat (Value.Integer 0) 32 ] + [ repeat (Value.Integer IntegerKind.U8 0) 32 ] |) ] ] @@ -418,7 +418,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_revert_new : @@ -441,7 +441,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_value : M.IsAssociatedFunction Self "get_value" get_value. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/contract_ref.v b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/contract_ref.v index 1a601ec06..500f20e2d 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/contract_ref.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/contract_ref.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_contract_ref_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_contract_ref_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module Impl_core_fmt_Debug_for_contract_ref_FlipperError. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "FlipperError" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -144,7 +144,7 @@ Module Impl_contract_ref_FlipperRef. M.get_associated_function (| Ty.path "contract_ref::FlipperRef", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -160,7 +160,7 @@ Module Impl_contract_ref_FlipperRef. ltac:(M.monadic (let init_value := M.alloc (| init_value |) in Value.StructRecord "contract_ref::FlipperRef" [ ("value", M.read (| init_value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -183,7 +183,7 @@ Module Impl_contract_ref_FlipperRef. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_default : M.IsAssociatedFunction Self "new_default" new_default. @@ -234,7 +234,7 @@ Module Impl_contract_ref_FlipperRef. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new : M.IsAssociatedFunction Self "try_new" try_new. @@ -257,18 +257,19 @@ Module Impl_contract_ref_FlipperRef. "contract_ref::FlipperRef", "value" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "contract_ref::FlipperRef", "value" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flip : M.IsAssociatedFunction Self "flip" flip. @@ -290,7 +291,7 @@ Module Impl_contract_ref_FlipperRef. "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -347,7 +348,7 @@ Module Impl_contract_ref_ContractRef. Value.StructRecord "contract_ref::ContractRef" [ ("flipper", M.read (| flipper |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -411,7 +412,7 @@ Module Impl_contract_ref_ContractRef. Value.StructRecord "contract_ref::ContractRef" [ ("flipper", M.read (| flipper |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new : M.IsAssociatedFunction Self "try_new" try_new. @@ -442,7 +443,7 @@ Module Impl_contract_ref_ContractRef. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flip : M.IsAssociatedFunction Self "flip" flip. @@ -467,7 +468,7 @@ Module Impl_contract_ref_ContractRef. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/integration_flipper.v b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/integration_flipper.v index 8ace5b5c2..4ecbbf805 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/integration_flipper.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/lang_err_integration_tests/integration_flipper.v @@ -29,7 +29,7 @@ Module Impl_core_fmt_Debug_for_integration_flipper_FlipperError. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "FlipperError" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -54,7 +54,7 @@ Module Impl_integration_flipper_Flipper. ltac:(M.monadic (let init_value := M.alloc (| init_value |) in Value.StructRecord "integration_flipper::Flipper" [ ("value", M.read (| init_value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -77,7 +77,7 @@ Module Impl_integration_flipper_Flipper. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_default : M.IsAssociatedFunction Self "new_default" new_default. @@ -128,7 +128,7 @@ Module Impl_integration_flipper_Flipper. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_new : M.IsAssociatedFunction Self "try_new" try_new. @@ -151,18 +151,19 @@ Module Impl_integration_flipper_Flipper. "integration_flipper::Flipper", "value" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "integration_flipper::Flipper", "value" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_flip : M.IsAssociatedFunction Self "flip" flip. @@ -184,7 +185,7 @@ Module Impl_integration_flipper_Flipper. "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -210,7 +211,7 @@ Module Impl_integration_flipper_Flipper. |) in M.alloc (| Value.StructTuple "core::result::Result::Err" [ Value.Tuple [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_err_flip : M.IsAssociatedFunction Self "err_flip" err_flip. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/mapping_integration_tests.v b/CoqOfRust/examples/default/examples/ink_contracts/mapping_integration_tests.v index a107eca03..c8d4607c1 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/mapping_integration_tests.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/mapping_integration_tests.v @@ -48,7 +48,7 @@ Module Impl_core_default_Default_where_core_default_Default_K_where_core_default [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -165,7 +165,7 @@ Module Impl_core_default_Default_for_mapping_integration_tests_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -191,7 +191,7 @@ Module Impl_core_clone_Clone_for_mapping_integration_tests_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -238,7 +238,7 @@ Module Impl_mapping_integration_tests_Env. "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -282,7 +282,7 @@ Module Impl_core_default_Default_for_mapping_integration_tests_Mappings. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -346,7 +346,7 @@ Module Impl_mapping_integration_tests_Mappings. [ ("balances", M.read (| balances |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -405,7 +405,7 @@ Module Impl_mapping_integration_tests_Mappings. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_balance : M.IsAssociatedFunction Self "get_balance" get_balance. @@ -466,7 +466,7 @@ Module Impl_mapping_integration_tests_Mappings. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_balance : @@ -526,7 +526,7 @@ Module Impl_mapping_integration_tests_Mappings. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size_balance : M.IsAssociatedFunction Self "size_balance" size_balance. @@ -585,7 +585,7 @@ Module Impl_mapping_integration_tests_Mappings. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains_balance : @@ -647,7 +647,7 @@ Module Impl_mapping_integration_tests_Mappings. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_balance : @@ -707,7 +707,7 @@ Module Impl_mapping_integration_tests_Mappings. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_balance : M.IsAssociatedFunction Self "take_balance" take_balance. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/mother.v b/CoqOfRust/examples/default/examples/ink_contracts/mother.v index 0d0b1afa2..8f5615cf2 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/mother.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/mother.v @@ -47,7 +47,7 @@ Module Impl_core_default_Default_where_core_default_Default_K_where_core_default [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108,7 +108,7 @@ Module Impl_core_default_Default_for_mother_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -134,7 +134,7 @@ Module Impl_core_clone_Clone_for_mother_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -173,14 +173,15 @@ Module Impl_core_cmp_PartialEq_for_mother_AccountId. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "mother::AccountId", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "mother::AccountId", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -217,7 +218,7 @@ Module Impl_core_cmp_Eq_for_mother_AccountId. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -298,7 +299,7 @@ Module Impl_core_default_Default_for_mother_Bids. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -369,7 +370,7 @@ Module Impl_core_cmp_PartialEq_for_mother_Bids. M.SubPointer.get_struct_tuple_field (| M.read (| other |), "mother::Bids", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -406,7 +407,7 @@ Module Impl_core_cmp_Eq_for_mother_Bids. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -453,7 +454,7 @@ Module Impl_core_clone_Clone_for_mother_Bids. [ M.SubPointer.get_struct_tuple_field (| M.read (| self |), "mother::Bids", 0 |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -531,9 +532,9 @@ Module Impl_core_cmp_PartialEq_for_mother_Outline. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -565,7 +566,7 @@ Module Impl_core_cmp_Eq_for_mother_Outline. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -608,7 +609,7 @@ Module Impl_core_clone_Clone_for_mother_Outline. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -698,7 +699,7 @@ Module Impl_core_cmp_PartialEq_for_mother_Status. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -725,9 +726,10 @@ Module Impl_core_cmp_PartialEq_for_mother_Status. |) in let __arg1_0 := M.alloc (| γ2_0 |) in M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)) + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |) |))); fun γ => ltac:(M.monadic @@ -782,9 +784,10 @@ Module Impl_core_cmp_PartialEq_for_mother_Status. |) in let __arg1_0 := M.alloc (| γ2_0 |) in M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)) + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool true |))) ] @@ -793,7 +796,7 @@ Module Impl_core_cmp_PartialEq_for_mother_Status. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -837,7 +840,7 @@ Module Impl_core_cmp_Eq_for_mother_Status. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -945,7 +948,7 @@ Module Impl_core_clone_Clone_for_mother_Status. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1114,21 +1117,22 @@ Module Impl_core_cmp_PartialEq_for_mother_Auction. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "mother::Auction", "finalized" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "mother::Auction", "finalized" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -1159,7 +1163,7 @@ Module Impl_core_cmp_PartialEq_for_mother_Auction. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1242,7 +1246,7 @@ Module Impl_core_cmp_Eq_for_mother_Auction. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1382,7 +1386,7 @@ Module Impl_core_clone_Clone_for_mother_Auction. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1476,7 +1480,7 @@ Module Impl_core_default_Default_for_mother_Auction. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1551,7 +1555,7 @@ Module Impl_core_cmp_PartialEq_for_mother_Failure. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -1596,7 +1600,7 @@ Module Impl_core_cmp_PartialEq_for_mother_Failure. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1633,7 +1637,7 @@ Module Impl_core_cmp_Eq_for_mother_Failure. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1683,7 +1687,7 @@ Module Impl_mother_Env. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "mother::Env", "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -1746,7 +1750,7 @@ Module Impl_core_default_Default_for_mother_Mother. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1783,7 +1787,7 @@ Module Impl_mother_Mother. M.get_associated_function (| Ty.path "mother::Mother", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -1819,7 +1823,7 @@ Module Impl_mother_Mother. |)); ("auction", M.read (| auction |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1843,7 +1847,7 @@ Module Impl_mother_Mother. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_default : M.IsAssociatedFunction Self "new_default" new_default. @@ -1911,7 +1915,7 @@ Module Impl_mother_Mother. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_failed_new : M.IsAssociatedFunction Self "failed_new" failed_new. @@ -1966,7 +1970,7 @@ Module Impl_mother_Mother. |) in auction |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_echo_auction : M.IsAssociatedFunction Self "echo_auction" echo_auction. @@ -2043,7 +2047,7 @@ Module Impl_mother_Mother. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revert_or_trap : @@ -2103,7 +2107,7 @@ Module Impl_mother_Mother. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_debug_log : M.IsAssociatedFunction Self "debug_log" debug_log. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/multisig.v b/CoqOfRust/examples/default/examples/ink_contracts/multisig.v index 7c1919420..e4a3ad334 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/multisig.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/multisig.v @@ -47,7 +47,7 @@ Module Impl_core_default_Default_where_core_default_Default_K_where_core_default [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -152,7 +152,7 @@ Module Impl_core_default_Default_for_multisig_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -193,7 +193,7 @@ Module Impl_core_fmt_Debug_for_multisig_AccountId. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -219,7 +219,7 @@ Module Impl_core_clone_Clone_for_multisig_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -258,14 +258,15 @@ Module Impl_core_cmp_PartialEq_for_multisig_AccountId. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "multisig::AccountId", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "multisig::AccountId", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -302,7 +303,7 @@ Module Impl_core_cmp_Eq_for_multisig_AccountId. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -337,7 +338,7 @@ Module Impl_core_cmp_PartialOrd_for_multisig_AccountId. M.SubPointer.get_struct_tuple_field (| M.read (| other |), "multisig::AccountId", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -365,7 +366,7 @@ Module Impl_core_cmp_Ord_for_multisig_AccountId. M.SubPointer.get_struct_tuple_field (| M.read (| other |), "multisig::AccountId", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -385,7 +386,8 @@ Axiom Balance : (Ty.path "multisig::Balance") = (Ty.path "u128"). fields := [ ("caller", Ty.path "multisig::AccountId") ]; } *) -Definition value_MAX_OWNERS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 50 |))). +Definition value_MAX_OWNERS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 50 |))). Axiom TransactionId : (Ty.path "multisig::TransactionId") = (Ty.path "u32"). @@ -434,7 +436,7 @@ Module Impl_core_clone_Clone_for_multisig_ConfirmationStatus. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -542,7 +544,7 @@ Module Impl_core_default_Default_for_multisig_Transaction. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -578,7 +580,7 @@ Module Impl_core_clone_Clone_for_multisig_Error. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -618,7 +620,7 @@ Module Impl_core_cmp_PartialEq_for_multisig_Error. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -650,7 +652,7 @@ Module Impl_core_cmp_Eq_for_multisig_Error. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -704,7 +706,7 @@ Module Impl_core_default_Default_for_multisig_Transactions. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -858,7 +860,7 @@ Module Impl_multisig_Env. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "multisig::Env", "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -1010,7 +1012,7 @@ Module Impl_core_default_Default_for_multisig_Multisig. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1042,18 +1044,23 @@ Definition ensure_requirement_is_valid (τ : list Ty.t) (α : list Value.t) : M (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.lt (Value.Integer 0) (M.read (| requirement |)), + BinOp.lt (| + Value.Integer IntegerKind.U32 0, + M.read (| requirement |) + |), ltac:(M.monadic - (BinOp.Pure.le (M.read (| requirement |)) (M.read (| owners |)))) + (BinOp.le (| M.read (| requirement |), M.read (| owners |) |))) |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| owners |)) - (M.read (| M.get_constant (| "multisig::MAX_OWNERS" |) |)))) - |)) + (BinOp.le (| + M.read (| owners |), + M.read (| M.get_constant (| "multisig::MAX_OWNERS" |) |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1074,7 +1081,7 @@ Definition ensure_requirement_is_valid (τ : list Ty.t) (α : list Value.t) : M |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ensure_requirement_is_valid : @@ -1106,7 +1113,7 @@ Module Impl_multisig_Multisig. M.get_associated_function (| Ty.path "multisig::Multisig", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -1325,7 +1332,7 @@ Module Impl_multisig_Multisig. |) in contract |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1356,9 +1363,9 @@ Module Impl_multisig_Multisig. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ge - (M.call_closure (| + UnOp.not (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") [ Ty.path "u32" ], "expect", @@ -1384,14 +1391,16 @@ Module Impl_multisig_Multisig. |); M.read (| M.get_constant (| "multisig::WRONG_TRANSACTION_ID" |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "multisig::Multisig", "requirement" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1413,7 +1422,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ensure_confirmed : @@ -1465,7 +1474,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ensure_transaction_exists : @@ -1492,8 +1501,8 @@ Module Impl_multisig_Multisig. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "multisig::Mapping") @@ -1509,7 +1518,8 @@ Module Impl_multisig_Multisig. |); M.read (| owner |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1529,7 +1539,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ensure_owner : M.IsAssociatedFunction Self "ensure_owner" ensure_owner. @@ -1569,7 +1579,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ensure_caller_is_owner : @@ -1642,8 +1652,8 @@ Module Impl_multisig_Multisig. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.path "multisig::AccountId", @@ -1652,7 +1662,8 @@ Module Impl_multisig_Multisig. [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1690,7 +1701,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ensure_from_wallet : @@ -1717,9 +1728,9 @@ Module Impl_multisig_Multisig. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "multisig::Mapping") @@ -1735,7 +1746,9 @@ Module Impl_multisig_Multisig. |); M.read (| owner |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1755,7 +1768,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_ensure_no_owner : @@ -1802,9 +1815,8 @@ Module Impl_multisig_Multisig. M.call_closure (| M.get_function (| "multisig::ensure_requirement_is_valid", [] |), [ - BinOp.Wrap.add - Integer.U32 - (M.rust_cast + BinOp.Wrap.add (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -1820,8 +1832,9 @@ Module Impl_multisig_Multisig. "owners" |) ] - |))) - (Value.Integer 1); + |)), + Value.Integer IntegerKind.U32 1 + |); M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1896,7 +1909,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add_owner : M.IsAssociatedFunction Self "add_owner" add_owner. @@ -1989,7 +2002,7 @@ Module Impl_multisig_Multisig. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -2000,7 +2013,7 @@ Module Impl_multisig_Multisig. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_owner_index : M.IsAssociatedFunction Self "owner_index" owner_index. @@ -2191,7 +2204,12 @@ Module Impl_multisig_Multisig. M.read (| trans_id |) ] |); - M.read (| M.use (M.alloc (| Value.Integer 0 |)) |) + M.read (| + M.use + (M.alloc (| + Value.Integer IntegerKind.U32 0 + |)) + |) ] |) |) in @@ -2199,10 +2217,10 @@ Module Impl_multisig_Multisig. let β := count in M.write (| β, - BinOp.Wrap.sub - Integer.U32 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.U32 1 + |) |) in let~ _ := M.alloc (| @@ -2236,7 +2254,7 @@ Module Impl_multisig_Multisig. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clean_owner_confirmations : @@ -2285,9 +2303,8 @@ Module Impl_multisig_Multisig. |) in let~ len := M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -2303,8 +2320,9 @@ Module Impl_multisig_Multisig. "owners" |) ] - |))) - (Value.Integer 1) + |)), + Value.Integer IntegerKind.U32 1 + |) |) in let~ requirement := M.alloc (| @@ -2417,7 +2435,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remove_owner : M.IsAssociatedFunction Self "remove_owner" remove_owner. @@ -2597,7 +2615,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace_owner : @@ -2690,7 +2708,7 @@ Module Impl_multisig_Multisig. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_change_requirement : @@ -2762,7 +2780,7 @@ Module Impl_multisig_Multisig. transaction ] |); - M.read (| M.use (M.alloc (| Value.Integer 0 |)) |) + M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U32 0 |)) |) ] |) |) in @@ -2770,8 +2788,8 @@ Module Impl_multisig_Multisig. M.alloc (| Value.Tuple [ M.read (| transaction |); M.read (| confirmer |) ] |) in let~ new_confirmation := M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "multisig::Mapping") @@ -2787,7 +2805,8 @@ Module Impl_multisig_Multisig. |); key ] - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -2801,7 +2820,7 @@ Module Impl_multisig_Multisig. let β := count in M.write (| β, - BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U32 1 |) |) in let~ _ := M.alloc (| @@ -2860,15 +2879,16 @@ Module Impl_multisig_Multisig. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| count |)) - (M.read (| + BinOp.ge (| + M.read (| count |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "multisig::Multisig", "requirement" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -2880,16 +2900,16 @@ Module Impl_multisig_Multisig. Value.StructTuple "multisig::ConfirmationStatus::ConfirmationsNeeded" [ - BinOp.Wrap.sub - Integer.U32 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "multisig::Multisig", "requirement" |) - |)) - (M.read (| count |)) + |), + M.read (| count |) + |) ] |))) ] @@ -2938,7 +2958,7 @@ Module Impl_multisig_Multisig. |) in status |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_confirm_by_caller : @@ -3015,7 +3035,10 @@ Module Impl_multisig_Multisig. [ M.call_closure (| M.get_associated_function (| Ty.path "u32", "checked_add", [] |), - [ M.read (| trans_id |); M.read (| M.use (M.alloc (| Value.Integer 1 |)) |) ] + [ + M.read (| trans_id |); + M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U32 1 |)) |) + ] |); M.read (| Value.String "Transaction ids exhausted." |) ] @@ -3116,7 +3139,7 @@ Module Impl_multisig_Multisig. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_submit_transaction : @@ -3289,7 +3312,7 @@ Module Impl_multisig_Multisig. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -3476,7 +3499,7 @@ Module Impl_multisig_Multisig. |) in transaction |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_transaction : @@ -3571,7 +3594,7 @@ Module Impl_multisig_Multisig. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cancel_transaction : @@ -3634,7 +3657,7 @@ Module Impl_multisig_Multisig. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_confirm_transaction : @@ -3780,7 +3803,7 @@ Module Impl_multisig_Multisig. let β := confirmation_count in M.write (| β, - BinOp.Wrap.sub Integer.U32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.U32 1 |) |) in let~ _ := M.alloc (| @@ -3834,7 +3857,7 @@ Module Impl_multisig_Multisig. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revoke_confirmation : @@ -3915,9 +3938,9 @@ Module Impl_multisig_Multisig. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "multisig::Env", "transferred_value", @@ -3935,14 +3958,16 @@ Module Impl_multisig_Multisig. |) |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| t, "multisig::Transaction", "transferred_value" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -4064,7 +4089,7 @@ Module Impl_multisig_Multisig. [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) @@ -4075,7 +4100,7 @@ Module Impl_multisig_Multisig. |) in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_invoke_transaction : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v b/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v index f530c44f2..9ba339ff6 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_payment_channel_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_payment_channel_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -89,22 +89,23 @@ Module Impl_core_cmp_PartialEq_for_payment_channel_AccountId. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "payment_channel::AccountId", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "payment_channel::AccountId", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -141,7 +142,7 @@ Module Impl_core_cmp_Eq_for_payment_channel_AccountId. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -278,9 +279,9 @@ Module Impl_core_cmp_PartialEq_for_payment_channel_Error. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -312,7 +313,7 @@ Module Impl_core_cmp_Eq_for_payment_channel_Error. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -371,7 +372,7 @@ Module Impl_payment_channel_Env. "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -650,7 +651,7 @@ Module Impl_payment_channel_PaymentChannel. M.get_associated_function (| Ty.path "payment_channel::PaymentChannel", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -730,7 +731,7 @@ Module Impl_payment_channel_PaymentChannel. [ encodable; message ] |) |) in - let~ pub_key := M.alloc (| repeat (Value.Integer 0) 33 |) in + let~ pub_key := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 33 |) in let~ _ := M.alloc (| M.call_closure (| @@ -769,12 +770,12 @@ Module Impl_payment_channel_PaymentChannel. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in - let~ signature_account_id := M.alloc (| repeat (Value.Integer 0) 32 |) in + let~ signature_account_id := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 32 |) in let~ _ := M.alloc (| M.call_closure (| @@ -819,7 +820,7 @@ Module Impl_payment_channel_PaymentChannel. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_signature_valid : @@ -863,10 +864,10 @@ Module Impl_payment_channel_PaymentChannel. |)); ("recipient", M.read (| recipient |)); ("expiration", Value.StructTuple "core::option::Option::None" []); - ("withdrawn", Value.Integer 0); + ("withdrawn", Value.Integer IntegerKind.U128 0); ("close_duration", M.read (| close_duration |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -979,15 +980,16 @@ Module Impl_payment_channel_PaymentChannel. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| amount |)) - (M.read (| + BinOp.lt (| + M.read (| amount |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "payment_channel::PaymentChannel", "withdrawn" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1018,15 +1020,16 @@ Module Impl_payment_channel_PaymentChannel. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "payment_channel::PaymentChannel", "is_signature_valid", [] |), [ M.read (| self |); M.read (| amount |); M.read (| signature |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1097,16 +1100,16 @@ Module Impl_payment_channel_PaymentChannel. "recipient" |) |); - BinOp.Wrap.sub - Integer.U128 - (M.read (| amount |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| amount |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "payment_channel::PaymentChannel", "withdrawn" |) - |)) + |) + |) ] |); M.closure @@ -1125,7 +1128,7 @@ Module Impl_payment_channel_PaymentChannel. [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1184,7 +1187,7 @@ Module Impl_payment_channel_PaymentChannel. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_close_inner : M.IsAssociatedFunction Self "close_inner" close_inner. @@ -1313,7 +1316,7 @@ Module Impl_payment_channel_PaymentChannel. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_close : M.IsAssociatedFunction Self "close" close. @@ -1434,16 +1437,16 @@ Module Impl_payment_channel_PaymentChannel. |) in let~ expiration := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (M.read (| now |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| now |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "payment_channel::PaymentChannel", "close_duration" |) - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -1496,7 +1499,7 @@ Module Impl_payment_channel_PaymentChannel. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_start_sender_close : @@ -1577,7 +1580,7 @@ Module Impl_payment_channel_PaymentChannel. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| now |)) (M.read (| expiration |)) + BinOp.lt (| M.read (| now |), M.read (| expiration |) |) |)) in let _ := M.is_constant_or_break_match (| @@ -1646,7 +1649,7 @@ Module Impl_payment_channel_PaymentChannel. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_claim_timeout : @@ -1764,15 +1767,16 @@ Module Impl_payment_channel_PaymentChannel. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "payment_channel::PaymentChannel", "is_signature_valid", [] |), [ M.read (| self |); M.read (| amount |); M.read (| signature |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1800,15 +1804,16 @@ Module Impl_payment_channel_PaymentChannel. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| amount |)) - (M.read (| + BinOp.lt (| + M.read (| amount |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "payment_channel::PaymentChannel", "withdrawn" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1832,16 +1837,16 @@ Module Impl_payment_channel_PaymentChannel. |) in let~ amount_to_withdraw := M.alloc (| - BinOp.Wrap.sub - Integer.U128 - (M.read (| amount |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| amount |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "payment_channel::PaymentChannel", "withdrawn" |) - |)) + |) + |) |) in let~ _ := let β := @@ -1852,7 +1857,7 @@ Module Impl_payment_channel_PaymentChannel. |) in M.write (| β, - BinOp.Wrap.add Integer.U128 (M.read (| β |)) (M.read (| amount_to_withdraw |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| amount_to_withdraw |) |) |) in let~ _ := M.match_operator (| @@ -1925,7 +1930,7 @@ Module Impl_payment_channel_PaymentChannel. [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1984,7 +1989,7 @@ Module Impl_payment_channel_PaymentChannel. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_withdraw : M.IsAssociatedFunction Self "withdraw" withdraw. @@ -2006,7 +2011,7 @@ Module Impl_payment_channel_PaymentChannel. "sender" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_sender : M.IsAssociatedFunction Self "get_sender" get_sender. @@ -2028,7 +2033,7 @@ Module Impl_payment_channel_PaymentChannel. "recipient" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_recipient : @@ -2051,7 +2056,7 @@ Module Impl_payment_channel_PaymentChannel. "expiration" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_expiration : @@ -2074,7 +2079,7 @@ Module Impl_payment_channel_PaymentChannel. "withdrawn" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_withdrawn : @@ -2097,7 +2102,7 @@ Module Impl_payment_channel_PaymentChannel. "close_duration" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_close_duration : @@ -2128,7 +2133,7 @@ Module Impl_payment_channel_PaymentChannel. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_balance : M.IsAssociatedFunction Self "get_balance" get_balance. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v index cefd0e14e..8f1fb2db4 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v @@ -42,7 +42,7 @@ Module Impl_core_default_Default_for_set_code_hash_Incrementer. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75,7 +75,7 @@ Module Impl_set_code_hash_Incrementer. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -102,7 +102,7 @@ Module Impl_set_code_hash_Incrementer. "set_code_hash::Incrementer", "count" |) in - M.write (| β, BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U32 1 |) |) in let~ _ := let~ _ := M.alloc (| @@ -154,7 +154,7 @@ Module Impl_set_code_hash_Incrementer. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inc : M.IsAssociatedFunction Self "inc" inc. @@ -176,7 +176,7 @@ Module Impl_set_code_hash_Incrementer. "count" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -242,7 +242,7 @@ Module Impl_set_code_hash_Incrementer. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -289,7 +289,7 @@ Module Impl_set_code_hash_Incrementer. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_code : M.IsAssociatedFunction Self "set_code" set_code. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash/updated_incrementer.v b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash/updated_incrementer.v index 7263fb5cd..20d69d606 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash/updated_incrementer.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash/updated_incrementer.v @@ -24,7 +24,7 @@ Module Impl_core_default_Default_for_updated_incrementer_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -50,7 +50,7 @@ Module Impl_core_clone_Clone_for_updated_incrementer_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -136,7 +136,7 @@ Module Impl_updated_incrementer_Incrementer. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -159,7 +159,7 @@ Module Impl_updated_incrementer_Incrementer. [ Value.String "Constructors are not called when upgrading using `set_code_hash`." ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -186,7 +186,7 @@ Module Impl_updated_incrementer_Incrementer. "updated_incrementer::Incrementer", "count" |) in - M.write (| β, BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 4) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U32 4 |) |) in let~ _ := let~ _ := M.alloc (| @@ -238,7 +238,7 @@ Module Impl_updated_incrementer_Incrementer. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inc : M.IsAssociatedFunction Self "inc" inc. @@ -260,7 +260,7 @@ Module Impl_updated_incrementer_Incrementer. "count" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -340,7 +340,7 @@ Module Impl_updated_incrementer_Incrementer. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -387,7 +387,7 @@ Module Impl_updated_incrementer_Incrementer. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_code : M.IsAssociatedFunction Self "set_code" set_code. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/trait_erc20.v b/CoqOfRust/examples/default/examples/ink_contracts/trait_erc20.v index 6c1e42c33..3354dfc6e 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/trait_erc20.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/trait_erc20.v @@ -47,7 +47,7 @@ Module Impl_core_default_Default_where_core_default_Default_K_where_core_default [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108,7 +108,7 @@ Module Impl_core_default_Default_for_trait_erc20_AccountId. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -134,7 +134,7 @@ Module Impl_core_clone_Clone_for_trait_erc20_AccountId. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -216,7 +216,7 @@ Module Impl_core_fmt_Debug_for_trait_erc20_Error. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -269,9 +269,9 @@ Module Impl_core_cmp_PartialEq_for_trait_erc20_Error. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -303,7 +303,7 @@ Module Impl_core_cmp_Eq_for_trait_erc20_Error. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -397,7 +397,7 @@ Module Impl_core_default_Default_for_trait_erc20_Erc20. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -468,7 +468,7 @@ Module Impl_trait_erc20_Env. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "trait_erc20::Env", "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_caller : M.IsAssociatedFunction Self "caller" caller. @@ -509,7 +509,7 @@ Module Impl_trait_erc20_Erc20. M.get_associated_function (| Ty.path "trait_erc20::Erc20", "init_env", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : M.IsAssociatedFunction Self "env" env. @@ -631,7 +631,7 @@ Module Impl_trait_erc20_Erc20. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -673,7 +673,7 @@ Module Impl_trait_erc20_Erc20. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_balance_of_impl : @@ -722,7 +722,7 @@ Module Impl_trait_erc20_Erc20. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_allowance_impl : @@ -777,7 +777,7 @@ Module Impl_trait_erc20_Erc20. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| from_balance |)) (M.read (| value |)) + BinOp.lt (| M.read (| from_balance |), M.read (| value |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -812,7 +812,7 @@ Module Impl_trait_erc20_Erc20. "balances" |); M.read (| M.read (| from |) |); - BinOp.Wrap.sub Integer.U128 (M.read (| from_balance |)) (M.read (| value |)) + BinOp.Wrap.sub (| M.read (| from_balance |), M.read (| value |) |) ] |) |) in @@ -844,7 +844,7 @@ Module Impl_trait_erc20_Erc20. "balances" |); M.read (| M.read (| to |) |); - BinOp.Wrap.add Integer.U128 (M.read (| to_balance |)) (M.read (| value |)) + BinOp.Wrap.add (| M.read (| to_balance |), M.read (| value |) |) ] |) |) in @@ -882,7 +882,7 @@ Module Impl_trait_erc20_Erc20. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_from_to : @@ -909,7 +909,7 @@ Module Impl_trait_erc20_BaseErc20_for_trait_erc20_Erc20. "total_supply" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -927,7 +927,7 @@ Module Impl_trait_erc20_BaseErc20_for_trait_erc20_Erc20. M.get_associated_function (| Ty.path "trait_erc20::Erc20", "balance_of_impl", [] |), [ M.read (| self |); owner ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -946,7 +946,7 @@ Module Impl_trait_erc20_BaseErc20_for_trait_erc20_Erc20. M.get_associated_function (| Ty.path "trait_erc20::Erc20", "allowance_impl", [] |), [ M.read (| self |); owner; spender ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -984,7 +984,7 @@ Module Impl_trait_erc20_BaseErc20_for_trait_erc20_Erc20. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1073,7 +1073,7 @@ Module Impl_trait_erc20_BaseErc20_for_trait_erc20_Erc20. |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1133,7 +1133,7 @@ Module Impl_trait_erc20_BaseErc20_for_trait_erc20_Erc20. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| allowance |)) (M.read (| value |)) + BinOp.lt (| M.read (| allowance |), M.read (| value |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1247,14 +1247,14 @@ Module Impl_trait_erc20_BaseErc20_for_trait_erc20_Erc20. "allowances" |); Value.Tuple [ M.read (| from |); M.read (| caller |) ]; - BinOp.Wrap.sub Integer.U128 (M.read (| allowance |)) (M.read (| value |)) + BinOp.Wrap.sub (| M.read (| allowance |), M.read (| value |) |) ] |) |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/trait_flipper.v b/CoqOfRust/examples/default/examples/ink_contracts/trait_flipper.v index 38453596e..f504470d3 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/trait_flipper.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/trait_flipper.v @@ -40,7 +40,7 @@ Module Impl_trait_flipper_Flipper. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -67,18 +67,19 @@ Module Impl_trait_flipper_Flip_for_trait_flipper_Flipper. "trait_flipper::Flipper", "value" |), - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "trait_flipper::Flipper", "value" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -98,7 +99,7 @@ Module Impl_trait_flipper_Flip_for_trait_flipper_Flipper. "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/trait_incrementer.v b/CoqOfRust/examples/default/examples/ink_contracts/trait_incrementer.v index b2441a214..e04594fee 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/trait_incrementer.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/trait_incrementer.v @@ -28,7 +28,7 @@ Module Impl_trait_incrementer_Incrementer. ltac:(M.monadic (let init_value := M.alloc (| init_value |) in Value.StructRecord "trait_incrementer::Incrementer" [ ("value", M.read (| init_value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -52,10 +52,10 @@ Module Impl_trait_incrementer_Incrementer. "trait_incrementer::Incrementer", "value" |) in - M.write (| β, BinOp.Wrap.add Integer.U64 (M.read (| β |)) (M.read (| delta |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| delta |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inc_by : M.IsAssociatedFunction Self "inc_by" inc_by. @@ -76,9 +76,9 @@ Module Impl_trait_incrementer_Increment_for_trait_incrementer_Incrementer. (let self := M.alloc (| self |) in M.call_closure (| M.get_associated_function (| Ty.path "trait_incrementer::Incrementer", "inc_by", [] |), - [ M.read (| self |); Value.Integer 1 ] + [ M.read (| self |); Value.Integer IntegerKind.U64 1 ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -98,7 +98,7 @@ Module Impl_trait_incrementer_Increment_for_trait_incrementer_Incrementer. "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -130,11 +130,11 @@ Module Impl_trait_incrementer_Reset_for_trait_incrementer_Incrementer. "trait_incrementer::Incrementer", "value" |), - Value.Integer 0 + Value.Integer IntegerKind.U64 0 |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/ink_contracts/wildcard_selector.v b/CoqOfRust/examples/default/examples/ink_contracts/wildcard_selector.v index 2592466f2..f5ddeca80 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/wildcard_selector.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/wildcard_selector.v @@ -28,7 +28,7 @@ Module Impl_wildcard_selector_WildcardSelector. Definition new (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "wildcard_selector::WildcardSelector" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -143,7 +143,7 @@ Module Impl_wildcard_selector_WildcardSelector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wildcard : M.IsAssociatedFunction Self "wildcard" wildcard. @@ -202,7 +202,7 @@ Module Impl_wildcard_selector_WildcardSelector. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_wildcard_complement : diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example01.v b/CoqOfRust/examples/default/examples/monadic_transformation/example01.v index f82ef6bf9..846628d03 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example01.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example01.v @@ -12,7 +12,7 @@ Definition id (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_id : M.IsFunction "example01::id" id. @@ -26,7 +26,7 @@ Definition tri (τ : list Ty.t) (α : list Value.t) : M := let b := M.alloc (| b |) in let c := M.alloc (| c |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_tri : M.IsFunction "example01::tri" tri. @@ -47,13 +47,21 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ _ := M.alloc (| - M.call_closure (| M.get_function (| "example01::id", [] |), [ Value.Integer 0 ] |) + M.call_closure (| + M.get_function (| "example01::id", [] |), + [ Value.Integer IntegerKind.U64 0 ] + |) |) in let~ _ := M.alloc (| M.call_closure (| M.get_function (| "example01::id", [] |), - [ M.call_closure (| M.get_function (| "example01::id", [] |), [ Value.Integer 0 ] |) ] + [ + M.call_closure (| + M.get_function (| "example01::id", [] |), + [ Value.Integer IntegerKind.U64 0 ] + |) + ] |) |) in let~ _ := @@ -66,7 +74,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.call_closure (| M.get_function (| "example01::id", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.U64 0 ] |) ] |) @@ -86,7 +94,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.call_closure (| M.get_function (| "example01::id", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.U64 0 ] |) ] |) @@ -100,15 +108,21 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.call_closure (| M.get_function (| "example01::tri", [] |), [ - M.call_closure (| M.get_function (| "example01::id", [] |), [ Value.Integer 1 ] |); - M.call_closure (| M.get_function (| "example01::id", [] |), [ Value.Integer 2 ] |); - Value.Integer 3 + M.call_closure (| + M.get_function (| "example01::id", [] |), + [ Value.Integer IntegerKind.U64 1 ] + |); + M.call_closure (| + M.get_function (| "example01::id", [] |), + [ Value.Integer IntegerKind.U64 2 ] + |); + Value.Integer IntegerKind.U64 3 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "example01::main" main. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example02.v b/CoqOfRust/examples/default/examples/monadic_transformation/example02.v index eba156ea5..3eaeedc75 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example02.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example02.v @@ -30,11 +30,15 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ _ := M.match_operator (| - M.alloc (| Value.Integer 1 |), + M.alloc (| Value.Integer IntegerKind.I32 1 |), [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I32 0 + |) in M.alloc (| Value.Bool false |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool true |))) ] @@ -47,8 +51,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.use (M.alloc (| Value.Bool true |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.I32 0 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 1 |))) ] |) in let~ _ := @@ -59,7 +63,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.use (M.alloc (| Value.Bool false |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 2 |))); + M.alloc (| Value.Integer IntegerKind.I32 2 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -70,7 +74,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| Value.Bool false |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 3 |))); + M.alloc (| Value.Integer IntegerKind.I32 3 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -84,8 +88,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 4 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 5 |))) + M.alloc (| Value.Integer IntegerKind.I32 4 |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 5 |))) ] |))) ] @@ -94,7 +99,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "example02::main" main. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example03.v b/CoqOfRust/examples/default/examples/monadic_transformation/example03.v index e4263a524..c6150b6c0 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example03.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example03.v @@ -14,7 +14,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ _ := M.alloc (| - Value.Tuple [ Value.Integer 1; Value.Integer 2; Value.Integer 3; Value.Integer 4 ] + Value.Tuple + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3; + Value.Integer IntegerKind.I32 4 + ] |) in let~ _ := M.alloc (| @@ -42,7 +48,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.alloc (| Value.Array - [ Value.Integer 5; Value.Integer 6; Value.Integer 7; Value.Integer 8 ] + [ + Value.Integer IntegerKind.I32 5; + Value.Integer IntegerKind.I32 6; + Value.Integer IntegerKind.I32 7; + Value.Integer IntegerKind.I32 8 + ] |) ] |) @@ -52,7 +63,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "example03::main" main. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example04.v b/CoqOfRust/examples/default/examples/monadic_transformation/example04.v index 2786197a6..ca8332f7b 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example04.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example04.v @@ -11,10 +11,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| M.alloc (| Value.Integer 1 |) |) in + let~ x := M.alloc (| M.alloc (| Value.Integer IntegerKind.I32 1 |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "example04::main" main. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example05.v b/CoqOfRust/examples/default/examples/monadic_transformation/example05.v index 82a9369cd..0b4672e9c 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example05.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example05.v @@ -21,11 +21,11 @@ Module Impl_example05_Foo. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.U32 - (M.read (| M.SubPointer.get_struct_tuple_field (| self, "example05::Foo", 0 |) |)) - (Value.Integer 1))) - | _, _ => M.impossible + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "example05::Foo", 0 |) |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_plus1 : M.IsAssociatedFunction Self "plus1" plus1. @@ -42,7 +42,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ foo := M.alloc (| Value.StructTuple "example05::Foo" [ Value.Integer 0 ] |) in + let~ foo := + M.alloc (| Value.StructTuple "example05::Foo" [ Value.Integer IntegerKind.U32 0 ] |) in let~ _ := M.alloc (| M.call_closure (| @@ -52,7 +53,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "example05::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/attributes/dead_code.v b/CoqOfRust/examples/default/examples/rust_book/attributes/dead_code.v index d07ea77c3..f73325e3d 100644 --- a/CoqOfRust/examples/default/examples/rust_book/attributes/dead_code.v +++ b/CoqOfRust/examples/default/examples/rust_book/attributes/dead_code.v @@ -3,19 +3,28 @@ Require Import CoqOfRust.CoqOfRust. (* fn used_function() {} *) Definition used_function (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_used_function : M.IsFunction "dead_code::used_function" used_function. (* fn unused_function() {} *) Definition unused_function (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_unused_function : M.IsFunction "dead_code::unused_function" unused_function. (* fn noisy_unused_function() {} *) Definition noisy_unused_function (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_noisy_unused_function : M.IsFunction "dead_code::noisy_unused_function" noisy_unused_function. @@ -36,7 +45,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "dead_code::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/cargo/concurrent_tests.v b/CoqOfRust/examples/default/examples/rust_book/cargo/concurrent_tests.v index d38f31dc6..e02037404 100644 --- a/CoqOfRust/examples/default/examples/rust_book/cargo/concurrent_tests.v +++ b/CoqOfRust/examples/default/examples/rust_book/cargo/concurrent_tests.v @@ -73,7 +73,7 @@ Definition foo (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_foo : M.IsFunction "concurrent_tests::foo" foo. @@ -169,7 +169,10 @@ Module tests. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 5) ] + [ + ("start", Value.Integer IntegerKind.I32 0); + ("end_", Value.Integer IntegerKind.I32 5) + ] ] |) |), @@ -251,7 +254,7 @@ Module tests. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_test_file : M.IsFunction "concurrent_tests::tests::test_file'1" test_file. @@ -346,7 +349,10 @@ Module tests. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 5) ] + [ + ("start", Value.Integer IntegerKind.I32 0); + ("end_", Value.Integer IntegerKind.I32 5) + ] ] |) |), @@ -428,7 +434,7 @@ Module tests. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_test_file_also : diff --git a/CoqOfRust/examples/default/examples/rust_book/conversion/converting_to_string.v b/CoqOfRust/examples/default/examples/rust_book/conversion/converting_to_string.v index f7302925d..a60cfe1f0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/conversion/converting_to_string.v +++ b/CoqOfRust/examples/default/examples/rust_book/conversion/converting_to_string.v @@ -57,7 +57,7 @@ Module Impl_core_fmt_Display_for_converting_to_string_Circle. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81,7 +81,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ circle := M.alloc (| - Value.StructRecord "converting_to_string::Circle" [ ("radius", Value.Integer 6) ] + Value.StructRecord + "converting_to_string::Circle" + [ ("radius", Value.Integer IntegerKind.I32 6) ] |) in let~ _ := M.alloc (| @@ -98,7 +100,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "converting_to_string::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/conversion/from.v b/CoqOfRust/examples/default/examples/rust_book/conversion/from.v index 25f3763d0..ef0dce70f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/conversion/from.v +++ b/CoqOfRust/examples/default/examples/rust_book/conversion/from.v @@ -22,7 +22,7 @@ Module Impl_core_convert_From_i32_for_from_Number. ltac:(M.monadic (let item := M.alloc (| item |) in Value.StructRecord "from::Number" [ ("value", M.read (| item |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53,12 +53,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "from", [] |), - [ Value.Integer 30 ] + [ Value.Integer IntegerKind.I32 30 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "from::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/conversion/into.v b/CoqOfRust/examples/default/examples/rust_book/conversion/into.v index 6d5aaaa8e..b3cbd5135 100644 --- a/CoqOfRust/examples/default/examples/rust_book/conversion/into.v +++ b/CoqOfRust/examples/default/examples/rust_book/conversion/into.v @@ -22,7 +22,7 @@ Module Impl_core_convert_From_i32_for_into_Number. ltac:(M.monadic (let item := M.alloc (| item |) in Value.StructRecord "into::Number" [ ("value", M.read (| item |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -53,12 +53,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "into", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.I32 5 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "into::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/conversion/parsing_a_string.v b/CoqOfRust/examples/default/examples/rust_book/conversion/parsing_a_string.v index 0ad77c01b..4388d6898 100644 --- a/CoqOfRust/examples/default/examples/rust_book/conversion/parsing_a_string.v +++ b/CoqOfRust/examples/default/examples/rust_book/conversion/parsing_a_string.v @@ -36,7 +36,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "parsing_a_string::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/conversion/try_from_and_try_into.v b/CoqOfRust/examples/default/examples/rust_book/conversion/try_from_and_try_into.v index 5c3f14a0e..3d9f276de 100644 --- a/CoqOfRust/examples/default/examples/rust_book/conversion/try_from_and_try_into.v +++ b/CoqOfRust/examples/default/examples/rust_book/conversion/try_from_and_try_into.v @@ -38,7 +38,7 @@ Module Impl_core_fmt_Debug_for_try_from_and_try_into_EvenNumber. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70,22 +70,23 @@ Module Impl_core_cmp_PartialEq_for_try_from_and_try_into_EvenNumber. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "try_from_and_try_into::EvenNumber", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "try_from_and_try_into::EvenNumber", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -125,9 +126,10 @@ Module Impl_core_convert_TryFrom_i32_for_try_from_and_try_into_EvenNumber. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.I32 (M.read (| value |)) (Value.Integer 2)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| value |), Value.Integer IntegerKind.I32 2 |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -142,7 +144,7 @@ Module Impl_core_convert_TryFrom_i32_for_try_from_and_try_into_EvenNumber. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -188,13 +190,17 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "try_from", [] |), - [ Value.Integer 8 ] + [ Value.Integer IntegerKind.I32 8 ] |) |); M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ Value.StructTuple "try_from_and_try_into::EvenNumber" [ Value.Integer 8 ] ] + [ + Value.StructTuple + "try_from_and_try_into::EvenNumber" + [ Value.Integer IntegerKind.I32 8 ] + ] |) ] |), @@ -213,8 +219,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -231,7 +237,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -287,7 +294,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "try_from", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.I32 5 ] |) |); M.alloc (| Value.StructTuple "core::result::Result::Err" [ Value.Tuple [] ] |) @@ -308,8 +315,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -326,7 +333,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -378,7 +386,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "try_into", [] |), - [ Value.Integer 8 ] + [ Value.Integer IntegerKind.I32 8 ] |) |) in let~ _ := @@ -390,7 +398,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ Value.StructTuple "try_from_and_try_into::EvenNumber" [ Value.Integer 8 ] ] + [ + Value.StructTuple + "try_from_and_try_into::EvenNumber" + [ Value.Integer IntegerKind.I32 8 ] + ] |) ] |), @@ -409,8 +421,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -427,7 +439,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -479,7 +492,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "try_into", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.I32 5 ] |) |) in let~ _ := @@ -506,8 +519,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -524,7 +537,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -568,7 +582,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "try_from_and_try_into::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/custom_types/constants.v b/CoqOfRust/examples/default/examples/rust_book/custom_types/constants.v index c6103de9f..65bc440a1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/constants.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/constants.v @@ -3,7 +3,8 @@ Require Import CoqOfRust.CoqOfRust. Definition value_LANGUAGE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.String "Rust" |))). -Definition value_THRESHOLD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). +Definition value_THRESHOLD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 10 |))). (* fn is_big(n: i32) -> bool { @@ -16,8 +17,8 @@ Definition is_big (τ : list Ty.t) (α : list Value.t) : M := | [], [ n ] => ltac:(M.monadic (let n := M.alloc (| n |) in - BinOp.Pure.gt (M.read (| n |)) (M.read (| M.get_constant (| "constants::THRESHOLD" |) |)))) - | _, _ => M.impossible + BinOp.gt (| M.read (| n |), M.read (| M.get_constant (| "constants::THRESHOLD" |) |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_big : M.IsFunction "constants::is_big" is_big. @@ -41,7 +42,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ n := M.alloc (| Value.Integer 16 |) in + let~ n := M.alloc (| Value.Integer IntegerKind.I32 16 |) in let~ _ := let~ _ := M.alloc (| @@ -195,7 +196,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "constants::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums.v b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums.v index bd7f5ccac..ff241a99c 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums.v @@ -283,7 +283,7 @@ Definition inspect (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_inspect : M.IsFunction "enums::inspect" inspect. @@ -332,7 +332,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructRecord "enums::WebEvent::Click" - [ ("x", Value.Integer 20); ("y", Value.Integer 80) ] + [ ("x", Value.Integer IntegerKind.I64 20); ("y", Value.Integer IntegerKind.I64 80) ] |) in let~ load := M.alloc (| Value.StructTuple "enums::WebEvent::PageLoad" [] |) in let~ unload := M.alloc (| Value.StructTuple "enums::WebEvent::PageUnload" [] |) in @@ -358,7 +358,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "enums::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_c_like.v b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_c_like.v index 8feb4b5b3..411ab8bb0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_c_like.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_c_like.v @@ -93,7 +93,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "i32" ] |), - [ M.alloc (| M.rust_cast (Value.Integer 0) |) ] + [ M.alloc (| M.rust_cast (Value.Integer IntegerKind.Isize 0) |) ] |) ] |)) @@ -130,7 +130,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "i32" ] |), - [ M.alloc (| M.rust_cast (Value.Integer 1) |) ] + [ M.alloc (| M.rust_cast (Value.Integer IntegerKind.Isize 1) |) ] |) ] |)) @@ -175,12 +175,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.alloc (| M.rust_cast - (BinOp.Wrap.add - Integer.Isize - (M.get_constant (| + (BinOp.Wrap.add (| + M.get_constant (| "enums_c_like::Color::Red_discriminant" - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Isize 0 + |)) |) ] |) @@ -198,12 +198,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 8; + Value.Integer IntegerKind.U32 8; Value.StructTuple "core::fmt::rt::Count::Implied" []; - Value.StructTuple "core::fmt::rt::Count::Is" [ Value.Integer 6 ] + Value.StructTuple + "core::fmt::rt::Count::Is" + [ Value.Integer IntegerKind.Usize 6 ] ] |) ] @@ -259,12 +261,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.alloc (| M.rust_cast - (BinOp.Wrap.add - Integer.Isize - (M.get_constant (| + (BinOp.Wrap.add (| + M.get_constant (| "enums_c_like::Color::Blue_discriminant" - |)) - (Value.Integer 0)) + |), + Value.Integer IntegerKind.Isize 0 + |)) |) ] |) @@ -282,12 +284,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 8; + Value.Integer IntegerKind.U32 8; Value.StructTuple "core::fmt::rt::Count::Implied" []; - Value.StructTuple "core::fmt::rt::Count::Is" [ Value.Integer 6 ] + Value.StructTuple + "core::fmt::rt::Count::Is" + [ Value.Integer IntegerKind.Usize 6 ] ] |) ] @@ -308,7 +312,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "enums_c_like::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_testcase_linked_list.v b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_testcase_linked_list.v index 6189ca013..22b5b20aa 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_testcase_linked_list.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_testcase_linked_list.v @@ -40,7 +40,7 @@ Module Impl_enums_testcase_linked_list_List. Definition new (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "enums_testcase_linked_list::List::Nil" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -72,7 +72,7 @@ Module Impl_enums_testcase_linked_list_List. [ M.read (| self |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_prepend : M.IsAssociatedFunction Self "prepend" prepend. @@ -120,26 +120,26 @@ Module Impl_enums_testcase_linked_list_List. |) in let tail := M.alloc (| γ0_1 |) in M.alloc (| - BinOp.Wrap.add - Integer.U32 - (Value.Integer 1) - (M.call_closure (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.U32 1, + M.call_closure (| M.get_associated_function (| Ty.path "enums_testcase_linked_list::List", "len", [] |), [ M.read (| M.read (| tail |) |) ] - |)) + |) + |) |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "enums_testcase_linked_list::List::Nil" |) in - M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.U32 0 |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -268,7 +268,7 @@ Module Impl_enums_testcase_linked_list_List. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_stringify : M.IsAssociatedFunction Self "stringify" stringify. @@ -310,7 +310,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "prepend", [] |), - [ M.read (| list |); Value.Integer 1 ] + [ M.read (| list |); Value.Integer IntegerKind.U32 1 ] |) |) in let~ _ := @@ -322,7 +322,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "prepend", [] |), - [ M.read (| list |); Value.Integer 2 ] + [ M.read (| list |); Value.Integer IntegerKind.U32 2 ] |) |) in let~ _ := @@ -334,7 +334,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "prepend", [] |), - [ M.read (| list |); Value.Integer 3 ] + [ M.read (| list |); Value.Integer IntegerKind.U32 3 ] |) |) in let~ _ := @@ -438,7 +438,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "enums_testcase_linked_list::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_type_aliases_v1.v b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_type_aliases_v1.v index 70ab01aa5..e11ab3745 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_type_aliases_v1.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_type_aliases_v1.v @@ -45,7 +45,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "enums_type_aliases_v1::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_type_aliases_v2.v b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_type_aliases_v2.v index 303bde32c..08ddd9350 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_type_aliases_v2.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_type_aliases_v2.v @@ -51,7 +51,7 @@ Module Impl_enums_type_aliases_v2_VeryVerboseEnumOfThingsToDoWithNumbers. γ, "enums_type_aliases_v2::VeryVerboseEnumOfThingsToDoWithNumbers::Add" |) in - M.alloc (| BinOp.Wrap.add Integer.I32 (M.read (| x |)) (M.read (| y |)) |))); + M.alloc (| BinOp.Wrap.add (| M.read (| x |), M.read (| y |) |) |))); fun γ => ltac:(M.monadic (let γ := M.read (| γ |) in @@ -60,11 +60,11 @@ Module Impl_enums_type_aliases_v2_VeryVerboseEnumOfThingsToDoWithNumbers. γ, "enums_type_aliases_v2::VeryVerboseEnumOfThingsToDoWithNumbers::Subtract" |) in - M.alloc (| BinOp.Wrap.sub Integer.I32 (M.read (| x |)) (M.read (| y |)) |))) + M.alloc (| BinOp.Wrap.sub (| M.read (| x |), M.read (| y |) |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_run : M.IsAssociatedFunction Self "run" run. diff --git a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_use.v b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_use.v index 5623e3cae..b9a0a06f7 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_use.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums_use.v @@ -190,7 +190,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "enums_use::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/custom_types/structures.v b/CoqOfRust/examples/default/examples/rust_book/custom_types/structures.v index 9e5d20b69..aab82d58a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/structures.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/structures.v @@ -47,7 +47,7 @@ Module Impl_core_fmt_Debug_for_structures_Person. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -159,7 +159,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.read (| Value.String "Peter" |) ] |) |) in - let~ age := M.alloc (| Value.Integer 27 |) in + let~ age := M.alloc (| Value.Integer IntegerKind.U8 27 |) in let~ peter := M.alloc (| Value.StructRecord @@ -363,7 +363,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "structures::Pair" - [ Value.Integer 1; M.read (| UnsupportedLiteral |) ] + [ Value.Integer IntegerKind.I32 1; M.read (| UnsupportedLiteral |) ] |) in let~ _ := let~ _ := @@ -500,7 +500,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "structures::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/aliases_for_result.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/aliases_for_result.v index b831d4efc..b6dbb412b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/aliases_for_result.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/aliases_for_result.v @@ -85,23 +85,23 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let second_number := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (M.read (| first_number |)) - (M.read (| second_number |)))) + BinOp.Wrap.mul (| + M.read (| first_number |), + M.read (| second_number |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_multiply : M.IsFunction "aliases_for_result::multiply" multiply. @@ -220,7 +220,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "aliases_for_result::print" print. @@ -262,7 +262,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "aliases_for_result::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/boxing_errors.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/boxing_errors.v index 2a7ff3524..f360824ed 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/boxing_errors.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/boxing_errors.v @@ -34,7 +34,7 @@ Module Impl_core_fmt_Debug_for_boxing_errors_EmptyVec. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "EmptyVec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -55,7 +55,7 @@ Module Impl_core_clone_Clone_for_boxing_errors_EmptyVec. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "boxing_errors::EmptyVec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -96,7 +96,7 @@ Module Impl_core_fmt_Display_for_boxing_errors_EmptyVec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -227,7 +227,7 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -330,7 +330,7 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -346,23 +346,23 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let i := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.read (| i |)))) + BinOp.Wrap.mul (| + Value.Integer IntegerKind.I32 2, + M.read (| i |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_double_first : M.IsFunction "boxing_errors::double_first" double_first. @@ -490,7 +490,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "boxing_errors::print" print. @@ -638,7 +638,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "boxing_errors::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_and_then.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_and_then.v index 4dd956ca0..444ca7d66 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_and_then.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_and_then.v @@ -65,7 +65,7 @@ Module Impl_core_fmt_Debug_for_combinators_and_then_Food. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -139,7 +139,7 @@ Module Impl_core_fmt_Debug_for_combinators_and_then_Day. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -179,7 +179,7 @@ Definition have_ingredients (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_have_ingredients : @@ -214,7 +214,7 @@ Definition have_recipe (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_have_recipe : M.IsFunction "combinators_and_then::have_recipe" have_recipe. @@ -282,7 +282,7 @@ Definition cookable_v1 (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_cookable_v1 : M.IsFunction "combinators_and_then::cookable_v1" cookable_v1. @@ -316,7 +316,7 @@ Definition cookable_v2 (τ : list Ty.t) (α : list Value.t) : M := M.get_function (| "combinators_and_then::have_ingredients", [] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_cookable_v2 : M.IsFunction "combinators_and_then::cookable_v2" cookable_v2. @@ -450,7 +450,7 @@ Definition eat (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_eat : M.IsFunction "combinators_and_then::eat" eat. @@ -521,7 +521,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "combinators_and_then::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_map.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_map.v index 9815f0c2f..53667532e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_map.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/combinators_map.v @@ -64,7 +64,7 @@ Module Impl_core_fmt_Debug_for_combinators_map_Food. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112,7 +112,7 @@ Module Impl_core_fmt_Debug_for_combinators_map_Peeled. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -160,7 +160,7 @@ Module Impl_core_fmt_Debug_for_combinators_map_Chopped. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -208,7 +208,7 @@ Module Impl_core_fmt_Debug_for_combinators_map_Cooked. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -253,7 +253,7 @@ Definition peel (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_peel : M.IsFunction "combinators_map::peel" peel. @@ -294,7 +294,7 @@ Definition chop (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_chop : M.IsFunction "combinators_map::chop" chop. @@ -343,11 +343,11 @@ Definition cook (τ : list Ty.t) (α : list Value.t) : M := Value.StructTuple "combinators_map::Cooked" [ M.read (| food |) ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_cook : M.IsFunction "combinators_map::cook" cook. @@ -416,7 +416,7 @@ Definition process (τ : list Ty.t) (α : list Value.t) : M := Value.StructTuple "combinators_map::Peeled" [ M.read (| f |) ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -441,7 +441,7 @@ Definition process (τ : list Ty.t) (α : list Value.t) : M := Value.StructTuple "combinators_map::Chopped" [ M.read (| f |) ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -466,11 +466,11 @@ Definition process (τ : list Ty.t) (α : list Value.t) : M := Value.StructTuple "combinators_map::Cooked" [ M.read (| f |) ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_process : M.IsFunction "combinators_map::process" process. @@ -571,7 +571,7 @@ Definition eat (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_eat : M.IsFunction "combinators_map::eat" eat. @@ -674,7 +674,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "combinators_map::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/defining_an_error_type.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/defining_an_error_type.v index 91040f18e..e695d5ffe 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/defining_an_error_type.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/defining_an_error_type.v @@ -22,7 +22,7 @@ Module Impl_core_fmt_Debug_for_defining_an_error_type_DoubleError. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "DoubleError" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43,7 +43,7 @@ Module Impl_core_clone_Clone_for_defining_an_error_type_DoubleError. ltac:(M.monadic (let self := M.alloc (| self |) in Value.StructTuple "defining_an_error_type::DoubleError" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -91,7 +91,7 @@ Module Impl_core_fmt_Display_for_defining_an_error_type_DoubleError. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -235,7 +235,7 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -251,23 +251,23 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let i := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.read (| i |)))) + BinOp.Wrap.mul (| + Value.Integer IntegerKind.I32 2, + M.read (| i |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_double_first : M.IsFunction "defining_an_error_type::double_first" double_first. @@ -388,7 +388,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "defining_an_error_type::print" print. @@ -536,7 +536,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "defining_an_error_type::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/early_returns.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/early_returns.v index f56c3c0bb..bc111ee17 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/early_returns.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/early_returns.v @@ -110,16 +110,11 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ - BinOp.Wrap.mul - Integer.I32 - (M.read (| first_number |)) - (M.read (| second_number |)) - ] + [ BinOp.Wrap.mul (| M.read (| first_number |), M.read (| second_number |) |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_multiply : M.IsFunction "early_returns::multiply" multiply. @@ -238,7 +233,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "early_returns::print" print. @@ -280,7 +275,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "early_returns::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/introducing_question_mark.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/introducing_question_mark.v index 58707cd54..e89c86e9c 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/introducing_question_mark.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/introducing_question_mark.v @@ -165,16 +165,11 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ - BinOp.Wrap.mul - Integer.I32 - (M.read (| first_number |)) - (M.read (| second_number |)) - ] + [ BinOp.Wrap.mul (| M.read (| first_number |), M.read (| second_number |) |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_multiply : M.IsFunction "introducing_question_mark::multiply" multiply. @@ -293,7 +288,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "introducing_question_mark::print" print. @@ -335,7 +330,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "introducing_question_mark::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/introducing_question_mark_is_an_replacement_for_deprecated_try.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/introducing_question_mark_is_an_replacement_for_deprecated_try.v index f706aa77d..da4b8e9e2 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/introducing_question_mark_is_an_replacement_for_deprecated_try.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/introducing_question_mark_is_an_replacement_for_deprecated_try.v @@ -129,16 +129,11 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ - BinOp.Wrap.mul - Integer.I32 - (M.read (| first_number |)) - (M.read (| second_number |)) - ] + [ BinOp.Wrap.mul (| M.read (| first_number |), M.read (| second_number |) |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_multiply : @@ -258,7 +253,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : @@ -313,7 +308,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v index 17897ff49..e4fb89a1f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v @@ -152,7 +152,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -289,7 +289,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v index 3a2078b26..3664f5b3e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v @@ -154,7 +154,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -455,7 +455,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v index 4856d331b..5545a9cca 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v @@ -204,7 +204,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -279,7 +279,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -287,7 +287,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -381,7 +381,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v index de05d7722..391f84899 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v @@ -137,7 +137,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -192,7 +192,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_failed.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_failed.v index 9d6b37ae4..328c9e252 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_failed.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_failed.v @@ -137,7 +137,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -193,7 +193,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "iterating_over_results_failed::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v index 9e3ccd105..69cf8c116 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v @@ -143,7 +143,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -193,7 +193,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "iterating_over_results_handle_via_filter_map::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_combinators.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_combinators.v index 93ec5486e..3dd5f22e9 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_combinators.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_combinators.v @@ -80,23 +80,23 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let second_number := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (M.read (| first_number |)) - (M.read (| second_number |)))) + BinOp.Wrap.mul (| + M.read (| first_number |), + M.read (| second_number |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_multiply : M.IsFunction "map_in_result_via_combinators::multiply" multiply. @@ -215,7 +215,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "map_in_result_via_combinators::print" print. @@ -266,7 +266,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "map_in_result_via_combinators::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_match.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_match.v index 824e06456..cc5394f96 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_match.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/map_in_result_via_match.v @@ -53,10 +53,10 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := Value.StructTuple "core::result::Result::Ok" [ - BinOp.Wrap.mul - Integer.I32 - (M.read (| first_number |)) - (M.read (| second_number |)) + BinOp.Wrap.mul (| + M.read (| first_number |), + M.read (| second_number |) + |) ] |))); fun γ => @@ -82,7 +82,7 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_multiply : M.IsFunction "map_in_result_via_match::multiply" multiply. @@ -201,7 +201,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "map_in_result_via_match::print" print. @@ -252,7 +252,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "map_in_result_via_match::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/multiple_error_types.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/multiple_error_types.v index 3c3d9af00..1ca0fce6e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/multiple_error_types.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/multiple_error_types.v @@ -50,10 +50,9 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.call_closure (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.I32 2, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::result::Result") @@ -67,10 +66,11 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := [ M.read (| M.read (| first |) |) ] |) ] - |)) + |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_double_first : M.IsFunction "multiple_error_types::double_first" double_first. @@ -327,7 +327,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "multiple_error_types::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/option_and_unwrap.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/option_and_unwrap.v index c07fa772a..f3841ece0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/option_and_unwrap.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/option_and_unwrap.v @@ -128,7 +128,7 @@ Definition give_adult (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_give_adult : M.IsFunction "option_and_unwrap::give_adult" give_adult. @@ -240,7 +240,7 @@ Definition drink (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_drink : M.IsFunction "option_and_unwrap::drink" drink. @@ -318,7 +318,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "option_and_unwrap::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/other_uses_of_question_mark.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/other_uses_of_question_mark.v index bc922491a..482eb692a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/other_uses_of_question_mark.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/other_uses_of_question_mark.v @@ -34,7 +34,7 @@ Module Impl_core_fmt_Debug_for_other_uses_of_question_mark_EmptyVec. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "EmptyVec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -75,7 +75,7 @@ Module Impl_core_fmt_Display_for_other_uses_of_question_mark_EmptyVec. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -309,11 +309,11 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ BinOp.Wrap.mul Integer.I32 (Value.Integer 2) (M.read (| parsed |)) ] + [ BinOp.Wrap.mul (| Value.Integer IntegerKind.I32 2, M.read (| parsed |) |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_double_first : M.IsFunction "other_uses_of_question_mark::double_first" double_first. @@ -441,7 +441,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "other_uses_of_question_mark::print" print. @@ -589,7 +589,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "other_uses_of_question_mark::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/panic.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/panic.v index 4f45cb89b..187dd21d8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/panic.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/panic.v @@ -94,7 +94,7 @@ Definition drink (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_drink : M.IsFunction "panic::drink" drink. @@ -126,7 +126,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "panic::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options.v index d1ca3da05..ab9433236 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options.v @@ -94,23 +94,23 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let n := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.read (| n |)))) + BinOp.Wrap.mul (| + Value.Integer IntegerKind.I32 2, + M.read (| n |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_double_first : @@ -404,7 +404,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "pulling_results_out_of_options::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v index 7ad49d02b..2020e8925 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v @@ -104,19 +104,19 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let n := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (M.read (| n |)))) + BinOp.Wrap.mul (| + Value.Integer IntegerKind.I32 2, + M.read (| n |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -195,13 +195,13 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_double_first : @@ -487,7 +487,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/result_use_in_main.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/result_use_in_main.v index 7d330f6ba..39eb2dbf3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/result_use_in_main.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/result_use_in_main.v @@ -105,7 +105,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "result_use_in_main::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert.v index 87b1df18d..3371848d5 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert.v @@ -104,7 +104,7 @@ Module Impl_core_fmt_Debug_for_unpacking_options_and_defaults_via_get_or_insert_ |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -247,7 +247,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "unpacking_options_and_defaults_via_get_or_insert::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v index c88420a0e..0bc7d1866 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v @@ -104,7 +104,7 @@ Module Impl_core_fmt_Debug_for_unpacking_options_and_defaults_via_get_or_insert_ |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -197,7 +197,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ first_available_fruit := @@ -434,7 +434,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or.v index d12b1f557..e357c83d5 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or.v @@ -104,7 +104,7 @@ Module Impl_core_fmt_Debug_for_unpacking_options_and_defaults_via_or_Fruit. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -221,7 +221,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "unpacking_options_and_defaults_via_or::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v index f05bc7c23..155800485 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v @@ -104,7 +104,7 @@ Module Impl_core_fmt_Debug_for_unpacking_options_and_defaults_via_or_else_Fruit. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -204,7 +204,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ get_lemon_as_fallback := @@ -263,7 +263,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ first_available_fruit := @@ -350,7 +350,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "unpacking_options_and_defaults_via_or_else::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_via_question_mark.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_via_question_mark.v index dcb4cf4ab..124515bba 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_via_question_mark.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/unpacking_options_via_question_mark.v @@ -34,7 +34,7 @@ Module Impl_core_clone_Clone_for_unpacking_options_via_question_mark_PhoneNumber ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -80,7 +80,7 @@ Module Impl_core_clone_Clone_for_unpacking_options_via_question_mark_Job. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,7 +271,7 @@ Module Impl_unpacking_options_via_question_mark_Person. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_work_phone_area_code : @@ -319,8 +319,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ("area_code", Value.StructTuple "core::option::Option::Some" - [ Value.Integer 61 ]); - ("number", Value.Integer 439222222) + [ Value.Integer IntegerKind.U8 61 ]); + ("number", Value.Integer IntegerKind.U32 439222222) ] ]) ] @@ -342,7 +342,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ p ] |) |); - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 61 ] |) + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.U8 61 ] + |) ] |), [ @@ -360,8 +364,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply (Ty.path "core::option::Option") [ Ty.path "u8" ], @@ -371,7 +375,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -409,7 +414,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "unpacking_options_via_question_mark::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/error_handling/wrapping_errors.v b/CoqOfRust/examples/default/examples/rust_book/error_handling/wrapping_errors.v index ba83a9d98..937893197 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/wrapping_errors.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/wrapping_errors.v @@ -76,7 +76,7 @@ Module Impl_core_fmt_Debug_for_wrapping_errors_DoubleError. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -186,7 +186,7 @@ Module Impl_core_fmt_Display_for_wrapping_errors_DoubleError. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -241,7 +241,7 @@ Module Impl_core_error_Error_for_wrapping_errors_DoubleError. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -266,7 +266,7 @@ Module Impl_core_convert_From_core_num_error_ParseIntError_for_wrapping_errors_D ltac:(M.monadic (let err := M.alloc (| err |) in Value.StructTuple "wrapping_errors::DoubleError::Parse" [ M.read (| err |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -480,11 +480,11 @@ Definition double_first (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ BinOp.Wrap.mul Integer.I32 (Value.Integer 2) (M.read (| parsed |)) ] + [ BinOp.Wrap.mul (| Value.Integer IntegerKind.I32 2, M.read (| parsed |) |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_double_first : M.IsFunction "wrapping_errors::double_first" double_first. @@ -689,7 +689,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "wrapping_errors::print" print. @@ -837,7 +837,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "wrapping_errors::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/expressions/blocks.v b/CoqOfRust/examples/default/examples/rust_book/expressions/blocks.v index 9d0a8fc56..e745f663b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/expressions/blocks.v +++ b/CoqOfRust/examples/default/examples/rust_book/expressions/blocks.v @@ -28,23 +28,23 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 5 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U32 5 |) in let~ y := M.copy (| - let~ x_squared := - M.alloc (| BinOp.Wrap.mul Integer.U32 (M.read (| x |)) (M.read (| x |)) |) in + let~ x_squared := M.alloc (| BinOp.Wrap.mul (| M.read (| x |), M.read (| x |) |) |) in let~ x_cube := - M.alloc (| BinOp.Wrap.mul Integer.U32 (M.read (| x_squared |)) (M.read (| x |)) |) in + M.alloc (| BinOp.Wrap.mul (| M.read (| x_squared |), M.read (| x |) |) |) in M.alloc (| - BinOp.Wrap.add - Integer.U32 - (BinOp.Wrap.add Integer.U32 (M.read (| x_cube |)) (M.read (| x_squared |))) - (M.read (| x |)) + BinOp.Wrap.add (| + BinOp.Wrap.add (| M.read (| x_cube |), M.read (| x_squared |) |), + M.read (| x |) + |) |) |) in let~ z := M.copy (| - let~ _ := M.alloc (| BinOp.Wrap.mul Integer.U32 (Value.Integer 2) (M.read (| x |)) |) in + let~ _ := + M.alloc (| BinOp.Wrap.mul (| Value.Integer IntegerKind.U32 2, M.read (| x |) |) |) in M.alloc (| Value.Tuple [] |) |) in let~ _ := @@ -160,7 +160,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "blocks::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/expressions/const_underscore_expression.v b/CoqOfRust/examples/default/examples/rust_book/expressions/const_underscore_expression.v index c607721c3..32fb43469 100644 --- a/CoqOfRust/examples/default/examples/rust_book/expressions/const_underscore_expression.v +++ b/CoqOfRust/examples/default/examples/rust_book/expressions/const_underscore_expression.v @@ -28,7 +28,7 @@ Module underscore. "test" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/rust_book/expressions/statement.v b/CoqOfRust/examples/default/examples/rust_book/expressions/statement.v index 508977769..2e480928a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/expressions/statement.v +++ b/CoqOfRust/examples/default/examples/rust_book/expressions/statement.v @@ -9,6 +9,9 @@ fn main() { } *) Definition main (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_main : M.IsFunction "statement::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/expressions/variable_binding_and_expression.v b/CoqOfRust/examples/default/examples/rust_book/expressions/variable_binding_and_expression.v index 5300a3388..0f3d6ad38 100644 --- a/CoqOfRust/examples/default/examples/rust_book/expressions/variable_binding_and_expression.v +++ b/CoqOfRust/examples/default/examples/rust_book/expressions/variable_binding_and_expression.v @@ -17,13 +17,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 5 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.I32 5 |) in let~ _ := x in - let~ _ := M.alloc (| BinOp.Wrap.add Integer.I32 (M.read (| x |)) (Value.Integer 1) |) in - let~ _ := M.alloc (| Value.Integer 15 |) in + let~ _ := + M.alloc (| BinOp.Wrap.add (| M.read (| x |), Value.Integer IntegerKind.I32 1 |) |) in + let~ _ := M.alloc (| Value.Integer IntegerKind.I32 15 |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "variable_binding_and_expression::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_into_iter.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_into_iter.v index 59c0e09eb..c050652cb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_into_iter.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_into_iter.v @@ -226,7 +226,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "for_and_iterators_into_iter::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_iter.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_iter.v index f3c270d91..a1cd74dc8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_iter.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_iter.v @@ -286,7 +286,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "for_and_iterators_iter::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_iter_mut.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_iter_mut.v index 0b1247dcf..c01ef807e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_iter_mut.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_iterators_iter_mut.v @@ -215,7 +215,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "for_and_iterators_iter_mut::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_range_completely_inclusive.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_range_completely_inclusive.v index 7e2590d18..051bbd972 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_range_completely_inclusive.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_range_completely_inclusive.v @@ -40,7 +40,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 1; Value.Integer 100 ] + [ Value.Integer IntegerKind.I32 1; Value.Integer IntegerKind.I32 100 ] |) ] |) @@ -89,12 +89,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 15)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 15 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -139,12 +140,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 3)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 3 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -195,12 +197,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 5)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 5 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -311,7 +314,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "for_and_range_completely_inclusive::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_range_inclusive_to_exclusive.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_range_inclusive_to_exclusive.v index 9033d4390..468198475 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_range_inclusive_to_exclusive.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/for_and_range_inclusive_to_exclusive.v @@ -36,7 +36,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 1); ("end_", Value.Integer 101) ] + [ + ("start", Value.Integer IntegerKind.I32 1); + ("end_", Value.Integer IntegerKind.I32 101) + ] ] |) |), @@ -82,12 +85,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 15)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 15 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -132,12 +136,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 3)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 3 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -188,12 +193,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 5)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 5 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -304,7 +310,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "for_and_range_inclusive_to_exclusive::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_else.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_else.v index 61a54abe2..4f399a35a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_else.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_else.v @@ -35,7 +35,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ n := M.alloc (| Value.Integer 5 |) in + let~ n := M.alloc (| Value.Integer IntegerKind.I32 5 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -43,7 +43,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| n |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| n |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let~ _ := @@ -98,7 +101,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.gt (| M.read (| n |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -206,8 +211,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.lt (M.read (| n |)) (Value.Integer 10), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| n |)) (Value.Integer (-10)))) + BinOp.lt (| M.read (| n |), Value.Integer IntegerKind.I32 10 |), + ltac:(M.monadic + (BinOp.gt (| M.read (| n |), Value.Integer IntegerKind.I32 (-10) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -242,7 +248,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| Value.Tuple [] |) in - M.alloc (| BinOp.Wrap.mul Integer.I32 (Value.Integer 10) (M.read (| n |)) |))); + M.alloc (| + BinOp.Wrap.mul (| Value.Integer IntegerKind.I32 10, M.read (| n |) |) + |))); fun γ => ltac:(M.monadic (let~ _ := @@ -275,7 +283,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| Value.Tuple [] |) in - M.alloc (| BinOp.Wrap.div Integer.I32 (M.read (| n |)) (Value.Integer 2) |))) + M.alloc (| + BinOp.Wrap.div (| M.read (| n |), Value.Integer IntegerKind.I32 2 |) + |))) ] |) |) in @@ -330,7 +340,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "if_else::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let.v index cf316b3a2..df37f1db3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let.v @@ -43,7 +43,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ number := - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 7 ] |) in + M.alloc (| + Value.StructTuple "core::option::Option::Some" [ Value.Integer IntegerKind.I32 7 ] + |) in let~ letter := M.alloc (| Value.StructTuple "core::option::Option::None" [] |) in let~ emoticon := M.alloc (| Value.StructTuple "core::option::Option::None" [] |) in let~ _ := @@ -331,7 +333,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "if_let::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_challenge.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_challenge.v index 6daeee5a0..1bc264dbe 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_challenge.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_challenge.v @@ -70,7 +70,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "if_let_challenge::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_dont_use_match.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_dont_use_match.v index f285c8207..bc0801922 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_dont_use_match.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_dont_use_match.v @@ -24,7 +24,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ optional := - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 7 ] |) in + M.alloc (| + Value.StructTuple "core::option::Option::Some" [ Value.Integer IntegerKind.I32 7 ] + |) in let~ _ := M.match_operator (| optional, @@ -86,7 +88,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "if_let_dont_use_match::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_match_enum_values.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_match_enum_values.v index e861f659e..bde0bd7a8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_match_enum_values.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/if_let_match_enum_values.v @@ -65,7 +65,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let~ b := M.alloc (| Value.StructTuple "if_let_match_enum_values::Foo::Baz" [] |) in let~ c := M.alloc (| - Value.StructTuple "if_let_match_enum_values::Foo::Qux" [ Value.Integer 100 ] + Value.StructTuple + "if_let_match_enum_values::Foo::Qux" + [ Value.Integer IntegerKind.U32 100 ] |) in let~ _ := M.match_operator (| @@ -216,7 +218,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := 0 |) in let value := M.copy (| γ0_0 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 100 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U32 100 + |) in let~ _ := let~ _ := M.alloc (| @@ -247,7 +253,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "if_let_match_enum_values::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/infinite_loop.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/infinite_loop.v index a421e89f7..d11b90256 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/infinite_loop.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/infinite_loop.v @@ -34,7 +34,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ count := M.alloc (| Value.Integer 0 |) in + let~ count := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := let~ _ := M.alloc (| @@ -60,7 +60,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let~ _ := let β := count in - M.write (| β, BinOp.Wrap.add Integer.U32 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U32 1 |) + |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -69,7 +72,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.eq (M.read (| count |)) (Value.Integer 3) |)) in + (M.alloc (| + BinOp.eq (| M.read (| count |), Value.Integer IntegerKind.U32 3 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -153,7 +158,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| count |)) (Value.Integer 5) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| count |), Value.Integer IntegerKind.U32 5 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -193,7 +201,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "infinite_loop::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/loop_nesting_and_labels.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/loop_nesting_and_labels.v index fdfaed614..9388b5236 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/loop_nesting_and_labels.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/loop_nesting_and_labels.v @@ -144,7 +144,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "loop_nesting_and_labels::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/loop_returning_from_loops.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/loop_returning_from_loops.v index b27960e7f..0e14e1d1c 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/loop_returning_from_loops.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/loop_returning_from_loops.v @@ -21,14 +21,17 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ counter := M.alloc (| Value.Integer 0 |) in + let~ counter := M.alloc (| Value.Integer IntegerKind.I32 0 |) in let~ result := M.copy (| M.loop (| ltac:(M.monadic (let~ _ := let β := counter in - M.write (| β, BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) + |) in M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -37,7 +40,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| counter |)) (Value.Integer 10) + BinOp.eq (| M.read (| counter |), Value.Integer IntegerKind.I32 10 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -49,7 +52,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ result; M.alloc (| Value.Integer 20 |) ] |), + M.alloc (| Value.Tuple [ result; M.alloc (| Value.Integer IntegerKind.I32 20 |) ] |), [ fun γ => ltac:(M.monadic @@ -65,10 +68,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -103,7 +108,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "loop_returning_from_loops::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match.v index abd8dee84..91e571c0a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match.v @@ -37,7 +37,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ number := M.alloc (| Value.Integer 13 |) in + let~ number := M.alloc (| Value.Integer IntegerKind.I32 13 |) in let~ _ := let~ _ := M.alloc (| @@ -84,7 +84,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I32 1 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -115,27 +119,42 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 2 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I32 2 + |) in Value.Tuple [])); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 3 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I32 3 + |) in Value.Tuple [])); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 5 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I32 5 + |) in Value.Tuple [])); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 7 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I32 7 + |) in Value.Tuple [])); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 11 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.I32 11 + |) in Value.Tuple [])) ], M.closure @@ -169,7 +188,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -233,11 +252,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool false |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.I32 0 |))); fun γ => ltac:(M.monadic (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 1 |))) + M.alloc (| Value.Integer IntegerKind.I32 1 |))) ] |) |) in @@ -292,7 +311,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_binding.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_binding.v index f5727d637..976425f32 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_binding.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_binding.v @@ -7,7 +7,10 @@ fn age() -> u32 { } *) Definition age (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Integer 15)) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Integer IntegerKind.U32 15)) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_age : M.IsFunction "match_binding::age" age. @@ -59,7 +62,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U32 0 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -230,7 +237,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_binding::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_binding_destructure_enum_variants.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_binding_destructure_enum_variants.v index 0b98ab3c2..9aea7af9a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_binding_destructure_enum_variants.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_binding_destructure_enum_variants.v @@ -8,8 +8,10 @@ fn some_number() -> Option { *) Definition some_number (τ : list Ty.t) (α : list Value.t) : M := match τ, α with - | [], [] => ltac:(M.monadic (Value.StructTuple "core::option::Option::Some" [ Value.Integer 42 ])) - | _, _ => M.impossible + | [], [] => + ltac:(M.monadic + (Value.StructTuple "core::option::Option::Some" [ Value.Integer IntegerKind.U32 42 ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_some_number : @@ -46,7 +48,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_struct_tuple_field (| γ, "core::option::Option::Some", 0 |) in let n := M.copy (| γ0_0 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 42 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U32 42 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -142,7 +148,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_binding_destructure_enum_variants::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_arrays_slices.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_arrays_slices.v index 18a3eee03..0f2597428 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_arrays_slices.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_arrays_slices.v @@ -46,7 +46,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ array := - M.alloc (| Value.Array [ Value.Integer 1; Value.Integer (-2); Value.Integer 6 ] |) in + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 (-2); + Value.Integer IntegerKind.I32 6 + ] + |) in M.match_operator (| array, [ @@ -55,7 +62,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_slice_index (| γ, 0 |) in let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in let γ0_2 := M.SubPointer.get_slice_index (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 0 + |) in let second := M.copy (| γ0_1 |) in let third := M.copy (| γ0_2 |) in let~ _ := @@ -115,7 +126,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_slice_index (| γ, 0 |) in let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in let γ0_2 := M.SubPointer.get_slice_index (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 1 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 1 + |) in let third := M.copy (| γ0_2 |) in let~ _ := M.alloc (| @@ -165,7 +180,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_slice_index (| γ, 0 |) in let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in let γ0_rest := M.SubPointer.get_slice_rest (| γ, 2, 0 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer (-1) |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 (-1) + |) in let second := M.copy (| γ0_1 |) in let~ _ := M.alloc (| @@ -217,7 +236,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_slice_index (| γ, 0 |) in let γ0_1 := M.SubPointer.get_slice_index (| γ, 1 |) in let γ0_rest := M.SubPointer.get_slice_rest (| γ, 2, 0 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 3 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 3 + |) in let second := M.copy (| γ0_1 |) in let tail := M.copy (| γ0_rest |) in let~ _ := @@ -344,7 +367,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_destructuring_arrays_slices::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_enums.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_enums.v index fbee7c414..10bd73ec3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_enums.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_enums.v @@ -83,7 +83,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "match_destructuring_enums::Color::RGB" - [ Value.Integer 122; Value.Integer 17; Value.Integer 40 ] + [ + Value.Integer IntegerKind.U32 122; + Value.Integer IntegerKind.U32 17; + Value.Integer IntegerKind.U32 40 + ] |) in let~ _ := let~ _ := @@ -629,7 +633,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_destructuring_enums::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_pointers_ref.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_pointers_ref.v index 99d5324b6..4bf5b66a3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_pointers_ref.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_pointers_ref.v @@ -58,7 +58,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ reference := M.alloc (| M.alloc (| Value.Integer 4 |) |) in + let~ reference := M.alloc (| M.alloc (| Value.Integer IntegerKind.I32 4 |) |) in let~ _ := M.match_operator (| reference, @@ -164,15 +164,15 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |))) ] |) in - let~ _not_a_reference := M.alloc (| Value.Integer 3 |) in + let~ _not_a_reference := M.alloc (| Value.Integer IntegerKind.I32 3 |) in M.match_operator (| - M.alloc (| Value.Integer 3 |), + M.alloc (| Value.Integer IntegerKind.I32 3 |), [ fun γ => ltac:(M.monadic (let _is_a_reference := M.alloc (| γ |) in - let~ value := M.alloc (| Value.Integer 5 |) in - let~ mut_value := M.alloc (| Value.Integer 6 |) in + let~ value := M.alloc (| Value.Integer IntegerKind.I32 5 |) in + let~ mut_value := M.alloc (| Value.Integer IntegerKind.I32 6 |) in let~ _ := M.match_operator (| value, @@ -237,7 +237,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let β := M.read (| m |) in M.write (| β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 10) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.I32 10 |) |) in let~ _ := let~ _ := @@ -291,7 +291,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_destructuring_pointers_ref::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_structs.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_structs.v index 47e9c40b3..d4798d7c4 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_structs.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_structs.v @@ -36,7 +36,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructRecord "match_destructuring_structs::Foo" - [ ("x", Value.Tuple [ Value.Integer 1; Value.Integer 2 ]); ("y", Value.Integer 3) ] + [ + ("x", + Value.Tuple [ Value.Integer IntegerKind.U32 1; Value.Integer IntegerKind.U32 2 ]); + ("y", Value.Integer IntegerKind.U32 3) + ] |) in M.match_operator (| foo, @@ -57,7 +61,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in let γ1_0 := M.SubPointer.get_tuple_field (| γ0_0, 0 |) in let γ1_1 := M.SubPointer.get_tuple_field (| γ0_0, 1 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ1_0 |), Value.Integer 1 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ1_0 |), + Value.Integer IntegerKind.U32 1 + |) in let b := M.copy (| γ1_1 |) in let y := M.copy (| γ0_1 |) in let~ _ := @@ -126,7 +134,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "match_destructuring_structs::Foo", "x" |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 2 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.U32 2 + |) in let i := M.copy (| γ0_1 |) in let~ _ := M.alloc (| @@ -226,7 +238,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_destructuring_structs::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_tuples.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_tuples.v index 9181e186e..164ccb607 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_tuples.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_tuples.v @@ -26,7 +26,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ triple := - M.alloc (| Value.Tuple [ Value.Integer 0; Value.Integer (-2); Value.Integer 3 ] |) in + M.alloc (| + Value.Tuple + [ + Value.Integer IntegerKind.I32 0; + Value.Integer IntegerKind.I32 (-2); + Value.Integer IntegerKind.I32 3 + ] + |) in let~ _ := let~ _ := M.alloc (| @@ -75,7 +82,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 0 + |) in let y := M.copy (| γ0_1 |) in let z := M.copy (| γ0_2 |) in let~ _ := @@ -135,7 +146,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 1 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 1 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -170,7 +185,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), Value.Integer 2 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_2 |), + Value.Integer IntegerKind.I32 2 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -205,8 +224,16 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 3 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), Value.Integer 4 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 3 + |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_2 |), + Value.Integer IntegerKind.I32 4 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -267,7 +294,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_destructuring_tuples::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_tuples_fixed.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_tuples_fixed.v index 9dc0ec4b6..a73188ad9 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_tuples_fixed.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_destructuring_tuples_fixed.v @@ -26,7 +26,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ triple := - M.alloc (| Value.Tuple [ Value.Integer 0; Value.Integer (-2); Value.Integer 3 ] |) in + M.alloc (| + Value.Tuple + [ + Value.Integer IntegerKind.I32 0; + Value.Integer IntegerKind.I32 (-2); + Value.Integer IntegerKind.I32 3 + ] + |) in let~ _ := let~ _ := M.alloc (| @@ -75,7 +82,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 0 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 0 + |) in let y := M.copy (| γ0_1 |) in let z := M.copy (| γ0_2 |) in let~ _ := @@ -135,7 +146,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 1 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 1 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -170,7 +185,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), Value.Integer 2 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_2 |), + Value.Integer IntegerKind.I32 2 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -205,8 +224,16 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let γ0_2 := M.SubPointer.get_tuple_field (| γ, 2 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), Value.Integer 3 |) in - let _ := M.is_constant_or_break_match (| M.read (| γ0_2 |), Value.Integer 4 |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_0 |), + Value.Integer IntegerKind.I32 3 + |) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ0_2 |), + Value.Integer IntegerKind.I32 4 + |) in let~ _ := M.alloc (| M.call_closure (| @@ -267,7 +294,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_destructuring_tuples_fixed::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_guards.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_guards.v index 82c53561d..d1444e16f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_guards.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_guards.v @@ -43,7 +43,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ temperature := M.alloc (| - Value.StructTuple "match_guards::Temperature::Celsius" [ Value.Integer 35 ] + Value.StructTuple + "match_guards::Temperature::Celsius" + [ Value.Integer IntegerKind.I32 35 ] |) in M.match_operator (| temperature, @@ -57,7 +59,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := 0 |) in let t := M.copy (| γ0_0 |) in - let γ := M.alloc (| BinOp.Pure.gt (M.read (| t |)) (Value.Integer 30) |) in + let γ := + M.alloc (| BinOp.gt (| M.read (| t |), Value.Integer IntegerKind.I32 30 |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -163,7 +166,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := 0 |) in let t := M.copy (| γ0_0 |) in - let γ := M.alloc (| BinOp.Pure.gt (M.read (| t |)) (Value.Integer 86) |) in + let γ := + M.alloc (| BinOp.gt (| M.read (| t |), Value.Integer IntegerKind.I32 86 |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -263,7 +267,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_guards::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_guards_unreachable.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_guards_unreachable.v index d1383a394..6e10a2618 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_guards_unreachable.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/match_guards_unreachable.v @@ -18,14 +18,15 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ number := M.alloc (| Value.Integer 4 |) in + let~ number := M.alloc (| Value.Integer IntegerKind.U8 4 |) in M.match_operator (| number, [ fun γ => ltac:(M.monadic (let i := M.copy (| γ |) in - let γ := M.alloc (| BinOp.Pure.eq (M.read (| i |)) (Value.Integer 0) |) in + let γ := + M.alloc (| BinOp.eq (| M.read (| i |), Value.Integer IntegerKind.U8 0 |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -52,7 +53,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let i := M.copy (| γ |) in - let γ := M.alloc (| BinOp.Pure.gt (M.read (| i |)) (Value.Integer 0) |) in + let γ := + M.alloc (| BinOp.gt (| M.read (| i |), Value.Integer IntegerKind.U8 0 |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.alloc (| @@ -94,7 +96,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "match_guards_unreachable::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while.v index d08b2ac94..2d365bf44 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while.v @@ -28,7 +28,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ n := M.alloc (| Value.Integer 1 |) in + let~ n := M.alloc (| Value.Integer IntegerKind.I32 1 |) in M.loop (| ltac:(M.monadic (M.match_operator (| @@ -37,7 +37,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| n |)) (Value.Integer 101) |)) in + M.use + (M.alloc (| + BinOp.lt (| M.read (| n |), Value.Integer IntegerKind.I32 101 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.match_operator (| @@ -48,12 +51,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 15)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 15 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -97,12 +101,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 3)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 3 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -146,12 +151,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.I32 - (M.read (| n |)) - (Value.Integer 5)) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| n |), + Value.Integer IntegerKind.I32 5 + |), + Value.Integer IntegerKind.I32 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -253,7 +259,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let β := n in M.write (| β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -270,7 +276,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "while::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while_let.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while_let.v index 2b8f0ec6f..aa9fed0c8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while_let.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while_let.v @@ -29,7 +29,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ optional := - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] |) in + M.alloc (| + Value.StructTuple "core::option::Option::Some" [ Value.Integer IntegerKind.I32 0 ] + |) in M.loop (| ltac:(M.monadic (M.match_operator (| @@ -52,7 +54,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| i |)) (Value.Integer 9) |)) in + (M.alloc (| + BinOp.gt (| M.read (| i |), Value.Integer IntegerKind.I32 9 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -139,7 +143,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := optional, Value.StructTuple "core::option::Option::Some" - [ BinOp.Wrap.add Integer.I32 (M.read (| i |)) (Value.Integer 1) ] + [ + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.I32 1 + |) + ] |) in M.alloc (| Value.Tuple [] |))) ] @@ -158,7 +167,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "while_let::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while_let_match_is_weird.v b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while_let_match_is_weird.v index face1b161..40860205f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while_let_match_is_weird.v +++ b/CoqOfRust/examples/default/examples/rust_book/flow_of_control/while_let_match_is_weird.v @@ -34,7 +34,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ optional := - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 0 ] |) in + M.alloc (| + Value.StructTuple "core::option::Option::Some" [ Value.Integer IntegerKind.I32 0 ] + |) in M.loop (| ltac:(M.monadic (M.match_operator (| @@ -56,7 +58,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| i |)) (Value.Integer 9) |)) in + (M.alloc (| + BinOp.gt (| M.read (| i |), Value.Integer IntegerKind.I32 9 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -143,7 +147,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := optional, Value.StructTuple "core::option::Option::Some" - [ BinOp.Wrap.add Integer.I32 (M.read (| i |)) (Value.Integer 1) ] + [ + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.I32 1 + |) + ] |) in M.alloc (| Value.Tuple [] |))) ] @@ -154,7 +163,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "while_let_match_is_weird::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/associated_functions_and_methods.err b/CoqOfRust/examples/default/examples/rust_book/functions/associated_functions_and_methods.err index 604f1b138..e69de29bb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/associated_functions_and_methods.err +++ b/CoqOfRust/examples/default/examples/rust_book/functions/associated_functions_and_methods.err @@ -1,90 +0,0 @@ -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:43:9 - | -43 | ((x1 - x2) * (y1 - y2)).abs() - | ^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:43:10 - | -43 | ((x1 - x2) * (y1 - y2)).abs() - | ^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:43:22 - | -43 | ((x1 - x2) * (y1 - y2)).abs() - | ^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:50:9 - | -50 | 2.0 * ((x1 - x2).abs() + (y1 - y2).abs()) - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:50:15 - | -50 | 2.0 * ((x1 - x2).abs() + (y1 - y2).abs()) - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:50:16 - | -50 | 2.0 * ((x1 - x2).abs() + (y1 - y2).abs()) - | ^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:50:34 - | -50 | 2.0 * ((x1 - x2).abs() + (y1 - y2).abs()) - | ^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:60:9 - | -60 | self.p2.y += y; - | ^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:59:9 - | -59 | self.p1.y += y; - | ^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:57:9 - | -57 | self.p2.x += x; - | ^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: Expected an integer type for the parameters - --> examples/rust_book/functions/associated_functions_and_methods.rs:56:9 - | -56 | self.p1.x += x; - | ^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: 11 warnings emitted - diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/associated_functions_and_methods.v b/CoqOfRust/examples/default/examples/rust_book/functions/associated_functions_and_methods.v index 39d314f00..23ff78f5b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/associated_functions_and_methods.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/associated_functions_and_methods.v @@ -23,7 +23,7 @@ Module Impl_associated_functions_and_methods_Point. (Value.StructRecord "associated_functions_and_methods::Point" [ ("y", M.read (| UnsupportedLiteral |)); ("x", M.read (| UnsupportedLiteral |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_origin : M.IsAssociatedFunction Self "origin" origin. @@ -42,7 +42,7 @@ Module Impl_associated_functions_and_methods_Point. Value.StructRecord "associated_functions_and_methods::Point" [ ("x", M.read (| x |)); ("y", M.read (| y |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -79,7 +79,7 @@ Module Impl_associated_functions_and_methods_Rectangle. "p1" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_p1 : M.IsAssociatedFunction Self "get_p1" get_p1. @@ -151,10 +151,10 @@ Module Impl_associated_functions_and_methods_Rectangle. M.call_closure (| M.get_associated_function (| Ty.path "f64", "abs", [] |), [ - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.sub Integer.Usize (M.read (| x1 |)) (M.read (| x2 |))) - (BinOp.Wrap.sub Integer.Usize (M.read (| y1 |)) (M.read (| y2 |))) + BinOp.Wrap.mul (| + BinOp.Wrap.sub (| M.read (| x1 |), M.read (| x2 |) |), + BinOp.Wrap.sub (| M.read (| y1 |), M.read (| y2 |) |) + |) ] |) |))) @@ -163,7 +163,7 @@ Module Impl_associated_functions_and_methods_Rectangle. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_area : M.IsAssociatedFunction Self "area" area. @@ -229,28 +229,26 @@ Module Impl_associated_functions_and_methods_Rectangle. let x2 := M.copy (| γ0_0 |) in let y2 := M.copy (| γ0_1 |) in M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| UnsupportedLiteral |)) - (BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.mul (| + M.read (| UnsupportedLiteral |), + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "f64", "abs", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| x1 |)) (M.read (| x2 |)) - ] - |)) - (M.call_closure (| + [ BinOp.Wrap.sub (| M.read (| x1 |), M.read (| x2 |) |) ] + |), + M.call_closure (| M.get_associated_function (| Ty.path "f64", "abs", [] |), - [ BinOp.Wrap.sub Integer.Usize (M.read (| y1 |)) (M.read (| y2 |)) - ] - |))) + [ BinOp.Wrap.sub (| M.read (| y1 |), M.read (| y2 |) |) ] + |) + |) + |) |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_perimeter : M.IsAssociatedFunction Self "perimeter" perimeter. @@ -283,7 +281,7 @@ Module Impl_associated_functions_and_methods_Rectangle. "associated_functions_and_methods::Point", "x" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| x |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| x |) |) |) in let~ _ := let β := M.SubPointer.get_struct_record_field (| @@ -295,7 +293,7 @@ Module Impl_associated_functions_and_methods_Rectangle. "associated_functions_and_methods::Point", "x" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| x |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| x |) |) |) in let~ _ := let β := M.SubPointer.get_struct_record_field (| @@ -307,7 +305,7 @@ Module Impl_associated_functions_and_methods_Rectangle. "associated_functions_and_methods::Point", "y" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| y |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| y |) |) |) in let~ _ := let β := M.SubPointer.get_struct_record_field (| @@ -319,10 +317,10 @@ Module Impl_associated_functions_and_methods_Rectangle. "associated_functions_and_methods::Point", "y" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (M.read (| y |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| y |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_translate : M.IsAssociatedFunction Self "translate" translate. @@ -442,7 +440,7 @@ Module Impl_associated_functions_and_methods_Pair. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_destroy : M.IsAssociatedFunction Self "destroy" destroy. @@ -665,7 +663,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.I32 1 ] |); M.call_closure (| M.get_associated_function (| @@ -675,7 +673,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 2 ] + [ Value.Integer IntegerKind.I32 2 ] |) ] |) in @@ -692,7 +690,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "associated_functions_and_methods::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions.v b/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions.v index 83cfa2e03..b323bbd98 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions.v @@ -9,7 +9,10 @@ fn main() { } *) Definition main (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_main : M.IsFunction "diverging_functions::main" main. @@ -30,7 +33,7 @@ Module main. |), [ M.read (| Value.String "This call never returns." |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_foo : M.IsFunction "diverging_functions::main::foo" foo. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions_example_sum_odd_numbers.v b/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions_example_sum_odd_numbers.v index d9a3f19b0..dc484b15f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions_example_sum_odd_numbers.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions_example_sum_odd_numbers.v @@ -68,7 +68,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "diverging_functions_example_sum_odd_numbers::main.sum_odd_numbers", [] |), - [ Value.Integer 9 ] + [ Value.Integer IntegerKind.U32 9 ] |) |) ] @@ -83,7 +83,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "diverging_functions_example_sum_odd_numbers::main" main. @@ -114,7 +114,7 @@ Module main. ltac:(M.monadic (let up_to := M.alloc (| up_to |) in M.read (| - let~ acc := M.alloc (| Value.Integer 0 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := M.use (M.match_operator (| @@ -130,7 +130,7 @@ Module main. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| up_to |)) ] + [ ("start", Value.Integer IntegerKind.U32 0); ("end_", M.read (| up_to |)) ] ] |) |), @@ -173,12 +173,13 @@ Module main. M.copy (| M.match_operator (| M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem - Integer.U32 - (M.read (| i |)) - (Value.Integer 2)) - (Value.Integer 1) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| i |), + Value.Integer IntegerKind.U32 2 + |), + Value.Integer IntegerKind.U32 1 + |) |), [ fun γ => @@ -206,10 +207,7 @@ Module main. let β := acc in M.write (| β, - BinOp.Wrap.add - Integer.U32 - (M.read (| β |)) - (M.read (| addition |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| addition |) |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -220,7 +218,7 @@ Module main. |)) in acc |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sum_odd_numbers : diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions_no_info_in_return_type.v b/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions_no_info_in_return_type.v index 9834a54cf..835600ef8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions_no_info_in_return_type.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions_no_info_in_return_type.v @@ -7,7 +7,10 @@ fn some_fn() { } *) Definition some_fn (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_some_fn : M.IsFunction "diverging_functions_no_info_in_return_type::some_fn" some_fn. @@ -55,7 +58,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "diverging_functions_no_info_in_return_type::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions.v index f3df363a0..7da6af9dd 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions.v @@ -28,7 +28,10 @@ Definition is_divisible_by (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| rhs |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.U32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| M.read (| M.return_ (| Value.Bool false |) |) |) @@ -37,13 +40,14 @@ Definition is_divisible_by (τ : list Ty.t) (α : list Value.t) : M := ] |) in M.alloc (| - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.U32 (M.read (| lhs |)) (M.read (| rhs |))) - (Value.Integer 0) + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| lhs |), M.read (| rhs |) |), + Value.Integer IntegerKind.U32 0 + |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_divisible_by : M.IsFunction "functions::is_divisible_by" is_divisible_by. @@ -77,7 +81,7 @@ Definition fizzbuzz (τ : list Ty.t) (α : list Value.t) : M := (M.alloc (| M.call_closure (| M.get_function (| "functions::is_divisible_by", [] |), - [ M.read (| n |); Value.Integer 15 ] + [ M.read (| n |); Value.Integer IntegerKind.U32 15 ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -119,7 +123,7 @@ Definition fizzbuzz (τ : list Ty.t) (α : list Value.t) : M := (M.alloc (| M.call_closure (| M.get_function (| "functions::is_divisible_by", [] |), - [ M.read (| n |); Value.Integer 3 ] + [ M.read (| n |); Value.Integer IntegerKind.U32 3 ] |) |)) in let _ := @@ -162,7 +166,7 @@ Definition fizzbuzz (τ : list Ty.t) (α : list Value.t) : M := (M.alloc (| M.call_closure (| M.get_function (| "functions::is_divisible_by", [] |), - [ M.read (| n |); Value.Integer 5 ] + [ M.read (| n |); Value.Integer IntegerKind.U32 5 ] |) |)) in let _ := @@ -250,7 +254,7 @@ Definition fizzbuzz (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_fizzbuzz : M.IsFunction "functions::fizzbuzz" fizzbuzz. @@ -286,7 +290,7 @@ Definition fizzbuzz_to (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 1; M.read (| n |) ] + [ Value.Integer IntegerKind.U32 1; M.read (| n |) ] |) ] |) @@ -342,7 +346,7 @@ Definition fizzbuzz_to (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_fizzbuzz_to : M.IsFunction "functions::fizzbuzz_to" fizzbuzz_to. @@ -362,12 +366,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| M.call_closure (| M.get_function (| "functions::fizzbuzz_to", [] |), - [ Value.Integer 100 ] + [ Value.Integer IntegerKind.U32 100 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v index 8d54368ba..e0fab19df 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v @@ -35,7 +35,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ outer_var := M.alloc (| Value.Integer 42 |) in + let~ outer_var := M.alloc (| Value.Integer IntegerKind.I32 42 |) in let~ closure_annotated := M.alloc (| M.closure @@ -50,10 +50,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let i := M.copy (| γ |) in - BinOp.Wrap.add Integer.I32 (M.read (| i |)) (M.read (| outer_var |)))) + BinOp.Wrap.add (| M.read (| i |), M.read (| outer_var |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ closure_inferred := @@ -70,10 +70,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let i := M.copy (| γ |) in - BinOp.Wrap.add Integer.I32 (M.read (| i |)) (M.read (| outer_var |)))) + BinOp.Wrap.add (| M.read (| i |), M.read (| outer_var |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -116,7 +116,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "call", [] |), - [ closure_annotated; Value.Tuple [ Value.Integer 1 ] ] + [ + closure_annotated; + Value.Tuple [ Value.Integer IntegerKind.I32 1 ] + ] |) |) ] @@ -169,7 +172,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "call", [] |), - [ closure_inferred; Value.Tuple [ Value.Integer 1 ] ] + [ + closure_inferred; + Value.Tuple [ Value.Integer IntegerKind.I32 1 ] + ] |) |) ] @@ -192,9 +198,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.match_operator (| M.alloc (| α0 |), - [ fun γ => ltac:(M.monadic (Value.Integer 1)) ] + [ fun γ => ltac:(M.monadic (Value.Integer IntegerKind.I32 1)) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -252,7 +258,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_closures::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_input_parameters.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_input_parameters.v index 7f662e6f2..f201d5c22 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_input_parameters.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_input_parameters.v @@ -33,7 +33,7 @@ Definition apply (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_apply : M.IsFunction "functions_closures_as_input_parameters::apply" apply. @@ -60,9 +60,9 @@ Definition apply_to_3 (τ : list Ty.t) (α : list Value.t) : M := "call", [] |), - [ f; Value.Tuple [ Value.Integer 3 ] ] + [ f; Value.Tuple [ Value.Integer IntegerKind.I32 3 ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_apply_to_3 : @@ -274,7 +274,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -301,10 +301,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Wrap.mul Integer.I32 (Value.Integer 2) (M.read (| x |)))) + BinOp.Wrap.mul (| Value.Integer IntegerKind.I32 2, M.read (| x |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -358,7 +358,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_closures_as_input_parameters::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_output_parameters.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_output_parameters.v index ee4a15b69..c8bfb3986 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_output_parameters.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_as_output_parameters.v @@ -79,11 +79,11 @@ Definition create_fn (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_create_fn : @@ -171,11 +171,11 @@ Definition create_fnmut (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_create_fnmut : @@ -263,11 +263,11 @@ Definition create_fnonce (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_create_fnonce : @@ -355,7 +355,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_closures_as_output_parameters::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_capturing.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_capturing.v index 28af1b7ef..4e6012409 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_capturing.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_capturing.v @@ -147,7 +147,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -178,7 +178,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in let~ _color_moved := M.copy (| color |) in - let~ count := M.alloc (| Value.Integer 0 |) in + let~ count := M.alloc (| Value.Integer IntegerKind.I32 0 |) in let~ inc := M.alloc (| M.closure @@ -197,7 +197,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let β := count in M.write (| β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.I32 1 + |) |) in let~ _ := let~ _ := @@ -247,7 +250,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -287,7 +290,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 3 ] + [ Value.Integer IntegerKind.I32 3 ] |) |) in let~ consume := @@ -373,7 +376,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -391,7 +394,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_closures_capturing::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_Iterator_any.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_Iterator_any.v index a0c6add66..118ac0660 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_Iterator_any.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_Iterator_any.v @@ -58,7 +58,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -91,7 +96,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 4; Value.Integer 5; Value.Integer 6 ] + Value.Array + [ + Value.Integer IntegerKind.I32 4; + Value.Integer IntegerKind.I32 5; + Value.Integer IntegerKind.I32 6 + ] |) ] |) @@ -182,12 +192,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.I32 2 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -273,12 +284,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.I32 2 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -385,7 +397,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "index", [] |), - [ vec1; Value.Integer 0 ] + [ vec1; Value.Integer IntegerKind.Usize 0 ] |) ] |) @@ -398,9 +410,23 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) in let~ array1 := - M.alloc (| Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] |) in + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] + |) in let~ array2 := - M.alloc (| Value.Array [ Value.Integer 4; Value.Integer 5; Value.Integer 6 ] |) in + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.I32 4; + Value.Integer IntegerKind.I32 5; + Value.Integer IntegerKind.I32 6 + ] + |) in let~ _ := let~ _ := M.alloc (| @@ -472,12 +498,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.I32 2 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -566,12 +593,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| x |) |)) - (Value.Integer 2))) + BinOp.eq (| + M.read (| M.read (| x |) |), + Value.Integer IntegerKind.I32 2 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -588,7 +616,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_closures_example_Iterator_any::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v index f2b4ea7c4..5c1918c4b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v @@ -60,7 +60,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -93,7 +98,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 4; Value.Integer 5; Value.Integer 6 ] + Value.Array + [ + Value.Integer IntegerKind.I32 4; + Value.Integer IntegerKind.I32 5; + Value.Integer IntegerKind.I32 6 + ] |) ] |) @@ -213,12 +223,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.read (| γ |) in let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.I32 2 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -295,12 +306,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.I32 2 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -316,9 +328,23 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) in let~ array1 := - M.alloc (| Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] |) in + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] + |) in let~ array2 := - M.alloc (| Value.Array [ Value.Integer 4; Value.Integer 5; Value.Integer 6 ] |) in + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.I32 4; + Value.Integer IntegerKind.I32 5; + Value.Integer IntegerKind.I32 6 + ] + |) in let~ _ := let~ _ := M.alloc (| @@ -401,12 +427,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.read (| γ |) in let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| x |)) - (Value.Integer 2))) + BinOp.eq (| + M.read (| x |), + Value.Integer IntegerKind.I32 2 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -506,12 +533,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| x |) |)) - (Value.Integer 2))) + BinOp.eq (| + M.read (| M.read (| x |) |), + Value.Integer IntegerKind.I32 2 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -528,7 +556,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v index 5fd4ae764..8a3365760 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v @@ -48,12 +48,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Array [ - Value.Integer 1; - Value.Integer 9; - Value.Integer 3; - Value.Integer 3; - Value.Integer 13; - Value.Integer 2 + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 9; + Value.Integer IntegerKind.I32 3; + Value.Integer IntegerKind.I32 3; + Value.Integer IntegerKind.I32 13; + Value.Integer IntegerKind.I32 2 ] |) ] @@ -113,12 +113,16 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.read (| γ |) in let x := M.copy (| γ |) in - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.I32 (M.read (| x |)) (Value.Integer 2)) - (Value.Integer 0))) + BinOp.eq (| + BinOp.Wrap.rem (| + M.read (| x |), + Value.Integer IntegerKind.I32 2 + |), + Value.Integer IntegerKind.I32 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -129,7 +133,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := Value.Tuple [ index_of_first_even_number; - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 5 ] |) + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.Usize 5 ] + |) ] |), [ @@ -147,8 +155,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply (Ty.path "core::option::Option") [ Ty.path "usize" ], @@ -161,7 +169,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -240,10 +249,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - BinOp.Pure.lt (M.read (| x |)) (Value.Integer 0))) + BinOp.lt (| M.read (| x |), Value.Integer IntegerKind.I32 0 |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -272,8 +281,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply (Ty.path "core::option::Option") [ Ty.path "usize" ], @@ -286,7 +295,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -328,7 +338,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v index c2fc9f40d..ee12055ff 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v @@ -51,7 +51,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -97,7 +102,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -139,7 +144,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "call", [] |), - [ contains; Value.Tuple [ M.alloc (| Value.Integer 1 |) ] ] + [ + contains; + Value.Tuple + [ M.alloc (| Value.Integer IntegerKind.I32 1 |) ] + ] |) |) ] @@ -191,7 +200,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "call", [] |), - [ contains; Value.Tuple [ M.alloc (| Value.Integer 4 |) ] ] + [ + contains; + Value.Tuple + [ M.alloc (| Value.Integer IntegerKind.I32 4 |) ] + ] |) |) ] @@ -206,7 +219,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_closures_forced_capturing_with_move::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_input_functions.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_input_functions.v index 730591d2b..bebd78ce7 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_input_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_input_functions.v @@ -21,7 +21,7 @@ Definition call_me (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call_me : M.IsFunction "functions_closures_input_functions::call_me" call_me. @@ -57,7 +57,7 @@ Definition function (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "functions_closures_input_functions::function" function. @@ -118,7 +118,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -143,7 +143,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_closures_input_functions::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define.v index 2ac0cd571..a23b9216a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define.v @@ -13,7 +13,10 @@ fn main() { } *) Definition main (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_main : M.IsFunction "functions_closures_type_anonymity_define::main" main. @@ -47,7 +50,7 @@ Module main. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_apply : M.IsFunction "functions_closures_type_anonymity_define::main::apply" apply. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v index 0161f2399..32405346b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v @@ -24,7 +24,7 @@ Definition apply (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_apply : M.IsFunction "functions_closures_type_anonymity_define_and_use::apply" apply. @@ -45,7 +45,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 7 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.I32 7 |) in let~ print := M.alloc (| M.closure @@ -106,7 +106,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -121,7 +121,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_closures_type_anonymity_define_and_use::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions_order.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions_order.v index 53ea2667b..7d8c27719 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_order.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_order.v @@ -38,7 +38,7 @@ Module Impl_functions_order_SomeType. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_meth1 : M.IsAssociatedFunction Self "meth1" meth1. @@ -50,7 +50,7 @@ Module Impl_functions_order_SomeType. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_meth2 : M.IsAssociatedFunction Self "meth2" meth2. @@ -97,7 +97,7 @@ Definition depends_on_trait_impl (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_depends_on_trait_impl : @@ -129,7 +129,7 @@ Module Impl_functions_order_SomeTrait_for_functions_order_SomeType. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn some_trait_bar(&self) {} *) @@ -139,7 +139,7 @@ Module Impl_functions_order_SomeTrait_for_functions_order_SomeType. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -164,7 +164,7 @@ Module Impl_functions_order_SomeTrait_for_functions_order_OtherType. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* fn some_trait_bar(&self) {} *) @@ -174,7 +174,7 @@ Module Impl_functions_order_SomeTrait_for_functions_order_OtherType. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -207,14 +207,17 @@ Module inner_mod. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bar : M.IsFunction "functions_order::inner_mod::bar" bar. (* fn tar() {} *) Definition tar (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_tar : M.IsFunction "functions_order::inner_mod::tar" tar. @@ -238,14 +241,17 @@ Module inner_mod. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_tick : M.IsFunction "functions_order::inner_mod::nested_mod::tick" tick. (* fn tack() {} *) Definition tack (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_tack : M.IsFunction "functions_order::inner_mod::nested_mod::tack" tack. End nested_mod. @@ -274,18 +280,21 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "functions_order::SomeType", "meth1", [] |), - [ Value.StructTuple "functions_order::SomeType" [ Value.Integer 0 ] ] + [ Value.StructTuple "functions_order::SomeType" [ Value.Integer IntegerKind.U32 0 ] ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "functions_order::main" main. (* fn foo() {} *) Definition foo (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_foo : M.IsFunction "functions_order::foo" foo. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/higher_order_functions.v b/CoqOfRust/examples/default/examples/rust_book/functions/higher_order_functions.v index 2fbd5bc3f..27702291c 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/higher_order_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/higher_order_functions.v @@ -11,10 +11,11 @@ Definition is_odd (τ : list Ty.t) (α : list Value.t) : M := | [], [ n ] => ltac:(M.monadic (let n := M.alloc (| n |) in - BinOp.Pure.eq - (BinOp.Wrap.rem Integer.U32 (M.read (| n |)) (Value.Integer 2)) - (Value.Integer 1))) - | _, _ => M.impossible + BinOp.eq (| + BinOp.Wrap.rem (| M.read (| n |), Value.Integer IntegerKind.U32 2 |), + Value.Integer IntegerKind.U32 1 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_is_odd : M.IsFunction "higher_order_functions::is_odd" is_odd. @@ -83,8 +84,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| Value.Tuple [] |) in - let~ upper := M.alloc (| Value.Integer 1000 |) in - let~ acc := M.alloc (| Value.Integer 0 |) in + let~ upper := M.alloc (| Value.Integer IntegerKind.U32 1000 |) in + let~ acc := M.alloc (| Value.Integer IntegerKind.U32 0 |) in let~ _ := M.use (M.match_operator (| @@ -97,7 +98,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "into_iter", [] |), - [ Value.StructRecord "core::ops::range::RangeFrom" [ ("start", Value.Integer 0) ] + [ + Value.StructRecord + "core::ops::range::RangeFrom" + [ ("start", Value.Integer IntegerKind.U32 0) ] ] |) |), @@ -140,7 +144,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let n := M.copy (| γ0_0 |) in let~ n_squared := M.alloc (| - BinOp.Wrap.mul Integer.U32 (M.read (| n |)) (M.read (| n |)) + BinOp.Wrap.mul (| M.read (| n |), M.read (| n |) |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -150,9 +154,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| n_squared |)) - (M.read (| upper |)) + BinOp.ge (| + M.read (| n_squared |), + M.read (| upper |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -189,10 +194,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let β := acc in M.write (| β, - BinOp.Wrap.add - Integer.U32 - (M.read (| β |)) - (M.read (| n_squared |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| n_squared |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -334,7 +339,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 0) ]; + [ ("start", Value.Integer IntegerKind.U32 0) ]; M.closure (fun γ => ltac:(M.monadic @@ -347,13 +352,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let n := M.copy (| γ |) in - BinOp.Wrap.mul - Integer.U32 - (M.read (| n |)) - (M.read (| n |)))) + BinOp.Wrap.mul (| M.read (| n |), M.read (| n |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -370,12 +372,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let γ := M.read (| γ |) in let n_squared := M.copy (| γ |) in - BinOp.Pure.lt - (M.read (| n_squared |)) - (M.read (| upper |)))) + BinOp.lt (| + M.read (| n_squared |), + M.read (| upper |) + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -398,7 +401,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -447,7 +450,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "higher_order_functions::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics.v index f62e2d08d..eb329c932 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics.v @@ -53,12 +53,15 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructTuple "generics::SingleGen" [ Value.StructTuple "generics::A" [] ] |) in - let~ _i32 := M.alloc (| Value.StructTuple "generics::SingleGen" [ Value.Integer 6 ] |) in + let~ _i32 := + M.alloc (| + Value.StructTuple "generics::SingleGen" [ Value.Integer IntegerKind.I32 6 ] + |) in let~ _char := M.alloc (| Value.StructTuple "generics::SingleGen" [ Value.UnicodeChar 97 ] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_associated_types_problem.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_associated_types_problem.v index a6687dd16..d9b9eb376 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_associated_types_problem.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_associated_types_problem.v @@ -67,7 +67,7 @@ Module Impl_generics_associated_types_problem_Contains_i32_i32_for_generics_asso ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -87,7 +87,7 @@ Module Impl_generics_associated_types_problem_Contains_i32_i32_for_generics_asso 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -107,7 +107,7 @@ Module Impl_generics_associated_types_problem_Contains_i32_i32_for_generics_asso 1 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -136,9 +136,8 @@ Definition difference (τ : list Ty.t) (α : list Value.t) : M := | [ A; B; C ], [ container ] => ltac:(M.monadic (let container := M.alloc (| container |) in - BinOp.Wrap.sub - Integer.I32 - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_trait_method (| "generics_associated_types_problem::Contains", C, @@ -147,8 +146,8 @@ Definition difference (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| container |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "generics_associated_types_problem::Contains", C, @@ -157,8 +156,9 @@ Definition difference (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| container |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_difference : M.IsFunction "generics_associated_types_problem::difference" difference. @@ -187,8 +187,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ number_1 := M.alloc (| Value.Integer 3 |) in - let~ number_2 := M.alloc (| Value.Integer 10 |) in + let~ number_1 := M.alloc (| Value.Integer IntegerKind.I32 3 |) in + let~ number_2 := M.alloc (| Value.Integer IntegerKind.I32 10 |) in let~ container := M.alloc (| Value.StructTuple @@ -428,7 +428,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_associated_types_problem::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_associated_types_solution.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_associated_types_solution.v index 2f794f1f8..5e61ebc28 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_associated_types_solution.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_associated_types_solution.v @@ -73,7 +73,7 @@ Module Impl_generics_associated_types_solution_Contains_for_generics_associated_ ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -93,7 +93,7 @@ Module Impl_generics_associated_types_solution_Contains_for_generics_associated_ 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -113,7 +113,7 @@ Module Impl_generics_associated_types_solution_Contains_for_generics_associated_ 1 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -133,7 +133,7 @@ Module Impl_generics_associated_types_solution_Contains_for_generics_associated_ 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -162,9 +162,8 @@ Definition difference (τ : list Ty.t) (α : list Value.t) : M := | [ C ], [ container ] => ltac:(M.monadic (let container := M.alloc (| container |) in - BinOp.Wrap.sub - Integer.I32 - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_trait_method (| "generics_associated_types_solution::Contains", C, @@ -173,8 +172,8 @@ Definition difference (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| container |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_trait_method (| "generics_associated_types_solution::Contains", C, @@ -183,8 +182,9 @@ Definition difference (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| container |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_difference : @@ -204,7 +204,7 @@ Definition get_a (τ : list Ty.t) (α : list Value.t) : M := M.get_trait_method (| "generics_associated_types_solution::Contains", C, [], "a", [] |), [ M.read (| container |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_get_a : M.IsFunction "generics_associated_types_solution::get_a" get_a. @@ -233,8 +233,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ number_1 := M.alloc (| Value.Integer 3 |) in - let~ number_2 := M.alloc (| Value.Integer 10 |) in + let~ number_1 := M.alloc (| Value.Integer IntegerKind.I32 3 |) in + let~ number_2 := M.alloc (| Value.Integer IntegerKind.I32 10 |) in let~ container := M.alloc (| Value.StructTuple @@ -470,7 +470,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_associated_types_solution::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.err b/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.err index 9735af079..e69de29bb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.err +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.err @@ -1,10 +0,0 @@ -warning: Expected an integer type for the parameters - --> examples/rust_book/generics/generics_bounds.rs:21:9 - | -21 | self.length * self.height - | ^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: 1 warning emitted - diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.v index ac26ea662..6fcda22be 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.v @@ -50,7 +50,7 @@ Module Impl_core_fmt_Debug_for_generics_bounds_Rectangle. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -81,23 +81,23 @@ Module Impl_generics_bounds_HasArea_for_generics_bounds_Rectangle. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.mul - Integer.Usize - (M.read (| + BinOp.Wrap.mul (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "generics_bounds::Rectangle", "length" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "generics_bounds::Rectangle", "height" |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -158,7 +158,7 @@ Definition print_debug (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print_debug : M.IsFunction "generics_bounds::print_debug" print_debug. @@ -177,7 +177,7 @@ Definition area (τ : list Ty.t) (α : list Value.t) : M := M.get_trait_method (| "generics_bounds::HasArea", T, [], "area", [] |), [ M.read (| t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_area : M.IsFunction "generics_bounds::area" area. @@ -287,7 +287,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_bounds::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds_test_case_empty_bounds.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds_test_case_empty_bounds.v index b407f6544..4b930a3fd 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds_test_case_empty_bounds.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds_test_case_empty_bounds.v @@ -61,7 +61,7 @@ Definition red (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (M.read (| Value.String "red" |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_red : M.IsFunction "generics_bounds_test_case_empty_bounds::red" red. @@ -77,7 +77,7 @@ Definition blue (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let β0 := M.alloc (| β0 |) in M.match_operator (| β0, [ fun γ => ltac:(M.monadic (M.read (| Value.String "blue" |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_blue : M.IsFunction "generics_bounds_test_case_empty_bounds::blue" blue. @@ -211,7 +211,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_bounds_test_case_empty_bounds::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_functions.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_functions.v index 636ba854f..ad4a7d7d0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_functions.v @@ -29,7 +29,7 @@ Definition reg_fn (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let _s := M.alloc (| _s |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_reg_fn : M.IsFunction "generics_functions::reg_fn" reg_fn. @@ -41,7 +41,7 @@ Definition gen_spec_t (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let _s := M.alloc (| _s |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_gen_spec_t : M.IsFunction "generics_functions::gen_spec_t" gen_spec_t. @@ -53,7 +53,7 @@ Definition gen_spec_i32 (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let _s := M.alloc (| _s |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_gen_spec_i32 : M.IsFunction "generics_functions::gen_spec_i32" gen_spec_i32. @@ -65,7 +65,7 @@ Definition generic (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let _s := M.alloc (| _s |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_generic : M.IsFunction "generics_functions::generic" generic. @@ -115,7 +115,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| M.call_closure (| M.get_function (| "generics_functions::gen_spec_i32", [] |), - [ Value.StructTuple "generics_functions::SGen" [ Value.Integer 6 ] ] + [ Value.StructTuple "generics_functions::SGen" [ Value.Integer IntegerKind.I32 6 ] ] |) |) in let~ _ := @@ -134,7 +134,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_functions::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_implementation.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_implementation.v index 7b8710386..426fc74cc 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_implementation.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_implementation.v @@ -33,7 +33,7 @@ Module Impl_generics_implementation_Val. "generics_implementation::Val", "val" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_value : M.IsAssociatedFunction Self "value" value. @@ -58,7 +58,7 @@ Module Impl_generics_implementation_GenVal_T. "generics_implementation::GenVal", "gen_val" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_value : @@ -87,7 +87,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in let~ y := M.alloc (| - Value.StructRecord "generics_implementation::GenVal" [ ("gen_val", Value.Integer 3) ] + Value.StructRecord + "generics_implementation::GenVal" + [ ("gen_val", Value.Integer IntegerKind.I32 3) ] |) in let~ _ := let~ _ := @@ -164,7 +166,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_implementation::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_multiple_bounds.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_multiple_bounds.v index b71900a7a..ac828cbb3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_multiple_bounds.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_multiple_bounds.v @@ -90,7 +90,7 @@ Definition compare_prints (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_compare_prints : @@ -185,7 +185,7 @@ Definition compare_types (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_compare_types : M.IsFunction "generics_multiple_bounds::compare_types" compare_types. @@ -210,7 +210,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ string := M.copy (| Value.String "words" |) in let~ array := - M.alloc (| Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] |) in + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] + |) in let~ vec := M.alloc (| M.call_closure (| @@ -236,7 +243,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -271,7 +283,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_multiple_bounds::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_new_type_idiom.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_new_type_idiom.v index 41c9d5f68..0ab8cfbe7 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_new_type_idiom.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_new_type_idiom.v @@ -31,18 +31,18 @@ Module Impl_generics_new_type_idiom_Years. Value.StructTuple "generics_new_type_idiom::Days" [ - BinOp.Wrap.mul - Integer.I64 - (M.read (| + BinOp.Wrap.mul (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "generics_new_type_idiom::Years", 0 |) - |)) - (Value.Integer 365) + |), + Value.Integer IntegerKind.I64 365 + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_days : M.IsAssociatedFunction Self "to_days" to_days. @@ -64,18 +64,18 @@ Module Impl_generics_new_type_idiom_Days. Value.StructTuple "generics_new_type_idiom::Years" [ - BinOp.Wrap.div - Integer.I64 - (M.read (| + BinOp.Wrap.div (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "generics_new_type_idiom::Days", 0 |) - |)) - (Value.Integer 365) + |), + Value.Integer IntegerKind.I64 365 + |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_years : M.IsAssociatedFunction Self "to_years" to_years. @@ -91,16 +91,17 @@ Definition old_enough (τ : list Ty.t) (α : list Value.t) : M := | [], [ age ] => ltac:(M.monadic (let age := M.alloc (| age |) in - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| age |), "generics_new_type_idiom::Years", 0 |) - |)) - (Value.Integer 18))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.I64 18 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_old_enough : M.IsFunction "generics_new_type_idiom::old_enough" old_enough. @@ -120,7 +121,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (M.read (| let~ age := - M.alloc (| Value.StructTuple "generics_new_type_idiom::Years" [ Value.Integer 5 ] |) in + M.alloc (| + Value.StructTuple "generics_new_type_idiom::Years" [ Value.Integer IntegerKind.I64 5 ] + |) in let~ age_days := M.alloc (| M.call_closure (| @@ -241,7 +244,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_new_type_idiom::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_new_type_idiom_as_base_type.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_new_type_idiom_as_base_type.v index a2b4553cd..a28eddf3e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_new_type_idiom_as_base_type.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_new_type_idiom_as_base_type.v @@ -22,7 +22,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ years := M.alloc (| - Value.StructTuple "generics_new_type_idiom_as_base_type::Years" [ Value.Integer 42 ] + Value.StructTuple + "generics_new_type_idiom_as_base_type::Years" + [ Value.Integer IntegerKind.I64 42 ] |) in let~ years_as_primitive_1 := M.copy (| @@ -48,7 +50,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_new_type_idiom_as_base_type::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type.v index f8d3cefea..713d4f628 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type.v @@ -72,7 +72,7 @@ Module Impl_core_cmp_PartialEq_where_core_cmp_PartialEq_A_where_core_cmp_Partial ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -155,7 +155,7 @@ Module Impl_core_cmp_PartialEq_where_core_cmp_PartialEq_A_where_core_cmp_Partial ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -232,7 +232,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_phantom_type::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.err b/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.err index 29e4ec505..e69de29bb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.err +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.err @@ -1,10 +0,0 @@ -warning: Expected an integer type for the parameters - --> examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.rs:24:16 - | -24 | Length(self.0 + rhs.0, PhantomData) - | ^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: 1 warning emitted - diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.v index ed0fd1d01..bbe2131de 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.v @@ -20,7 +20,7 @@ Module Impl_core_fmt_Debug_for_generics_phantom_type_test_case_unit_clarificatio (let self := M.alloc (| self |) in let f := M.alloc (| f |) in M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -41,7 +41,7 @@ Module Impl_core_clone_Clone_for_generics_phantom_type_test_case_unit_clarificat ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78,7 +78,7 @@ Module Impl_core_fmt_Debug_for_generics_phantom_type_test_case_unit_clarificatio (let self := M.alloc (| self |) in let f := M.alloc (| f |) in M.never_to_any (| M.read (| M.match_operator (| M.read (| self |), [] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99,7 +99,7 @@ Module Impl_core_clone_Clone_for_generics_phantom_type_test_case_unit_clarificat ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -163,7 +163,7 @@ Module Impl_core_fmt_Debug_where_core_fmt_Debug_Unit_for_generics_phantom_type_t |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -216,7 +216,7 @@ Module Impl_core_clone_Clone_where_core_clone_Clone_Unit_for_generics_phantom_ty ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -265,25 +265,25 @@ Module Impl_core_ops_arith_Add_for_generics_phantom_type_test_case_unit_clarific Value.StructTuple "generics_phantom_type_test_case_unit_clarification::Length" [ - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "generics_phantom_type_test_case_unit_clarification::Length", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| rhs, "generics_phantom_type_test_case_unit_clarification::Length", 0 |) - |)); + |) + |); Value.StructTuple "core::marker::PhantomData" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -468,7 +468,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_phantom_type_test_case_unit_clarification::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_traits.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_traits.v index 8a79cc5a9..1f26b0a86 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_traits.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_traits.v @@ -30,7 +30,7 @@ Module Impl_generics_traits_DoubleDrop_T_for_U. (let self := M.alloc (| self |) in let β1 := M.alloc (| β1 |) in M.match_operator (| β1, [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -77,7 +77,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_traits::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics_where_clauses.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics_where_clauses.v index 537f4e3ea..88fa08441 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_where_clauses.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_where_clauses.v @@ -64,7 +64,7 @@ Module Impl_generics_where_clauses_PrintInOption_where_core_fmt_Debug_core_optio M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113,7 +113,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -138,7 +143,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "generics_where_clauses::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/guessing_game/guessing_game.v b/CoqOfRust/examples/default/examples/rust_book/guessing_game/guessing_game.v index 7543cdfa7..4a2ae9035 100644 --- a/CoqOfRust/examples/default/examples/rust_book/guessing_game/guessing_game.v +++ b/CoqOfRust/examples/default/examples/rust_book/guessing_game/guessing_game.v @@ -16,7 +16,7 @@ Definition gen_range (τ : list Ty.t) (α : list Value.t) : M := [ M.read (| Value.String "not yet implemented" |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_gen_range : M.IsFunction "guessing_game::gen_range" gen_range. @@ -340,7 +340,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "guessing_game::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/hello_world/formatted_print.v b/CoqOfRust/examples/default/examples/rust_book/hello_world/formatted_print.v index 776d22b34..609eebee1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/hello_world/formatted_print.v +++ b/CoqOfRust/examples/default/examples/rust_book/hello_world/formatted_print.v @@ -234,7 +234,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_binary", [ Ty.path "i32" ] |), - [ M.alloc (| Value.Integer 69420 |) ] + [ M.alloc (| Value.Integer IntegerKind.I32 69420 |) ] |) ] |)) @@ -274,7 +274,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_octal", [ Ty.path "i32" ] |), - [ M.alloc (| Value.Integer 69420 |) ] + [ M.alloc (| Value.Integer IntegerKind.I32 69420 |) ] |) ] |)) @@ -314,7 +314,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_lower_hex", [ Ty.path "i32" ] |), - [ M.alloc (| Value.Integer 69420 |) ] + [ M.alloc (| Value.Integer IntegerKind.I32 69420 |) ] |) ] |)) @@ -354,7 +354,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_upper_hex", [ Ty.path "i32" ] |), - [ M.alloc (| Value.Integer 69420 |) ] + [ M.alloc (| Value.Integer IntegerKind.I32 69420 |) ] |) ] |)) @@ -395,7 +395,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "i32" ] |), - [ M.alloc (| Value.Integer 1 |) ] + [ M.alloc (| Value.Integer IntegerKind.I32 1 |) ] |) ] |)); @@ -411,12 +411,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Right" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; - Value.StructTuple "core::fmt::rt::Count::Is" [ Value.Integer 5 ] + Value.StructTuple + "core::fmt::rt::Count::Is" + [ Value.Integer IntegerKind.Usize 5 ] ] |) ] @@ -466,7 +468,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "i32" ] |), - [ M.alloc (| Value.Integer 1 |) ] + [ M.alloc (| Value.Integer IntegerKind.I32 1 |) ] |) ] |)); @@ -482,12 +484,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 48; Value.StructTuple "core::fmt::rt::Alignment::Left" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; - Value.StructTuple "core::fmt::rt::Count::Is" [ Value.Integer 5 ] + Value.StructTuple + "core::fmt::rt::Count::Is" + [ Value.Integer IntegerKind.Usize 5 ] ] |) ] @@ -537,7 +541,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "i32" ] |), - [ M.alloc (| Value.Integer 1 |) ] + [ M.alloc (| Value.Integer IntegerKind.I32 1 |) ] |); M.call_closure (| M.get_associated_function (| @@ -545,7 +549,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "from_usize", [] |), - [ M.alloc (| Value.Integer 5 |) ] + [ M.alloc (| Value.Integer IntegerKind.Usize 5 |) ] |) ] |)); @@ -561,14 +565,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 48; Value.StructTuple "core::fmt::rt::Alignment::Right" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Param" - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] ] |) ] @@ -621,7 +625,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) in let~ number := M.copy (| UnsupportedLiteral |) in - let~ width := M.alloc (| Value.Integer 5 |) in + let~ width := M.alloc (| Value.Integer IntegerKind.Usize 5 |) in let~ _ := let~ _ := M.alloc (| @@ -677,14 +681,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Right" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Param" - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.Usize 1 ] ] |) ] @@ -705,7 +709,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "formatted_print::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/hello_world/hello_world.v b/CoqOfRust/examples/default/examples/rust_book/hello_world/hello_world.v index 51597fe36..d5b776595 100644 --- a/CoqOfRust/examples/default/examples/rust_book/hello_world/hello_world.v +++ b/CoqOfRust/examples/default/examples/rust_book/hello_world/hello_world.v @@ -35,7 +35,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "hello_world::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_example.v b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_example.v index 55455a0d8..6cde6a171 100644 --- a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_example.v +++ b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_example.v @@ -31,7 +31,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "macro_example::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_designators.v b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_designators.v index 44027aa22..a73511734 100644 --- a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_designators.v +++ b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_designators.v @@ -54,7 +54,7 @@ Definition foo (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_foo : M.IsFunction "macro_rules_designators::foo" foo. @@ -112,7 +112,7 @@ Definition bar (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bar : M.IsFunction "macro_rules_designators::bar" bar. @@ -186,7 +186,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Wrap.add Integer.U32 (Value.Integer 1) (Value.Integer 1) + BinOp.Wrap.add (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.U32 1 + |) |) ] |) @@ -238,21 +241,18 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ Ty.path "u32" ] |), [ - let~ x := M.alloc (| Value.Integer 1 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U32 1 |) in M.alloc (| - BinOp.Wrap.sub - Integer.U32 - (BinOp.Wrap.add - Integer.U32 - (BinOp.Wrap.mul - Integer.U32 - (M.read (| x |)) - (M.read (| x |))) - (BinOp.Wrap.mul - Integer.U32 - (Value.Integer 2) - (M.read (| x |)))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| M.read (| x |), M.read (| x |) |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U32 2, + M.read (| x |) + |) + |), + Value.Integer IntegerKind.U32 1 + |) |) ] |) @@ -266,7 +266,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "macro_rules_designators::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_dsl.v b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_dsl.v index c608300c1..3a4d878f9 100644 --- a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_dsl.v +++ b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_dsl.v @@ -19,7 +19,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ _ := let~ val := - M.alloc (| BinOp.Wrap.add Integer.Usize (Value.Integer 1) (Value.Integer 2) |) in + M.alloc (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + Value.Integer IntegerKind.Usize 2 + |) + |) in let~ _ := let~ _ := M.alloc (| @@ -61,10 +66,16 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in let~ val := M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (BinOp.Wrap.add Integer.Usize (Value.Integer 1) (Value.Integer 2)) - (BinOp.Wrap.div Integer.Usize (Value.Integer 3) (Value.Integer 4)) + BinOp.Wrap.mul (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + Value.Integer IntegerKind.Usize 2 + |), + BinOp.Wrap.div (| + Value.Integer IntegerKind.Usize 3, + Value.Integer IntegerKind.Usize 4 + |) + |) |) in let~ _ := let~ _ := @@ -108,7 +119,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "macro_rules_dsl::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_overload.v b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_overload.v index 57d9a1cd6..78ca74a10 100644 --- a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_overload.v +++ b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_overload.v @@ -63,19 +63,21 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (BinOp.Wrap.add - Integer.I32 - (Value.Integer 1) - (Value.Integer 1)) - (Value.Integer 2), + BinOp.eq (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.I32 1, + Value.Integer IntegerKind.I32 1 + |), + Value.Integer IntegerKind.I32 2 + |), ltac:(M.monadic - (BinOp.Pure.eq - (BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (Value.Integer 2)) - (Value.Integer 4))) + (BinOp.eq (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.I32 2, + Value.Integer IntegerKind.I32 2 + |), + Value.Integer IntegerKind.I32 4 + |))) |) |) ] @@ -155,7 +157,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "macro_rules_overload::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_repeat.v b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_repeat.v index cb2a38594..837f9dcdb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_repeat.v +++ b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_repeat.v @@ -76,11 +76,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "i32" ] |), [ - BinOp.Wrap.add - Integer.I32 - (Value.Integer 1) - (Value.Integer 2); - Value.Integer 2 + BinOp.Wrap.add (| + Value.Integer IntegerKind.I32 1, + Value.Integer IntegerKind.I32 2 + |); + Value.Integer IntegerKind.I32 2 ] |) |) @@ -126,15 +126,15 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "i32" ] |), [ - Value.Integer 5; + Value.Integer IntegerKind.I32 5; M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "i32" ] |), [ - BinOp.Wrap.mul - Integer.I32 - (Value.Integer 2) - (Value.Integer 3); - Value.Integer 4 + BinOp.Wrap.mul (| + Value.Integer IntegerKind.I32 2, + Value.Integer IntegerKind.I32 3 + |); + Value.Integer IntegerKind.I32 4 ] |) ] @@ -152,7 +152,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "macro_rules_repeat::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_variadic_interfaces.v b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_variadic_interfaces.v index dfd1f202f..c2cdf4ea8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_variadic_interfaces.v +++ b/CoqOfRust/examples/default/examples/rust_book/macro_rules/macro_rules_variadic_interfaces.v @@ -17,7 +17,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ _ := let~ val := - M.alloc (| BinOp.Wrap.add Integer.Usize (Value.Integer 1) (Value.Integer 2) |) in + M.alloc (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + Value.Integer IntegerKind.Usize 2 + |) + |) in let~ _ := let~ _ := M.alloc (| @@ -59,7 +64,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in let~ _ := let~ val := - M.alloc (| BinOp.Wrap.add Integer.Usize (Value.Integer 3) (Value.Integer 4) |) in + M.alloc (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 3, + Value.Integer IntegerKind.Usize 4 + |) + |) in let~ _ := let~ _ := M.alloc (| @@ -101,10 +111,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in let~ val := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul Integer.Usize (Value.Integer 2) (Value.Integer 3)) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + Value.Integer IntegerKind.Usize 3 + |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := let~ _ := @@ -148,7 +161,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "macro_rules_variadic_interfaces::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/modules/struct_visibility.v b/CoqOfRust/examples/default/examples/rust_book/modules/struct_visibility.v index c509e6792..a9eb8b979 100644 --- a/CoqOfRust/examples/default/examples/rust_book/modules/struct_visibility.v +++ b/CoqOfRust/examples/default/examples/rust_book/modules/struct_visibility.v @@ -34,7 +34,7 @@ Module my. Value.StructRecord "struct_visibility::my::ClosedBox" [ ("contents", M.read (| contents |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -138,7 +138,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "struct_visibility::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/modules/super_and_self.v b/CoqOfRust/examples/default/examples/rust_book/modules/super_and_self.v index 23536e251..8cf98e9b8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/modules/super_and_self.v +++ b/CoqOfRust/examples/default/examples/rust_book/modules/super_and_self.v @@ -34,7 +34,7 @@ Definition function (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "super_and_self::function" function. @@ -77,7 +77,7 @@ Module cool. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "super_and_self::cool::function" function. @@ -121,7 +121,7 @@ Module my. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "super_and_self::my::function" function. @@ -165,7 +165,7 @@ Module my. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "super_and_self::my::cool::function" function. @@ -249,7 +249,7 @@ Module my. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_indirect_call : M.IsFunction "super_and_self::my::indirect_call" indirect_call. @@ -271,7 +271,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "super_and_self::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/modules/the_use_as_declaration.v b/CoqOfRust/examples/default/examples/rust_book/modules/the_use_as_declaration.v index a33fa86b2..c625f3909 100644 --- a/CoqOfRust/examples/default/examples/rust_book/modules/the_use_as_declaration.v +++ b/CoqOfRust/examples/default/examples/rust_book/modules/the_use_as_declaration.v @@ -34,7 +34,7 @@ Definition function (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "the_use_as_declaration::function" function. @@ -79,7 +79,7 @@ Module deeply. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : @@ -177,7 +177,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "the_use_as_declaration::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/modules/visibility.v b/CoqOfRust/examples/default/examples/rust_book/modules/visibility.v index 5c647c990..3a9a51487 100644 --- a/CoqOfRust/examples/default/examples/rust_book/modules/visibility.v +++ b/CoqOfRust/examples/default/examples/rust_book/modules/visibility.v @@ -40,7 +40,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_private_function : @@ -83,7 +83,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "visibility::my_mod::function" function. @@ -138,7 +138,7 @@ Module my_mod. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_indirect_access : @@ -183,7 +183,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "visibility::my_mod::nested::function" function. @@ -230,7 +230,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_private_function : @@ -287,7 +287,7 @@ Module my_mod. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_public_function_in_my_mod : @@ -338,7 +338,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_public_function_in_nested : @@ -389,7 +389,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_public_function_in_super_mod : @@ -480,7 +480,7 @@ Module my_mod. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call_public_function_in_my_mod : @@ -530,7 +530,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_public_function_in_crate : @@ -579,7 +579,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "visibility::my_mod::private_nested::function" function. @@ -627,7 +627,7 @@ Module my_mod. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_restricted_function : @@ -668,7 +668,7 @@ Definition function (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_function : M.IsFunction "visibility::function" function. @@ -748,7 +748,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "visibility::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/primitives/arrays_and_slices.v b/CoqOfRust/examples/default/examples/rust_book/primitives/arrays_and_slices.v index d8d3988d7..d6a133b20 100644 --- a/CoqOfRust/examples/default/examples/rust_book/primitives/arrays_and_slices.v +++ b/CoqOfRust/examples/default/examples/rust_book/primitives/arrays_and_slices.v @@ -46,7 +46,7 @@ Definition analyze_slice (τ : list Ty.t) (α : list Value.t) : M := [ M.SubPointer.get_array_field (| M.read (| slice |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) ] |) @@ -111,7 +111,7 @@ Definition analyze_slice (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_analyze_slice : M.IsFunction "arrays_and_slices::analyze_slice" analyze_slice. @@ -173,10 +173,15 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let~ xs := M.alloc (| Value.Array - [ Value.Integer 1; Value.Integer 2; Value.Integer 3; Value.Integer 4; Value.Integer 5 + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3; + Value.Integer IntegerKind.I32 4; + Value.Integer IntegerKind.I32 5 ] |) in - let~ ys := M.alloc (| repeat (Value.Integer 0) 500 |) in + let~ ys := M.alloc (| repeat (Value.Integer IntegerKind.I32 0) 500 |) in let~ _ := let~ _ := M.alloc (| @@ -210,7 +215,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.SubPointer.get_array_field (| xs, - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) ] |) @@ -255,7 +260,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.SubPointer.get_array_field (| xs, - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) ] |) @@ -437,7 +442,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ys; Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 1); ("end_", Value.Integer 4) ] + [ + ("start", Value.Integer IntegerKind.Usize 1); + ("end_", Value.Integer IntegerKind.Usize 4) + ] ] |) ] @@ -464,8 +472,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -480,7 +488,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -558,8 +567,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -574,7 +583,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -629,19 +639,19 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "i32" ], "len", [] |), [ (* Unsize *) M.pointer_coercion xs ] - |)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -815,7 +825,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "arrays_and_slices::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/primitives/compound_types.v b/CoqOfRust/examples/default/examples/rust_book/primitives/compound_types.v index a6b68f74e..bd7f2522b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/primitives/compound_types.v +++ b/CoqOfRust/examples/default/examples/rust_book/primitives/compound_types.v @@ -35,17 +35,17 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ logical := M.alloc (| Value.Bool true |) in let~ a_float := M.copy (| UnsupportedLiteral |) in - let~ an_integer := M.alloc (| Value.Integer 5 |) in + let~ an_integer := M.alloc (| Value.Integer IntegerKind.I32 5 |) in let~ default_float := M.copy (| UnsupportedLiteral |) in - let~ default_integer := M.alloc (| Value.Integer 7 |) in - let~ inferred_type := M.alloc (| Value.Integer 12 |) in - let~ _ := M.write (| inferred_type, Value.Integer 4294967296 |) in - let~ mutable := M.alloc (| Value.Integer 12 |) in - let~ _ := M.write (| mutable, Value.Integer 21 |) in + let~ default_integer := M.alloc (| Value.Integer IntegerKind.I32 7 |) in + let~ inferred_type := M.alloc (| Value.Integer IntegerKind.I64 12 |) in + let~ _ := M.write (| inferred_type, Value.Integer IntegerKind.I64 4294967296 |) in + let~ mutable := M.alloc (| Value.Integer IntegerKind.I32 12 |) in + let~ _ := M.write (| mutable, Value.Integer IntegerKind.I32 21 |) in let~ mutable := M.alloc (| Value.Bool true |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "compound_types::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/primitives/literals_operators.v b/CoqOfRust/examples/default/examples/rust_book/primitives/literals_operators.v index d355d86cc..0a1a7835c 100644 --- a/CoqOfRust/examples/default/examples/rust_book/primitives/literals_operators.v +++ b/CoqOfRust/examples/default/examples/rust_book/primitives/literals_operators.v @@ -60,7 +60,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Wrap.add Integer.U32 (Value.Integer 1) (Value.Integer 2) + BinOp.Wrap.add (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.U32 2 + |) |) ] |) @@ -101,7 +104,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Wrap.sub Integer.I32 (Value.Integer 1) (Value.Integer 2) + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 1, + Value.Integer IntegerKind.I32 2 + |) |) ] |) @@ -237,7 +243,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "bool" ] |), - [ M.alloc (| UnOp.Pure.not (Value.Bool true) |) ] + [ M.alloc (| UnOp.not (| Value.Bool true |) |) ] |) ] |)) @@ -283,7 +289,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Pure.bit_and (Value.Integer 3) (Value.Integer 5) + BinOp.bit_and + (Value.Integer IntegerKind.U32 3) + (Value.Integer IntegerKind.U32 5) |) ] |) @@ -301,12 +309,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 8; + Value.Integer IntegerKind.U32 8; Value.StructTuple "core::fmt::rt::Count::Implied" []; - Value.StructTuple "core::fmt::rt::Count::Is" [ Value.Integer 4 ] + Value.StructTuple + "core::fmt::rt::Count::Is" + [ Value.Integer IntegerKind.Usize 4 ] ] |) ] @@ -361,7 +371,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Pure.bit_or (Value.Integer 3) (Value.Integer 5) + BinOp.bit_or + (Value.Integer IntegerKind.U32 3) + (Value.Integer IntegerKind.U32 5) |) ] |) @@ -379,12 +391,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 8; + Value.Integer IntegerKind.U32 8; Value.StructTuple "core::fmt::rt::Count::Implied" []; - Value.StructTuple "core::fmt::rt::Count::Is" [ Value.Integer 4 ] + Value.StructTuple + "core::fmt::rt::Count::Is" + [ Value.Integer IntegerKind.Usize 4 ] ] |) ] @@ -439,7 +453,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Pure.bit_xor (Value.Integer 3) (Value.Integer 5) + BinOp.bit_xor + (Value.Integer IntegerKind.U32 3) + (Value.Integer IntegerKind.U32 5) |) ] |) @@ -457,12 +473,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 8; + Value.Integer IntegerKind.U32 8; Value.StructTuple "core::fmt::rt::Count::Implied" []; - Value.StructTuple "core::fmt::rt::Count::Is" [ Value.Integer 4 ] + Value.StructTuple + "core::fmt::rt::Count::Is" + [ Value.Integer IntegerKind.Usize 4 ] ] |) ] @@ -509,7 +527,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "u32" ] |), - [ M.alloc (| BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 5) |) ] + [ + M.alloc (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + Value.Integer IntegerKind.I32 5 + |) + |) + ] |) ] |)) @@ -549,7 +574,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_lower_hex", [ Ty.path "u32" ] |), - [ M.alloc (| BinOp.Wrap.shr (Value.Integer 128) (Value.Integer 2) |) + [ + M.alloc (| + BinOp.Wrap.shr (| + Value.Integer IntegerKind.U32 128, + Value.Integer IntegerKind.I32 2 + |) + |) ] |) ] @@ -596,7 +627,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "literals_operators::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/primitives/tuples.v b/CoqOfRust/examples/default/examples/rust_book/primitives/tuples.v index d994b219b..95b4cc6b0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/primitives/tuples.v +++ b/CoqOfRust/examples/default/examples/rust_book/primitives/tuples.v @@ -28,7 +28,7 @@ Definition reverse (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_reverse : M.IsFunction "tuples::reverse" reverse. @@ -75,7 +75,7 @@ Module Impl_core_fmt_Debug_for_tuples_Matrix. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -139,14 +139,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [ - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 4; - Value.Integer (-1); - Value.Integer (-2); - Value.Integer (-3); - Value.Integer (-4); + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U16 2; + Value.Integer IntegerKind.U32 3; + Value.Integer IntegerKind.U64 4; + Value.Integer IntegerKind.I8 (-1); + Value.Integer IntegerKind.I16 (-2); + Value.Integer IntegerKind.I32 (-3); + Value.Integer IntegerKind.I64 (-4); M.read (| UnsupportedLiteral |); M.read (| UnsupportedLiteral |); Value.UnicodeChar 97; @@ -237,9 +237,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [ - Value.Tuple [ Value.Integer 1; Value.Integer 2; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 4; Value.Integer (-1) ]; - Value.Integer (-2) + Value.Tuple + [ + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U16 2; + Value.Integer IntegerKind.U32 2 + ]; + Value.Tuple [ Value.Integer IntegerKind.U64 4; Value.Integer IntegerKind.I8 (-1) ]; + Value.Integer IntegerKind.I16 (-2) ] |) in let~ _ := @@ -289,7 +294,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| Value.Tuple [] |) in - let~ pair_ := M.alloc (| Value.Tuple [ Value.Integer 1; Value.Bool true ] |) in + let~ pair_ := + M.alloc (| Value.Tuple [ Value.Integer IntegerKind.I32 1; Value.Bool true ] |) in let~ _ := let~ _ := M.alloc (| @@ -404,7 +410,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_debug", [ Ty.tuple [ Ty.path "u32" ] ] |), - [ M.alloc (| Value.Tuple [ Value.Integer 5 ] |) ] + [ M.alloc (| Value.Tuple [ Value.Integer IntegerKind.U32 5 ] |) ] |) ] |)) @@ -444,7 +450,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_debug", [ Ty.path "u32" ] |), - [ M.alloc (| Value.Integer 5 |) ] + [ M.alloc (| Value.Integer IntegerKind.U32 5 |) ] |) ] |)) @@ -458,7 +464,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [ - Value.Integer 1; + Value.Integer IntegerKind.I32 1; M.read (| Value.String "hello" |); M.read (| UnsupportedLiteral |); Value.Bool true @@ -604,7 +610,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "tuples::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing.v index 6f77412f4..7d9fbb302 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing.v @@ -58,7 +58,7 @@ Definition eat_box_i32 (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_eat_box_i32 : M.IsFunction "scoping_rules_borrowing::eat_box_i32" eat_box_i32. @@ -116,7 +116,7 @@ Definition borrow_i32 (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_borrow_i32 : M.IsFunction "scoping_rules_borrowing::borrow_i32" borrow_i32. @@ -165,10 +165,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.I32 5 ] |) |) in - let~ stacked_i32 := M.alloc (| Value.Integer 6 |) in + let~ stacked_i32 := M.alloc (| Value.Integer IntegerKind.I32 6 |) in let~ _ := M.alloc (| M.call_closure (| @@ -202,7 +202,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_borrowing::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_aliasing.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_aliasing.v index a7c523d32..4d61512f9 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_aliasing.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_aliasing.v @@ -74,7 +74,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructRecord "scoping_rules_borrowing_aliasing::Point" - [ ("x", Value.Integer 0); ("y", Value.Integer 0); ("z", Value.Integer 0) ] + [ + ("x", Value.Integer IntegerKind.I32 0); + ("y", Value.Integer IntegerKind.I32 0); + ("z", Value.Integer IntegerKind.I32 0) + ] |) in let~ borrowed_point := M.alloc (| point |) in let~ another_borrow := M.alloc (| point |) in @@ -238,7 +242,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "scoping_rules_borrowing_aliasing::Point", "x" |), - Value.Integer 5 + Value.Integer IntegerKind.I32 5 |) in let~ _ := M.write (| @@ -247,7 +251,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "scoping_rules_borrowing_aliasing::Point", "y" |), - Value.Integer 2 + Value.Integer IntegerKind.I32 2 |) in let~ _ := M.write (| @@ -256,7 +260,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "scoping_rules_borrowing_aliasing::Point", "z" |), - Value.Integer 1 + Value.Integer IntegerKind.I32 1 |) in let~ _ := let~ _ := @@ -413,7 +417,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_borrowing_aliasing::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_mutablity.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_mutablity.v index 32f827121..b5c8d939b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_mutablity.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_mutablity.v @@ -42,7 +42,7 @@ Module Impl_core_clone_Clone_for_scoping_rules_borrowing_mutablity_Book. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -137,7 +137,7 @@ Definition borrow_book (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_borrow_book : @@ -162,7 +162,7 @@ Definition new_edition (τ : list Ty.t) (α : list Value.t) : M := "scoping_rules_borrowing_mutablity::Book", "year" |), - Value.Integer 2014 + Value.Integer IntegerKind.U32 2014 |) in let~ _ := let~ _ := @@ -227,7 +227,7 @@ Definition new_edition (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_new_edition : @@ -273,7 +273,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ("author", M.read (| Value.String "Douglas Hofstadter" |)); ("title", M.read (| Value.String ("G" ++ (String.String "246" "del, Escher, Bach")) |)); - ("year", Value.Integer 1979) + ("year", Value.Integer IntegerKind.U32 1979) ] |) in let~ mutabook := M.copy (| immutabook |) in @@ -300,7 +300,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_borrowing_mutablity::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_the_ref_pattern.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_the_ref_pattern.v index e8678d864..e629fb30b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_the_ref_pattern.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_borrowing_the_ref_pattern.v @@ -23,7 +23,7 @@ Module Impl_core_clone_Clone_for_scoping_rules_borrowing_the_ref_pattern_Point. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -147,9 +147,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| ref_c1 |) |)) - (M.read (| M.read (| ref_c2 |) |)) + BinOp.eq (| + M.read (| M.read (| ref_c1 |) |), + M.read (| M.read (| ref_c2 |) |) + |) |) ] |) @@ -165,7 +166,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructRecord "scoping_rules_borrowing_the_ref_pattern::Point" - [ ("x", Value.Integer 0); ("y", Value.Integer 0) ] + [ + ("x", Value.Integer IntegerKind.I32 0); + ("y", Value.Integer IntegerKind.I32 0) + ] |) in let~ _copy_of_x := M.copy (| @@ -211,7 +215,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "y" |) in let mut_ref_to_y := M.alloc (| γ0_1 |) in - let~ _ := M.write (| M.read (| mut_ref_to_y |), Value.Integer 1 |) in + let~ _ := + M.write (| + M.read (| mut_ref_to_y |), + Value.Integer IntegerKind.I32 1 + |) in M.alloc (| Value.Tuple [] |))) ] |) in @@ -357,9 +365,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.U32 5 ] |); - Value.Integer 3 + Value.Integer IntegerKind.U32 3 ] |) in let~ _ := @@ -371,7 +379,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let last := M.alloc (| γ0_1 |) in - let~ _ := M.write (| M.read (| last |), Value.Integer 2 |) in + let~ _ := + M.write (| M.read (| last |), Value.Integer IntegerKind.U32 2 |) in M.alloc (| Value.Tuple [] |))) ] |) in @@ -431,7 +440,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_borrowing_the_ref_pattern::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes.v index fa7b5d052..62e8999b0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes.v @@ -27,7 +27,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ i := M.alloc (| Value.Integer 3 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.I32 3 |) in let~ _ := let~ borrow1 := M.alloc (| i |) in let~ _ := @@ -109,7 +109,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_bounds.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_bounds.v index ecff315bb..7e56eb29d 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_bounds.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_bounds.v @@ -40,7 +40,7 @@ Module Impl_core_fmt_Debug_where_core_fmt_Debug_T_for_scoping_rules_lifetimes_bo |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -108,7 +108,7 @@ Definition print (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print : M.IsFunction "scoping_rules_lifetimes_bounds::print" print. @@ -169,7 +169,7 @@ Definition print_ref (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print_ref : M.IsFunction "scoping_rules_lifetimes_bounds::print_ref" print_ref. @@ -188,7 +188,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 7 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.I32 7 |) in let~ ref_x := M.alloc (| Value.StructTuple "scoping_rules_lifetimes_bounds::Ref" [ x ] |) in let~ _ := M.alloc (| @@ -212,7 +212,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes_bounds::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_coercion.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_coercion.v index e03987ac4..a74fe76a3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_coercion.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_coercion.v @@ -22,7 +22,7 @@ Definition multiply (τ : list Ty.t) (α : list Value.t) : M := |), [ M.read (| first |); M.read (| second |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_multiply : M.IsFunction "scoping_rules_lifetimes_coercion::multiply" multiply. @@ -39,7 +39,7 @@ Definition choose_first (τ : list Ty.t) (α : list Value.t) : M := (let first := M.alloc (| first |) in let β1 := M.alloc (| β1 |) in M.match_operator (| β1, [ fun γ => ltac:(M.monadic (M.read (| first |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_choose_first : @@ -62,9 +62,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ first := M.alloc (| Value.Integer 2 |) in + let~ first := M.alloc (| Value.Integer IntegerKind.I32 2 |) in let~ _ := - let~ second := M.alloc (| Value.Integer 3 |) in + let~ second := M.alloc (| Value.Integer IntegerKind.I32 3 |) in let~ _ := let~ _ := M.alloc (| @@ -168,7 +168,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes_coercion::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_elision.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_elision.v index d32d56f35..efef7805b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_elision.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_elision.v @@ -54,7 +54,7 @@ Definition elided_input (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_elided_input : @@ -113,7 +113,7 @@ Definition annotated_input (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_annotated_input : @@ -130,7 +130,7 @@ Definition elided_pass (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_elided_pass : @@ -147,7 +147,7 @@ Definition annotated_pass (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let x := M.alloc (| x |) in M.read (| x |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_annotated_pass : @@ -169,7 +169,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 3 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.I32 3 |) in let~ _ := M.alloc (| M.call_closure (| @@ -286,7 +286,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes_elision::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_functions.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_functions.v index b73046e09..25b8518cb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_functions.v @@ -54,7 +54,7 @@ Definition print_one (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print_one : M.IsFunction "scoping_rules_lifetimes_functions::print_one" print_one. @@ -72,10 +72,10 @@ Definition add_one (τ : list Ty.t) (α : list Value.t) : M := M.read (| let~ _ := let β := M.read (| x |) in - M.write (| β, BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_add_one : M.IsFunction "scoping_rules_lifetimes_functions::add_one" add_one. @@ -143,7 +143,7 @@ Definition print_multi (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print_multi : @@ -161,7 +161,7 @@ Definition pass_x (τ : list Ty.t) (α : list Value.t) : M := (let x := M.alloc (| x |) in let β1 := M.alloc (| β1 |) in M.match_operator (| β1, [ fun γ => ltac:(M.monadic (M.read (| x |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_pass_x : M.IsFunction "scoping_rules_lifetimes_functions::pass_x" pass_x. @@ -187,8 +187,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 7 |) in - let~ y := M.alloc (| Value.Integer 9 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.I32 7 |) in + let~ y := M.alloc (| Value.Integer IntegerKind.I32 9 |) in let~ _ := M.alloc (| M.call_closure (| @@ -217,7 +217,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.read (| z |) ] |) |) in - let~ t := M.alloc (| Value.Integer 3 |) in + let~ t := M.alloc (| Value.Integer IntegerKind.I32 3 |) in let~ _ := M.alloc (| M.call_closure (| @@ -234,7 +234,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes_functions::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_methods.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_methods.v index 749f5f78c..55e01bcc0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_methods.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_methods.v @@ -29,10 +29,10 @@ Module Impl_scoping_rules_lifetimes_methods_Owner. "scoping_rules_lifetimes_methods::Owner", 0 |) in - M.write (| β, BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add_one : M.IsAssociatedFunction Self "add_one" add_one. @@ -94,7 +94,7 @@ Module Impl_scoping_rules_lifetimes_methods_Owner. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_print : M.IsAssociatedFunction Self "print" print. @@ -115,7 +115,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ owner := M.alloc (| - Value.StructTuple "scoping_rules_lifetimes_methods::Owner" [ Value.Integer 18 ] + Value.StructTuple + "scoping_rules_lifetimes_methods::Owner" + [ Value.Integer IntegerKind.I32 18 ] |) in let~ _ := M.alloc (| @@ -141,7 +143,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes_methods::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_reference_lifetime_static.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_reference_lifetime_static.v index cac911ece..4cf8f3e89 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_reference_lifetime_static.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_reference_lifetime_static.v @@ -2,7 +2,7 @@ Require Import CoqOfRust.CoqOfRust. Definition value_NUM : Value.t := - M.run ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer 18 |) |))). + M.run ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.I32 18 |) |))). (* fn coerce_static<'a>(_: &'a i32) -> &'a i32 { @@ -24,7 +24,7 @@ Definition coerce_static (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_coerce_static : @@ -103,7 +103,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) in let~ _ := - let~ lifetime_num := M.alloc (| Value.Integer 9 |) in + let~ lifetime_num := M.alloc (| Value.Integer IntegerKind.I32 9 |) in let~ coerced_static := M.alloc (| M.call_closure (| @@ -203,7 +203,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes_reference_lifetime_static::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_structs.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_structs.v index ecd9c8ff4..a92cacde0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_structs.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_structs.v @@ -38,7 +38,7 @@ Module Impl_core_fmt_Debug_for_scoping_rules_lifetimes_structs_Borrowed. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -99,7 +99,7 @@ Module Impl_core_fmt_Debug_for_scoping_rules_lifetimes_structs_NamedBorrowed. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -195,7 +195,7 @@ Module Impl_core_fmt_Debug_for_scoping_rules_lifetimes_structs_Either. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -227,8 +227,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 18 |) in - let~ y := M.alloc (| Value.Integer 15 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.I32 18 |) in + let~ y := M.alloc (| Value.Integer IntegerKind.I32 15 |) in let~ single := M.alloc (| Value.StructTuple "scoping_rules_lifetimes_structs::Borrowed" [ x ] |) in let~ double := @@ -405,7 +405,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes_structs::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_traits.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_traits.v index a18977e86..73302fad2 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_traits.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_lifetimes_traits.v @@ -39,7 +39,7 @@ Module Impl_core_fmt_Debug_for_scoping_rules_lifetimes_traits_Borrowed. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -64,8 +64,8 @@ Module Impl_core_default_Default_for_scoping_rules_lifetimes_traits_Borrowed. ltac:(M.monadic (Value.StructRecord "scoping_rules_lifetimes_traits::Borrowed" - [ ("x", M.alloc (| Value.Integer 10 |)) ])) - | _, _ => M.impossible + [ ("x", M.alloc (| Value.Integer IntegerKind.I32 10 |)) ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -139,7 +139,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_lifetimes_traits::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules.v index f7a6cbd93..d401d8af0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules.v @@ -60,7 +60,7 @@ Definition destroy_box (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_destroy_box : @@ -108,7 +108,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 5 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U32 5 |) in let~ y := M.copy (| x |) in let~ _ := let~ _ := @@ -169,7 +169,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.I32 5 ] |) |) in let~ _ := @@ -226,7 +226,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_ownership_and_rules::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_mutablity.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_mutablity.v index bdc067e27..0e4a36424 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_mutablity.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_mutablity.v @@ -36,7 +36,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.U32 5 ] |) |) in let~ _ := @@ -128,7 +128,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| Value.Tuple [] |) in - let~ _ := M.write (| M.read (| mutable_box |), Value.Integer 4 |) in + let~ _ := M.write (| M.read (| mutable_box |), Value.Integer IntegerKind.U32 4 |) in let~ _ := let~ _ := M.alloc (| @@ -175,7 +175,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_ownership_and_rules_mutablity::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_partial_moves.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_partial_moves.v index 47d1f5f49..64f430275 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_partial_moves.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_partial_moves.v @@ -58,7 +58,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 20 ] + [ Value.Integer IntegerKind.U8 20 ] |)) ] |) in @@ -237,7 +237,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_ownership_and_rules_partial_moves::main" main. @@ -295,7 +295,7 @@ Module main. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_raii.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_raii.v index ce523bf48..e4cef2eb7 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_raii.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_raii.v @@ -24,12 +24,12 @@ Definition create_box (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 3 ] + [ Value.Integer IntegerKind.I32 3 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_create_box : M.IsFunction "scoping_rules_raii::create_box" create_box. @@ -71,7 +71,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.I32 5 ] |) |) in let~ _ := @@ -85,7 +85,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 4 ] + [ Value.Integer IntegerKind.I32 4 ] |) |) in M.alloc (| Value.Tuple [] |) in @@ -103,7 +103,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 1000) ] + [ + ("start", Value.Integer IntegerKind.U32 0); + ("end_", Value.Integer IntegerKind.U32 1000) + ] ] |) |), @@ -155,7 +158,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_raii::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_raii_desctructor.v b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_raii_desctructor.v index eb8ff3567..84e088ee1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_raii_desctructor.v +++ b/CoqOfRust/examples/default/examples/rust_book/scoping_rules/scoping_rules_raii_desctructor.v @@ -49,7 +49,7 @@ Module Impl_core_ops_drop_Drop_for_scoping_rules_raii_desctructor_ToDrop. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93,7 +93,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scoping_rules_raii_desctructor::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/arc.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/arc.v index 547468431..777788323 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/arc.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/arc.v @@ -55,7 +55,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 10) ] + [ + ("start", Value.Integer IntegerKind.I32 0); + ("end_", Value.Integer IntegerKind.I32 10) + ] ] |) |), @@ -205,7 +208,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -224,14 +227,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.call_closure (| M.get_associated_function (| Ty.path "core::time::Duration", "from_secs", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U64 1 ] |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "arc::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/box_stack_heap.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/box_stack_heap.v index f5e6be085..377875121 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/box_stack_heap.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/box_stack_heap.v @@ -47,7 +47,7 @@ Module Impl_core_fmt_Debug_for_box_stack_heap_Point. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -73,7 +73,7 @@ Module Impl_core_clone_Clone_for_box_stack_heap_Point. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114,7 +114,7 @@ Definition origin (τ : list Ty.t) (α : list Value.t) : M := (Value.StructRecord "box_stack_heap::Point" [ ("x", M.read (| UnsupportedLiteral |)); ("y", M.read (| UnsupportedLiteral |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_origin : M.IsFunction "box_stack_heap::origin" origin. @@ -143,7 +143,7 @@ Definition boxed_origin (τ : list Ty.t) (α : list Value.t) : M := [ ("x", M.read (| UnsupportedLiteral |)); ("y", M.read (| UnsupportedLiteral |)) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_boxed_origin : M.IsFunction "box_stack_heap::boxed_origin" boxed_origin. @@ -611,7 +611,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "box_stack_heap::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map.v index 2439d6822..ad65e7c37 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map.v @@ -52,7 +52,7 @@ Definition call (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call : M.IsFunction "hash_map::call" call. @@ -579,7 +579,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "hash_map::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map_alternate_or_custom_key_types.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map_alternate_or_custom_key_types.v index e3dee0bff..59206a7cf 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map_alternate_or_custom_key_types.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map_alternate_or_custom_key_types.v @@ -78,7 +78,7 @@ Module Impl_core_cmp_PartialEq_for_hash_map_alternate_or_custom_key_types_Accoun ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -122,7 +122,7 @@ Module Impl_core_cmp_Eq_for_hash_map_alternate_or_custom_key_types_Account. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -185,7 +185,7 @@ Module Impl_core_hash_Hash_for_hash_map_alternate_or_custom_key_types_Account. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -524,7 +524,7 @@ Definition try_logon (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_logon : @@ -632,7 +632,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "hash_map_alternate_or_custom_key_types::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map_hash_set.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map_hash_set.v index a6613eb56..b4f349ecb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map_hash_set.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/hash_map_hash_set.v @@ -97,7 +97,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -160,7 +165,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 2; Value.Integer 3; Value.Integer 4 ] + Value.Array + [ + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3; + Value.Integer IntegerKind.I32 4 + ] |) ] |) @@ -181,8 +191,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "std::collections::hash::set::HashSet") @@ -190,8 +200,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "insert", [] |), - [ a; Value.Integer 4 ] - |)) + [ a; Value.Integer IntegerKind.I32 4 ] + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -214,8 +225,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "std::collections::hash::set::HashSet") @@ -223,8 +234,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "contains", [ Ty.path "i32" ] |), - [ a; M.alloc (| Value.Integer 4 |) ] - |)) + [ a; M.alloc (| Value.Integer IntegerKind.I32 4 |) ] + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -248,7 +260,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "insert", [] |), - [ b; Value.Integer 5 ] + [ b; Value.Integer IntegerKind.I32 5 ] |) |) in let~ _ := @@ -669,7 +681,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "hash_map_hash_set::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/option.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/option.v index 50497edad..4c31b1c4f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/option.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/option.v @@ -25,7 +25,10 @@ Definition checked_division (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| divisor |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| divisor |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |))); fun γ => @@ -33,12 +36,12 @@ Definition checked_division (τ : list Ty.t) (α : list Value.t) : M := (M.alloc (| Value.StructTuple "core::option::Option::Some" - [ BinOp.Wrap.div Integer.I32 (M.read (| dividend |)) (M.read (| divisor |)) ] + [ BinOp.Wrap.div (| M.read (| dividend |), M.read (| divisor |) |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_checked_division : M.IsFunction "option::checked_division" checked_division. @@ -193,7 +196,7 @@ Definition try_division (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_try_division : M.IsFunction "option::try_division" try_division. @@ -229,14 +232,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| M.call_closure (| M.get_function (| "option::try_division", [] |), - [ Value.Integer 4; Value.Integer 2 ] + [ Value.Integer IntegerKind.I32 4; Value.Integer IntegerKind.I32 2 ] |) |) in let~ _ := M.alloc (| M.call_closure (| M.get_function (| "option::try_division", [] |), - [ Value.Integer 1; Value.Integer 0 ] + [ Value.Integer IntegerKind.I32 1; Value.Integer IntegerKind.I32 0 ] |) |) in let~ none := M.alloc (| Value.StructTuple "core::option::Option::None" [] |) in @@ -367,7 +370,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "option::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/panic.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/panic.v index 3b1a1e4e5..dfe01f2d3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/panic.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/panic.v @@ -24,7 +24,10 @@ Definition division (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| divisor |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| divisor |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -39,13 +42,11 @@ Definition division (τ : list Ty.t) (α : list Value.t) : M := |))); fun γ => ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div Integer.I32 (M.read (| dividend |)) (M.read (| divisor |)) - |))) + (M.alloc (| BinOp.Wrap.div (| M.read (| dividend |), M.read (| divisor |) |) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_division : M.IsFunction "panic::division" division. @@ -78,14 +79,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.I32 0 ] |) |) in let~ _ := M.alloc (| M.call_closure (| M.get_function (| "panic::division", [] |), - [ Value.Integer 3; Value.Integer 0 ] + [ Value.Integer IntegerKind.I32 3; Value.Integer IntegerKind.I32 0 ] |) |) in let~ _ := @@ -111,7 +112,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "panic::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/rc.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/rc.v index a68d90828..11744ad7b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/rc.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/rc.v @@ -586,7 +586,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "rc::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/result.err b/CoqOfRust/examples/default/examples/rust_book/std_library_types/result.err index 1b1d19d2d..e69de29bb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/result.err +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/result.err @@ -1,10 +0,0 @@ -warning: Expected an integer type for the parameters - --> examples/rust_book/std_library_types/result.rs:19:16 - | -19 | Ok(x / y) - | ^^^^^ - | - = note: Please report 🙏 - -warning: 1 warning emitted - diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/result.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/result.v index f72bd2034..5d4374e23 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/result.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/result.v @@ -74,7 +74,7 @@ Module checked. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -118,7 +118,7 @@ Module checked. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| y |)) (M.read (| UnsupportedLiteral |)) + BinOp.eq (| M.read (| y |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -131,12 +131,12 @@ Module checked. (M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ BinOp.Wrap.div Integer.Usize (M.read (| x |)) (M.read (| y |)) ] + [ BinOp.Wrap.div (| M.read (| x |), M.read (| y |) |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_div : M.IsFunction "result::checked::div" div. @@ -164,7 +164,7 @@ Module checked. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| x |)) (M.read (| UnsupportedLiteral |)) + BinOp.lt (| M.read (| x |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -187,7 +187,7 @@ Module checked. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sqrt : M.IsFunction "result::checked::sqrt" sqrt. @@ -215,7 +215,7 @@ Module checked. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| x |)) (M.read (| UnsupportedLiteral |)) + BinOp.le (| M.read (| x |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -238,7 +238,7 @@ Module checked. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ln : M.IsFunction "result::checked::ln" ln. @@ -454,7 +454,7 @@ Definition op (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_op : M.IsFunction "result::op" op. @@ -519,7 +519,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "result::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/result_chaining_with_question_mark.err b/CoqOfRust/examples/default/examples/rust_book/std_library_types/result_chaining_with_question_mark.err index e0db4ba5a..e69de29bb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/result_chaining_with_question_mark.err +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/result_chaining_with_question_mark.err @@ -1,10 +0,0 @@ -warning: Expected an integer type for the parameters - --> examples/rust_book/std_library_types/result_chaining_with_question_mark.rs:15:16 - | -15 | Ok(x / y) - | ^^^^^ - | - = note: Please report 🙏 - -warning: 1 warning emitted - diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/result_chaining_with_question_mark.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/result_chaining_with_question_mark.v index c300fc69e..b96137330 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/result_chaining_with_question_mark.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/result_chaining_with_question_mark.v @@ -77,7 +77,7 @@ Module checked. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -118,7 +118,7 @@ Module checked. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| y |)) (M.read (| UnsupportedLiteral |)) + BinOp.eq (| M.read (| y |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -135,12 +135,12 @@ Module checked. (M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ BinOp.Wrap.div Integer.Usize (M.read (| x |)) (M.read (| y |)) ] + [ BinOp.Wrap.div (| M.read (| x |), M.read (| y |) |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_div : M.IsFunction "result_chaining_with_question_mark::checked::div" div. @@ -168,7 +168,7 @@ Module checked. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| x |)) (M.read (| UnsupportedLiteral |)) + BinOp.lt (| M.read (| x |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -195,7 +195,7 @@ Module checked. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sqrt : M.IsFunction "result_chaining_with_question_mark::checked::sqrt" sqrt. @@ -223,7 +223,7 @@ Module checked. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| x |)) (M.read (| UnsupportedLiteral |)) + BinOp.le (| M.read (| x |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -250,7 +250,7 @@ Module checked. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ln : M.IsFunction "result_chaining_with_question_mark::checked::ln" ln. @@ -449,7 +449,7 @@ Module checked. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_op_ : M.IsFunction "result_chaining_with_question_mark::checked::op_" op_. @@ -580,7 +580,7 @@ Module checked. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_op : M.IsFunction "result_chaining_with_question_mark::checked::op" op. @@ -605,7 +605,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "result_chaining_with_question_mark::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings.v index 71c805d4f..cc4b36e4b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings.v @@ -567,7 +567,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "strings::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_byte_strings_as_non_utf8.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_byte_strings_as_non_utf8.v index 9c3aa6bc6..4284f8fbf 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_byte_strings_as_non_utf8.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_byte_strings_as_non_utf8.v @@ -349,7 +349,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "strings_byte_strings_as_non_utf8::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_literals_and_escapes.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_literals_and_escapes.v index ba7fc92ce..0ad436317 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_literals_and_escapes.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_literals_and_escapes.v @@ -166,7 +166,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "strings_literals_and_escapes::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_raw_string_literals.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_raw_string_literals.v index b9187ed0e..0dba49927 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_raw_string_literals.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/strings_raw_string_literals.v @@ -139,7 +139,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "strings_raw_string_literals::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_library_types/vectors.v b/CoqOfRust/examples/default/examples/rust_book/std_library_types/vectors.v index 83c1802ed..479380635 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_library_types/vectors.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_library_types/vectors.v @@ -75,7 +75,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 10) ] + [ + ("start", Value.Integer IntegerKind.I32 0); + ("end_", Value.Integer IntegerKind.I32 10) + ] ] |) |) in @@ -148,7 +151,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -231,7 +239,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "push", [] |), - [ xs; Value.Integer 4 ] + [ xs; Value.Integer IntegerKind.I32 4 ] |) |) in let~ _ := @@ -369,7 +377,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "index", [] |), - [ xs; Value.Integer 1 ] + [ xs; Value.Integer IntegerKind.Usize 1 ] |) ] |) @@ -811,7 +819,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let β := M.read (| x |) in M.write (| β, - BinOp.Wrap.mul Integer.I32 (M.read (| β |)) (Value.Integer 3) + BinOp.Wrap.mul (| + M.read (| β |), + Value.Integer IntegerKind.I32 3 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -866,7 +877,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "vectors::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v index 00edf88dc..e2fdcfba1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v @@ -2,7 +2,7 @@ Require Import CoqOfRust.CoqOfRust. Definition value_NTHREADS : Value.t := - M.run ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer 3 |) |))). + M.run ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.I32 3 |) |))). (* fn main() { @@ -98,7 +98,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.I32 0); ("end_", M.read (| M.read (| M.get_constant (| "channels::NTHREADS" |) |) @@ -288,7 +288,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |) @@ -355,7 +356,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.I32 0); ("end_", M.read (| M.read (| M.get_constant (| "channels::NTHREADS" |) |) @@ -615,7 +616,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "channels::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes.v index 5694641f3..32c8b87de 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes.v @@ -119,7 +119,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -305,7 +305,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "child_processes::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes_pipes.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes_pipes.v index c22d09206..745fa4493 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes_pipes.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes_pipes.v @@ -404,7 +404,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "child_processes_pipes::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes_wait.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes_wait.v index 19ea07f0c..94d997a3a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes_wait.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/child_processes_wait.v @@ -94,7 +94,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "child_processes_wait::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_create.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_create.v index 2f83bddb3..c3739f30b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_create.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_create.v @@ -259,7 +259,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "file_io_create::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_open.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_open.v index 08db86307..ab7438a8d 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_open.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_open.v @@ -258,7 +258,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "file_io_open::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_read_lines.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_read_lines.v index ab196976a..a651260f4 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_read_lines.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_read_lines.v @@ -68,7 +68,7 @@ Definition read_lines (τ : list Ty.t) (α : list Value.t) : M := |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read_lines : M.IsFunction "file_io_read_lines::read_lines" read_lines. @@ -234,7 +234,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "file_io_read_lines::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_read_lines_efficient_method.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_read_lines_efficient_method.v index 54be5385e..3ed3f3087 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_read_lines_efficient_method.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/file_io_read_lines_efficient_method.v @@ -130,7 +130,7 @@ Definition read_lines (τ : list Ty.t) (α : list Value.t) : M := |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read_lines : @@ -313,7 +313,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "file_io_read_lines_efficient_method::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/filesystem_operations.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/filesystem_operations.v index 180e4dac0..b1e693e56 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/filesystem_operations.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/filesystem_operations.v @@ -134,7 +134,7 @@ Definition cat (τ : list Ty.t) (α : list Value.t) : M := |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_cat : M.IsFunction "filesystem_operations::cat" cat. @@ -251,7 +251,7 @@ Definition echo (τ : list Ty.t) (α : list Value.t) : M := |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_echo : M.IsFunction "filesystem_operations::echo" echo. @@ -320,7 +320,7 @@ Definition touch (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_touch : M.IsFunction "filesystem_operations::touch" touch. @@ -608,7 +608,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -725,7 +725,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -848,7 +848,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -990,7 +990,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1483,7 +1483,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1598,14 +1598,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "filesystem_operations::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/foreign_function_interface.err b/CoqOfRust/examples/default/examples/rust_book/std_misc/foreign_function_interface.err index d4d86113c..e69de29bb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/foreign_function_interface.err +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/foreign_function_interface.err @@ -1,10 +0,0 @@ -warning: Expected an integer type for the parameters - --> examples/rust_book/std_misc/foreign_function_interface.rs:43:42 - | -43 | write!(f, "{}-{}i", self.re, -self.im) - | ^^^^^^^^ - | - = note: Please report 🙏 - -warning: 1 warning emitted - diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/foreign_function_interface.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/foreign_function_interface.v index a8938619a..fedfa074e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/foreign_function_interface.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/foreign_function_interface.v @@ -23,7 +23,7 @@ Definition cos (τ : list Ty.t) (α : list Value.t) : M := M.get_function (| "foreign_function_interface::ccosf", [] |), [ M.read (| z |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_cos : M.IsFunction "foreign_function_interface::cos" cos. @@ -167,7 +167,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "foreign_function_interface::main" main. @@ -194,7 +194,7 @@ Module Impl_core_clone_Clone_for_foreign_function_interface_Complex. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -239,15 +239,16 @@ Module Impl_core_fmt_Debug_for_foreign_function_interface_Complex. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "foreign_function_interface::Complex", "im" |) - |)) - (M.read (| UnsupportedLiteral |)) + |), + M.read (| UnsupportedLiteral |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -303,8 +304,7 @@ Module Impl_core_fmt_Debug_for_foreign_function_interface_Complex. |), [ M.alloc (| - UnOp.Panic.neg (| - Integer.Usize, + UnOp.neg (| M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -394,7 +394,7 @@ Module Impl_core_fmt_Debug_for_foreign_function_interface_Complex. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/path.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/path.v index 8ef357e59..24cf83792 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/path.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/path.v @@ -197,7 +197,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "path::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/program_arguments.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/program_arguments.v index 8ec7fafea..bb3f97884 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/program_arguments.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/program_arguments.v @@ -80,7 +80,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "index", [] |), - [ args; Value.Integer 0 ] + [ args; Value.Integer IntegerKind.Usize 0 ] |) ] |) @@ -125,9 +125,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -139,8 +138,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ args ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |) ] |); @@ -181,7 +181,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := args; Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) |) @@ -197,7 +197,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "program_arguments::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/program_arguments_parsing.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/program_arguments_parsing.v index 082af8819..fd43b0c62 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/program_arguments_parsing.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/program_arguments_parsing.v @@ -41,10 +41,10 @@ Definition increase (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Wrap.add - Integer.I32 - (M.read (| number |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| number |), + Value.Integer IntegerKind.I32 1 + |) |) ] |) @@ -58,7 +58,7 @@ Definition increase (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_increase : M.IsFunction "program_arguments_parsing::increase" increase. @@ -103,10 +103,10 @@ Definition decrease (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Wrap.sub - Integer.I32 - (M.read (| number |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| number |), + Value.Integer IntegerKind.I32 1 + |) |) ] |) @@ -120,7 +120,7 @@ Definition decrease (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_decrease : M.IsFunction "program_arguments_parsing::decrease" decrease. @@ -174,7 +174,7 @@ match_args {increase|decrease} M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_help : M.IsFunction "program_arguments_parsing::help" help. @@ -264,7 +264,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 1 + |) in let~ _ := let~ _ := M.alloc (| @@ -299,7 +303,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 2 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 2 + |) in M.match_operator (| M.alloc (| M.call_closure (| @@ -327,7 +335,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "index", [] |), - [ args; Value.Integer 1 ] + [ args; Value.Integer IntegerKind.Usize 1 ] |) ] |) @@ -346,7 +354,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let _ := M.is_constant_or_break_match (| M.read (| γ0_0 |), - Value.Integer 42 + Value.Integer IntegerKind.I32 42 |) in let~ _ := M.alloc (| @@ -405,7 +413,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 3 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.Usize 3 + |) in let~ cmd := M.alloc (| M.call_closure (| @@ -418,7 +430,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "index", [] |), - [ args; Value.Integer 1 ] + [ args; Value.Integer IntegerKind.Usize 1 ] |) |) in let~ num := @@ -433,7 +445,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "index", [] |), - [ args; Value.Integer 2 ] + [ args; Value.Integer IntegerKind.Usize 2 ] |) |) in let~ number := @@ -626,7 +638,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "program_arguments_parsing::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v index 367d37a39..dbc56a8e1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v @@ -1,7 +1,8 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition value_NTHREADS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). +Definition value_NTHREADS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10 |))). (* fn main() { @@ -58,7 +59,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.U32 0); ("end_", M.read (| M.get_constant (| "threads::NTHREADS" |) |)) ] ] @@ -199,7 +200,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -293,7 +294,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "threads::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads_test_case_map_reduce.v b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads_test_case_map_reduce.v index 0fbb67595..01bc61b65 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads_test_case_map_reduce.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads_test_case_map_reduce.v @@ -391,6 +391,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := c |); Value.Integer + IntegerKind.U32 10 ] |); @@ -403,8 +404,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -489,7 +490,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -611,7 +612,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -660,7 +661,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "threads_test_case_map_reduce::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/testing/documentation_testing.v b/CoqOfRust/examples/default/examples/rust_book/testing/documentation_testing.v index 58d64a2e5..3a7e7b5a4 100644 --- a/CoqOfRust/examples/default/examples/rust_book/testing/documentation_testing.v +++ b/CoqOfRust/examples/default/examples/rust_book/testing/documentation_testing.v @@ -12,8 +12,8 @@ Definition add (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let a := M.alloc (| a |) in let b := M.alloc (| b |) in - BinOp.Wrap.add Integer.I32 (M.read (| a |)) (M.read (| b |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_add : M.IsFunction "documentation_testing::add" add. @@ -41,7 +41,10 @@ Definition div (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.eq (M.read (| b |)) (Value.Integer 0) |)) in + M.use + (M.alloc (| + BinOp.eq (| M.read (| b |), Value.Integer IntegerKind.I32 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| @@ -57,9 +60,9 @@ Definition div (τ : list Ty.t) (α : list Value.t) : M := fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - M.alloc (| BinOp.Wrap.div Integer.I32 (M.read (| a |)) (M.read (| b |)) |) + M.alloc (| BinOp.Wrap.div (| M.read (| a |), M.read (| b |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_div : M.IsFunction "documentation_testing::div" div. diff --git a/CoqOfRust/examples/default/examples/rust_book/testing/unit_testing.v b/CoqOfRust/examples/default/examples/rust_book/testing/unit_testing.v index 3cd0e808b..8269a65fe 100644 --- a/CoqOfRust/examples/default/examples/rust_book/testing/unit_testing.v +++ b/CoqOfRust/examples/default/examples/rust_book/testing/unit_testing.v @@ -12,8 +12,8 @@ Definition add (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let a := M.alloc (| a |) in let b := M.alloc (| b |) in - BinOp.Wrap.add Integer.I32 (M.read (| a |)) (M.read (| b |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| M.read (| a |), M.read (| b |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_add : M.IsFunction "unit_testing::add" add. @@ -29,8 +29,8 @@ Definition bad_add (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (let a := M.alloc (| a |) in let b := M.alloc (| b |) in - BinOp.Wrap.sub Integer.I32 (M.read (| a |)) (M.read (| b |)))) - | _, _ => M.impossible + BinOp.Wrap.sub (| M.read (| a |), M.read (| b |) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bad_add : M.IsFunction "unit_testing::bad_add" bad_add. @@ -54,10 +54,10 @@ Module tests. M.alloc (| M.call_closure (| M.get_function (| "unit_testing::add", [] |), - [ Value.Integer 1; Value.Integer 2 ] + [ Value.Integer IntegerKind.I32 1; Value.Integer IntegerKind.I32 2 ] |) |); - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.I32 3 |) ] |), [ @@ -75,10 +75,12 @@ Module tests. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -113,7 +115,7 @@ Module tests. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_test_add : M.IsFunction "unit_testing::tests::test_add'1" test_add. @@ -138,10 +140,10 @@ Module tests. M.alloc (| M.call_closure (| M.get_function (| "unit_testing::bad_add", [] |), - [ Value.Integer 1; Value.Integer 2 ] + [ Value.Integer IntegerKind.I32 1; Value.Integer IntegerKind.I32 2 ] |) |); - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.I32 3 |) ] |), [ @@ -159,10 +161,12 @@ Module tests. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -197,7 +201,7 @@ Module tests. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_test_bad_add : M.IsFunction "unit_testing::tests::test_bad_add'1" test_bad_add. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/clone.v b/CoqOfRust/examples/default/examples/rust_book/traits/clone.v index 789ada5e4..caf7ae0de 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/clone.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/clone.v @@ -22,7 +22,7 @@ Module Impl_core_fmt_Debug_for_clone_Unit. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "Unit" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -43,7 +43,7 @@ Module Impl_core_clone_Clone_for_clone_Unit. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109,7 +109,7 @@ Module Impl_core_clone_Clone_for_clone_Pair. [ M.SubPointer.get_struct_tuple_field (| M.read (| self |), "clone::Pair", 1 |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -149,7 +149,7 @@ Module Impl_core_fmt_Debug_for_clone_Pair. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -291,7 +291,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.I32 1 ] |); M.call_closure (| M.get_associated_function (| @@ -301,7 +301,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ Value.Integer 2 ] + [ Value.Integer IntegerKind.I32 2 ] |) ] |) in @@ -434,7 +434,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "clone::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/derive.err b/CoqOfRust/examples/default/examples/rust_book/traits/derive.err index dac78221a..e69de29bb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/derive.err +++ b/CoqOfRust/examples/default/examples/rust_book/traits/derive.err @@ -1,10 +0,0 @@ -warning: Expected an integer type for the parameters - --> examples/rust_book/traits/derive.rs:13:21 - | -13 | Centimeters(inches as f64 * 2.54) - | ^^^^^^^^^^^^^^^^^^^^ - | - = note: Please report 🙏 - -warning: 1 warning emitted - diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/derive.v b/CoqOfRust/examples/default/examples/rust_book/traits/derive.v index 61ad0a5cb..e057737b3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/derive.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/derive.v @@ -29,14 +29,15 @@ Module Impl_core_cmp_PartialEq_for_derive_Centimeters. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "derive::Centimeters", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "derive::Centimeters", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -70,7 +71,7 @@ Module Impl_core_cmp_PartialOrd_for_derive_Centimeters. M.SubPointer.get_struct_tuple_field (| M.read (| other |), "derive::Centimeters", 0 |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -114,7 +115,7 @@ Module Impl_core_fmt_Debug_for_derive_Inches. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -153,16 +154,16 @@ Module Impl_derive_Inches. Value.StructTuple "derive::Centimeters" [ - BinOp.Wrap.mul - Integer.Usize - (M.rust_cast (M.read (| inches |))) - (M.read (| UnsupportedLiteral |)) + BinOp.Wrap.mul (| + M.rust_cast (M.read (| inches |)), + M.read (| UnsupportedLiteral |) + |) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_centimeters : @@ -208,8 +209,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ _one_second := M.alloc (| Value.StructTuple "derive::Seconds" [ Value.Integer 1 ] |) in - let~ foot := M.alloc (| Value.StructTuple "derive::Inches" [ Value.Integer 12 ] |) in + let~ _one_second := + M.alloc (| Value.StructTuple "derive::Seconds" [ Value.Integer IntegerKind.I32 1 ] |) in + let~ foot := + M.alloc (| Value.StructTuple "derive::Inches" [ Value.Integer IntegerKind.I32 12 ] |) in let~ _ := let~ _ := M.alloc (| @@ -335,7 +338,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "derive::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/disambiguating_overlapping_traits.v b/CoqOfRust/examples/default/examples/rust_book/traits/disambiguating_overlapping_traits.v index bea650ce8..85af813d7 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/disambiguating_overlapping_traits.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/disambiguating_overlapping_traits.v @@ -43,7 +43,7 @@ Module Impl_disambiguating_overlapping_traits_UsernameWidget_for_disambiguating_ |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74,7 +74,7 @@ Module Impl_disambiguating_overlapping_traits_AgeWidget_for_disambiguating_overl "age" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -124,7 +124,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.read (| Value.String "rustacean" |) ] |)); - ("age", Value.Integer 28) + ("age", Value.Integer IntegerKind.U8 28) ] |) in let~ username := @@ -175,8 +175,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.path "alloc::string::String", @@ -185,7 +185,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -236,7 +237,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ M.alloc (| Value.Integer 28 |); age ] |), + M.alloc (| Value.Tuple [ M.alloc (| Value.Integer IntegerKind.U8 28 |); age ] |), [ fun γ => ltac:(M.monadic @@ -252,10 +253,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -290,7 +293,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "disambiguating_overlapping_traits::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/drop.v b/CoqOfRust/examples/default/examples/rust_book/traits/drop.v index d7dfbd1a2..94e921192 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/drop.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/drop.v @@ -70,7 +70,7 @@ Module Impl_core_ops_drop_Drop_for_drop_Droppable. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -263,7 +263,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "drop::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/hash.v b/CoqOfRust/examples/default/examples/rust_book/traits/hash.v index abb7e0b31..dab625ffa 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/hash.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/hash.v @@ -69,7 +69,7 @@ Module Impl_core_hash_Hash_for_hash_Person. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -126,7 +126,7 @@ Definition calculate_hash (τ : list Ty.t) (α : list Value.t) : M := |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calculate_hash : M.IsFunction "hash::calculate_hash" calculate_hash. @@ -157,7 +157,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := Value.StructRecord "hash::Person" [ - ("id", Value.Integer 5); + ("id", Value.Integer IntegerKind.U32 5); ("name", M.call_closure (| M.get_trait_method (| @@ -169,7 +169,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.read (| Value.String "Janet" |) ] |)); - ("phone", Value.Integer 5556667777) + ("phone", Value.Integer IntegerKind.U64 5556667777) ] |) in let~ person2 := @@ -177,7 +177,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := Value.StructRecord "hash::Person" [ - ("id", Value.Integer 5); + ("id", Value.Integer IntegerKind.U32 5); ("name", M.call_closure (| M.get_trait_method (| @@ -189,7 +189,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.read (| Value.String "Bob" |) ] |)); - ("phone", Value.Integer 5556667777) + ("phone", Value.Integer IntegerKind.U64 5556667777) ] |) in let~ _ := @@ -201,22 +201,24 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.ne - (M.call_closure (| + UnOp.not (| + BinOp.ne (| + M.call_closure (| M.get_function (| "hash::calculate_hash", [ Ty.path "hash::Person" ] |), [ person1 ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "hash::calculate_hash", [ Ty.path "hash::Person" ] |), [ person2 ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -237,7 +239,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "hash::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/impl_trait_as_return_type.v b/CoqOfRust/examples/default/examples/rust_book/traits/impl_trait_as_return_type.v index 19d91a9d7..74ec1190e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/impl_trait_as_return_type.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/impl_trait_as_return_type.v @@ -76,7 +76,7 @@ Definition combine_vecs_explicit_return_type (τ : list Ty.t) (α : list Value.t |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_combine_vecs_explicit_return_type : @@ -156,7 +156,7 @@ Definition combine_vecs (τ : list Ty.t) (α : list Value.t) : M := |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_combine_vecs : M.IsFunction "impl_trait_as_return_type::combine_vecs" combine_vecs. @@ -208,7 +208,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 2; Value.Integer 3 ] + Value.Array + [ + Value.Integer IntegerKind.I32 1; + Value.Integer IntegerKind.I32 2; + Value.Integer IntegerKind.I32 3 + ] |) ] |) @@ -239,7 +244,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new", [] |), - [ M.alloc (| Value.Array [ Value.Integer 4; Value.Integer 5 ] |) ] + [ + M.alloc (| + Value.Array + [ Value.Integer IntegerKind.I32 4; Value.Integer IntegerKind.I32 5 ] + |) + ] |) |)) ] @@ -257,7 +267,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [ - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 1 ] |); + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I32 1 ] + |); M.alloc (| M.call_closure (| M.get_trait_method (| @@ -287,8 +301,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ], @@ -298,7 +312,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -339,7 +354,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [ - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 2 ] |); + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I32 2 ] + |); M.alloc (| M.call_closure (| M.get_trait_method (| @@ -369,8 +388,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ], @@ -380,7 +399,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -421,7 +441,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [ - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 3 ] |); + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I32 3 ] + |); M.alloc (| M.call_closure (| M.get_trait_method (| @@ -451,8 +475,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ], @@ -462,7 +486,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -503,7 +528,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [ - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 4 ] |); + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I32 4 ] + |); M.alloc (| M.call_closure (| M.get_trait_method (| @@ -533,8 +562,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ], @@ -544,7 +573,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -585,7 +615,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [ - M.alloc (| Value.StructTuple "core::option::Option::Some" [ Value.Integer 5 ] |); + M.alloc (| + Value.StructTuple + "core::option::Option::Some" + [ Value.Integer IntegerKind.I32 5 ] + |); M.alloc (| M.call_closure (| M.get_trait_method (| @@ -615,8 +649,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply (Ty.path "core::option::Option") [ Ty.path "i32" ], @@ -626,7 +660,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -683,7 +718,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "impl_trait_as_return_type::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/iterators.v b/CoqOfRust/examples/default/examples/rust_book/traits/iterators.v index 134f9b2f4..49130e33e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/iterators.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/iterators.v @@ -62,20 +62,20 @@ Module Impl_core_iter_traits_iterator_Iterator_for_iterators_Fibonacci. "iterators::Fibonacci", "next" |), - BinOp.Wrap.add - Integer.U32 - (M.read (| current |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| current |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "iterators::Fibonacci", "next" |) - |)) + |) + |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| current |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,8 +97,8 @@ Definition fibonacci (τ : list Ty.t) (α : list Value.t) : M := ltac:(M.monadic (Value.StructRecord "iterators::Fibonacci" - [ ("curr", Value.Integer 0); ("next", Value.Integer 1) ])) - | _, _ => M.impossible + [ ("curr", Value.Integer IntegerKind.U32 0); ("next", Value.Integer IntegerKind.U32 1) ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_fibonacci : M.IsFunction "iterators::fibonacci" fibonacci. @@ -151,7 +151,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 3) ] + [ + ("start", Value.Integer IntegerKind.I32 0); + ("end_", Value.Integer IntegerKind.I32 3) + ] |) in let~ _ := let~ _ := @@ -420,7 +423,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 3) ] + [ + ("start", Value.Integer IntegerKind.I32 0); + ("end_", Value.Integer IntegerKind.I32 3) + ] ] |) |), @@ -561,7 +567,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.call_closure (| M.get_function (| "iterators::fibonacci", [] |), [] |); - Value.Integer 4 + Value.Integer IntegerKind.Usize 4 ] |) ] @@ -724,10 +730,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.get_function (| "iterators::fibonacci", [] |), [] |); - Value.Integer 4 + Value.Integer IntegerKind.Usize 4 ] |); - Value.Integer 4 + Value.Integer IntegerKind.Usize 4 ] |) ] @@ -827,7 +833,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |)) in let~ array := M.alloc (| - Value.Array [ Value.Integer 1; Value.Integer 3; Value.Integer 3; Value.Integer 7 ] + Value.Array + [ + Value.Integer IntegerKind.U32 1; + Value.Integer IntegerKind.U32 3; + Value.Integer IntegerKind.U32 3; + Value.Integer IntegerKind.U32 7 + ] |) in let~ _ := let~ _ := @@ -983,7 +995,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "iterators::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/operator_overloading.v b/CoqOfRust/examples/default/examples/rust_book/traits/operator_overloading.v index 7ffb14d6f..de41f69a4 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/operator_overloading.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/operator_overloading.v @@ -36,7 +36,7 @@ Module Impl_core_fmt_Debug_for_operator_overloading_FooBar. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "FooBar" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -68,7 +68,7 @@ Module Impl_core_fmt_Debug_for_operator_overloading_BarFoo. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "BarFoo" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -126,7 +126,7 @@ Module Impl_core_ops_arith_Add_operator_overloading_Bar_for_operator_overloading M.alloc (| Value.Tuple [] |) in M.alloc (| Value.StructTuple "operator_overloading::FooBar" [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -184,7 +184,7 @@ Module Impl_core_ops_arith_Add_operator_overloading_Foo_for_operator_overloading M.alloc (| Value.Tuple [] |) in M.alloc (| Value.StructTuple "operator_overloading::BarFoo" [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -320,7 +320,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "operator_overloading::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/returning_traits_with_dyn.v b/CoqOfRust/examples/default/examples/rust_book/traits/returning_traits_with_dyn.v index 86856e7d2..a4cef3cf0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/returning_traits_with_dyn.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/returning_traits_with_dyn.v @@ -32,7 +32,7 @@ Module Impl_returning_traits_with_dyn_Animal_for_returning_traits_with_dyn_Sheep ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "baaaaah!" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -57,7 +57,7 @@ Module Impl_returning_traits_with_dyn_Animal_for_returning_traits_with_dyn_Cow. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| Value.String "moooooo!" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95,9 +95,7 @@ Definition random_animal (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| random_number |)) - (M.read (| UnsupportedLiteral |)) + BinOp.lt (| M.read (| random_number |), M.read (| UnsupportedLiteral |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -141,7 +139,7 @@ Definition random_animal (τ : list Ty.t) (α : list Value.t) : M := ] |) |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_random_animal : @@ -227,7 +225,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "returning_traits_with_dyn::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/supertraits.v b/CoqOfRust/examples/default/examples/rust_book/traits/supertraits.v index c993748ab..f528176e1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/supertraits.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/supertraits.v @@ -147,7 +147,7 @@ Definition comp_sci_student_greeting (τ : list Ty.t) (α : list Value.t) : M := |) in res |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_comp_sci_student_greeting : @@ -155,6 +155,9 @@ Axiom Function_comp_sci_student_greeting : (* fn main() {} *) Definition main (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_main : M.IsFunction "supertraits::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/traits.v b/CoqOfRust/examples/default/examples/rust_book/traits/traits.v index 8b924e33f..323a8a8cb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/traits.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/traits.v @@ -93,7 +93,7 @@ Module Animal. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_talk : M.IsProvidedMethod "traits::Animal" "talk" talk. @@ -115,7 +115,7 @@ Module Impl_traits_Sheep. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "traits::Sheep", "naked" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_naked : M.IsAssociatedFunction Self "is_naked" is_naked. @@ -274,7 +274,7 @@ Module Impl_traits_Sheep. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_shear : M.IsAssociatedFunction Self "shear" shear. @@ -299,7 +299,7 @@ Module Impl_traits_Animal_for_traits_Sheep. Value.StructRecord "traits::Sheep" [ ("name", M.read (| name |)); ("naked", Value.Bool false) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -315,7 +315,7 @@ Module Impl_traits_Animal_for_traits_Sheep. M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "traits::Sheep", "name" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -352,7 +352,7 @@ Module Impl_traits_Animal_for_traits_Sheep. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -437,7 +437,7 @@ Module Impl_traits_Animal_for_traits_Sheep. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -501,7 +501,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "traits::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/traits_parms.v b/CoqOfRust/examples/default/examples/rust_book/traits/traits_parms.v index 69d70dcad..3a2276a91 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/traits_parms.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/traits_parms.v @@ -49,7 +49,10 @@ Module Impl_traits_parms_SomeTrait_for_traits_parms_SomeOtherType. (* fn some_fn() {} *) Definition some_fn (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Implements : M.IsTraitInstance diff --git a/CoqOfRust/examples/default/examples/rust_book/types/aliasing.v b/CoqOfRust/examples/default/examples/rust_book/types/aliasing.v index 891f64712..2866671c1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/types/aliasing.v +++ b/CoqOfRust/examples/default/examples/rust_book/types/aliasing.v @@ -28,8 +28,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ nanoseconds := M.copy (| M.use (M.alloc (| Value.Integer 5 |)) |) in - let~ inches := M.copy (| M.use (M.alloc (| Value.Integer 2 |)) |) in + let~ nanoseconds := M.copy (| M.use (M.alloc (| Value.Integer IntegerKind.U64 5 |)) |) in + let~ inches := M.copy (| M.use (M.alloc (| Value.Integer IntegerKind.U64 2 |)) |) in let~ _ := let~ _ := M.alloc (| @@ -80,10 +80,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Wrap.add - Integer.U64 - (M.read (| nanoseconds |)) - (M.read (| inches |)) + BinOp.Wrap.add (| + M.read (| nanoseconds |), + M.read (| inches |) + |) |) ] |) @@ -97,7 +97,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "aliasing::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/types/casting.v b/CoqOfRust/examples/default/examples/rust_book/types/casting.v index cc2a1d2ec..569ac6319 100644 --- a/CoqOfRust/examples/default/examples/rust_book/types/casting.v +++ b/CoqOfRust/examples/default/examples/rust_book/types/casting.v @@ -177,7 +177,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "u16" ] |), - [ M.use (M.alloc (| Value.Integer 1000 |)) ] + [ M.use (M.alloc (| Value.Integer IntegerKind.U16 1000 |)) ] |) ] |)) @@ -217,7 +217,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "u8" ] |), - [ M.use (M.alloc (| Value.Integer 1000 |)) ] + [ M.use (M.alloc (| Value.Integer IntegerKind.U8 1000 |)) ] |) ] |)) @@ -257,7 +257,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "u8" ] |), - [ M.alloc (| M.rust_cast (Value.Integer (-1)) |) ] + [ M.alloc (| M.rust_cast (Value.Integer IntegerKind.I8 (-1)) |) ] |) ] |)) @@ -299,10 +299,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |), [ M.alloc (| - BinOp.Wrap.rem - Integer.I32 - (Value.Integer 1000) - (Value.Integer 256) + BinOp.Wrap.rem (| + Value.Integer IntegerKind.I32 1000, + Value.Integer IntegerKind.I32 256 + |) |) ] |) @@ -344,7 +344,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "i16" ] |), - [ M.use (M.alloc (| Value.Integer 128 |)) ] + [ M.use (M.alloc (| Value.Integer IntegerKind.I16 128 |)) ] |) ] |)) @@ -384,7 +384,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "i8" ] |), - [ M.use (M.alloc (| Value.Integer 128 |)) ] + [ M.use (M.alloc (| Value.Integer IntegerKind.I8 128 |)) ] |) ] |)) @@ -424,7 +424,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "u8" ] |), - [ M.use (M.alloc (| Value.Integer 1000 |)) ] + [ M.use (M.alloc (| Value.Integer IntegerKind.U8 1000 |)) ] |) ] |)) @@ -464,7 +464,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := "new_display", [ Ty.path "i8" ] |), - [ M.use (M.alloc (| Value.Integer 232 |)) ] + [ M.use (M.alloc (| Value.Integer IntegerKind.I8 232 |)) ] |) ] |)) @@ -753,7 +753,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "casting::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/types/inference.v b/CoqOfRust/examples/default/examples/rust_book/types/inference.v index 21d943ee3..ca4dae340 100644 --- a/CoqOfRust/examples/default/examples/rust_book/types/inference.v +++ b/CoqOfRust/examples/default/examples/rust_book/types/inference.v @@ -24,7 +24,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ elem := M.alloc (| Value.Integer 5 |) in + let~ elem := M.alloc (| Value.Integer IntegerKind.U8 5 |) in let~ vec := M.alloc (| M.call_closure (| @@ -94,7 +94,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inference::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/types/literals.v b/CoqOfRust/examples/default/examples/rust_book/types/literals.v index bf3d75896..5c9acf9c1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/types/literals.v +++ b/CoqOfRust/examples/default/examples/rust_book/types/literals.v @@ -25,10 +25,10 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 1 |) in - let~ y := M.alloc (| Value.Integer 2 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U8 1 |) in + let~ y := M.alloc (| Value.Integer IntegerKind.U32 2 |) in let~ z := M.copy (| UnsupportedLiteral |) in - let~ i := M.alloc (| Value.Integer 1 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ f := M.copy (| UnsupportedLiteral |) in let~ _ := let~ _ := @@ -282,7 +282,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "literals::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/calling_unsafe_functions.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/calling_unsafe_functions.v index cca47ef5b..12b8866f9 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/calling_unsafe_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/calling_unsafe_functions.v @@ -46,7 +46,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [ M.alloc (| Value.Array - [ Value.Integer 1; Value.Integer 2; Value.Integer 3; Value.Integer 4 ] + [ + Value.Integer IntegerKind.U32 1; + Value.Integer IntegerKind.U32 2; + Value.Integer IntegerKind.U32 3; + Value.Integer IntegerKind.U32 4 + ] |) ] |) @@ -122,8 +127,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "core::cmp::PartialEq", Ty.apply @@ -138,7 +143,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := [] |), [ M.read (| left_val |); M.read (| right_val |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -180,7 +186,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "calling_unsafe_functions::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly.v index c96e16016..1c88d3b67 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly.v @@ -18,7 +18,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_clobbered_registers.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_clobbered_registers.v index be7240225..6a30f503f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_clobbered_registers.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_clobbered_registers.v @@ -41,7 +41,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ name_buf := M.alloc (| repeat (Value.Integer 0) 12 |) in + let~ name_buf := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 12 |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in @@ -106,7 +106,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_clobbered_registers::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_explicit_register_operands.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_explicit_register_operands.v index d8c35c64e..c184b7989 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_explicit_register_operands.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_explicit_register_operands.v @@ -16,11 +16,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ cmd := M.alloc (| Value.Integer 209 |) in + let~ cmd := M.alloc (| Value.Integer IntegerKind.I32 209 |) in let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_explicit_register_operands::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_implemented.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_implemented.v index 19aa91fe3..7b2a67a55 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_implemented.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_implemented.v @@ -18,14 +18,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ a := M.alloc (| Value.Integer 4 |) in - let~ b := M.alloc (| Value.Integer 4 |) in + let~ a := M.alloc (| Value.Integer IntegerKind.U64 4 |) in + let~ b := M.alloc (| Value.Integer IntegerKind.U64 4 |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ a; M.alloc (| Value.Integer 8 |) ] |), + M.alloc (| Value.Tuple [ a; M.alloc (| Value.Integer IntegerKind.U64 8 |) ] |), [ fun γ => ltac:(M.monadic @@ -41,10 +41,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -79,7 +81,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_inlateout_case_implemented::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_non_used.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_non_used.v index 346f4b10d..41caaecd9 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_non_used.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_non_used.v @@ -25,15 +25,15 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ a := M.alloc (| Value.Integer 4 |) in - let~ b := M.alloc (| Value.Integer 4 |) in - let~ c := M.alloc (| Value.Integer 4 |) in + let~ a := M.alloc (| Value.Integer IntegerKind.U64 4 |) in + let~ b := M.alloc (| Value.Integer IntegerKind.U64 4 |) in + let~ c := M.alloc (| Value.Integer IntegerKind.U64 4 |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ a; M.alloc (| Value.Integer 12 |) ] |), + M.alloc (| Value.Tuple [ a; M.alloc (| Value.Integer IntegerKind.U64 12 |) ] |), [ fun γ => ltac:(M.monadic @@ -49,10 +49,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -87,7 +89,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_inlateout_case_non_used::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_mul.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_mul.v index a1f00a8e5..adb9b6e59 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_mul.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inlateout_mul.v @@ -25,7 +25,10 @@ fn main() { } *) Definition main (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_main : M.IsFunction "inline_assembly_inlateout_mul::main" main. @@ -62,13 +65,13 @@ Module main. let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in M.alloc (| - BinOp.Wrap.add - Integer.U128 - (BinOp.Wrap.shl (M.rust_cast (M.read (| hi |))) (Value.Integer 64)) - (M.rust_cast (M.read (| lo |))) + BinOp.Wrap.add (| + BinOp.Wrap.shl (| M.rust_cast (M.read (| hi |)), Value.Integer IntegerKind.I32 64 |), + M.rust_cast (M.read (| lo |)) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mul : M.IsFunction "inline_assembly_inlateout_mul::main::mul" mul. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inout.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inout.v index f59fb1575..96bcb9e1f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inout.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inout.v @@ -18,14 +18,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 3 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U64 3 |) in let~ y := M.copy (| Value.DeclaredButUndefined |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ y; M.alloc (| Value.Integer 8 |) ] |), + M.alloc (| Value.Tuple [ y; M.alloc (| Value.Integer IntegerKind.U64 8 |) ] |), [ fun γ => ltac:(M.monadic @@ -41,10 +41,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -79,7 +81,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_inout::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs.v index b7b02fd1c..71dccb257 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs.v @@ -23,7 +23,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ x; M.alloc (| Value.Integer 5 |) ] |), + M.alloc (| Value.Tuple [ x; M.alloc (| Value.Integer IntegerKind.U64 5 |) ] |), [ fun γ => ltac:(M.monadic @@ -39,10 +39,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -77,7 +79,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_inputs_and_outputs::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example.v index 755aa2c49..b5f9acfc9 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example.v @@ -23,14 +23,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ i := M.alloc (| Value.Integer 3 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.U64 3 |) in let~ o := M.copy (| Value.DeclaredButUndefined |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ o; M.alloc (| Value.Integer 8 |) ] |), + M.alloc (| Value.Tuple [ o; M.alloc (| Value.Integer IntegerKind.U64 8 |) ] |), [ fun γ => ltac:(M.monadic @@ -46,10 +46,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -84,7 +86,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_inputs_and_outputs_another_example::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example_without_mov.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example_without_mov.v index 05a00a588..ae134da62 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example_without_mov.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example_without_mov.v @@ -17,13 +17,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 3 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U64 3 |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ x; M.alloc (| Value.Integer 8 |) ] |), + M.alloc (| Value.Tuple [ x; M.alloc (| Value.Integer IntegerKind.U64 8 |) ] |), [ fun γ => ltac:(M.monadic @@ -39,10 +39,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -77,7 +79,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_labels.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_labels.v index b1a11169f..6d4e52399 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_labels.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_labels.v @@ -27,13 +27,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ a := M.alloc (| Value.Integer 0 |) in + let~ a := M.alloc (| Value.Integer IntegerKind.I32 0 |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ a; M.alloc (| Value.Integer 5 |) ] |), + M.alloc (| Value.Tuple [ a; M.alloc (| Value.Integer IntegerKind.I32 5 |) ] |), [ fun γ => ltac:(M.monadic @@ -49,10 +49,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -87,7 +89,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_labels::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_memory_address_operands.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_memory_address_operands.v index 5672ab8dd..fe4b6be75 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_memory_address_operands.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_memory_address_operands.v @@ -13,7 +13,10 @@ fn main() { } *) Definition main (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_main : M.IsFunction "inline_assembly_memory_address_operands::main" main. @@ -34,7 +37,7 @@ Module main. let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_load_fpu_control_word : diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_options.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_options.v index f1ae6e462..15f0a58ca 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_options.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_options.v @@ -22,14 +22,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ a := M.alloc (| Value.Integer 4 |) in - let~ b := M.alloc (| Value.Integer 4 |) in + let~ a := M.alloc (| Value.Integer IntegerKind.U64 4 |) in + let~ b := M.alloc (| Value.Integer IntegerKind.U64 4 |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ a; M.alloc (| Value.Integer 8 |) ] |), + M.alloc (| Value.Tuple [ a; M.alloc (| Value.Integer IntegerKind.U64 8 |) ] |), [ fun γ => ltac:(M.monadic @@ -45,10 +45,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -83,7 +85,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_options::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_register_template_modifiers.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_register_template_modifiers.v index db5acb5e5..3975b718a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_register_template_modifiers.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_register_template_modifiers.v @@ -19,13 +19,13 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 171 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U16 171 |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ x; M.alloc (| Value.Integer 43947 |) ] |), + M.alloc (| Value.Tuple [ x; M.alloc (| Value.Integer IntegerKind.U16 43947 |) ] |), [ fun γ => ltac:(M.monadic @@ -41,10 +41,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -79,7 +81,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_register_template_modifiers::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_scratch_register.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_scratch_register.v index 24ef96b98..450f87677 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_scratch_register.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_scratch_register.v @@ -25,7 +25,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ x := M.alloc (| Value.Integer 4 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U64 4 |) in let~ _ := let~ _ := InlineAssembly in M.alloc (| Value.Tuple [] |) in @@ -33,7 +33,15 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.match_operator (| M.alloc (| Value.Tuple - [ x; M.alloc (| BinOp.Wrap.mul Integer.U64 (Value.Integer 4) (Value.Integer 6) |) ] + [ + x; + M.alloc (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 4, + Value.Integer IntegerKind.U64 6 + |) + |) + ] |), [ fun γ => @@ -50,10 +58,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -88,7 +98,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "inline_assembly_scratch_register::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_symbol_operands_and_abi_clobbers.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_symbol_operands_and_abi_clobbers.v index 58d176ff6..90064acd2 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_symbol_operands_and_abi_clobbers.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/inline_assembly_symbol_operands_and_abi_clobbers.v @@ -31,7 +31,10 @@ fn main() { } *) Definition main (τ : list Ty.t) (α : list Value.t) : M := - match τ, α with | [], [] => ltac:(M.monadic (Value.Tuple [])) | _, _ => M.impossible end. + match τ, α with + | [], [] => ltac:(M.monadic (Value.Tuple [])) + | _, _ => M.impossible "wrong number of arguments" + end. Axiom Function_main : M.IsFunction "inline_assembly_symbol_operands_and_abi_clobbers::main" main. @@ -85,9 +88,9 @@ Module main. |) |) in M.alloc (| Value.Tuple [] |) in - M.alloc (| BinOp.Wrap.mul Integer.I32 (M.read (| arg |)) (Value.Integer 2) |) + M.alloc (| BinOp.Wrap.mul (| M.read (| arg |), Value.Integer IntegerKind.I32 2 |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_foo : @@ -123,7 +126,7 @@ Module main. let~ _ := InlineAssembly in result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call_foo : diff --git a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/raw_pointers.v b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/raw_pointers.v index a886ba0f1..7bd7a6ba7 100644 --- a/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/raw_pointers.v +++ b/CoqOfRust/examples/default/examples/rust_book/unsafe_operations/raw_pointers.v @@ -15,7 +15,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ raw_p := M.alloc (| M.alloc (| Value.Integer 10 |) |) in + let~ raw_p := M.alloc (| M.alloc (| Value.Integer IntegerKind.U32 10 |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -25,8 +25,12 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq (M.read (| M.read (| raw_p |) |)) (Value.Integer 10)) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| raw_p |) |), + Value.Integer IntegerKind.U32 10 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -42,7 +46,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "raw_pointers::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/declare_first.v b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/declare_first.v index 886ad0b02..6d503d187 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/declare_first.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/declare_first.v @@ -33,9 +33,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := (M.read (| let~ a_binding := M.copy (| Value.DeclaredButUndefined |) in let~ _ := - let~ x := M.alloc (| Value.Integer 2 |) in - let~ _ := - M.write (| a_binding, BinOp.Wrap.mul Integer.I32 (M.read (| x |)) (M.read (| x |)) |) in + let~ x := M.alloc (| Value.Integer IntegerKind.I32 2 |) in + let~ _ := M.write (| a_binding, BinOp.Wrap.mul (| M.read (| x |), M.read (| x |) |) |) in M.alloc (| Value.Tuple [] |) in let~ _ := let~ _ := @@ -76,7 +75,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) in M.alloc (| Value.Tuple [] |) in let~ another_binding := M.copy (| Value.DeclaredButUndefined |) in - let~ _ := M.write (| another_binding, Value.Integer 1 |) in + let~ _ := M.write (| another_binding, Value.Integer IntegerKind.I32 1 |) in let~ _ := let~ _ := M.alloc (| @@ -119,7 +118,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "declare_first::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/freezing.v b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/freezing.v index 8f6168a39..9cf438e53 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/freezing.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/freezing.v @@ -25,14 +25,14 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ _mutable_integer := M.alloc (| Value.Integer 7 |) in + let~ _mutable_integer := M.alloc (| Value.Integer IntegerKind.I32 7 |) in let~ _ := let~ _mutable_integer := M.copy (| _mutable_integer |) in M.alloc (| Value.Tuple [] |) in - let~ _ := M.write (| _mutable_integer, Value.Integer 3 |) in + let~ _ := M.write (| _mutable_integer, Value.Integer IntegerKind.I32 3 |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "freezing::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/mutability.v b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/mutability.v index b297c64f5..abca99ffe 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/mutability.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/mutability.v @@ -23,8 +23,8 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ _immutable_binding := M.alloc (| Value.Integer 1 |) in - let~ mutable_binding := M.alloc (| Value.Integer 1 |) in + let~ _immutable_binding := M.alloc (| Value.Integer IntegerKind.I32 1 |) in + let~ mutable_binding := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := let~ _ := M.alloc (| @@ -67,7 +67,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in let~ _ := let β := mutable_binding in - M.write (| β, BinOp.Wrap.add Integer.I32 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.I32 1 |) |) in let~ _ := let~ _ := M.alloc (| @@ -110,7 +110,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "mutability::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/scope.v b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/scope.v index 0613d6444..75a8ab754 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/scope.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/scope.v @@ -27,9 +27,9 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ long_lived_binding := M.alloc (| Value.Integer 1 |) in + let~ long_lived_binding := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := - let~ short_lived_binding := M.alloc (| Value.Integer 2 |) in + let~ short_lived_binding := M.alloc (| Value.Integer IntegerKind.I32 2 |) in let~ _ := let~ _ := M.alloc (| @@ -113,7 +113,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "scope::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/variable_bindings.v b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/variable_bindings.v index c749cae22..62f8f4fb3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/variable_bindings.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/variable_bindings.v @@ -28,7 +28,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ an_integer := M.alloc (| Value.Integer 1 |) in + let~ an_integer := M.alloc (| Value.Integer IntegerKind.U32 1 |) in let~ a_boolean := M.alloc (| Value.Bool true |) in let~ unit_ := M.alloc (| Value.Tuple [] |) in let~ copied_integer := M.copy (| an_integer |) in @@ -150,11 +150,11 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| Value.Tuple [] |) in - let~ _unused_variable := M.alloc (| Value.Integer 3 |) in - let~ _noisy_unused_variable := M.alloc (| Value.Integer 2 |) in + let~ _unused_variable := M.alloc (| Value.Integer IntegerKind.U32 3 |) in + let~ _noisy_unused_variable := M.alloc (| Value.Integer IntegerKind.U32 2 |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "variable_bindings::main" main. diff --git a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/variable_shadowing.v b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/variable_shadowing.v index 4ea31df4b..a2b22cd79 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/variable_shadowing.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/variable_shadowing.v @@ -25,7 +25,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := | [], [] => ltac:(M.monadic (M.read (| - let~ shadowed_binding := M.alloc (| Value.Integer 1 |) in + let~ shadowed_binding := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := let~ _ := let~ _ := @@ -149,7 +149,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := |) |) in M.alloc (| Value.Tuple [] |) in - let~ shadowed_binding := M.alloc (| Value.Integer 2 |) in + let~ shadowed_binding := M.alloc (| Value.Integer IntegerKind.I32 2 |) in let~ _ := let~ _ := M.alloc (| @@ -192,7 +192,7 @@ Definition main (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_main : M.IsFunction "variable_shadowing::main" main. diff --git a/CoqOfRust/examples/default/examples/subtle.v b/CoqOfRust/examples/default/examples/subtle.v index f76ebcbd4..06570a3b1 100644 --- a/CoqOfRust/examples/default/examples/subtle.v +++ b/CoqOfRust/examples/default/examples/subtle.v @@ -30,7 +30,7 @@ Module Impl_core_clone_Clone_for_subtle_Choice. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -67,7 +67,7 @@ Module Impl_core_fmt_Debug_for_subtle_Choice. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -94,7 +94,7 @@ Module Impl_subtle_Choice. M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "subtle::Choice", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_u8 : M.IsAssociatedFunction Self "unwrap_u8" unwrap_u8. @@ -132,26 +132,29 @@ Module Impl_core_convert_From_subtle_Choice_for_bool. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.bit_or - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.bit_or + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| source, "subtle::Choice", 0 |) - |)) - (Value.Integer 0)) - (BinOp.Pure.eq - (M.read (| + |), + Value.Integer IntegerKind.U8 0 + |)) + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| source, "subtle::Choice", 0 |) - |)) - (Value.Integer 1))) + |), + Value.Integer IntegerKind.U8 1 + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -179,12 +182,13 @@ Module Impl_core_convert_From_subtle_Choice_for_bool. ] |) in M.alloc (| - BinOp.Pure.ne - (M.read (| M.SubPointer.get_struct_tuple_field (| source, "subtle::Choice", 0 |) |)) - (Value.Integer 0) + BinOp.ne (| + M.read (| M.SubPointer.get_struct_tuple_field (| source, "subtle::Choice", 0 |) |), + Value.Integer IntegerKind.U8 0 + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -221,12 +225,12 @@ Module Impl_core_ops_bit_BitAnd_for_subtle_Choice. [] |), [ - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| M.SubPointer.get_struct_tuple_field (| self, "subtle::Choice", 0 |) |)) (M.read (| M.SubPointer.get_struct_tuple_field (| rhs, "subtle::Choice", 0 |) |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -269,7 +273,7 @@ Module Impl_core_ops_bit_BitAndAssign_for_subtle_Choice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -306,12 +310,12 @@ Module Impl_core_ops_bit_BitOr_for_subtle_Choice. [] |), [ - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| M.SubPointer.get_struct_tuple_field (| self, "subtle::Choice", 0 |) |)) (M.read (| M.SubPointer.get_struct_tuple_field (| rhs, "subtle::Choice", 0 |) |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -354,7 +358,7 @@ Module Impl_core_ops_bit_BitOrAssign_for_subtle_Choice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -391,12 +395,12 @@ Module Impl_core_ops_bit_BitXor_for_subtle_Choice. [] |), [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_struct_tuple_field (| self, "subtle::Choice", 0 |) |)) (M.read (| M.SubPointer.get_struct_tuple_field (| rhs, "subtle::Choice", 0 |) |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -439,7 +443,7 @@ Module Impl_core_ops_bit_BitXorAssign_for_subtle_Choice. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -475,13 +479,14 @@ Module Impl_core_ops_bit_Not_for_subtle_Choice. [] |), [ - BinOp.Pure.bit_and - (Value.Integer 1) - (UnOp.Pure.not - (M.read (| M.SubPointer.get_struct_tuple_field (| self, "subtle::Choice", 0 |) |))) + BinOp.bit_and + (Value.Integer IntegerKind.U8 1) + (UnOp.not (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "subtle::Choice", 0 |) |) + |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -532,10 +537,17 @@ Definition black_box (τ : list Ty.t) (α : list Value.t) : M := (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.bit_or - (BinOp.Pure.eq (M.read (| input |)) (Value.Integer 0)) - (BinOp.Pure.eq (M.read (| input |)) (Value.Integer 1))) + UnOp.not (| + BinOp.bit_or + (BinOp.eq (| + M.read (| input |), + Value.Integer IntegerKind.U8 0 + |)) + (BinOp.eq (| + M.read (| input |), + Value.Integer IntegerKind.U8 1 + |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -566,7 +578,7 @@ Definition black_box (τ : list Ty.t) (α : list Value.t) : M := |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_black_box : M.IsFunction "subtle::black_box" black_box. @@ -594,7 +606,7 @@ Module Impl_core_convert_From_u8_for_subtle_Choice. [ M.read (| input |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -622,7 +634,7 @@ Module ConstantTimeEq. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_ct_ne : M.IsProvidedMethod "subtle::ConstantTimeEq" "ct_ne" ct_ne. @@ -678,16 +690,17 @@ Module Impl_subtle_ConstantTimeEq_where_subtle_ConstantTimeEq_T_for_slice_T. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| len |)) - (M.call_closure (| + BinOp.ne (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ T ], "len", [] |), [ M.read (| _rhs |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -703,7 +716,7 @@ Module Impl_subtle_ConstantTimeEq_where_subtle_ConstantTimeEq_T_for_slice_T. "from", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.U8 0 ] |) |) |) @@ -712,7 +725,7 @@ Module Impl_subtle_ConstantTimeEq_where_subtle_ConstantTimeEq_T_for_slice_T. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ x := M.alloc (| Value.Integer 1 |) in + let~ x := M.alloc (| Value.Integer IntegerKind.U8 1 |) in let~ _ := M.use (M.match_operator (| @@ -810,7 +823,7 @@ Module Impl_subtle_ConstantTimeEq_where_subtle_ConstantTimeEq_T_for_slice_T. let β := x in M.write (| β, - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| β |)) (M.call_closure (| M.get_associated_function (| @@ -855,7 +868,7 @@ Module Impl_subtle_ConstantTimeEq_where_subtle_ConstantTimeEq_T_for_slice_T. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -896,7 +909,7 @@ Module Impl_subtle_ConstantTimeEq_for_subtle_Choice. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -945,14 +958,18 @@ Module Impl_subtle_ConstantTimeEq_for_u8. |) in let~ y := M.alloc (| - BinOp.Wrap.shr - (BinOp.Pure.bit_or + BinOp.Wrap.shr (| + BinOp.bit_or (M.read (| x |)) (M.call_closure (| M.get_associated_function (| Ty.path "u8", "wrapping_neg", [] |), [ M.read (| x |) ] - |))) - (BinOp.Wrap.sub Integer.I32 (Value.Integer 8) (Value.Integer 1)) + |)), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 8, + Value.Integer IntegerKind.I32 1 + |) + |) |) in M.alloc (| M.call_closure (| @@ -967,16 +984,16 @@ Module Impl_subtle_ConstantTimeEq_for_u8. M.read (| M.use (M.alloc (| - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| y |)) - (M.read (| M.use (M.alloc (| Value.Integer 1 |)) |)) + (M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U8 1 |)) |)) |)) |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1009,7 +1026,7 @@ Module Impl_subtle_ConstantTimeEq_for_i8. M.alloc (| M.rust_cast (M.read (| M.read (| other |) |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1058,14 +1075,18 @@ Module Impl_subtle_ConstantTimeEq_for_u16. |) in let~ y := M.alloc (| - BinOp.Wrap.shr - (BinOp.Pure.bit_or + BinOp.Wrap.shr (| + BinOp.bit_or (M.read (| x |)) (M.call_closure (| M.get_associated_function (| Ty.path "u16", "wrapping_neg", [] |), [ M.read (| x |) ] - |))) - (BinOp.Wrap.sub Integer.I32 (Value.Integer 16) (Value.Integer 1)) + |)), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 16, + Value.Integer IntegerKind.I32 1 + |) + |) |) in M.alloc (| M.call_closure (| @@ -1078,14 +1099,14 @@ Module Impl_subtle_ConstantTimeEq_for_u16. |), [ M.rust_cast - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| y |)) - (M.read (| M.use (M.alloc (| Value.Integer 1 |)) |))) + (M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U16 1 |)) |))) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1118,7 +1139,7 @@ Module Impl_subtle_ConstantTimeEq_for_i16. M.alloc (| M.rust_cast (M.read (| M.read (| other |) |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1167,14 +1188,18 @@ Module Impl_subtle_ConstantTimeEq_for_u32. |) in let~ y := M.alloc (| - BinOp.Wrap.shr - (BinOp.Pure.bit_or + BinOp.Wrap.shr (| + BinOp.bit_or (M.read (| x |)) (M.call_closure (| M.get_associated_function (| Ty.path "u32", "wrapping_neg", [] |), [ M.read (| x |) ] - |))) - (BinOp.Wrap.sub Integer.I32 (Value.Integer 32) (Value.Integer 1)) + |)), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 32, + Value.Integer IntegerKind.I32 1 + |) + |) |) in M.alloc (| M.call_closure (| @@ -1187,14 +1212,14 @@ Module Impl_subtle_ConstantTimeEq_for_u32. |), [ M.rust_cast - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| y |)) - (M.read (| M.use (M.alloc (| Value.Integer 1 |)) |))) + (M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U32 1 |)) |))) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1227,7 +1252,7 @@ Module Impl_subtle_ConstantTimeEq_for_i32. M.alloc (| M.rust_cast (M.read (| M.read (| other |) |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1276,14 +1301,18 @@ Module Impl_subtle_ConstantTimeEq_for_u64. |) in let~ y := M.alloc (| - BinOp.Wrap.shr - (BinOp.Pure.bit_or + BinOp.Wrap.shr (| + BinOp.bit_or (M.read (| x |)) (M.call_closure (| M.get_associated_function (| Ty.path "u64", "wrapping_neg", [] |), [ M.read (| x |) ] - |))) - (BinOp.Wrap.sub Integer.I32 (Value.Integer 64) (Value.Integer 1)) + |)), + BinOp.Wrap.sub (| + Value.Integer IntegerKind.I32 64, + Value.Integer IntegerKind.I32 1 + |) + |) |) in M.alloc (| M.call_closure (| @@ -1296,14 +1325,14 @@ Module Impl_subtle_ConstantTimeEq_for_u64. |), [ M.rust_cast - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| y |)) - (M.read (| M.use (M.alloc (| Value.Integer 1 |)) |))) + (M.read (| M.use (M.alloc (| Value.Integer IntegerKind.U64 1 |)) |))) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1336,7 +1365,7 @@ Module Impl_subtle_ConstantTimeEq_for_i64. M.alloc (| M.rust_cast (M.read (| M.read (| other |) |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1385,23 +1414,24 @@ Module Impl_subtle_ConstantTimeEq_for_usize. |) in let~ y := M.alloc (| - BinOp.Wrap.shr - (BinOp.Pure.bit_or + BinOp.Wrap.shr (| + BinOp.bit_or (M.read (| x |)) (M.call_closure (| M.get_associated_function (| Ty.path "usize", "wrapping_neg", [] |), [ M.read (| x |) ] - |))) - (BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (M.call_closure (| + |)), + BinOp.Wrap.sub (| + BinOp.Wrap.mul (| + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "usize" ] |), [] - |)) - (Value.Integer 8)) - (Value.Integer 1)) + |), + Value.Integer IntegerKind.Usize 8 + |), + Value.Integer IntegerKind.Usize 1 + |) + |) |) in M.alloc (| M.call_closure (| @@ -1414,14 +1444,14 @@ Module Impl_subtle_ConstantTimeEq_for_usize. |), [ M.rust_cast - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| y |)) - (M.read (| M.use (M.alloc (| Value.Integer 1 |)) |))) + (M.read (| M.use (M.alloc (| Value.Integer IntegerKind.Usize 1 |)) |))) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1454,7 +1484,7 @@ Module Impl_subtle_ConstantTimeEq_for_isize. M.alloc (| M.rust_cast (M.read (| M.read (| other |) |)) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1491,7 +1521,7 @@ Module ConditionallySelectable. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_conditional_assign : @@ -1533,7 +1563,7 @@ Module ConditionallySelectable. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_conditional_swap : @@ -1562,8 +1592,7 @@ Module Impl_subtle_ConditionallySelectable_for_u8. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I8, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -1582,7 +1611,7 @@ Module Impl_subtle_ConditionallySelectable_for_u8. |), [ M.read (| a |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) (M.call_closure (| M.get_trait_method (| @@ -1598,7 +1627,7 @@ Module Impl_subtle_ConditionallySelectable_for_u8. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1620,8 +1649,7 @@ Module Impl_subtle_ConditionallySelectable_for_u8. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I8, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -1633,17 +1661,17 @@ Module Impl_subtle_ConditionallySelectable_for_u8. let β := M.read (| self |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1667,8 +1695,7 @@ Module Impl_subtle_ConditionallySelectable_for_u8. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I8, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -1678,19 +1705,19 @@ Module Impl_subtle_ConditionallySelectable_for_u8. |) in let~ t := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) + (BinOp.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) |) in let~ _ := let β := M.read (| a |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in let~ _ := let β := M.read (| b |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1729,8 +1756,7 @@ Module Impl_subtle_ConditionallySelectable_for_i8. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I8, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -1750,7 +1776,7 @@ Module Impl_subtle_ConditionallySelectable_for_i8. |), [ M.read (| a |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) (M.call_closure (| M.get_trait_method (| @@ -1766,7 +1792,7 @@ Module Impl_subtle_ConditionallySelectable_for_i8. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1789,8 +1815,7 @@ Module Impl_subtle_ConditionallySelectable_for_i8. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I8, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -1803,17 +1828,17 @@ Module Impl_subtle_ConditionallySelectable_for_i8. let β := M.read (| self |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1838,8 +1863,7 @@ Module Impl_subtle_ConditionallySelectable_for_i8. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I8, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -1850,19 +1874,19 @@ Module Impl_subtle_ConditionallySelectable_for_i8. |) in let~ t := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) + (BinOp.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) |) in let~ _ := let β := M.read (| a |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in let~ _ := let β := M.read (| b |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1900,8 +1924,7 @@ Module Impl_subtle_ConditionallySelectable_for_u16. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I16, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -1920,7 +1943,7 @@ Module Impl_subtle_ConditionallySelectable_for_u16. |), [ M.read (| a |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) (M.call_closure (| M.get_trait_method (| @@ -1936,7 +1959,7 @@ Module Impl_subtle_ConditionallySelectable_for_u16. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1958,8 +1981,7 @@ Module Impl_subtle_ConditionallySelectable_for_u16. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I16, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -1971,17 +1993,17 @@ Module Impl_subtle_ConditionallySelectable_for_u16. let β := M.read (| self |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2005,8 +2027,7 @@ Module Impl_subtle_ConditionallySelectable_for_u16. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I16, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2016,19 +2037,19 @@ Module Impl_subtle_ConditionallySelectable_for_u16. |) in let~ t := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) + (BinOp.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) |) in let~ _ := let β := M.read (| a |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in let~ _ := let β := M.read (| b |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2067,8 +2088,7 @@ Module Impl_subtle_ConditionallySelectable_for_i16. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I16, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2088,7 +2108,7 @@ Module Impl_subtle_ConditionallySelectable_for_i16. |), [ M.read (| a |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) (M.call_closure (| M.get_trait_method (| @@ -2104,7 +2124,7 @@ Module Impl_subtle_ConditionallySelectable_for_i16. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2127,8 +2147,7 @@ Module Impl_subtle_ConditionallySelectable_for_i16. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I16, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2141,17 +2160,17 @@ Module Impl_subtle_ConditionallySelectable_for_i16. let β := M.read (| self |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2176,8 +2195,7 @@ Module Impl_subtle_ConditionallySelectable_for_i16. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I16, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2188,19 +2206,19 @@ Module Impl_subtle_ConditionallySelectable_for_i16. |) in let~ t := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) + (BinOp.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) |) in let~ _ := let β := M.read (| a |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in let~ _ := let β := M.read (| b |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2238,8 +2256,7 @@ Module Impl_subtle_ConditionallySelectable_for_u32. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I32, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2258,7 +2275,7 @@ Module Impl_subtle_ConditionallySelectable_for_u32. |), [ M.read (| a |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) (M.call_closure (| M.get_trait_method (| @@ -2274,7 +2291,7 @@ Module Impl_subtle_ConditionallySelectable_for_u32. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2296,8 +2313,7 @@ Module Impl_subtle_ConditionallySelectable_for_u32. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I32, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2309,17 +2325,17 @@ Module Impl_subtle_ConditionallySelectable_for_u32. let β := M.read (| self |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2343,8 +2359,7 @@ Module Impl_subtle_ConditionallySelectable_for_u32. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I32, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2354,19 +2369,19 @@ Module Impl_subtle_ConditionallySelectable_for_u32. |) in let~ t := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) + (BinOp.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) |) in let~ _ := let β := M.read (| a |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in let~ _ := let β := M.read (| b |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2405,8 +2420,7 @@ Module Impl_subtle_ConditionallySelectable_for_i32. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I32, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2426,7 +2440,7 @@ Module Impl_subtle_ConditionallySelectable_for_i32. |), [ M.read (| a |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) (M.call_closure (| M.get_trait_method (| @@ -2442,7 +2456,7 @@ Module Impl_subtle_ConditionallySelectable_for_i32. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2465,8 +2479,7 @@ Module Impl_subtle_ConditionallySelectable_for_i32. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I32, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2479,17 +2492,17 @@ Module Impl_subtle_ConditionallySelectable_for_i32. let β := M.read (| self |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2514,8 +2527,7 @@ Module Impl_subtle_ConditionallySelectable_for_i32. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I32, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2526,19 +2538,19 @@ Module Impl_subtle_ConditionallySelectable_for_i32. |) in let~ t := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) + (BinOp.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) |) in let~ _ := let β := M.read (| a |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in let~ _ := let β := M.read (| b |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2576,8 +2588,7 @@ Module Impl_subtle_ConditionallySelectable_for_u64. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I64, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2596,7 +2607,7 @@ Module Impl_subtle_ConditionallySelectable_for_u64. |), [ M.read (| a |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) (M.call_closure (| M.get_trait_method (| @@ -2612,7 +2623,7 @@ Module Impl_subtle_ConditionallySelectable_for_u64. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2634,8 +2645,7 @@ Module Impl_subtle_ConditionallySelectable_for_u64. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I64, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2647,17 +2657,17 @@ Module Impl_subtle_ConditionallySelectable_for_u64. let β := M.read (| self |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2681,8 +2691,7 @@ Module Impl_subtle_ConditionallySelectable_for_u64. let~ mask := M.alloc (| M.rust_cast - (UnOp.Panic.neg (| - Integer.I64, + (UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2692,19 +2701,19 @@ Module Impl_subtle_ConditionallySelectable_for_u64. |) in let~ t := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) + (BinOp.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) |) in let~ _ := let β := M.read (| a |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in let~ _ := let β := M.read (| b |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2743,8 +2752,7 @@ Module Impl_subtle_ConditionallySelectable_for_i64. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I64, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2764,7 +2772,7 @@ Module Impl_subtle_ConditionallySelectable_for_i64. |), [ M.read (| a |); - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) (M.call_closure (| M.get_trait_method (| @@ -2780,7 +2788,7 @@ Module Impl_subtle_ConditionallySelectable_for_i64. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2803,8 +2811,7 @@ Module Impl_subtle_ConditionallySelectable_for_i64. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I64, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2817,17 +2824,17 @@ Module Impl_subtle_ConditionallySelectable_for_i64. let β := M.read (| self |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_and + (BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.read (| self |) |)) (M.read (| M.read (| other |) |)))) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2852,8 +2859,7 @@ Module Impl_subtle_ConditionallySelectable_for_i64. M.copy (| M.use (M.alloc (| - UnOp.Panic.neg (| - Integer.I64, + UnOp.neg (| M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", [] |), @@ -2864,19 +2870,19 @@ Module Impl_subtle_ConditionallySelectable_for_i64. |) in let~ t := M.alloc (| - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| mask |)) - (BinOp.Pure.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) + (BinOp.bit_xor (M.read (| M.read (| a |) |)) (M.read (| M.read (| b |) |))) |) in let~ _ := let β := M.read (| a |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in let~ _ := let β := M.read (| b |) in - M.write (| β, BinOp.Pure.bit_xor (M.read (| β |)) (M.read (| t |)) |) in + M.write (| β, BinOp.bit_xor (M.read (| β |)) (M.read (| t |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2925,7 +2931,7 @@ Module Impl_subtle_ConditionallySelectable_for_subtle_Choice. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2985,7 +2991,7 @@ Module Impl_subtle_ConditionallyNegatable_where_subtle_ConditionallySelectable_T |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3046,7 +3052,7 @@ Module Impl_core_clone_Clone_where_core_clone_Clone_T_for_subtle_CtOption_T. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3110,7 +3116,7 @@ Module Impl_core_fmt_Debug_where_core_fmt_Debug_T_for_subtle_CtOption_T. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3149,8 +3155,8 @@ Module Impl_core_convert_From_subtle_CtOption_T_for_core_option_Option_T. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "subtle::Choice", "unwrap_u8", @@ -3168,8 +3174,9 @@ Module Impl_core_convert_From_subtle_CtOption_T_for_core_option_Option_T. |) |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U8 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -3190,7 +3197,7 @@ Module Impl_core_convert_From_subtle_CtOption_T_for_core_option_Option_T. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3223,7 +3230,7 @@ Module Impl_subtle_CtOption_T. Value.StructRecord "subtle::CtOption" [ ("value", M.read (| value |)); ("is_some", M.read (| is_some |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "new" (new T). @@ -3260,7 +3267,7 @@ Module Impl_subtle_CtOption_T. ] |) |); - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.U8 1 |) ] |), [ @@ -3278,10 +3285,12 @@ Module Impl_subtle_CtOption_T. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3352,7 +3361,7 @@ Module Impl_subtle_CtOption_T. |) in M.SubPointer.get_struct_record_field (| self, "subtle::CtOption", "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_expect : @@ -3390,7 +3399,7 @@ Module Impl_subtle_CtOption_T. ] |) |); - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.U8 1 |) ] |), [ @@ -3408,10 +3417,12 @@ Module Impl_subtle_CtOption_T. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3446,7 +3457,7 @@ Module Impl_subtle_CtOption_T. |) in M.SubPointer.get_struct_record_field (| self, "subtle::CtOption", "value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap : @@ -3484,7 +3495,7 @@ Module Impl_subtle_CtOption_T. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or : @@ -3534,7 +3545,7 @@ Module Impl_subtle_CtOption_T. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unwrap_or_else : @@ -3559,7 +3570,7 @@ Module Impl_subtle_CtOption_T. "is_some" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_some : @@ -3589,7 +3600,7 @@ Module Impl_subtle_CtOption_T. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_none : @@ -3671,7 +3682,7 @@ Module Impl_subtle_CtOption_T. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_map : forall (T : Ty.t), M.IsAssociatedFunction (Self T) "map" (map T). @@ -3773,7 +3784,7 @@ Module Impl_subtle_CtOption_T. |) in tmp |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_and_then : @@ -3837,7 +3848,7 @@ Module Impl_subtle_CtOption_T. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_or_else : @@ -3913,7 +3924,7 @@ Module Impl_subtle_ConditionallySelectable_where_subtle_ConditionallySelectable_ |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4047,7 +4058,7 @@ Module Impl_subtle_ConstantTimeEq_where_subtle_ConstantTimeEq_T_for_subtle_CtOpt |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4145,7 +4156,7 @@ Module Impl_subtle_ConstantTimeGreater_for_u8. ] |) |) in - let~ pow := M.alloc (| Value.Integer 1 |) in + let~ pow := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4156,23 +4167,22 @@ Module Impl_subtle_ConstantTimeGreater_for_u8. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| pow |)) (Value.Integer 8) |)) in + (M.alloc (| + BinOp.lt (| M.read (| pow |), Value.Integer IntegerKind.I32 8 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := ltb in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shr (M.read (| ltb |)) (M.read (| pow |))) + (BinOp.Wrap.shr (| M.read (| ltb |), M.read (| pow |) |)) |) in let~ _ := let β := pow in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| pow |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| pow |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -4189,10 +4199,8 @@ Module Impl_subtle_ConstantTimeGreater_for_u8. |))) |) in let~ bit := - M.alloc (| - BinOp.Pure.bit_and (M.read (| gtb |)) (UnOp.Pure.not (M.read (| ltb |))) - |) in - let~ pow := M.alloc (| Value.Integer 1 |) in + M.alloc (| BinOp.bit_and (M.read (| gtb |)) (UnOp.not (| M.read (| ltb |) |)) |) in + let~ pow := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4203,23 +4211,22 @@ Module Impl_subtle_ConstantTimeGreater_for_u8. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| pow |)) (Value.Integer 8) |)) in + (M.alloc (| + BinOp.lt (| M.read (| pow |), Value.Integer IntegerKind.I32 8 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := bit in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shr (M.read (| bit |)) (M.read (| pow |))) + (BinOp.Wrap.shr (| M.read (| bit |), M.read (| pow |) |)) |) in let~ _ := let β := pow in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| pow |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| pow |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -4246,13 +4253,16 @@ Module Impl_subtle_ConstantTimeGreater_for_u8. |), [ M.read (| - M.use (M.alloc (| BinOp.Pure.bit_and (M.read (| bit |)) (Value.Integer 1) |)) + M.use + (M.alloc (| + BinOp.bit_and (M.read (| bit |)) (Value.Integer IntegerKind.U8 1) + |)) |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4346,7 +4356,7 @@ Module Impl_subtle_ConstantTimeGreater_for_u16. ] |) |) in - let~ pow := M.alloc (| Value.Integer 1 |) in + let~ pow := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4357,23 +4367,22 @@ Module Impl_subtle_ConstantTimeGreater_for_u16. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| pow |)) (Value.Integer 16) |)) in + (M.alloc (| + BinOp.lt (| M.read (| pow |), Value.Integer IntegerKind.I32 16 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := ltb in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shr (M.read (| ltb |)) (M.read (| pow |))) + (BinOp.Wrap.shr (| M.read (| ltb |), M.read (| pow |) |)) |) in let~ _ := let β := pow in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| pow |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| pow |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -4390,10 +4399,8 @@ Module Impl_subtle_ConstantTimeGreater_for_u16. |))) |) in let~ bit := - M.alloc (| - BinOp.Pure.bit_and (M.read (| gtb |)) (UnOp.Pure.not (M.read (| ltb |))) - |) in - let~ pow := M.alloc (| Value.Integer 1 |) in + M.alloc (| BinOp.bit_and (M.read (| gtb |)) (UnOp.not (| M.read (| ltb |) |)) |) in + let~ pow := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4404,23 +4411,22 @@ Module Impl_subtle_ConstantTimeGreater_for_u16. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| pow |)) (Value.Integer 16) |)) in + (M.alloc (| + BinOp.lt (| M.read (| pow |), Value.Integer IntegerKind.I32 16 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := bit in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shr (M.read (| bit |)) (M.read (| pow |))) + (BinOp.Wrap.shr (| M.read (| bit |), M.read (| pow |) |)) |) in let~ _ := let β := pow in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| pow |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| pow |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -4445,11 +4451,11 @@ Module Impl_subtle_ConstantTimeGreater_for_u16. "from", [] |), - [ M.rust_cast (BinOp.Pure.bit_and (M.read (| bit |)) (Value.Integer 1)) ] + [ M.rust_cast (BinOp.bit_and (M.read (| bit |)) (Value.Integer IntegerKind.U16 1)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4543,7 +4549,7 @@ Module Impl_subtle_ConstantTimeGreater_for_u32. ] |) |) in - let~ pow := M.alloc (| Value.Integer 1 |) in + let~ pow := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4554,23 +4560,22 @@ Module Impl_subtle_ConstantTimeGreater_for_u32. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| pow |)) (Value.Integer 32) |)) in + (M.alloc (| + BinOp.lt (| M.read (| pow |), Value.Integer IntegerKind.I32 32 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := ltb in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shr (M.read (| ltb |)) (M.read (| pow |))) + (BinOp.Wrap.shr (| M.read (| ltb |), M.read (| pow |) |)) |) in let~ _ := let β := pow in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| pow |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| pow |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -4587,10 +4592,8 @@ Module Impl_subtle_ConstantTimeGreater_for_u32. |))) |) in let~ bit := - M.alloc (| - BinOp.Pure.bit_and (M.read (| gtb |)) (UnOp.Pure.not (M.read (| ltb |))) - |) in - let~ pow := M.alloc (| Value.Integer 1 |) in + M.alloc (| BinOp.bit_and (M.read (| gtb |)) (UnOp.not (| M.read (| ltb |) |)) |) in + let~ pow := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4601,23 +4604,22 @@ Module Impl_subtle_ConstantTimeGreater_for_u32. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| pow |)) (Value.Integer 32) |)) in + (M.alloc (| + BinOp.lt (| M.read (| pow |), Value.Integer IntegerKind.I32 32 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := bit in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shr (M.read (| bit |)) (M.read (| pow |))) + (BinOp.Wrap.shr (| M.read (| bit |), M.read (| pow |) |)) |) in let~ _ := let β := pow in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| pow |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| pow |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -4642,11 +4644,11 @@ Module Impl_subtle_ConstantTimeGreater_for_u32. "from", [] |), - [ M.rust_cast (BinOp.Pure.bit_and (M.read (| bit |)) (Value.Integer 1)) ] + [ M.rust_cast (BinOp.bit_and (M.read (| bit |)) (Value.Integer IntegerKind.U32 1)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4740,7 +4742,7 @@ Module Impl_subtle_ConstantTimeGreater_for_u64. ] |) |) in - let~ pow := M.alloc (| Value.Integer 1 |) in + let~ pow := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4751,23 +4753,22 @@ Module Impl_subtle_ConstantTimeGreater_for_u64. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| pow |)) (Value.Integer 64) |)) in + (M.alloc (| + BinOp.lt (| M.read (| pow |), Value.Integer IntegerKind.I32 64 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := ltb in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shr (M.read (| ltb |)) (M.read (| pow |))) + (BinOp.Wrap.shr (| M.read (| ltb |), M.read (| pow |) |)) |) in let~ _ := let β := pow in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| pow |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| pow |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -4784,10 +4785,8 @@ Module Impl_subtle_ConstantTimeGreater_for_u64. |))) |) in let~ bit := - M.alloc (| - BinOp.Pure.bit_and (M.read (| gtb |)) (UnOp.Pure.not (M.read (| ltb |))) - |) in - let~ pow := M.alloc (| Value.Integer 1 |) in + M.alloc (| BinOp.bit_and (M.read (| gtb |)) (UnOp.not (| M.read (| ltb |) |)) |) in + let~ pow := M.alloc (| Value.Integer IntegerKind.I32 1 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -4798,23 +4797,22 @@ Module Impl_subtle_ConstantTimeGreater_for_u64. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| pow |)) (Value.Integer 64) |)) in + (M.alloc (| + BinOp.lt (| M.read (| pow |), Value.Integer IntegerKind.I32 64 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := bit in M.write (| β, - BinOp.Pure.bit_or + BinOp.bit_or (M.read (| β |)) - (BinOp.Wrap.shr (M.read (| bit |)) (M.read (| pow |))) + (BinOp.Wrap.shr (| M.read (| bit |), M.read (| pow |) |)) |) in let~ _ := let β := pow in - M.write (| - β, - BinOp.Wrap.add Integer.I32 (M.read (| β |)) (M.read (| pow |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| pow |) |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -4839,11 +4837,11 @@ Module Impl_subtle_ConstantTimeGreater_for_u64. "from", [] |), - [ M.rust_cast (BinOp.Pure.bit_and (M.read (| bit |)) (Value.Integer 1)) ] + [ M.rust_cast (BinOp.bit_and (M.read (| bit |)) (Value.Integer IntegerKind.U64 1)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4903,7 +4901,7 @@ Module ConstantTimeLess. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_ct_lt : M.IsProvidedMethod "subtle::ConstantTimeLess" "ct_lt" ct_lt. diff --git a/CoqOfRust/lib/lib.v b/CoqOfRust/lib/lib.v index 67671f666..995905eb9 100644 --- a/CoqOfRust/lib/lib.v +++ b/CoqOfRust/lib/lib.v @@ -37,246 +37,159 @@ Definition mk_str (s : string) : M := let* pointer := M.alloc (Value.String s) in M.alloc pointer. -Module IntegerDescription. - Class C (Self : M.Integer.t) : Set := { - (** Apply the modulo operation in case of overflows. *) - normalize_wrap : Z -> Z; - min : Z; - max : Z; - }. -End IntegerDescription. - Module Integer. - Definition min (kind : Integer.t) : Z := + Definition min (kind : IntegerKind.t) : Z := match kind with - | Integer.U8 => 0 - | Integer.U16 => 0 - | Integer.U32 => 0 - | Integer.U64 => 0 - | Integer.U128 => 0 - | Integer.Usize => 0 - | Integer.I8 => -2^7 - | Integer.I16 => -2^15 - | Integer.I32 => -2^31 - | Integer.I64 => -2^63 - | Integer.I128 => -2^127 - | Integer.Isize => -2^63 + | IntegerKind.U8 => 0 + | IntegerKind.U16 => 0 + | IntegerKind.U32 => 0 + | IntegerKind.U64 => 0 + | IntegerKind.U128 => 0 + | IntegerKind.Usize => 0 + | IntegerKind.I8 => -2^7 + | IntegerKind.I16 => -2^15 + | IntegerKind.I32 => -2^31 + | IntegerKind.I64 => -2^63 + | IntegerKind.I128 => -2^127 + | IntegerKind.Isize => -2^63 end. - Definition max (kind : Integer.t) : Z := + Definition max (kind : IntegerKind.t) : Z := match kind with - | Integer.U8 => 2^8 - 1 - | Integer.U16 => 2^16 - 1 - | Integer.U32 => 2^32 - 1 - | Integer.U64 => 2^64 - 1 - | Integer.U128 => 2^128 - 1 - | Integer.Usize => 2^64 - 1 - | Integer.I8 => 2^7 - 1 - | Integer.I16 => 2^15 - 1 - | Integer.I32 => 2^31 - 1 - | Integer.I64 => 2^63 - 1 - | Integer.I128 => 2^127 - 1 - | Integer.Isize => 2^63 - 1 + | IntegerKind.U8 => 2^8 - 1 + | IntegerKind.U16 => 2^16 - 1 + | IntegerKind.U32 => 2^32 - 1 + | IntegerKind.U64 => 2^64 - 1 + | IntegerKind.U128 => 2^128 - 1 + | IntegerKind.Usize => 2^64 - 1 + | IntegerKind.I8 => 2^7 - 1 + | IntegerKind.I16 => 2^15 - 1 + | IntegerKind.I32 => 2^31 - 1 + | IntegerKind.I64 => 2^63 - 1 + | IntegerKind.I128 => 2^127 - 1 + | IntegerKind.Isize => 2^63 - 1 end. - Definition normalize_wrap (kind : Integer.t) (z : Z) : Z := + Definition normalize_wrap (kind : IntegerKind.t) (z : Z) : Z := match kind with - | Integer.U8 => Z.modulo z (2^8) - | Integer.U16 => Z.modulo z (2^16) - | Integer.U32 => Z.modulo z (2^32) - | Integer.U64 => Z.modulo z (2^64) - | Integer.U128 => Z.modulo z (2^128) - | Integer.Usize => Z.modulo z (2^64) - | Integer.I8 => Z.modulo (z + 2^7) (2^8) - 2^7 - | Integer.I16 => Z.modulo (z + 2^15) (2^16) - 2^15 - | Integer.I32 => Z.modulo (z + 2^31) (2^32) - 2^31 - | Integer.I64 => Z.modulo (z + 2^63) (2^64) - 2^63 - | Integer.I128 => Z.modulo (z + 2^127) (2^128) - 2^127 - | Integer.Isize => Z.modulo (z + 2^63) (2^64) - 2^63 + | IntegerKind.U8 => Z.modulo z (2^8) + | IntegerKind.U16 => Z.modulo z (2^16) + | IntegerKind.U32 => Z.modulo z (2^32) + | IntegerKind.U64 => Z.modulo z (2^64) + | IntegerKind.U128 => Z.modulo z (2^128) + | IntegerKind.Usize => Z.modulo z (2^64) + | IntegerKind.I8 => Z.modulo (z + 2^7) (2^8) - 2^7 + | IntegerKind.I16 => Z.modulo (z + 2^15) (2^16) - 2^15 + | IntegerKind.I32 => Z.modulo (z + 2^31) (2^32) - 2^31 + | IntegerKind.I64 => Z.modulo (z + 2^63) (2^64) - 2^63 + | IntegerKind.I128 => Z.modulo (z + 2^127) (2^128) - 2^127 + | IntegerKind.Isize => Z.modulo (z + 2^63) (2^64) - 2^63 end. - Definition normalize_with_error (kind : Integer.t) (z : Z) : Z + string := + Definition normalize_option (kind : IntegerKind.t) (z : Z) : option Z := if z Value.Bool (negb b) - | Value.Integer i => Value.Integer (Z.lnot i) - | _ => Value.Error "unexpected parameter for not" - end. - End Pure. + Definition not (v : Value.t) : M := + match v with + | Value.Bool b => M.pure (Value.Bool (negb b)) + | Value.Integer kind i => M.pure (Value.Integer kind (Z.lnot i)) + | _ => M.impossible "unexpected parameter for not" + end. - Module Panic. - Definition neg (kind : Integer.t) (v : Value.t) : M := - match v with - | Value.Integer i => - if Z.eqb i (Integer.min kind) then - M.panic "overflow" - else - M.pure (Value.Integer (- i)) - | _ => M.panic "not implemented" - end. - End Panic. + Definition neg (v : Value.t) : M := + match v with + | Value.Integer kind i => + if Z.eqb i (Integer.min kind) then + M.pure v + else + M.pure (Value.Integer kind (- i)) + | _ => M.impossible "unexpected parameter for neg" + end. End UnOp. Module BinOp. - Module Pure. - Parameter bit_xor : Value.t -> Value.t -> Value.t. - Parameter bit_and : Value.t -> Value.t -> Value.t. - Parameter bit_or : Value.t -> Value.t -> Value.t. - - Definition eq (v1 v2 : Value.t) : Value.t := - Value.Bool (Value.eqb v1 v2). - - Definition ne (v1 v2 : Value.t) : Value.t := - Value.Bool (negb (Value.eqb v1 v2)). - - Definition lt (v1 v2 : Value.t) : Value.t := - match v1, v2 with - | Value.Integer i1, Value.Integer i2 => Value.Bool (Z.ltb i1 i2) - | _, _ => Value.Error "unexpected parameter for lt" - end. - - Definition le (v1 v2 : Value.t) : Value.t := - match v1, v2 with - | Value.Integer i1, Value.Integer i2 => Value.Bool (Z.leb i1 i2) - | _, _ => Value.Error "unexpected parameter for le" - end. - - Definition ge (v1 v2 : Value.t) : Value.t := - match v1, v2 with - | Value.Integer i1, Value.Integer i2 => Value.Bool (Z.geb i1 i2) - | _, _ => Value.Error "unexpected parameter for ge" - end. - - Definition gt (v1 v2 : Value.t) : Value.t := - match v1, v2 with - | Value.Integer i1, Value.Integer i2 => Value.Bool (Z.gtb i1 i2) - | _, _ => Value.Error "unexpected parameter for gt" - end. - End Pure. - - Module Error. - Definition make_arithmetic - (bin_op : Z -> Z -> Z) - (kind : Integer.t) - (v1 v2 : Value.t) : - Value.t + string := - match v1, v2 with - | Value.Integer z1, Value.Integer z2 => - match Integer.normalize_with_error kind (bin_op z1 z2) with - | inl v => inl (Value.Integer v) - | inr err => inr err - end - | _, _ => inr "expected integers" - end. - - Definition add (kind : Integer.t) (v1 v2 : Value.t) : Value.t + string := - make_arithmetic Z.add kind v1 v2. - - Definition sub (kind : Integer.t) (v1 v2 : Value.t) : Value.t + string := - make_arithmetic Z.sub kind v1 v2. - - Definition mul (kind : Integer.t) (v1 v2 : Value.t) : Value.t + string := - make_arithmetic Z.mul kind v1 v2. - - Parameter div : Integer.t -> Value.t -> Value.t -> Value.t + string. - Parameter rem : Integer.t -> Value.t -> Value.t -> Value.t + string. - - Parameter shl : Value.t -> Value.t -> Value.t + string. - Parameter shr : Value.t -> Value.t -> Value.t + string. - End Error. - - Module Panic. - Definition make_arithmetic (bin_op : Z -> Z -> Z) (kind : Integer.t) (v1 v2 : Value.t) : M := - match Error.make_arithmetic bin_op kind v1 v2 with - | inl v => M.pure v - | inr err => M.panic err - end. + Parameter bit_xor : Value.t -> Value.t -> Value.t. + Parameter bit_and : Value.t -> Value.t -> Value.t. + Parameter bit_or : Value.t -> Value.t -> Value.t. + + Definition eq : Value.t -> Value.t -> M := + M.are_equal. + + Definition ne (v1 v2 : Value.t) : M := + let* are_equal := M.are_equal v1 v2 in + match are_equal with + | Value.Bool are_equal => M.pure (Value.Bool (negb are_equal)) + | _ => M.impossible "expected a boolean for the equality" + end. - Definition add (kind : Integer.t) : Value.t -> Value.t -> M := - make_arithmetic Z.add kind. + Definition lt (v1 v2 : Value.t) : M := + match v1, v2 with + | Value.Integer kind1 i1, Value.Integer kind2 i2 => + M.pure (Value.Bool (andb (IntegerKind.eqb kind1 kind2) (Z.ltb i1 i2))) + | _, _ => M.impossible "unexpected parameter for lt" + end. - Definition sub (kind : Integer.t) : Value.t -> Value.t -> M := - make_arithmetic Z.sub kind. + Definition le (v1 v2 : Value.t) : M := + match v1, v2 with + | Value.Integer kind1 i1, Value.Integer kind2 i2 => + M.pure (Value.Bool (andb (IntegerKind.eqb kind1 kind2) (Z.leb i1 i2))) + | _, _ => M.impossible "unexpected parameter for le" + end. - Definition mul (kind : Integer.t) : Value.t -> Value.t -> M := - make_arithmetic Z.mul kind. + Definition ge (v1 v2 : Value.t) : M := + match v1, v2 with + | Value.Integer kind1 i1, Value.Integer kind2 i2 => + M.pure (Value.Bool (andb (IntegerKind.eqb kind1 kind2) (Z.geb i1 i2))) + | _, _ => M.impossible "unexpected parameter for ge" + end. - Parameter div : Integer.t -> Value.t -> Value.t -> M. - Parameter rem : Integer.t -> Value.t -> Value.t -> M. - - Parameter shl : Value.t -> Value.t -> M. - Parameter shr : Value.t -> Value.t -> M. - End Panic. + Definition gt (v1 v2 : Value.t) : M := + match v1, v2 with + | Value.Integer kind1 i1, Value.Integer kind2 i2 => + M.pure (Value.Bool (andb (IntegerKind.eqb kind1 kind2) (Z.gtb i1 i2))) + | _, _ => M.impossible "unexpected parameter for gt" + end. Module Wrap. - Definition make_arithmetic - (bin_op : Z -> Z -> Z) - (kind : Integer.t) - (v1 v2 : Value.t) : - Value.t := - match v1, v2 with - | Value.Integer v1, Value.Integer v2 => - let z := Integer.normalize_wrap kind (bin_op v1 v2) in - Value.Integer z - | _, _ => Value.Error "expected integers" - end. - - Definition add (kind : Integer.t) (v1 v2 : Value.t) : Value.t := - make_arithmetic Z.add kind v1 v2. - - Definition sub (kind : Integer.t) (v1 v2 : Value.t) : Value.t := - make_arithmetic Z.sub kind v1 v2. - - Definition mul (kind : Integer.t) (v1 v2 : Value.t) : Value.t := - make_arithmetic Z.mul kind v1 v2. - - Parameter div : Integer.t -> Value.t -> Value.t -> Value.t. - Parameter rem : Integer.t -> Value.t -> Value.t -> Value.t. - - Parameter shl : Value.t -> Value.t -> Value.t. - Parameter shr : Value.t -> Value.t -> Value.t. - End Wrap. - - Module Optimistic. - (** We assume that the operation will not overflow, and we do not check - for it. This is the optimistic approach. These operators can be used - in the simulations when possible, to simplify the proofs. *) Definition make_arithmetic (bin_op : Z -> Z -> Z) (v1 v2 : Value.t) : - Value.t := + M := match v1, v2 with - | Value.Integer v1, Value.Integer v2 => - let z := bin_op v1 v2 in - Value.Integer z - | _, _ => Value.Error "expected integers" + | Value.Integer kind1 v1, Value.Integer kind2 v2 => + if negb (IntegerKind.eqb kind1 kind2) then + M.impossible "expected the same kind of integers" + else + let z := Integer.normalize_wrap kind1 (bin_op v1 v2) in + M.pure (Value.Integer kind1 z) + | _, _ => M.impossible "expected integers" end. - Definition add (v1 v2 : Value.t) : Value.t := + Definition add (v1 v2 : Value.t) : M := make_arithmetic Z.add v1 v2. - Definition sub (v1 v2 : Value.t) : Value.t := + Definition sub (v1 v2 : Value.t) : M := make_arithmetic Z.sub v1 v2. - Definition mul (v1 v2 : Value.t) : Value.t := + Definition mul (v1 v2 : Value.t) : M := make_arithmetic Z.mul v1 v2. - Parameter div : Value.t -> Value.t -> Value.t. - Parameter rem : Value.t -> Value.t -> Value.t. + Parameter div : Value.t -> Value.t -> M. + Parameter rem : Value.t -> Value.t -> M. - Parameter shl : Value.t -> Value.t -> Value.t. - Parameter shr : Value.t -> Value.t -> Value.t. - End Optimistic. + Parameter shl : Value.t -> Value.t -> M. + Parameter shr : Value.t -> Value.t -> M. + End Wrap. End BinOp. (** The evaluation of logical operators is lazy on the second parameter. *) @@ -288,7 +201,7 @@ Module LogicalOp. rhs else M.pure (Value.Bool false) - | _ => M.impossible + | _ => M.impossible "expected a boolean" end. Definition or (lhs : Value.t) (rhs : M) : M := @@ -298,7 +211,7 @@ Module LogicalOp. M.pure (Value.Bool true) else rhs - | _ => M.impossible + | _ => M.impossible "expected a boolean" end. End LogicalOp. diff --git a/CoqOfRust/links/M.v b/CoqOfRust/links/M.v index a5f66043a..3f1b4cb11 100644 --- a/CoqOfRust/links/M.v +++ b/CoqOfRust/links/M.v @@ -4,188 +4,171 @@ Import List.ListNotations. Local Open Scope list. -(** Not all the types have a unique representation in Rust. For example, integer types in Coq are - all represented by [Z]. We have various types on the Rust side, like `u64`, `i32`, ... *) -Class ToTy (A : Set) : Set := { - Φ : Ty.t; +Class Link (A : Set) : Set := { + to_ty : Ty.t; + to_value : A -> Value.t; }. -Arguments Φ _ {_}. +Arguments to_ty _ {_}. -(** For each type, we should have a canonical way to convert it to a [Value.t]. *) -Class ToValue (A : Set) : Set := { - φ : A -> Value.t; +Global Instance BoolIsLink : Link bool := { + to_ty := Ty.path "bool"; + to_value b := Value.Bool b; }. -Global Instance BoolIsToValue : ToValue bool := { - φ b := Value.Bool b; -}. - -Global Instance ZIsToValue : ToValue Z := { - φ z := Value.Integer z; -}. - -Module TupleIsToTy. - Global Instance I0 : ToTy unit := { - Φ := Ty.tuple []; - }. - - Global Instance I2 (A1 A2 : Set) - (_ : ToTy A1) - (_ : ToTy A2) : - ToTy (A1 * A2) := { - Φ := Ty.tuple [Φ A1; Φ A2]; - }. +Module Int. + Inductive t (kind : IntegerKind.t) : Set := + | Make (i : Z). + Arguments Make {_}. + + Definition to_ty_path (kind : IntegerKind.t) : string := + match kind with + | IntegerKind.I8 => "i8" + | IntegerKind.I16 => "i16" + | IntegerKind.I32 => "i32" + | IntegerKind.I64 => "i64" + | IntegerKind.I128 => "i128" + | IntegerKind.Isize => "isize" + | IntegerKind.U8 => "u8" + | IntegerKind.U16 => "u16" + | IntegerKind.U32 => "u32" + | IntegerKind.U64 => "u64" + | IntegerKind.U128 => "u128" + | IntegerKind.Usize => "usize" + end. - Global Instance I3 (A1 A2 A3 : Set) - (_ : ToTy A1) - (_ : ToTy A2) - (_ : ToTy A3) : - ToTy (A1 * A2 * A3) := { - Φ := Ty.tuple [Φ A1; Φ A2; Φ A3]; + Global Instance IsLink {kind : IntegerKind.t} : Link (t kind) := { + to_ty := Ty.path (to_ty_path kind); + to_value '(Make i) := Value.Integer kind i; }. +End Int. - Global Instance I4 (A1 A2 A3 A4 : Set) - (_ : ToTy A1) - (_ : ToTy A2) - (_ : ToTy A3) - (_ : ToTy A4) : - ToTy (A1 * A2 * A3 * A4) := { - Φ := Ty.tuple [Φ A1; Φ A2; Φ A3; Φ A4]; - }. - - Global Instance I5 (A1 A2 A3 A4 A5 : Set) - (_ : ToTy A1) - (_ : ToTy A2) - (_ : ToTy A3) - (_ : ToTy A4) - (_ : ToTy A5) : - ToTy (A1 * A2 * A3 * A4 * A5) := { - Φ := Ty.tuple [Φ A1; Φ A2; Φ A3; Φ A4; Φ A5]; - }. +Module Char. + Inductive t : Set := + | Make (c : Z). - Global Instance I6 (A1 A2 A3 A4 A5 A6 : Set) - (_ : ToTy A1) - (_ : ToTy A2) - (_ : ToTy A3) - (_ : ToTy A4) - (_ : ToTy A5) - (_ : ToTy A6) : - ToTy (A1 * A2 * A3 * A4 * A5 * A6) := { - Φ := Ty.tuple [Φ A1; Φ A2; Φ A3; Φ A4; Φ A5; Φ A6]; + Global Instance IsLink : Link t := { + to_ty := Ty.path "char"; + to_value '(Make c) := Value.UnicodeChar c; }. +End Char. - Global Instance I7 (A1 A2 A3 A4 A5 A6 A7 : Set) - (_ : ToTy A1) - (_ : ToTy A2) - (_ : ToTy A3) - (_ : ToTy A4) - (_ : ToTy A5) - (_ : ToTy A6) - (_ : ToTy A7) : - ToTy (A1 * A2 * A3 * A4 * A5 * A6 * A7) := { - Φ := Ty.tuple [Φ A1; Φ A2; Φ A3; Φ A4; Φ A5; Φ A6; Φ A7]; - }. +Module OneElementTuple. + Inductive t (A : Set) `{Link A} : Set := + | Make (a : A). + Arguments Make {_ _}. - Global Instance I8 (A1 A2 A3 A4 A5 A6 A7 A8 : Set) - (_ : ToTy A1) - (_ : ToTy A2) - (_ : ToTy A3) - (_ : ToTy A4) - (_ : ToTy A5) - (_ : ToTy A6) - (_ : ToTy A7) - (_ : ToTy A8) : - ToTy (A1 * A2 * A3 * A4 * A5 * A6 * A7 * A8) := { - Φ := Ty.tuple [Φ A1; Φ A2; Φ A3; Φ A4; Φ A5; Φ A6; Φ A7; Φ A8]; + Global Instance IsLink {A : Set} `{Link A} : Link (t A) := { + to_ty := Ty.tuple [to_ty A]; + to_value '(Make a) := Value.Tuple [to_value a]; }. -End TupleIsToTy. +End OneElementTuple. -Module TupleIsToValue. - Global Instance I0 : ToValue unit := { - φ 'tt := Value.Tuple []; +Module TupleIsLink. + Global Instance I0 : Link unit := { + to_ty := Ty.tuple []; + to_value _ := Value.Tuple []; }. Global Instance I2 (A1 A2 : Set) - (_ : ToValue A1) - (_ : ToValue A2) : - ToValue (A1 * A2) := { - φ '(x1, x2) := Value.Tuple [φ x1; φ x2]; + (_ : Link A1) + (_ : Link A2) : + Link (A1 * A2) := { + to_ty := Ty.tuple [to_ty A1; to_ty A2]; + to_value '(a1, a2) := Value.Tuple [to_value a1; to_value a2]; }. Global Instance I3 (A1 A2 A3 : Set) - (_ : ToValue A1) - (_ : ToValue A2) - (_ : ToValue A3) : - ToValue (A1 * A2 * A3) := { - φ '(x1, x2, x3) := - Value.Tuple [φ x1; φ x2; φ x3]; + (_ : Link A1) + (_ : Link A2) + (_ : Link A3) : + Link (A1 * A2 * A3) := { + to_ty := Ty.tuple [to_ty A1; to_ty A2; to_ty A3]; + to_value '(a1, a2, a3) := Value.Tuple [to_value a1; to_value a2; to_value a3]; }. Global Instance I4 (A1 A2 A3 A4 : Set) - (_ : ToValue A1) - (_ : ToValue A2) - (_ : ToValue A3) - (_ : ToValue A4) : - ToValue (A1 * A2 * A3 * A4) := { - φ '(x1, x2, x3, x4) := - Value.Tuple [φ x1; φ x2; φ x3; φ x4]; + (_ : Link A1) + (_ : Link A2) + (_ : Link A3) + (_ : Link A4) : + Link (A1 * A2 * A3 * A4) := { + to_ty := Ty.tuple [to_ty A1; to_ty A2; to_ty A3; to_ty A4]; + to_value '(a1, a2, a3, a4) := + Value.Tuple [to_value a1; to_value a2; to_value a3; to_value a4]; }. Global Instance I5 (A1 A2 A3 A4 A5 : Set) - (_ : ToValue A1) - (_ : ToValue A2) - (_ : ToValue A3) - (_ : ToValue A4) - (_ : ToValue A5) : - ToValue (A1 * A2 * A3 * A4 * A5) := { - φ '(x1, x2, x3, x4, x5) := - Value.Tuple [φ x1; φ x2; φ x3; φ x4; φ x5]; + (_ : Link A1) + (_ : Link A2) + (_ : Link A3) + (_ : Link A4) + (_ : Link A5) : + Link (A1 * A2 * A3 * A4 * A5) := { + to_ty := Ty.tuple [to_ty A1; to_ty A2; to_ty A3; to_ty A4; to_ty A5]; + to_value '(a1, a2, a3, a4, a5) := + Value.Tuple [to_value a1; to_value a2; to_value a3; to_value a4; to_value a5]; }. Global Instance I6 (A1 A2 A3 A4 A5 A6 : Set) - (_ : ToValue A1) - (_ : ToValue A2) - (_ : ToValue A3) - (_ : ToValue A4) - (_ : ToValue A5) - (_ : ToValue A6) : - ToValue (A1 * A2 * A3 * A4 * A5 * A6) := { - φ '(x1, x2, x3, x4, x5, x6) := - Value.Tuple [φ x1; φ x2; φ x3; φ x4; φ x5; φ x6]; + (_ : Link A1) + (_ : Link A2) + (_ : Link A3) + (_ : Link A4) + (_ : Link A5) + (_ : Link A6) : + Link (A1 * A2 * A3 * A4 * A5 * A6) := { + to_ty := Ty.tuple [to_ty A1; to_ty A2; to_ty A3; to_ty A4; to_ty A5; to_ty A6]; + to_value '(a1, a2, a3, a4, a5, a6) := + Value.Tuple [to_value a1; to_value a2; to_value a3; to_value a4; to_value a5; to_value a6]; }. Global Instance I7 (A1 A2 A3 A4 A5 A6 A7 : Set) - (_ : ToValue A1) - (_ : ToValue A2) - (_ : ToValue A3) - (_ : ToValue A4) - (_ : ToValue A5) - (_ : ToValue A6) - (_ : ToValue A7) : - ToValue (A1 * A2 * A3 * A4 * A5 * A6 * A7) := { - φ '(x1, x2, x3, x4, x5, x6, x7) := - Value.Tuple [φ x1; φ x2; φ x3; φ x4; φ x5; φ x6; φ x7]; + (_ : Link A1) + (_ : Link A2) + (_ : Link A3) + (_ : Link A4) + (_ : Link A5) + (_ : Link A6) + (_ : Link A7) : + Link (A1 * A2 * A3 * A4 * A5 * A6 * A7) := { + to_ty := Ty.tuple [to_ty A1; to_ty A2; to_ty A3; to_ty A4; to_ty A5; to_ty A6; to_ty A7]; + to_value '(a1, a2, a3, a4, a5, a6, a7) := + Value.Tuple [ + to_value a1; to_value a2; to_value a3; to_value a4; to_value a5; to_value a6; to_value a7 + ]; }. Global Instance I8 (A1 A2 A3 A4 A5 A6 A7 A8 : Set) - (_ : ToValue A1) - (_ : ToValue A2) - (_ : ToValue A3) - (_ : ToValue A4) - (_ : ToValue A5) - (_ : ToValue A6) - (_ : ToValue A7) - (_ : ToValue A8) : - ToValue (A1 * A2 * A3 * A4 * A5 * A6 * A7 * A8) := { - φ '(x1, x2, x3, x4, x5, x6, x7, x8) := - Value.Tuple [φ x1; φ x2; φ x3; φ x4; φ x5; φ x6; φ x7; φ x8]; + (_ : Link A1) + (_ : Link A2) + (_ : Link A3) + (_ : Link A4) + (_ : Link A5) + (_ : Link A6) + (_ : Link A7) + (_ : Link A8) : + Link (A1 * A2 * A3 * A4 * A5 * A6 * A7 * A8) := { + to_ty := Ty.tuple [ + to_ty A1; to_ty A2; to_ty A3; to_ty A4; to_ty A5; to_ty A6; to_ty A7; to_ty A8 + ]; + to_value '(a1, a2, a3, a4, a5, a6, a7, a8) := + Value.Tuple [ + to_value a1; + to_value a2; + to_value a3; + to_value a4; + to_value a5; + to_value a6; + to_value a7; + to_value a8 + ]; }. -End TupleIsToValue. +End TupleIsLink. Module Ref. (** A general type for references. Can be used for mutable or non-mutable references, as well as for unsafe pointers (we assume that the `unsafe` code is safe). *) - Inductive t (A : Set) `{ToValue A} : Set := + Inductive t (kind : Pointer.Kind.t) (A : Set) `{Link A} : Set := | Immediate (value : A) | Mutable {Address Big_A : Set} (address : Address) @@ -193,24 +176,27 @@ Module Ref. (big_to_value : Big_A -> Value.t) (projection : Big_A -> option A) (injection : Big_A -> A -> option Big_A). - Arguments Immediate {_ _}. - Arguments Mutable {_ _ _ _}. - - Definition to_core {A : Set} `{ToValue A} (core : t A) : Pointer.Core.t Value.t A := - match core with - | Immediate value => - Pointer.Core.Immediate (φ value) - | Mutable address path big_to_value projection injection => + Arguments Immediate _ {_ _}. + Arguments Mutable _ {_ _ _ _}. + + Definition to_core {kind : Pointer.Kind.t} {A : Set} `{Link A} (ref : t kind A) : + Pointer.Core.t Value.t A := + match ref with + | Immediate _ value => + Pointer.Core.Immediate (to_value value) + | Mutable _ address path big_to_value projection injection => Pointer.Core.Mutable (Pointer.Mutable.Make address path big_to_value projection injection ) end. - Definition to_pointer {A : Set} `{ToValue A} (ref : Ref.t A) : Pointer.t Value.t := - Pointer.Make φ (to_core ref). + Definition to_pointer {kind : Pointer.Kind.t} {A : Set} `{Link A} (ref : t kind A) : + Pointer.t Value.t := + Pointer.Make kind (to_ty A) to_value (to_core ref). - Global Instance IsToValue {A : Set} `{ToValue A} : ToValue (t A) := { - φ r := Value.Pointer (to_pointer r); + Global Instance IsLink {kind : Pointer.Kind.t} {A : Set} `{Link A} : Link (t kind A) := { + to_ty := Ty.apply (Ty.path (Pointer.Kind.to_ty_path kind)) [to_ty A]; + to_value ref := Value.Pointer (to_pointer ref); }. End Ref. @@ -221,7 +207,7 @@ Module SubPointer. and [injection] are to read or update values at this [index], once we have a typed representation. These operations can fail if the field is from an enum case that is not the one currently selected. *) - Record t (A Sub_A : Set) {H_A : ToValue A} {H_Sub_A : ToValue Sub_A} : Set := { + Record t (A Sub_A : Set) {H_A : Link A} {H_Sub_A : Link Sub_A} : Set := { index : Pointer.Index.t; projection : A -> option Sub_A; injection : A -> Sub_A -> option A; @@ -232,13 +218,13 @@ Module SubPointer. Module Valid. (** What does it mean for a [runner] to be well formed. *) - Record t {A Sub_A : Set} `{ToValue A} `{ToValue Sub_A} (runner : Runner.t A Sub_A) : Prop := { + Record t {A Sub_A : Set} `{Link A} `{Link Sub_A} (runner : Runner.t A Sub_A) : Prop := { read_commutativity (a : A) : - Option.map (runner.(projection) a) φ = - Value.read_path (φ a) [runner.(index)]; + Option.map (runner.(projection) a) to_value = + Value.read_index (to_value a) runner.(index); write_commutativity (a : A) (sub_a : Sub_A) : - Option.map (runner.(injection) a sub_a) φ = - Value.write_value (φ a) [runner.(index)] (φ sub_a); + Option.map (runner.(injection) a sub_a) to_value = + Value.write_index (to_value a) runner.(index) (to_value sub_a); }. End Valid. End Runner. @@ -247,23 +233,24 @@ End SubPointer. Module IsSubPointer. (** If a pointer (the sub-pointer) targets the field given by a [runner] of another value targetted by a pointer. *) - Inductive t {A Sub_A : Set} `{ToValue A} `{ToValue Sub_A} - (runner : SubPointer.Runner.t A Sub_A) : Ref.t A -> Ref.t Sub_A -> Set := + Inductive t {kind : Pointer.Kind.t} {A Sub_A : Set} `{Link A} `{Link Sub_A} + (runner : SubPointer.Runner.t A Sub_A) : Ref.t kind A -> Ref.t kind Sub_A -> Set := | Immediate (value : A) (sub_value : Sub_A) : runner.(SubPointer.Runner.projection) value = Some sub_value -> t runner - (Ref.Immediate value) - (Ref.Immediate sub_value) + (Ref.Immediate kind value) + (Ref.Immediate kind sub_value) | Mutable {Address Big_A : Set} (address : Address) (path : Pointer.Path.t) (big_to_value : Big_A -> Value.t) (projection : Big_A -> option A) (injection : Big_A -> A -> option Big_A) : - let ref : Ref.t A := - Ref.Mutable address path big_to_value projection injection in - let sub_ref : Ref.t Sub_A := + let ref : Ref.t kind A := + Ref.Mutable kind address path big_to_value projection injection in + let sub_ref : Ref.t kind Sub_A := Ref.Mutable + kind address (path ++ [runner.(SubPointer.Runner.index)]) big_to_value @@ -286,6 +273,25 @@ Module IsSubPointer. t runner ref sub_ref. End IsSubPointer. +(** Some convenient `output_to_value` functions. *) + +Definition output_pure (Output : Set) `{Link Output} (output : Output) : Value.t + Exception.t := + inl (to_value output). + +Definition output_with_panic (Output : Set) `{Link Output} (output : Output + Panic.t) : + Value.t + Exception.t := + match output with + | inl output => inl (to_value output) + | inr panic => inr (Exception.Panic panic) + end. + +Definition output_with_exception (Output : Set) `{Link Output} (output : Output + Exception.t) : + Value.t + Exception.t := + match output with + | inl output => inl (to_value output) + | inr exception => inr exception + end. + Module Run. Reserved Notation "{{ e ⇓ output_to_value }}" (at level 70, no associativity). @@ -303,60 +309,65 @@ Module Run. (output' : Value.t + Exception.t) : output' = output_to_value output -> {{ LowM.Pure output' ⇓ output_to_value }} - | CallPrimitiveStateAlloc {A : Set} (IsToValueA : ToValue A) + | CallPrimitiveStateAlloc {A : Set} `{Link A} + (kind : Pointer.Kind.t) (value : A) (value' : Value.t) (k : Value.t -> M) : - value' = φ value -> - (forall (ref : Ref.t A), - {{ k (φ ref) ⇓ output_to_value }} + value' = to_value value -> + (forall (ref : Ref.t kind A), + {{ k (to_value ref) ⇓ output_to_value }} ) -> {{ LowM.CallPrimitive (Primitive.StateAlloc value') k ⇓ output_to_value }} - (* It can help to simplify the definition of some links. *) - | CallPrimitiveStateAllocImmediate {A : Set} (IsToValueA : ToValue A) + | CallPrimitiveStateAllocImmediate {A : Set} `{Link A} + (kind : Pointer.Kind.t) (value : A) (value' : Value.t) (k : Value.t -> M) : - value' = φ value -> - {{ k (φ (Ref.Immediate value)) ⇓ output_to_value }} -> + value' = to_value value -> + {{ k (to_value (Ref.Immediate kind value)) ⇓ output_to_value }} -> {{ LowM.CallPrimitive (Primitive.StateAlloc value') k ⇓ output_to_value }} - | CallPrimitiveStateRead {A : Set} - (* We make the [to_value] explicit instead of using the class to avoid inference problems *) - (to_value : A -> Value.t) - (ref : @Ref.t A {| φ := to_value |}) (pointer_core : Pointer.Core.t Value.t A) + | CallPrimitiveStateRead {kind : Pointer.Kind.t} {A : Set} + (* We make the [ty] and [to_value] explicit instead of using the class to avoid inference + problems. *) + (ty : Ty.t) (to_value : A -> Value.t) + (ref : @Ref.t kind A {| to_ty := ty; to_value := to_value |}) + (pointer_core : Pointer.Core.t Value.t A) (k : Value.t -> M) : - let pointer := Pointer.Make to_value pointer_core in + let pointer := Pointer.Make kind ty to_value pointer_core in pointer_core = Ref.to_core ref -> (forall (value : A), {{ k (to_value value) ⇓ output_to_value }} ) -> {{ LowM.CallPrimitive (Primitive.StateRead pointer) k ⇓ output_to_value }} - | CallPrimitiveStateReadImmediate {A : Set} - (* We make the [to_value] explicit instead of using the class to avoid inference problems *) - (to_value : A -> Value.t) (value : A) + | CallPrimitiveStateReadImmediate {kind : Pointer.Kind.t} {A : Set} + (* Same as with read, we make the [Link] class explicit. *) + (ty : Ty.t) (to_value : A -> Value.t) + (value : A) (pointer_core : Pointer.Core.t Value.t A) (k : Value.t -> M) : - let pointer := Pointer.Make to_value pointer_core in - pointer_core = Ref.to_core (@Ref.Immediate A {| φ := to_value |} value) -> + let pointer := Pointer.Make kind ty to_value pointer_core in + let ref := @Ref.Immediate kind A {| to_ty := ty; to_value := to_value |} value in + pointer_core = Ref.to_core ref -> {{ k (to_value value) ⇓ output_to_value }} -> {{ LowM.CallPrimitive (Primitive.StateRead pointer) k ⇓ output_to_value }} - | CallPrimitiveStateWrite {A : Set} - (* Same as with [Read], we use an explicit [to_value] *) - (to_value : A -> Value.t) - (ref : @Ref.t A {| φ := to_value |}) (pointer_core : Pointer.Core.t Value.t A) + | CallPrimitiveStateWrite {kind : Pointer.Kind.t} {A : Set} + (* Same as with read, we make the [Link] class explicit. *) + (ty : Ty.t) (to_value : A -> Value.t) + (ref : @Ref.t kind A {| to_ty := ty; to_value := to_value |}) + (pointer_core : Pointer.Core.t Value.t A) (value : A) (value' : Value.t) (k : Value.t -> M) : - let pointer := Pointer.Make to_value pointer_core in + let pointer := Pointer.Make kind ty to_value pointer_core in pointer_core = Ref.to_core ref -> value' = to_value value -> {{ k (Value.Tuple []) ⇓ output_to_value }} -> {{ LowM.CallPrimitive (Primitive.StateWrite pointer value') k ⇓ output_to_value }} - | CallPrimitiveGetSubPointer {A Sub_A : Set} - {IsToValueA : ToValue A} {IsToValueSub_A : ToValue Sub_A} - (ref : Ref.t A) (pointer : Pointer.t Value.t) + | CallPrimitiveGetSubPointer {kind : Pointer.Kind.t} {A Sub_A : Set} `{Link A} `{Link Sub_A} + (ref : Ref.t kind A) (pointer : Pointer.t Value.t) (runner : SubPointer.Runner.t A Sub_A) (k : Value.t -> M) : pointer = Ref.to_pointer ref -> SubPointer.Runner.Valid.t runner -> - (forall (sub_ref : Ref.t Sub_A), + (forall (sub_ref : Ref.t kind Sub_A), let sub_pointer := Ref.to_pointer sub_ref in {{ k (Value.Pointer sub_pointer) ⇓ output_to_value }} ) -> @@ -432,15 +443,15 @@ Import Run. (** This lemma is convenient to handle the case of sub-pointers. We even have a dedicated tactic using it (defined below). Using the tactic is the recommended way. *) -Definition run_sub_pointer {Output A Sub_A : Set} - {IsToValueA : ToValue A} {IsToValueSub_A : ToValue Sub_A} +Definition run_sub_pointer {kind : Pointer.Kind.t} {Output A Sub_A : Set} + {IsLinkA : Link A} {IsLinkSub_A : Link Sub_A} {runner : SubPointer.Runner.t A Sub_A} (H_runner : SubPointer.Runner.Valid.t runner) - (ref : Ref.t A) (pointer : Pointer.t Value.t) + (ref : Ref.t kind A) (pointer : Pointer.t Value.t) (k : Value.t -> M) (output_to_value : Output -> Value.t + Exception.t) (H_pointer : pointer = Ref.to_pointer ref) - (H_k : forall (sub_ref : Ref.t Sub_A), + (H_k : forall (sub_ref : Ref.t kind Sub_A), let sub_pointer := Ref.to_pointer sub_ref in {{ k (Value.Pointer sub_pointer) ⇓ output_to_value }} ) : @@ -461,12 +472,12 @@ Module Primitive. with types. We have also removed the primitives related to name/trait resolution, as this is now done. *) Inductive t : Set -> Set := - | StateAlloc {A : Set} `{ToValue A} (value : A) : t (Ref.t A) - | StateRead {A : Set} `{ToValue A} (ref : Ref.t A) : t A - | StateWrite {A : Set} `{ToValue A} (ref : Ref.t A) (value : A) : t unit - | GetSubPointer {A Sub_A : Set} `{ToValue A} `{ToValue Sub_A} - (ref : Ref.t A) (runner : SubPointer.Runner.t A Sub_A) : - t (Ref.t Sub_A). + | StateAlloc (kind : Pointer.Kind.t) {A : Set} `{Link A} (value : A) : t (Ref.t kind A) + | StateRead {kind : Pointer.Kind.t} {A : Set} `{Link A} (ref : Ref.t kind A) : t A + | StateWrite {kind : Pointer.Kind.t} {A : Set} `{Link A} (ref : Ref.t kind A) (value : A) : t unit + | GetSubPointer {kind : Pointer.Kind.t} {A Sub_A : Set} `{Link A} `{Link Sub_A} + (ref : Ref.t kind A) (runner : SubPointer.Runner.t A Sub_A) : + t (Ref.t kind Sub_A). End Primitive. Module LowM. @@ -498,7 +509,7 @@ Proof. exact (LowM.Pure output). } { (* Alloc *) - apply (LowM.CallPrimitive (Primitive.StateAlloc value)). + apply (LowM.CallPrimitive (Primitive.StateAlloc kind value)). intros ref_core. eapply evaluate. match goal with @@ -564,6 +575,7 @@ Proof. } Defined. +(* Ltac run_symbolic_state_alloc := ( (* We hope the allocated value to be in a form that is already the image of a [φ] conversion. *) @@ -626,7 +638,7 @@ End Function. Module Function2. Record t (A1 A2 Output : Set) - `{ToValue A1} `{ToValue A2} + `{Link A1} `{Link A2} (output_to_value : Output -> Value.t + Exception.t) : Set := { f : list Value.t -> M; @@ -634,3 +646,4 @@ Module Function2. {{ f [ φ a1; φ a2 ] ⇓ output_to_value }}; }. End Function2. +*) diff --git a/CoqOfRust/revm/interpreter/function_stack.v b/CoqOfRust/revm/interpreter/function_stack.v index c4e90c2fe..293bebce8 100644 --- a/CoqOfRust/revm/interpreter/function_stack.v +++ b/CoqOfRust/revm/interpreter/function_stack.v @@ -48,7 +48,7 @@ Module function_stack. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -93,7 +93,7 @@ Module function_stack. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -119,7 +119,7 @@ Module function_stack. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -163,39 +163,41 @@ Module function_stack. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::function_stack::FunctionReturnFrame", "idx" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::function_stack::FunctionReturnFrame", "idx" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::function_stack::FunctionReturnFrame", "pc" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::function_stack::FunctionReturnFrame", "pc" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -232,7 +234,7 @@ Module function_stack. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -283,7 +285,7 @@ Module function_stack. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -311,7 +313,7 @@ Module function_stack. Value.StructRecord "revm_interpreter::function_stack::FunctionReturnFrame" [ ("idx", M.read (| idx |)); ("pc", M.read (| pc |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -373,7 +375,7 @@ Module function_stack. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -423,7 +425,7 @@ Module function_stack. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -466,9 +468,9 @@ Module function_stack. |), [] |)); - ("current_code_idx", Value.Integer 0) + ("current_code_idx", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -536,7 +538,7 @@ Module function_stack. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : M.IsAssociatedFunction Self "push" push. @@ -570,7 +572,7 @@ Module function_stack. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_return_stack_len : @@ -654,11 +656,11 @@ Module function_stack. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop : M.IsAssociatedFunction Self "pop" pop. @@ -686,7 +688,7 @@ Module function_stack. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_current_code_idx : diff --git a/CoqOfRust/revm/interpreter/gas.v b/CoqOfRust/revm/interpreter/gas.v index 1f5437d3c..e0460f53d 100644 --- a/CoqOfRust/revm/interpreter/gas.v +++ b/CoqOfRust/revm/interpreter/gas.v @@ -32,7 +32,7 @@ Module gas. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -101,7 +101,7 @@ Module gas. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -157,7 +157,7 @@ Module gas. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -191,56 +191,59 @@ Module gas. let other := M.alloc (| other |) in LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::gas::Gas", "limit" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::gas::Gas", "limit" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::gas::Gas", "remaining" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::gas::Gas", "remaining" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::gas::Gas", "refunded" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::gas::Gas", "refunded" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -284,7 +287,7 @@ Module gas. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -349,7 +352,7 @@ Module gas. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -382,9 +385,9 @@ Module gas. [ ("limit", M.read (| limit |)); ("remaining", M.read (| limit |)); - ("refunded", Value.Integer 0) + ("refunded", Value.Integer IntegerKind.I64 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -407,10 +410,10 @@ Module gas. "revm_interpreter::gas::Gas" [ ("limit", M.read (| limit |)); - ("remaining", Value.Integer 0); - ("refunded", Value.Integer 0) + ("remaining", Value.Integer IntegerKind.U64 0); + ("refunded", Value.Integer IntegerKind.I64 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_spent : M.IsAssociatedFunction Self "new_spent" new_spent. @@ -432,7 +435,7 @@ Module gas. "limit" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_limit : M.IsAssociatedFunction Self "limit" limit. @@ -447,8 +450,8 @@ Module gas. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - Value.Integer 0)) - | _, _ => M.impossible + Value.Integer IntegerKind.U64 0)) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_memory : M.IsAssociatedFunction Self "memory" memory. @@ -470,7 +473,7 @@ Module gas. "refunded" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_refunded : M.IsAssociatedFunction Self "refunded" refunded. @@ -485,23 +488,23 @@ Module gas. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.U64 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::gas::Gas", "limit" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::gas::Gas", "remaining" |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_spent : M.IsAssociatedFunction Self "spent" spent. @@ -520,7 +523,7 @@ Module gas. M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "spent", [] |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_spend : M.IsAssociatedFunction Self "spend" spend. @@ -542,7 +545,7 @@ Module gas. "remaining" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_remaining : M.IsAssociatedFunction Self "remaining" remaining. @@ -566,13 +569,10 @@ Module gas. "revm_interpreter::gas::Gas", "remaining" |) in - M.write (| - β, - BinOp.Wrap.add Integer.U64 (M.read (| β |)) (M.read (| returned |)) - |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| returned |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_erase_cost : M.IsAssociatedFunction Self "erase_cost" erase_cost. @@ -595,11 +595,11 @@ Module gas. "revm_interpreter::gas::Gas", "remaining" |), - Value.Integer 0 + Value.Integer IntegerKind.U64 0 |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_spend_all : M.IsAssociatedFunction Self "spend_all" spend_all. @@ -623,10 +623,10 @@ Module gas. "revm_interpreter::gas::Gas", "refunded" |) in - M.write (| β, BinOp.Wrap.add Integer.I64 (M.read (| β |)) (M.read (| refund |)) |) in + M.write (| β, BinOp.Wrap.add (| M.read (| β |), M.read (| refund |) |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_record_refund : @@ -655,8 +655,8 @@ Module gas. (let γ := M.use is_london in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 5 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 2 |))) + M.alloc (| Value.Integer IntegerKind.U64 5 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2 |))) ] |) |) in @@ -680,23 +680,23 @@ Module gas. |), [ M.read (| self |) ] |)); - BinOp.Wrap.div - Integer.U64 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "spent", [] |), [ M.read (| self |) ] - |)) - (M.read (| max_refund_quotient |)) + |), + M.read (| max_refund_quotient |) + |) ] |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_final_refund : @@ -725,7 +725,7 @@ Module gas. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_refund : M.IsAssociatedFunction Self "set_refund" set_refund. @@ -770,7 +770,7 @@ Module gas. let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let remaining := M.copy (| γ0_0 |) in let overflow := M.copy (| γ0_1 |) in - let~ success := M.alloc (| UnOp.Pure.not (M.read (| overflow |)) |) in + let~ success := M.alloc (| UnOp.not (| M.read (| overflow |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -800,7 +800,7 @@ Module gas. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_record_cost : M.IsAssociatedFunction Self "record_cost" record_cost. diff --git a/CoqOfRust/revm/interpreter/gas/calc.v b/CoqOfRust/revm/interpreter/gas/calc.v index 9202357f8..f7df0c965 100644 --- a/CoqOfRust/revm/interpreter/gas/calc.v +++ b/CoqOfRust/revm/interpreter/gas/calc.v @@ -116,25 +116,25 @@ Module gas. |) in M.alloc (| M.rust_cast - (BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.sub - Integer.U64 - (M.read (| + (BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "revm_interpreter::gas::constants::SSTORE_RESET" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::COLD_SLOAD_COST" |) - |))) - (M.read (| + |) + |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY" |) - |))) + |) + |)) |))); fun γ => ltac:(M.monadic @@ -165,7 +165,7 @@ Module gas. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.I64 0 |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -208,7 +208,7 @@ Module gas. sstore_clears_schedule)); fun γ => ltac:(M.monadic - (let~ refund := M.alloc (| Value.Integer 0 |) in + (let~ refund := M.alloc (| Value.Integer IntegerKind.I64 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -266,10 +266,10 @@ Module gas. let β := refund in M.write (| β, - BinOp.Wrap.sub - Integer.I64 - (M.read (| β |)) - (M.read (| sstore_clears_schedule |)) + BinOp.Wrap.sub (| + M.read (| β |), + M.read (| sstore_clears_schedule |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -307,12 +307,12 @@ Module gas. let β := refund in M.write (| β, - BinOp.Wrap.add - Integer.I64 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| sstore_clears_schedule - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -382,18 +382,18 @@ Module gas. M.alloc (| Value.Tuple [ - BinOp.Wrap.sub - Integer.U64 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "revm_interpreter::gas::constants::SSTORE_RESET" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::COLD_SLOAD_COST" |) - |)); + |) + |); M.read (| M.get_constant (| "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST" @@ -467,18 +467,18 @@ Module gas. let β := refund in M.write (| β, - BinOp.Wrap.add - Integer.I64 - (M.read (| β |)) - (M.rust_cast - (BinOp.Wrap.sub - Integer.U64 - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast + (BinOp.Wrap.sub (| + M.read (| M.get_constant (| "revm_interpreter::gas::constants::SSTORE_SET" |) - |)) - (M.read (| gas_sload |)))) + |), + M.read (| gas_sload |) + |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -487,16 +487,16 @@ Module gas. let β := refund in M.write (| β, - BinOp.Wrap.add - Integer.I64 - (M.read (| β |)) - (M.rust_cast - (BinOp.Wrap.sub - Integer.U64 - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast + (BinOp.Wrap.sub (| + M.read (| gas_sstore_reset - |)) - (M.read (| gas_sload |)))) + |), + M.read (| gas_sload |) + |)) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -550,13 +550,13 @@ Module gas. M.get_constant (| "revm_interpreter::gas::constants::REFUND_SSTORE_CLEARS" |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 0 |))) ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sstore_refund : @@ -618,7 +618,7 @@ Module gas. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_create2_cost : @@ -655,8 +655,8 @@ Module gas. M.catch_return (| ltac:(M.monadic (M.read (| - let~ l := M.alloc (| Value.Integer 256 |) in - let~ i := M.alloc (| Value.Integer 3 |) in + let~ l := M.alloc (| Value.Integer IntegerKind.U64 256 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 3 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -669,8 +669,8 @@ Module gas. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.call_closure (| M.get_associated_function (| @@ -682,8 +682,9 @@ Module gas. |), i |) - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -694,7 +695,10 @@ Module gas. let β := l in M.write (| β, - BinOp.Wrap.sub Integer.U64 (M.read (| β |)) (Value.Integer 64) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.U64 64 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -703,10 +707,9 @@ Module gas. let β := l in M.write (| β, - BinOp.Wrap.sub - Integer.U64 - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.sub (| + M.read (| β |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "u64", @@ -728,7 +731,8 @@ Module gas. |) |) ] - |))) + |)) + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -738,7 +742,10 @@ Module gas. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| l |)) (Value.Integer 0) + BinOp.eq (| + M.read (| l |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -756,10 +763,10 @@ Module gas. M.never_to_any (| M.read (| M.return_ (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| l |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| l |), + Value.Integer IntegerKind.U64 1 + |) |) |) |) @@ -777,7 +784,10 @@ Module gas. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| i |)) (Value.Integer 0) + BinOp.eq (| + M.read (| i |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -792,14 +802,14 @@ Module gas. let β := i in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))) |) in l |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_log2floor : M.IsFunction "revm_interpreter::gas::calc::log2floor" log2floor. @@ -901,8 +911,10 @@ Module gas. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 50 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 10 |))) + M.alloc (| Value.Integer IntegerKind.I32 50 |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.I32 10 |))) ] |) |) @@ -974,19 +986,19 @@ Module gas. [ Ty.path "u64" ] |), [ - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.div (| + M.call_closure (| M.get_function (| "revm_interpreter::gas::calc::log2floor", [] |), [ M.read (| power |) ] - |)) - (Value.Integer 8)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U64 8 + |), + Value.Integer IntegerKind.U64 1 + |) ] |) ] @@ -1126,7 +1138,7 @@ Module gas. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_exp_cost : M.IsFunction "revm_interpreter::gas::calc::exp_cost" exp_cost. @@ -1187,7 +1199,7 @@ Module gas. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_verylowcopy_cost : @@ -1279,8 +1291,9 @@ Module gas. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 700 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 20 |))) + M.alloc (| Value.Integer IntegerKind.U64 700 |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 20 |))) ] |))) ] @@ -1335,7 +1348,7 @@ Module gas. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extcodecopy_cost : @@ -1439,14 +1452,14 @@ Module gas. ] |) |); - BinOp.Wrap.mul - Integer.U64 - (M.read (| M.get_constant (| "revm_interpreter::gas::constants::LOGTOPIC" |) |)) - (M.rust_cast (M.read (| n |))) + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "revm_interpreter::gas::constants::LOGTOPIC" |) |), + M.rust_cast (M.read (| n |)) + |) ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_log_cost : M.IsFunction "revm_interpreter::gas::calc::log_cost" log_cost. @@ -1507,7 +1520,7 @@ Module gas. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_keccak256_cost : @@ -1534,7 +1547,7 @@ Module gas. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_cost_per_word : @@ -1580,7 +1593,7 @@ Module gas. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_initcode_cost : @@ -1709,8 +1722,9 @@ Module gas. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 200 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 50 |))) + M.alloc (| Value.Integer IntegerKind.U64 200 |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 50 |))) ] |))) ] @@ -1718,7 +1732,7 @@ Module gas. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sload_cost : M.IsFunction "revm_interpreter::gas::calc::sload_cost" sload_cost. @@ -1795,13 +1809,14 @@ Module gas. ] |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| gas |)) - (M.read (| + (BinOp.le (| + M.read (| gas |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::CALL_STIPEND" |) - |)))) + |) + |))) |) |)) in let _ := @@ -1866,14 +1881,14 @@ Module gas. let β := gas_cost in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::COLD_SLOAD_COST" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1949,7 +1964,7 @@ Module gas. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sstore_cost : @@ -2081,7 +2096,7 @@ Module gas. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_istanbul_sstore_cost : @@ -2143,7 +2158,7 @@ Module gas. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_frontier_sstore_cost : @@ -2223,27 +2238,29 @@ Module gas. |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| res, "revm_interpreter::host::SelfDestructResult", "target_exists" |) - |)))) + |) + |))) |) |))); fun γ => ltac:(M.monadic (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| res, "revm_interpreter::host::SelfDestructResult", "target_exists" |) - |)) + |) + |) |))) ] |) @@ -2277,8 +2294,8 @@ Module gas. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 25000 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.U64 25000 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))) ] |) |) in @@ -2308,17 +2325,17 @@ Module gas. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 5000 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + M.alloc (| Value.Integer IntegerKind.U64 5000 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))) ] |) |) in let~ gas := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (M.read (| selfdestruct_gas |)) - (M.read (| selfdestruct_gas_topup |)) + BinOp.Wrap.add (| + M.read (| selfdestruct_gas |), + M.read (| selfdestruct_gas_topup |) + |) |) in let~ _ := M.match_operator (| @@ -2357,21 +2374,21 @@ Module gas. let β := gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::COLD_ACCOUNT_ACCESS_COST" |) - |)) + |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in gas |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_selfdestruct_cost : @@ -2485,8 +2502,9 @@ Module gas. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 700 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 40 |))) + M.alloc (| Value.Integer IntegerKind.U64 700 |))); + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 40 |))) ] |))) ] @@ -2504,12 +2522,12 @@ Module gas. let β := gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::CALLVALUE" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -2565,14 +2583,14 @@ Module gas. let β := gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::NEWACCOUNT" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -2584,14 +2602,14 @@ Module gas. let β := gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::NEWACCOUNT" |) - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2601,7 +2619,7 @@ Module gas. |) in gas |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call_cost : M.IsFunction "revm_interpreter::gas::calc::call_cost" call_cost. @@ -2639,7 +2657,7 @@ Module gas. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_warm_cold_cost : @@ -2664,7 +2682,7 @@ Module gas. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_memory_gas_for_len : @@ -2692,16 +2710,16 @@ Module gas. M.read (| num_words |) ] |); - BinOp.Wrap.div - Integer.U64 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "u64", "saturating_mul", [] |), [ M.read (| num_words |); M.read (| num_words |) ] - |)) - (Value.Integer 512) + |), + Value.Integer IntegerKind.U64 512 + |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_memory_gas : M.IsFunction "revm_interpreter::gas::calc::memory_gas" memory_gas. @@ -2775,7 +2793,7 @@ Module gas. let access_list := M.alloc (| access_list |) in let initcodes := M.alloc (| initcodes |) in M.read (| - let~ initial_gas := M.alloc (| Value.Integer 0 |) in + let~ initial_gas := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ zero_data_len := M.alloc (| M.rust_cast @@ -2839,12 +2857,13 @@ Module gas. fun γ => ltac:(M.monadic (let v := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| M.read (| M.read (| v |) |) |)) - (Value.Integer 0))) + BinOp.eq (| + M.read (| M.read (| M.read (| v |) |) |), + Value.Integer IntegerKind.U8 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2853,9 +2872,8 @@ Module gas. |) in let~ non_zero_data_len := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -2863,8 +2881,9 @@ Module gas. [] |), [ M.read (| input |) ] - |))) - (M.read (| zero_data_len |)) + |)), + M.read (| zero_data_len |) + |) |) in let~ _ := M.use @@ -3024,17 +3043,20 @@ Module gas. fun γ => ltac:(M.monadic (let v := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.read (| M.read (| v |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer + IntegerKind.U8 + 0 + |))) ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible "wrong number of arguments" end)) ] |) @@ -3045,21 +3067,16 @@ Module gas. let β := zero_data_len in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.read (| zeros |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| zeros |) |) |) in let~ _ := let β := non_zero_data_len in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (BinOp.Wrap.sub - Integer.U64 - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.sub (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", @@ -3078,8 +3095,10 @@ Module gas. [ M.read (| initcode |) ] |) ] - |))) - (M.read (| zeros |))) + |)), + M.read (| zeros |) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -3092,27 +3111,25 @@ Module gas. let β := initial_gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (BinOp.Wrap.mul - Integer.U64 - (M.read (| zero_data_len |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.mul (| + M.read (| zero_data_len |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::TRANSACTION_ZERO_DATA" |) - |))) + |) + |) + |) |) in let~ _ := let β := initial_gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (BinOp.Wrap.mul - Integer.U64 - (M.read (| non_zero_data_len |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.mul (| + M.read (| non_zero_data_len |), + M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -3140,11 +3157,13 @@ Module gas. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 16 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 68 |))) + M.alloc (| Value.Integer IntegerKind.U64 16 |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 68 |))) ] |) - |))) + |) + |) + |) |) in let~ _ := M.match_operator (| @@ -3234,7 +3253,7 @@ Module gas. |), [ M.read (| access_list |) ] |); - Value.Integer 0; + Value.Integer IntegerKind.U64 0; M.closure (fun γ => ltac:(M.monadic @@ -3258,10 +3277,9 @@ Module gas. let γ1_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let slots := M.alloc (| γ1_1 |) in - BinOp.Wrap.add - Integer.U64 - (M.read (| slot_count |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| slot_count |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -3274,12 +3292,13 @@ Module gas. [] |), [ M.read (| slots |) ] - |))))) + |)) + |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3288,12 +3307,10 @@ Module gas. let β := initial_gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (BinOp.Wrap.mul - Integer.U64 - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.mul (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -3314,28 +3331,30 @@ Module gas. [] |), [ M.read (| access_list |) ] - |))) - (M.read (| + |)), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::ACCESS_LIST_ADDRESS" |) - |))) + |) + |) + |) |) in let~ _ := let β := initial_gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (BinOp.Wrap.mul - Integer.U64 - (M.read (| accessed_slots |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.mul (| + M.read (| accessed_slots |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY" |) - |))) + |) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -3345,10 +3364,9 @@ Module gas. let β := initial_gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.read (| + BinOp.Wrap.add (| + M.read (| β |), + M.read (| M.match_operator (| M.alloc (| Value.Tuple [] |), [ @@ -3384,14 +3402,18 @@ Module gas. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 53000 |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 21000 |))) + M.alloc (| Value.Integer IntegerKind.U64 53000 |))); + fun γ => + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.U64 21000 |))) ] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 21000 |))) + fun γ => + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 21000 |))) ] |) - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -3423,10 +3445,9 @@ Module gas. let β := initial_gas in M.write (| β, - BinOp.Wrap.add - Integer.U64 - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_function (| "revm_interpreter::gas::calc::initcode_cost", [] |), [ M.rust_cast @@ -3439,14 +3460,15 @@ Module gas. [ M.read (| input |) ] |)) ] - |)) + |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in initial_gas |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_validate_initial_tx_gas : diff --git a/CoqOfRust/revm/interpreter/gas/constants.v b/CoqOfRust/revm/interpreter/gas/constants.v index 899bffec3..20a6e2029 100644 --- a/CoqOfRust/revm/interpreter/gas/constants.v +++ b/CoqOfRust/revm/interpreter/gas/constants.v @@ -3,119 +3,134 @@ Require Import CoqOfRust.CoqOfRust. Module gas. Module constants. - Definition value_ZERO : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_ZERO : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))). - Definition value_BASE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 2 |))). + Definition value_BASE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2 |))). - Definition value_VERYLOW : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 3 |))). + Definition value_VERYLOW : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). Definition value_DATA_LOADN_GAS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 3 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). Definition value_CONDITION_JUMP_GAS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). - Definition value_RETF_GAS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 4 |))). + Definition value_RETF_GAS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). Definition value_DATA_LOAD_GAS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). - Definition value_LOW : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 5 |))). + Definition value_LOW : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5 |))). - Definition value_MID : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 8 |))). + Definition value_MID : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 8 |))). - Definition value_HIGH : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). + Definition value_HIGH : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 10 |))). - Definition value_JUMPDEST : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 1 |))). + Definition value_JUMPDEST : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). Definition value_SELFDESTRUCT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 24000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 24000 |))). - Definition value_CREATE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 32000 |))). + Definition value_CREATE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 32000 |))). Definition value_CALLVALUE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 9000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9000 |))). Definition value_NEWACCOUNT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 25000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 25000 |))). - Definition value_EXP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). + Definition value_EXP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 10 |))). - Definition value_MEMORY : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 3 |))). + Definition value_MEMORY : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Definition value_LOG : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 375 |))). + Definition value_LOG : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 375 |))). - Definition value_LOGDATA : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 8 |))). + Definition value_LOGDATA : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 8 |))). - Definition value_LOGTOPIC : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 375 |))). + Definition value_LOGTOPIC : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 375 |))). - Definition value_KECCAK256 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 30 |))). + Definition value_KECCAK256 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 30 |))). Definition value_KECCAK256WORD : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 6 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6 |))). - Definition value_COPY : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 3 |))). + Definition value_COPY : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Definition value_BLOCKHASH : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 20 |))). + Definition value_BLOCKHASH : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 20 |))). Definition value_CODEDEPOSIT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 200 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 200 |))). Definition value_INSTANBUL_SLOAD_GAS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 800 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 800 |))). Definition value_SSTORE_SET : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 20000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 20000 |))). Definition value_SSTORE_RESET : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 5000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5000 |))). Definition value_REFUND_SSTORE_CLEARS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 15000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 15000 |))). Definition value_TRANSACTION_ZERO_DATA : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). Definition value_TRANSACTION_NON_ZERO_DATA_INIT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 16 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 16 |))). Definition value_TRANSACTION_NON_ZERO_DATA_FRONTIER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 68 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 68 |))). Definition value_EOF_CREATE_GAS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 32000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 32000 |))). Definition value_ACCESS_LIST_ADDRESS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2400 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2400 |))). Definition value_ACCESS_LIST_STORAGE_KEY : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1900 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1900 |))). Definition value_COLD_SLOAD_COST : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2100 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2100 |))). Definition value_COLD_ACCOUNT_ACCESS_COST : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2600 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2600 |))). Definition value_WARM_STORAGE_READ_COST : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 100 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 100 |))). Definition value_WARM_SSTORE_RESET : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| M.get_constant (| "revm_interpreter::gas::constants::SSTORE_RESET" |) |)) - (M.read (| - M.get_constant (| "revm_interpreter::gas::constants::COLD_SLOAD_COST" |) - |)) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "revm_interpreter::gas::constants::SSTORE_RESET" |) |), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::COLD_SLOAD_COST" |) |) + |) |))). Definition value_INITCODE_WORD_COST : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2 |))). Definition value_CALL_STIPEND : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2300 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2300 |))). End constants. End gas. diff --git a/CoqOfRust/revm/interpreter/host.v b/CoqOfRust/revm/interpreter/host.v index c0beb386a..d0231d434 100644 --- a/CoqOfRust/revm/interpreter/host.v +++ b/CoqOfRust/revm/interpreter/host.v @@ -73,7 +73,7 @@ Module host. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -159,7 +159,7 @@ Module host. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -262,23 +262,24 @@ Module host. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::host::SStoreResult", "is_cold" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::host::SStoreResult", "is_cold" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -322,7 +323,7 @@ Module host. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -380,7 +381,7 @@ Module host. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -426,7 +427,7 @@ Module host. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -471,7 +472,7 @@ Module host. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -504,39 +505,41 @@ Module host. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::host::LoadAccountResult", "is_cold" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::host::LoadAccountResult", "is_cold" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::host::LoadAccountResult", "is_empty" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::host::LoadAccountResult", "is_empty" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -573,7 +576,7 @@ Module host. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -654,7 +657,7 @@ Module host. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -722,7 +725,7 @@ Module host. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -788,7 +791,7 @@ Module host. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -823,73 +826,77 @@ Module host. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::host::SelfDestructResult", "had_value" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::host::SelfDestructResult", "had_value" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::host::SelfDestructResult", "target_exists" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::host::SelfDestructResult", "target_exists" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::host::SelfDestructResult", "is_cold" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::host::SelfDestructResult", "is_cold" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::host::SelfDestructResult", "previously_destroyed" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::host::SelfDestructResult", "previously_destroyed" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -926,7 +933,7 @@ Module host. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1005,7 +1012,7 @@ Module host. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/interpreter/host/dummy.v b/CoqOfRust/revm/interpreter/host/dummy.v index 1e4a8e6bc..0b18f7fe2 100644 --- a/CoqOfRust/revm/interpreter/host/dummy.v +++ b/CoqOfRust/revm/interpreter/host/dummy.v @@ -138,7 +138,7 @@ Module host. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -204,7 +204,7 @@ Module host. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -290,7 +290,7 @@ Module host. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -459,7 +459,7 @@ Module host. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -517,7 +517,7 @@ Module host. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -557,7 +557,7 @@ Module host. [] |)) [ ("env", M.read (| env |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -623,7 +623,7 @@ Module host. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : M.IsAssociatedFunction Self "clear" clear. @@ -647,7 +647,7 @@ Module host. "revm_interpreter::host::dummy::DummyHost", "env" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -665,7 +665,7 @@ Module host. "revm_interpreter::host::dummy::DummyHost", "env" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -693,7 +693,7 @@ Module host. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -710,7 +710,7 @@ Module host. Value.StructTuple "core::option::Option::Some" [ M.read (| M.get_constant (| "alloy_primitives::bits::fixed::ZERO" |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -728,7 +728,7 @@ Module host. "core::option::Option::Some" [ Value.Tuple [ M.read (| M.get_constant (| "ruint::ZERO" |) |); Value.Bool false ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -760,7 +760,7 @@ Module host. Value.Bool false ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -783,7 +783,7 @@ Module host. Value.Bool false ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -894,7 +894,7 @@ Module host. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1027,7 +1027,7 @@ Module host. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1086,7 +1086,7 @@ Module host. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1130,7 +1130,7 @@ Module host. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1166,7 +1166,7 @@ Module host. M.read (| log |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1203,7 +1203,7 @@ Module host. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/interpreter/instruction_result.v b/CoqOfRust/revm/interpreter/instruction_result.v index b95f3c590..dcc0c99b3 100644 --- a/CoqOfRust/revm/interpreter/instruction_result.v +++ b/CoqOfRust/revm/interpreter/instruction_result.v @@ -192,7 +192,7 @@ Module instruction_result. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -543,7 +543,7 @@ Module instruction_result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -565,7 +565,7 @@ Module instruction_result. (Value.StructTuple "revm_interpreter::instruction_result::InstructionResult::Continue" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -618,9 +618,9 @@ Module instruction_result. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -652,7 +652,7 @@ Module instruction_result. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -692,7 +692,7 @@ Module instruction_result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -757,7 +757,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1106,7 +1106,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1185,14 +1185,14 @@ Module instruction_result. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ok : M.IsAssociatedFunction Self "is_ok" is_ok. @@ -1246,14 +1246,14 @@ Module instruction_result. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_revert : M.IsAssociatedFunction Self "is_revert" is_revert. @@ -1483,14 +1483,14 @@ Module instruction_result. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_error : M.IsAssociatedFunction Self "is_error" is_error. @@ -1673,7 +1673,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1717,7 +1717,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1772,7 +1772,7 @@ Module instruction_result. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -1849,7 +1849,7 @@ Module instruction_result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1893,7 +1893,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1984,7 +1984,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2025,7 +2025,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_success : M.IsAssociatedFunction Self "is_success" is_success. @@ -2064,7 +2064,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_success : M.IsAssociatedFunction Self "to_success" to_success. @@ -2095,7 +2095,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_revert : M.IsAssociatedFunction Self "is_revert" is_revert. @@ -2127,7 +2127,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_halt : M.IsAssociatedFunction Self "is_halt" is_halt. @@ -2166,7 +2166,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_halt : M.IsAssociatedFunction Self "to_halt" to_halt. @@ -2471,7 +2471,7 @@ Module instruction_result. [] ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2682,7 +2682,7 @@ Module instruction_result. [] ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2776,7 +2776,7 @@ Module instruction_result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/interpreter/instructions/arithmetic.v b/CoqOfRust/revm/interpreter/instructions/arithmetic.v index b9dc6d0cc..642901a0e 100644 --- a/CoqOfRust/revm/interpreter/instructions/arithmetic.v +++ b/CoqOfRust/revm/interpreter/instructions/arithmetic.v @@ -28,8 +28,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -47,7 +47,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -81,8 +82,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -95,8 +96,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -162,7 +164,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_add : M.IsFunction "revm_interpreter::instructions::arithmetic::add" add. @@ -192,8 +194,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -209,7 +211,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -243,8 +246,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -257,8 +260,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -324,7 +328,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mul : M.IsFunction "revm_interpreter::instructions::arithmetic::mul" mul. @@ -354,8 +358,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -373,7 +377,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -407,8 +412,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -421,8 +426,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -488,7 +494,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sub : M.IsFunction "revm_interpreter::instructions::arithmetic::sub" sub. @@ -520,8 +526,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -537,7 +543,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -571,8 +578,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -585,8 +592,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -679,7 +687,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_div : M.IsFunction "revm_interpreter::instructions::arithmetic::div" div. @@ -709,8 +717,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -726,7 +734,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -760,8 +769,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -774,8 +783,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -840,7 +850,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sdiv : M.IsFunction "revm_interpreter::instructions::arithmetic::sdiv" sdiv. @@ -872,8 +882,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -889,7 +899,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -923,8 +934,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -937,8 +948,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1031,7 +1043,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_rem : M.IsFunction "revm_interpreter::instructions::arithmetic::rem" rem. @@ -1061,8 +1073,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1078,7 +1090,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1112,8 +1125,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1126,8 +1139,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1190,7 +1204,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_smod : M.IsFunction "revm_interpreter::instructions::arithmetic::smod" smod. @@ -1220,8 +1234,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1237,7 +1251,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::MID" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1271,8 +1286,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1285,8 +1300,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1348,7 +1364,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_addmod : @@ -1379,8 +1395,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1396,7 +1412,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::MID" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1430,8 +1447,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1444,8 +1461,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1507,7 +1525,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mulmod : @@ -1538,8 +1556,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1552,8 +1570,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1635,8 +1654,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1650,7 +1669,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1715,7 +1735,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_exp : M.IsFunction "revm_interpreter::instructions::arithmetic::exp" exp. @@ -1752,8 +1772,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1769,7 +1789,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1803,8 +1824,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1817,8 +1838,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1892,7 +1914,7 @@ Module instructions. "from", [ Ty.path "i32" ] |), - [ Value.Integer 31 ] + [ Value.Integer IntegerKind.I32 31 ] |) |) ] @@ -1914,19 +1936,19 @@ Module instructions. |), [ ext ] |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) in let~ bit_index := M.alloc (| M.rust_cast - (BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 8) - (M.read (| ext |))) - (Value.Integer 7)) + (BinOp.Wrap.add (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 8, + M.read (| ext |) + |), + Value.Integer IntegerKind.U64 7 + |)) |) in let~ bit := M.alloc (| @@ -1965,7 +1987,7 @@ Module instructions. "from", [ Ty.path "i32" ] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.I32 1 ] |); M.read (| bit_index |) ] @@ -1976,7 +1998,7 @@ Module instructions. "from", [ Ty.path "i32" ] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.I32 1 ] |) ] |) @@ -2046,7 +2068,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_signextend : diff --git a/CoqOfRust/revm/interpreter/instructions/bitwise.v b/CoqOfRust/revm/interpreter/instructions/bitwise.v index 6f5b051e0..6164d5472 100644 --- a/CoqOfRust/revm/interpreter/instructions/bitwise.v +++ b/CoqOfRust/revm/interpreter/instructions/bitwise.v @@ -28,8 +28,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -47,7 +47,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -81,8 +82,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -95,8 +96,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -173,7 +175,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_lt : M.IsFunction "revm_interpreter::instructions::bitwise::lt" lt. @@ -203,8 +205,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -222,7 +224,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -256,8 +259,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -270,8 +273,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -348,7 +352,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_gt : M.IsFunction "revm_interpreter::instructions::bitwise::gt" gt. @@ -378,8 +382,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -397,7 +401,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -431,8 +436,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -445,8 +450,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -534,7 +540,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_slt : M.IsFunction "revm_interpreter::instructions::bitwise::slt" slt. @@ -564,8 +570,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -583,7 +589,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -617,8 +624,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -631,8 +638,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -722,7 +730,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sgt : M.IsFunction "revm_interpreter::instructions::bitwise::sgt" sgt. @@ -752,8 +760,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -771,7 +779,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -805,8 +814,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -819,8 +828,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -897,7 +907,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_eq : M.IsFunction "revm_interpreter::instructions::bitwise::eq" eq. @@ -927,8 +937,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -946,7 +956,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -980,8 +991,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -994,8 +1005,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1063,7 +1075,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_iszero : M.IsFunction "revm_interpreter::instructions::bitwise::iszero" iszero. @@ -1093,8 +1105,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1112,7 +1124,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1146,8 +1159,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1160,8 +1173,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1229,7 +1243,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bitand : M.IsFunction "revm_interpreter::instructions::bitwise::bitand" bitand. @@ -1259,8 +1273,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1278,7 +1292,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1312,8 +1327,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1326,8 +1341,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1395,7 +1411,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bitor : M.IsFunction "revm_interpreter::instructions::bitwise::bitor" bitor. @@ -1425,8 +1441,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1444,7 +1460,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1478,8 +1495,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1492,8 +1509,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1561,7 +1579,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bitxor : M.IsFunction "revm_interpreter::instructions::bitwise::bitxor" bitxor. @@ -1591,8 +1609,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1610,7 +1628,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1644,8 +1663,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1658,8 +1677,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1718,7 +1738,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_not : M.IsFunction "revm_interpreter::instructions::bitwise::not" not. @@ -1755,8 +1775,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1774,7 +1794,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1808,8 +1829,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1822,8 +1843,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1914,33 +1936,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1950,7 +1981,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) @@ -1975,7 +2006,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| o1 |)) (Value.Integer 32) + BinOp.lt (| + M.read (| o1 |), + Value.Integer IntegerKind.Usize 32 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1998,10 +2032,10 @@ Module instructions. |), [ M.read (| op2 |); - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 31) - (M.read (| o1 |)) + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 31, + M.read (| o1 |) + |) ] |) ] @@ -2017,7 +2051,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_byte : M.IsFunction "revm_interpreter::instructions::bitwise::byte" byte. @@ -2048,8 +2082,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -2062,7 +2096,8 @@ Module instructions. "revm_primitives::specification::SpecId::CONSTANTINOPLE" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2096,8 +2131,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2115,7 +2150,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2149,8 +2185,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -2163,8 +2199,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2266,33 +2303,48 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2302,7 +2354,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic @@ -2323,7 +2375,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_shl : M.IsFunction "revm_interpreter::instructions::bitwise::shl" shl. @@ -2354,8 +2406,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -2368,7 +2420,8 @@ Module instructions. "revm_primitives::specification::SpecId::CONSTANTINOPLE" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2402,8 +2455,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2421,7 +2474,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2455,8 +2509,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -2469,8 +2523,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2572,33 +2627,48 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2608,7 +2678,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic @@ -2629,7 +2699,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_shr : M.IsFunction "revm_interpreter::instructions::bitwise::shr" shr. @@ -2682,8 +2752,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -2696,7 +2766,8 @@ Module instructions. "revm_primitives::specification::SpecId::CONSTANTINOPLE" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2730,8 +2801,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2749,7 +2820,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2783,8 +2855,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -2797,8 +2869,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2909,7 +2982,7 @@ Module instructions. "from", [ Ty.path "i32" ] |), - [ Value.Integer 255 ] + [ Value.Integer IntegerKind.I32 255 ] |) |) ] @@ -2953,7 +3026,8 @@ Module instructions. | [] => ltac:(M.monadic (M.get_constant (| "ruint::ZERO" |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -3041,7 +3115,8 @@ Module instructions. ] |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -3111,7 +3186,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sar : M.IsFunction "revm_interpreter::instructions::bitwise::sar" sar. @@ -3123,7 +3198,14 @@ Module instructions. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "ruint::Uint", "from_limbs", [] |), - [ Value.Array [ Value.Integer 1; Value.Integer 0; Value.Integer 0; Value.Integer 0 ] + [ + Value.Array + [ + Value.Integer IntegerKind.U64 1; + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 0 + ] ] |) |))). diff --git a/CoqOfRust/revm/interpreter/instructions/contract.v b/CoqOfRust/revm/interpreter/instructions/contract.v index 9ef841ee5..4b4b20868 100644 --- a/CoqOfRust/revm/interpreter/instructions/contract.v +++ b/CoqOfRust/revm/interpreter/instructions/contract.v @@ -51,33 +51,36 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -122,7 +125,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -149,7 +152,9 @@ Module instructions. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.ne (M.read (| len |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.ne (| M.read (| len |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ offset := @@ -176,33 +181,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -247,7 +261,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -283,9 +297,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -299,7 +313,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -314,8 +329,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -333,7 +348,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -375,10 +391,7 @@ Module instructions. [ ("start", M.read (| offset |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (M.read (| len |))) + BinOp.Wrap.add (| M.read (| offset |), M.read (| len |) |)) ] ] |))); @@ -400,7 +413,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_resize_memory : @@ -478,14 +491,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -519,8 +533,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -538,7 +552,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -582,8 +597,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -596,8 +611,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 4) + |), + Value.Integer IntegerKind.Usize 4 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -814,8 +830,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| eof, @@ -825,7 +841,8 @@ Module instructions. "revm_primitives::bytecode::eof::body::EofBody", "is_data_filled" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -922,8 +939,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -937,7 +954,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1124,7 +1142,7 @@ Module instructions. "instruction_pointer" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Isize 1 ] |) |) in @@ -1135,7 +1153,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_eofcreate : @@ -1239,14 +1257,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1280,8 +1299,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1299,7 +1318,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1333,8 +1353,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1347,8 +1367,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 4) + |), + Value.Integer IntegerKind.Usize 4 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1558,8 +1579,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -1574,7 +1595,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1687,8 +1709,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -1703,7 +1725,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1801,8 +1824,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| eof, @@ -1812,7 +1835,8 @@ Module instructions. "revm_primitives::bytecode::eof::body::EofBody", "is_data_filled" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2090,8 +2114,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -2106,7 +2130,8 @@ Module instructions. |); M.read (| gas_limit |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2212,7 +2237,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_txcreate : @@ -2291,14 +2316,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof_init" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2347,8 +2373,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -2361,8 +2387,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2435,33 +2462,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2504,7 +2540,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -2654,9 +2690,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| aux_data_size |)) - (Value.Integer 0) + BinOp.ne (| + M.read (| aux_data_size |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2687,33 +2724,48 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2757,7 +2809,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -2798,9 +2850,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -2814,7 +2866,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2829,8 +2882,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -2848,7 +2901,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2909,9 +2963,8 @@ Module instructions. |) in let~ new_data_size := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -2939,15 +2992,16 @@ Module instructions. ] |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| aux_slice |) ] - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -2958,9 +3012,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_data_size |)) - (Value.Integer 65535) + BinOp.gt (| + M.read (| new_data_size |), + Value.Integer IntegerKind.Usize 65535 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2997,9 +3052,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| new_data_size |)) - (M.rust_cast + BinOp.lt (| + M.read (| new_data_size |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| @@ -3010,7 +3065,8 @@ Module instructions. "revm_primitives::bytecode::eof::header::EofHeader", "data_size" |) - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3155,7 +3211,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_return_contract : @@ -3192,8 +3248,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -3206,8 +3262,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3382,7 +3439,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extcall_input : @@ -3492,8 +3549,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3511,7 +3568,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3584,8 +3642,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3599,7 +3657,8 @@ Module instructions. |); M.read (| call_cost |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3634,9 +3693,8 @@ Module instructions. M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "u64" ] |), [ - BinOp.Wrap.div - Integer.U64 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "remaining", @@ -3649,9 +3707,10 @@ Module instructions. "gas" |) ] - |)) - (Value.Integer 64); - Value.Integer 5000 + |), + Value.Integer IntegerKind.U64 64 + |); + Value.Integer IntegerKind.U64 5000 ] |) |) in @@ -3690,7 +3749,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| gas_limit |)) (Value.Integer 2300) + BinOp.lt (| + M.read (| gas_limit |), + Value.Integer IntegerKind.U64 2300 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3729,8 +3791,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3744,7 +3806,8 @@ Module instructions. |); M.read (| gas_limit |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3781,7 +3844,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extcall_gas_calc : @@ -3841,14 +3904,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3882,8 +3946,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -3896,8 +3960,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3988,8 +4053,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -4002,8 +4067,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4150,8 +4216,9 @@ Module instructions. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); - ("end_", Value.Integer 0) + ("start", + Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 0) ]) ] ] @@ -4176,7 +4243,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extcall : @@ -4234,14 +4301,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4275,8 +4343,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -4289,8 +4357,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4473,8 +4542,9 @@ Module instructions. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); - ("end_", Value.Integer 0) + ("start", + Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 0) ]) ] ] @@ -4499,7 +4569,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extdcall : @@ -4555,14 +4625,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4596,8 +4667,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -4610,8 +4681,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4786,8 +4858,9 @@ Module instructions. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); - ("end_", Value.Integer 0) + ("start", + Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 0) ]) ] ] @@ -4812,7 +4885,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extscall : @@ -4956,8 +5029,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -4970,7 +5043,8 @@ Module instructions. "revm_primitives::specification::SpecId::PETERSBURG" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5011,8 +5085,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -5025,8 +5099,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5101,33 +5176,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -5170,7 +5254,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -5210,7 +5294,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| len |)) (Value.Integer 0) + BinOp.ne (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5312,13 +5399,16 @@ Module instructions. |), [ M.read (| limit |); - Value.Integer 2 + Value.Integer + IntegerKind.Usize + 2 ] |))) ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |); @@ -5339,9 +5429,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| len |)) - (M.read (| max_initcode_size |)) + BinOp.gt (| + M.read (| len |), + M.read (| max_initcode_size |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5379,8 +5470,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -5402,7 +5493,8 @@ Module instructions. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5459,33 +5551,44 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -5528,7 +5631,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -5568,9 +5671,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -5584,7 +5687,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5599,8 +5703,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -5618,7 +5722,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5710,8 +5815,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", @@ -5725,8 +5830,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5825,8 +5931,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -5841,7 +5947,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5913,8 +6020,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -5932,7 +6039,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6020,13 +6128,13 @@ Module instructions. let β := gas_limit in M.write (| β, - BinOp.Wrap.sub - Integer.U64 - (M.read (| β |)) - (BinOp.Wrap.div - Integer.U64 - (M.read (| gas_limit |)) - (Value.Integer 64)) + BinOp.Wrap.sub (| + M.read (| β |), + BinOp.Wrap.div (| + M.read (| gas_limit |), + Value.Integer IntegerKind.U64 64 + |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] @@ -6040,8 +6148,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -6055,7 +6163,8 @@ Module instructions. |); M.read (| gas_limit |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6147,7 +6256,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_create : M.IsFunction "revm_interpreter::instructions::contract::create" create. @@ -6227,8 +6336,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -6241,8 +6350,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6293,8 +6403,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -6307,8 +6417,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6407,8 +6518,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -6421,8 +6532,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6614,8 +6726,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -6629,7 +6741,8 @@ Module instructions. |); M.read (| gas_limit |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6781,7 +6894,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call : M.IsFunction "revm_interpreter::instructions::contract::call" call. @@ -6856,8 +6969,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -6870,8 +6983,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6922,8 +7036,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -6936,8 +7050,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7036,8 +7151,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -7050,8 +7165,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7189,8 +7305,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -7204,7 +7320,8 @@ Module instructions. |); M.read (| gas_limit |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7383,7 +7500,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call_code : @@ -7449,8 +7566,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -7463,7 +7580,8 @@ Module instructions. "revm_primitives::specification::SpecId::HOMESTEAD" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7497,8 +7615,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -7511,8 +7629,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7563,8 +7682,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -7577,8 +7696,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7755,8 +7875,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -7770,7 +7890,8 @@ Module instructions. |); M.read (| gas_limit |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -7909,7 +8030,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_delegate_call : @@ -7975,8 +8096,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -7989,7 +8110,8 @@ Module instructions. "revm_primitives::specification::SpecId::BYZANTIUM" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8023,8 +8145,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -8037,8 +8159,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8089,8 +8212,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -8103,8 +8226,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -8281,8 +8405,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -8296,7 +8420,8 @@ Module instructions. |); M.read (| gas_limit |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8409,7 +8534,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_static_call : diff --git a/CoqOfRust/revm/interpreter/instructions/contract/call_helpers.v b/CoqOfRust/revm/interpreter/instructions/contract/call_helpers.v index a9dac0ae1..d4f32bf35 100644 --- a/CoqOfRust/revm/interpreter/instructions/contract/call_helpers.v +++ b/CoqOfRust/revm/interpreter/instructions/contract/call_helpers.v @@ -38,8 +38,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -52,8 +52,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 4) + |), + Value.Integer IntegerKind.Usize 4 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -214,8 +215,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::ops::range::Range") @@ -224,7 +225,8 @@ Module instructions. [] |), [ in_range ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -361,7 +363,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_get_memory_input_and_out_ranges : @@ -416,33 +418,36 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -487,7 +492,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -517,7 +522,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| len |)) (Value.Integer 0) + BinOp.ne (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -548,33 +556,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -621,7 +638,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -661,9 +678,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -677,7 +694,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -692,8 +710,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -711,7 +729,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -759,14 +778,13 @@ Module instructions. "core::ops::range::Range" [ ("start", M.read (| offset |)); - ("end_", - BinOp.Wrap.add Integer.Usize (M.read (| offset |)) (M.read (| len |))) + ("end_", BinOp.Wrap.add (| M.read (| offset |), M.read (| len |) |)) ] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_resize_memory_and_return_range : @@ -834,8 +852,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -849,7 +867,8 @@ Module instructions. |); M.read (| call_cost |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -928,13 +947,13 @@ Module instructions. M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "u64" ] |), [ - BinOp.Wrap.sub - Integer.U64 - (M.read (| gas |)) - (BinOp.Wrap.div - Integer.U64 - (M.read (| gas |)) - (Value.Integer 64)); + BinOp.Wrap.sub (| + M.read (| gas |), + BinOp.Wrap.div (| + M.read (| gas |), + Value.Integer IntegerKind.U64 64 + |) + |); M.read (| local_gas_limit |) ] |) @@ -948,7 +967,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calc_call_gas : diff --git a/CoqOfRust/revm/interpreter/instructions/control.v b/CoqOfRust/revm/interpreter/instructions/control.v index f981f389c..a2ba6e792 100644 --- a/CoqOfRust/revm/interpreter/instructions/control.v +++ b/CoqOfRust/revm/interpreter/instructions/control.v @@ -31,14 +31,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -72,8 +73,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -91,7 +92,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -156,14 +158,14 @@ Module instructions. "instruction_pointer" |) |); - BinOp.Wrap.add Integer.Isize (M.read (| offset |)) (Value.Integer 2) + BinOp.Wrap.add (| M.read (| offset |), Value.Integer IntegerKind.Isize 2 |) ] |) |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_rjump : M.IsFunction "revm_interpreter::instructions::control::rjump" rjump. @@ -201,14 +203,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -242,8 +245,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -261,7 +264,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -295,8 +299,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -309,8 +313,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -352,7 +357,7 @@ Module instructions. ] |) |) in - let~ offset := M.alloc (| Value.Integer 2 |) in + let~ offset := M.alloc (| Value.Integer IntegerKind.Isize 2 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -362,15 +367,16 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "ruint::Uint", "is_zero", [] |), [ condition ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -378,10 +384,9 @@ Module instructions. let β := offset in M.write (| β, - BinOp.Wrap.add - Integer.Isize - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.call_closure (| M.get_function (| "revm_interpreter::instructions::utility::read_i16", @@ -396,7 +401,8 @@ Module instructions. |) |) ] - |))) + |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -430,7 +436,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_rjumpi : M.IsFunction "revm_interpreter::instructions::control::rjumpi" rjumpi. @@ -479,14 +485,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -520,8 +527,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -539,7 +546,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -573,8 +581,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -587,8 +595,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -672,33 +681,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -708,7 +726,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) ] @@ -735,13 +753,16 @@ Module instructions. |) in let~ offset := M.alloc (| - BinOp.Wrap.add - Integer.Isize - (BinOp.Wrap.mul - Integer.Isize - (BinOp.Wrap.add Integer.Isize (M.read (| max_index |)) (Value.Integer 1)) - (Value.Integer 2)) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + BinOp.Wrap.add (| + M.read (| max_index |), + Value.Integer IntegerKind.Isize 1 + |), + Value.Integer IntegerKind.Isize 2 + |), + Value.Integer IntegerKind.Isize 1 + |) |) in let~ _ := M.match_operator (| @@ -752,7 +773,7 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| case |)) (M.read (| max_index |)) + BinOp.le (| M.read (| case |), M.read (| max_index |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -760,10 +781,9 @@ Module instructions. let β := offset in M.write (| β, - BinOp.Wrap.add - Integer.Isize - (M.read (| β |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.call_closure (| M.get_function (| "revm_interpreter::instructions::utility::read_i16", @@ -784,17 +804,18 @@ Module instructions. "instruction_pointer" |) |); - BinOp.Wrap.add - Integer.Isize - (Value.Integer 1) - (BinOp.Wrap.mul - Integer.Isize - (M.read (| case |)) - (Value.Integer 2)) + BinOp.Wrap.add (| + Value.Integer IntegerKind.Isize 1, + BinOp.Wrap.mul (| + M.read (| case |), + Value.Integer IntegerKind.Isize 2 + |) + |) ] |) ] - |))) + |)) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -828,7 +849,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_rjumpv : M.IsFunction "revm_interpreter::instructions::control::rjumpv" rjumpv. @@ -858,8 +879,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -875,7 +896,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::MID" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -909,8 +931,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -923,8 +945,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -979,7 +1002,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_jump : M.IsFunction "revm_interpreter::instructions::control::jump" jump. @@ -1011,8 +1034,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1030,7 +1053,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1064,8 +1088,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1078,8 +1102,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1170,7 +1195,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_jumpi : M.IsFunction "revm_interpreter::instructions::control::jumpi" jumpi. @@ -1215,33 +1240,36 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1284,7 +1312,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1313,8 +1341,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::contract::Contract", "is_valid_jump", @@ -1328,7 +1356,8 @@ Module instructions. |); M.read (| target |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1410,7 +1439,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_jump_inner : @@ -1439,8 +1468,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1458,7 +1487,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1486,7 +1516,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_jumpdest_or_nop : @@ -1532,14 +1562,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1573,8 +1604,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1590,7 +1621,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1643,8 +1675,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::function_stack::FunctionStack", "return_stack_len", @@ -1657,8 +1689,9 @@ Module instructions. "function_stack" |) ] - |)) - (Value.Integer 1024) + |), + Value.Integer IntegerKind.Usize 1024 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1697,17 +1730,17 @@ Module instructions. "revm_interpreter::interpreter::Interpreter", "function_stack" |); - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::Interpreter", "program_counter", [] |), [ M.read (| interpreter |) ] - |)) - (Value.Integer 2); + |), + Value.Integer IntegerKind.Usize 2 + |); M.read (| idx |) ] |) @@ -1719,12 +1752,13 @@ Module instructions. "load_eof_code", [] |), - [ M.read (| interpreter |); M.read (| idx |); Value.Integer 0 ] + [ M.read (| interpreter |); M.read (| idx |); Value.Integer IntegerKind.Usize 0 + ] |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_callf : M.IsFunction "revm_interpreter::instructions::control::callf" callf. @@ -1759,14 +1793,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1800,8 +1835,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1819,7 +1854,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1903,7 +1939,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_retf : M.IsFunction "revm_interpreter::instructions::control::retf" retf. @@ -1939,14 +1975,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1980,8 +2017,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1997,7 +2034,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2066,12 +2104,13 @@ Module instructions. "load_eof_code", [] |), - [ M.read (| interpreter |); M.read (| idx |); Value.Integer 0 ] + [ M.read (| interpreter |); M.read (| idx |); Value.Integer IntegerKind.Usize 0 + ] |) |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_jumpf : M.IsFunction "revm_interpreter::instructions::control::jumpf" jumpf. @@ -2101,8 +2140,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2120,7 +2159,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2167,17 +2207,17 @@ Module instructions. [ Ty.path "usize" ] |), [ - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::Interpreter", "program_counter", [] |), [ M.read (| interpreter |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -2223,7 +2263,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_pc : M.IsFunction "revm_interpreter::instructions::control::pc" pc. @@ -2270,8 +2310,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -2284,8 +2324,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2358,33 +2399,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2427,7 +2477,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -2469,7 +2519,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| len |)) (Value.Integer 0) + BinOp.ne (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2500,33 +2553,44 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2569,7 +2633,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -2609,9 +2673,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -2625,7 +2689,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2640,8 +2705,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -2659,7 +2724,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2777,7 +2843,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_return_inner : @@ -2809,7 +2875,7 @@ Module instructions. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ret : M.IsFunction "revm_interpreter::instructions::control::ret" ret. @@ -2838,8 +2904,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -2852,7 +2918,8 @@ Module instructions. "revm_primitives::specification::SpecId::BYZANTIUM" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2895,7 +2962,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_revert : M.IsFunction "revm_interpreter::instructions::control::revert" revert. @@ -2923,7 +2990,7 @@ Module instructions. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_stop : M.IsFunction "revm_interpreter::instructions::control::stop" stop. @@ -2953,7 +3020,7 @@ Module instructions. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_invalid : @@ -2984,7 +3051,7 @@ Module instructions. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_unknown : diff --git a/CoqOfRust/revm/interpreter/instructions/data.v b/CoqOfRust/revm/interpreter/instructions/data.v index b11a458d6..80a53259d 100644 --- a/CoqOfRust/revm/interpreter/instructions/data.v +++ b/CoqOfRust/revm/interpreter/instructions/data.v @@ -42,14 +42,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -83,8 +84,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -102,7 +103,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -136,8 +138,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -150,8 +152,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -235,33 +238,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -271,7 +283,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) ] @@ -327,11 +339,11 @@ Module instructions. ] |); M.read (| offset_usize |); - Value.Integer 32 + Value.Integer IntegerKind.Usize 32 ] |) |) in - let~ word := M.alloc (| repeat (Value.Integer 0) 32 |) in + let~ word := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 32 |) in let~ _ := M.alloc (| M.call_closure (| @@ -381,7 +393,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_data_load : @@ -427,14 +439,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -468,8 +481,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -487,7 +500,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -575,11 +589,11 @@ Module instructions. ] |); M.read (| offset |); - Value.Integer 32 + Value.Integer IntegerKind.Usize 32 ] |) |) in - let~ word := M.alloc (| repeat (Value.Integer 0) 32 |) in + let~ word := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 32 |) in let~ _ := M.alloc (| M.call_closure (| @@ -704,14 +718,14 @@ Module instructions. "instruction_pointer" |) |); - Value.Integer 2 + Value.Integer IntegerKind.Isize 2 ] |) |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_data_loadn : @@ -744,14 +758,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -785,8 +800,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -804,7 +819,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -930,7 +946,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_data_size : @@ -979,14 +995,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1020,8 +1037,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1039,7 +1056,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1073,8 +1091,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1087,8 +1105,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1163,33 +1182,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1232,7 +1260,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1261,7 +1289,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| size |)) (Value.Integer 0) + BinOp.eq (| + M.read (| size |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1298,33 +1329,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1367,7 +1407,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1403,9 +1443,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -1419,7 +1459,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1434,8 +1475,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -1453,7 +1494,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1526,33 +1568,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1562,7 +1613,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) @@ -1648,7 +1699,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_data_copy : diff --git a/CoqOfRust/revm/interpreter/instructions/host.v b/CoqOfRust/revm/interpreter/instructions/host.v index 2d3d706ec..9f8829d20 100644 --- a/CoqOfRust/revm/interpreter/instructions/host.v +++ b/CoqOfRust/revm/interpreter/instructions/host.v @@ -44,8 +44,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -58,8 +58,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -150,8 +151,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -231,7 +232,9 @@ Module instructions. M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 700 |))); + M.alloc (| + Value.Integer IntegerKind.U64 700 + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -263,12 +266,16 @@ Module instructions. Value.Bool true |) in M.alloc (| - Value.Integer 400 + Value.Integer + IntegerKind.U64 + 400 |))); fun γ => ltac:(M.monadic (M.alloc (| - Value.Integer 20 + Value.Integer + IntegerKind.U64 + 20 |))) ] |))) @@ -278,7 +285,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -367,7 +375,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_balance : M.IsFunction "revm_interpreter::instructions::host::balance" balance. @@ -401,8 +409,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -415,7 +423,8 @@ Module instructions. "revm_primitives::specification::SpecId::ISTANBUL" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -449,8 +458,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -466,7 +475,8 @@ Module instructions. M.get_constant (| "revm_interpreter::gas::constants::LOW" |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -584,7 +594,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_selfbalance : @@ -626,8 +636,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -640,8 +650,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -761,8 +772,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -782,7 +793,8 @@ Module instructions. [ M.read (| is_cold |) ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -850,8 +862,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -864,9 +876,10 @@ Module instructions. "revm_interpreter::interpreter::Interpreter", "gas" |); - Value.Integer 700 + Value.Integer IntegerKind.U64 700 ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -907,8 +920,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -921,9 +934,10 @@ Module instructions. "revm_interpreter::interpreter::Interpreter", "gas" |); - Value.Integer 20 + Value.Integer IntegerKind.U64 20 ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1034,7 +1048,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extcodesize : @@ -1076,8 +1090,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -1090,7 +1104,8 @@ Module instructions. "revm_primitives::specification::SpecId::CONSTANTINOPLE" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1124,8 +1139,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1138,8 +1153,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1265,8 +1281,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1286,7 +1302,8 @@ Module instructions. [ M.read (| is_cold |) ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1354,8 +1371,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -1368,9 +1385,10 @@ Module instructions. "revm_interpreter::interpreter::Interpreter", "gas" |); - Value.Integer 700 + Value.Integer IntegerKind.U64 700 ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1411,8 +1429,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -1425,9 +1443,10 @@ Module instructions. "revm_interpreter::interpreter::Interpreter", "gas" |); - Value.Integer 400 + Value.Integer IntegerKind.U64 400 ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1522,7 +1541,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extcodehash : @@ -1574,8 +1593,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1588,8 +1607,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1660,8 +1680,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1674,8 +1694,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1776,33 +1797,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1845,7 +1875,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1902,8 +1932,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1917,7 +1947,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1982,7 +2013,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2021,33 +2055,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2090,7 +2133,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -2158,39 +2201,54 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), M.alloc (| - Value.Integer 1 + Value.Integer + IntegerKind.Usize + 1 |) |) - |)) - (Value.Integer 0), + |), + Value.Integer + IntegerKind.U64 + 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), M.alloc (| - Value.Integer 2 + Value.Integer + IntegerKind.Usize + 2 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer + IntegerKind.U64 + 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), M.alloc (| - Value.Integer 3 + Value.Integer + IntegerKind.Usize + 3 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer + IntegerKind.U64 + 0 + |))) |) |)) in let _ := @@ -2200,7 +2258,9 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| + Value.Integer IntegerKind.Usize 0 + |) |))); fun γ => ltac:(M.monadic @@ -2244,9 +2304,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -2260,7 +2320,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2275,8 +2336,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -2294,7 +2355,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2386,7 +2448,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_extcodecopy : @@ -2449,8 +2511,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2468,7 +2530,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2502,8 +2565,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -2516,8 +2579,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2594,15 +2658,16 @@ Module instructions. let diff := M.copy (| γ0_0 |) in let γ := M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "ruint::Uint", "is_zero", [] |), [ diff ] - |)) + |) + |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2649,33 +2714,44 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2685,7 +2761,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic @@ -2723,13 +2799,14 @@ Module instructions. ] |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| diff |)) - (M.read (| + (BinOp.le (| + M.read (| diff |), + M.read (| M.get_constant (| "revm_primitives::constants::BLOCKHASH_SERVE_WINDOW" |) - |)))) + |) + |))) |) |)) in let _ := @@ -2810,8 +2887,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -2841,7 +2918,8 @@ Module instructions. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2891,13 +2969,14 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| diff |)) - (M.read (| + BinOp.le (| + M.read (| diff |), + M.read (| M.get_constant (| "revm_primitives::constants::BLOCK_HASH_HISTORY" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2975,7 +3054,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_blockhash : @@ -3011,8 +3090,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -3025,8 +3104,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3119,8 +3199,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3147,7 +3227,8 @@ Module instructions. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3183,7 +3264,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sload : M.IsFunction "revm_interpreter::instructions::host::sload" sload. @@ -3267,8 +3348,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -3281,8 +3362,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3453,8 +3535,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3468,7 +3550,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3564,7 +3647,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sstore : M.IsFunction "revm_interpreter::instructions::host::sstore" sstore. @@ -3598,8 +3681,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -3612,7 +3695,8 @@ Module instructions. "revm_primitives::specification::SpecId::CANCUN" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3682,8 +3766,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3701,7 +3785,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3735,8 +3820,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -3749,8 +3834,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3832,7 +3918,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_tstore : M.IsFunction "revm_interpreter::instructions::host::tstore" tstore. @@ -3865,8 +3951,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -3879,7 +3965,8 @@ Module instructions. "revm_primitives::specification::SpecId::CANCUN" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3913,8 +4000,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3932,7 +4019,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3966,8 +4054,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -3980,8 +4068,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4048,7 +4137,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_tload : M.IsFunction "revm_interpreter::instructions::host::tload" tload. @@ -4141,8 +4230,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -4155,8 +4244,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4229,33 +4319,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -4298,7 +4397,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -4352,8 +4451,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -4367,7 +4466,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4429,7 +4529,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4472,33 +4575,48 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -4542,7 +4660,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -4582,9 +4700,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -4598,7 +4716,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4613,8 +4732,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -4632,7 +4751,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4704,8 +4824,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -4718,12 +4838,13 @@ Module instructions. "stack" |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_interpreter::instructions::host::log::N" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4791,7 +4912,7 @@ Module instructions. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| M.get_constant (| @@ -4954,7 +5075,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_log : M.IsFunction "revm_interpreter::instructions::host::log" log. @@ -5032,8 +5153,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -5046,8 +5167,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5156,8 +5278,8 @@ Module instructions. M.use (M.alloc (| LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -5170,16 +5292,18 @@ Module instructions. "revm_primitives::specification::SpecId::LONDON" [] ] - |)), + |) + |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| res, "revm_interpreter::host::SelfDestructResult", "previously_destroyed" |) - |)))) + |) + |))) |) |)) in let _ := @@ -5220,8 +5344,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -5248,7 +5372,8 @@ Module instructions. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5292,7 +5417,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_selfdestruct : diff --git a/CoqOfRust/revm/interpreter/instructions/host_env.v b/CoqOfRust/revm/interpreter/instructions/host_env.v index 4a6dd0d0f..2ebceedc9 100644 --- a/CoqOfRust/revm/interpreter/instructions/host_env.v +++ b/CoqOfRust/revm/interpreter/instructions/host_env.v @@ -28,8 +28,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -42,7 +42,8 @@ Module instructions. "revm_primitives::specification::SpecId::ISTANBUL" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -76,8 +77,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -95,7 +96,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -207,7 +209,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_chainid : @@ -237,8 +239,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -256,7 +258,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -366,7 +369,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_coinbase : @@ -396,8 +399,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -415,7 +418,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -518,7 +522,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_timestamp : @@ -548,8 +552,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -567,7 +571,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -670,7 +675,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_block_number : @@ -704,8 +709,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -723,7 +728,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -942,7 +948,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_difficulty : @@ -972,8 +978,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -991,7 +997,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1094,7 +1101,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_gaslimit : @@ -1124,8 +1131,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1143,7 +1150,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1245,7 +1253,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_gasprice : @@ -1276,8 +1284,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -1290,7 +1298,8 @@ Module instructions. "revm_primitives::specification::SpecId::LONDON" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1324,8 +1333,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1343,7 +1352,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1446,7 +1456,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_basefee : @@ -1476,8 +1486,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1495,7 +1505,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1605,7 +1616,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_origin : M.IsFunction "revm_interpreter::instructions::host_env::origin" origin. @@ -1640,8 +1651,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -1654,7 +1665,8 @@ Module instructions. "revm_primitives::specification::SpecId::CANCUN" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1688,8 +1700,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1707,7 +1719,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1741,8 +1754,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1755,8 +1768,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1840,33 +1854,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1876,7 +1899,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) ] @@ -1980,7 +2003,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_blob_hash : @@ -2014,8 +2037,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -2028,7 +2051,8 @@ Module instructions. "revm_primitives::specification::SpecId::CANCUN" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2062,8 +2086,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2081,7 +2105,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2205,7 +2230,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_blob_basefee : diff --git a/CoqOfRust/revm/interpreter/instructions/i256.v b/CoqOfRust/revm/interpreter/instructions/i256.v index 2576e970c..8fedbc9d0 100644 --- a/CoqOfRust/revm/interpreter/instructions/i256.v +++ b/CoqOfRust/revm/interpreter/instructions/i256.v @@ -38,7 +38,7 @@ Module instructions. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110,7 +110,7 @@ Module instructions. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -163,9 +163,9 @@ Module instructions. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -197,7 +197,7 @@ Module instructions. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -253,7 +253,7 @@ Module instructions. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -302,7 +302,7 @@ Module instructions. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -341,7 +341,7 @@ Module instructions. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -361,10 +361,10 @@ Module instructions. [ Value.Array [ - Value.Integer 18446744073709551615; - Value.Integer 18446744073709551615; - Value.Integer 18446744073709551615; - Value.Integer 9223372036854775807 + Value.Integer IntegerKind.U64 18446744073709551615; + Value.Integer IntegerKind.U64 18446744073709551615; + Value.Integer IntegerKind.U64 18446744073709551615; + Value.Integer IntegerKind.U64 9223372036854775807 ] ] |) @@ -379,17 +379,17 @@ Module instructions. [ Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 9223372036854775808 + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 9223372036854775808 ] ] |) |))). Definition value_FLIPH_BITMASK_U64 : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 9223372036854775807 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9223372036854775807 |))). (* pub fn i256_sign(val: &U256) -> Sign { @@ -419,10 +419,10 @@ Module instructions. M.get_associated_function (| Ty.path "ruint::Uint", "bit", [] |), [ M.read (| val |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| M.get_constant (| "ruint::BITS'1" |) |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "ruint::BITS'1" |) |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |)) in @@ -455,7 +455,7 @@ Module instructions. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i256_sign : @@ -527,7 +527,7 @@ Module instructions. |) in sign |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i256_sign_compl : @@ -554,11 +554,11 @@ Module instructions. M.get_associated_function (| Ty.path "ruint::Uint", "as_limbs_mut", [] |), [ M.read (| val |) ] |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) in M.write (| β, - BinOp.Pure.bit_and + BinOp.bit_and (M.read (| β |)) (M.read (| M.get_constant (| "revm_interpreter::instructions::i256::FLIPH_BITMASK_U64" |) @@ -566,7 +566,7 @@ Module instructions. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u256_remove_sign : @@ -593,7 +593,7 @@ Module instructions. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_two_compl_mut : @@ -613,7 +613,7 @@ Module instructions. M.get_associated_function (| Ty.path "ruint::Uint", "wrapping_neg", [] |), [ M.read (| op |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_two_compl : @@ -688,7 +688,7 @@ Module instructions. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i256_cmp : @@ -834,7 +834,7 @@ Module instructions. "from", [ Ty.path "i32" ] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.I32 1 ] |) |) ] @@ -992,7 +992,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i256_div : @@ -1194,7 +1194,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_i256_mod : diff --git a/CoqOfRust/revm/interpreter/instructions/memory.v b/CoqOfRust/revm/interpreter/instructions/memory.v index e0dfb8a5f..b612516eb 100644 --- a/CoqOfRust/revm/interpreter/instructions/memory.v +++ b/CoqOfRust/revm/interpreter/instructions/memory.v @@ -30,8 +30,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -49,7 +49,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -83,8 +84,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -97,8 +98,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -160,33 +162,36 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -229,7 +234,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -253,7 +258,7 @@ Module instructions. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_add", [] |), - [ M.read (| offset |); Value.Integer 32 ] + [ M.read (| offset |); Value.Integer IntegerKind.Usize 32 ] |) |) in let~ _ := @@ -265,9 +270,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -281,7 +286,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -293,8 +299,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -312,7 +318,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -365,7 +372,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mload : M.IsFunction "revm_interpreter::instructions::memory::mload" mload. @@ -397,8 +404,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -416,7 +423,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -450,8 +458,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -464,8 +472,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -538,33 +547,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -607,7 +625,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -631,7 +649,7 @@ Module instructions. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_add", [] |), - [ M.read (| offset |); Value.Integer 32 ] + [ M.read (| offset |); Value.Integer IntegerKind.Usize 32 ] |) |) in let~ _ := @@ -643,9 +661,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -659,7 +677,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -674,8 +693,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -693,7 +712,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -749,7 +769,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mstore : M.IsFunction "revm_interpreter::instructions::memory::mstore" mstore. @@ -781,8 +801,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -800,7 +820,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -834,8 +855,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -848,8 +869,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -922,33 +944,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -991,7 +1022,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1015,7 +1046,7 @@ Module instructions. M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_add", [] |), - [ M.read (| offset |); Value.Integer 1 ] + [ M.read (| offset |); Value.Integer IntegerKind.Usize 1 ] |) |) in let~ _ := @@ -1027,9 +1058,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -1043,7 +1074,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1058,8 +1090,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -1077,7 +1109,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1124,7 +1157,7 @@ Module instructions. M.read (| offset |); M.call_closure (| M.get_associated_function (| Ty.path "ruint::Uint", "byte", [] |), - [ value; Value.Integer 0 ] + [ value; Value.Integer IntegerKind.Usize 0 ] |) ] |) @@ -1133,7 +1166,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mstore8 : M.IsFunction "revm_interpreter::instructions::memory::mstore8" mstore8. @@ -1162,8 +1195,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1181,7 +1214,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1288,7 +1322,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_msize : M.IsFunction "revm_interpreter::instructions::memory::msize" msize. @@ -1332,8 +1366,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -1346,7 +1380,8 @@ Module instructions. "revm_primitives::specification::SpecId::CANCUN" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1380,8 +1415,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1394,8 +1429,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1470,33 +1506,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1539,7 +1584,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1588,8 +1633,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1603,7 +1648,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1664,7 +1710,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1701,33 +1750,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1770,7 +1828,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1814,33 +1872,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1883,7 +1950,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1925,9 +1992,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -1941,7 +2008,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1956,8 +2024,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -1975,7 +2043,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2032,7 +2101,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mcopy : M.IsFunction "revm_interpreter::instructions::memory::mcopy" mcopy. diff --git a/CoqOfRust/revm/interpreter/instructions/stack.v b/CoqOfRust/revm/interpreter/instructions/stack.v index 0a2f3c48f..187ae382e 100644 --- a/CoqOfRust/revm/interpreter/instructions/stack.v +++ b/CoqOfRust/revm/interpreter/instructions/stack.v @@ -29,8 +29,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -48,7 +48,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -117,7 +118,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_pop : M.IsFunction "revm_interpreter::instructions::stack::pop" pop. @@ -149,8 +150,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -163,7 +164,8 @@ Module instructions. "revm_primitives::specification::SpecId::SHANGHAI" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -197,8 +199,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -216,7 +218,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -286,7 +289,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_push0 : M.IsFunction "revm_interpreter::instructions::stack::push0" push0. @@ -325,8 +328,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -344,7 +347,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -464,7 +468,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_push : M.IsFunction "revm_interpreter::instructions::stack::push" push. @@ -495,8 +499,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -514,7 +518,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -588,7 +593,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_dup : M.IsFunction "revm_interpreter::instructions::stack::dup" dup. @@ -619,8 +624,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -638,7 +643,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -712,7 +718,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_swap : M.IsFunction "revm_interpreter::instructions::stack::swap" swap. @@ -746,14 +752,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -787,8 +794,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -806,7 +813,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -861,10 +869,10 @@ Module instructions. "revm_interpreter::interpreter::Interpreter", "stack" |); - BinOp.Wrap.add - Integer.Usize - (M.rust_cast (M.read (| imm |))) - (Value.Integer 1) + BinOp.Wrap.add (| + M.rust_cast (M.read (| imm |)), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -909,14 +917,14 @@ Module instructions. "instruction_pointer" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Isize 1 ] |) |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_dupn : M.IsFunction "revm_interpreter::instructions::stack::dupn" dupn. @@ -950,14 +958,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -991,8 +1000,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1010,7 +1019,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1065,10 +1075,10 @@ Module instructions. "revm_interpreter::interpreter::Interpreter", "stack" |); - BinOp.Wrap.add - Integer.Usize - (M.rust_cast (M.read (| imm |))) - (Value.Integer 1) + BinOp.Wrap.add (| + M.rust_cast (M.read (| imm |)), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -1113,14 +1123,14 @@ Module instructions. "instruction_pointer" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Isize 1 ] |) |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_swapn : M.IsFunction "revm_interpreter::instructions::stack::swapn" swapn. @@ -1157,14 +1167,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1198,8 +1209,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1217,7 +1228,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1254,17 +1266,17 @@ Module instructions. |) in let~ n := M.alloc (| - BinOp.Wrap.add - Integer.U8 - (BinOp.Wrap.shr (M.read (| imm |)) (Value.Integer 4)) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.shr (| M.read (| imm |), Value.Integer IntegerKind.I32 4 |), + Value.Integer IntegerKind.U8 1 + |) |) in let~ m := M.alloc (| - BinOp.Wrap.add - Integer.U8 - (BinOp.Pure.bit_and (M.read (| imm |)) (Value.Integer 15)) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.bit_and (M.read (| imm |)) (Value.Integer IntegerKind.U8 15), + Value.Integer IntegerKind.U8 1 + |) |) in let~ _ := M.match_operator (| @@ -1332,14 +1344,14 @@ Module instructions. "instruction_pointer" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Isize 1 ] |) |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_exchange : diff --git a/CoqOfRust/revm/interpreter/instructions/system.v b/CoqOfRust/revm/interpreter/instructions/system.v index 80296ad2e..0c97cca6e 100644 --- a/CoqOfRust/revm/interpreter/instructions/system.v +++ b/CoqOfRust/revm/interpreter/instructions/system.v @@ -36,8 +36,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -50,8 +50,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -124,33 +125,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -193,7 +203,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -242,8 +252,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -257,7 +267,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -319,7 +330,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -355,33 +369,48 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer + IntegerKind.Usize + 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -425,7 +454,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -465,9 +494,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -481,7 +510,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -496,8 +526,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -515,7 +545,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -600,7 +631,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_keccak256 : @@ -630,8 +661,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -649,7 +680,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -750,7 +782,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_address : M.IsFunction "revm_interpreter::instructions::system::address" address. @@ -779,8 +811,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -798,7 +830,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -899,7 +932,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_caller : M.IsFunction "revm_interpreter::instructions::system::caller" caller. @@ -930,8 +963,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -949,7 +982,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -983,9 +1017,9 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::Bytecode", "is_eof", @@ -1002,7 +1036,9 @@ Module instructions. "bytecode" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1180,7 +1216,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_codesize : @@ -1227,8 +1263,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -1241,8 +1277,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1317,33 +1354,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1386,7 +1432,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1435,8 +1481,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -1450,7 +1496,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1511,7 +1558,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1548,33 +1598,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1617,7 +1676,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -1679,33 +1738,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -1715,7 +1783,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) @@ -1744,9 +1812,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -1760,7 +1828,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1775,8 +1844,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -1794,7 +1863,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1834,9 +1904,9 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::Bytecode", "is_eof", @@ -1853,7 +1923,9 @@ Module instructions. "bytecode" |) ] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2018,7 +2090,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_codecopy : @@ -2066,8 +2138,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2085,7 +2157,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2119,8 +2192,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -2133,8 +2206,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2220,33 +2294,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -2256,7 +2339,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) ] @@ -2277,9 +2360,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| offset |)) - (M.call_closure (| + BinOp.lt (| + M.read (| offset |), + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -2307,7 +2390,8 @@ Module instructions. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2322,10 +2406,9 @@ Module instructions. [] |), [ - Value.Integer 32; - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + Value.Integer IntegerKind.Usize 32; + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -2353,8 +2436,9 @@ Module instructions. ] |) ] - |)) - (M.read (| offset |)) + |), + M.read (| offset |) + |) ] |) |) in @@ -2379,18 +2463,19 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.le - (M.read (| count |)) - (Value.Integer 32), + UnOp.not (| + LogicalOp.and (| + BinOp.le (| + M.read (| count |), + Value.Integer IntegerKind.Usize 32 + |), ltac:(M.monadic - (BinOp.Pure.le - (BinOp.Wrap.add - Integer.Usize - (M.read (| offset |)) - (M.read (| count |))) - (M.call_closure (| + (BinOp.le (| + BinOp.Wrap.add (| + M.read (| offset |), + M.read (| count |) + |), + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -2419,8 +2504,10 @@ Module instructions. ] |) ] - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2554,7 +2641,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calldataload : @@ -2584,8 +2671,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2603,7 +2690,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2724,7 +2812,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calldatasize : @@ -2754,8 +2842,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -2773,7 +2861,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2867,7 +2956,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_callvalue : @@ -2912,8 +3001,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -2926,8 +3015,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3002,33 +3092,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -3071,7 +3170,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -3120,8 +3219,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3135,7 +3234,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3196,7 +3296,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| len |)) (Value.Integer 0) + BinOp.eq (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3233,33 +3336,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -3302,7 +3414,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -3364,33 +3476,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -3400,7 +3521,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) @@ -3429,9 +3550,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -3445,7 +3566,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3460,8 +3582,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -3479,7 +3601,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3567,7 +3690,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calldatacopy : @@ -3601,8 +3724,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -3615,7 +3738,8 @@ Module instructions. "revm_primitives::specification::SpecId::BYZANTIUM" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3649,8 +3773,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -3668,7 +3792,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3785,7 +3910,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_returndatasize : @@ -3831,8 +3956,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -3845,7 +3970,8 @@ Module instructions. "revm_primitives::specification::SpecId::BYZANTIUM" [] ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3879,8 +4005,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -3893,8 +4019,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 3) + |), + Value.Integer IntegerKind.Usize 3 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3969,33 +4096,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -4038,7 +4174,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -4087,8 +4223,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -4102,7 +4238,8 @@ Module instructions. |); M.read (| gas_used |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4196,33 +4333,42 @@ Module instructions. (M.alloc (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -4232,7 +4378,7 @@ Module instructions. |) in M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |))); fun γ => ltac:(M.monadic (M.get_constant (| "core::num::MAX" |))) @@ -4261,9 +4407,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| data_end |)) - (M.call_closure (| + BinOp.gt (| + M.read (| data_end |), + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -4287,7 +4433,8 @@ Module instructions. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4323,7 +4470,10 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| len |)) (Value.Integer 0) + BinOp.ne (| + M.read (| len |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4354,33 +4504,42 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| + Value.Integer IntegerKind.Usize 1 + |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| + Value.Integer IntegerKind.Usize 2 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| + Value.Integer IntegerKind.Usize 3 + |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -4423,7 +4582,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -4463,9 +4622,9 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_size |)) - (M.call_closure (| + BinOp.gt (| + M.read (| new_size |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", @@ -4479,7 +4638,8 @@ Module instructions. "shared_memory" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4494,8 +4654,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_interpreter::interpreter::resize_memory", [] @@ -4513,7 +4673,8 @@ Module instructions. |); M.read (| new_size |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4620,7 +4781,7 @@ Module instructions. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_returndatacopy : @@ -4659,14 +4820,15 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| interpreter |), "revm_interpreter::interpreter::Interpreter", "is_eof" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4700,8 +4862,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -4719,7 +4881,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4753,8 +4916,8 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::stack::Stack", "len", @@ -4767,8 +4930,9 @@ Module instructions. "stack" |) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.Usize 1 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4830,33 +4994,36 @@ Module instructions. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U64 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |)) in let _ := @@ -4899,7 +5066,7 @@ Module instructions. M.read (| M.SubPointer.get_array_field (| M.read (| x |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -4928,16 +5095,17 @@ Module instructions. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "usize", "saturating_add", [] |), - [ M.read (| offset_usize |); Value.Integer 32 ] - |)) - (M.call_closure (| + [ M.read (| offset_usize |); Value.Integer IntegerKind.Usize 32 + ] + |), + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -4961,7 +5129,8 @@ Module instructions. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5047,10 +5216,10 @@ Module instructions. [ ("start", M.read (| offset_usize |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| offset_usize |)) - (Value.Integer 32)) + BinOp.Wrap.add (| + M.read (| offset_usize |), + Value.Integer IntegerKind.Usize 32 + |)) ] ] |) @@ -5062,7 +5231,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_returndataload : @@ -5092,8 +5261,8 @@ Module instructions. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -5111,7 +5280,8 @@ Module instructions. |) |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5217,7 +5387,7 @@ Module instructions. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_gas : M.IsFunction "revm_interpreter::instructions::system::gas" gas. diff --git a/CoqOfRust/revm/interpreter/instructions/utility.v b/CoqOfRust/revm/interpreter/instructions/utility.v index f07feff49..24cbfe0a3 100644 --- a/CoqOfRust/revm/interpreter/instructions/utility.v +++ b/CoqOfRust/revm/interpreter/instructions/utility.v @@ -39,7 +39,7 @@ Module instructions. [ M.call_closure (| M.get_function (| "core::slice::raw::from_raw_parts", [ Ty.path "u8" ] |), - [ M.read (| ptr |); Value.Integer 2 ] + [ M.read (| ptr |); Value.Integer IntegerKind.Usize 2 ] |) ] |) @@ -47,7 +47,7 @@ Module instructions. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read_i16 : @@ -89,7 +89,7 @@ Module instructions. [ M.call_closure (| M.get_function (| "core::slice::raw::from_raw_parts", [ Ty.path "u8" ] |), - [ M.read (| ptr |); Value.Integer 2 ] + [ M.read (| ptr |); Value.Integer IntegerKind.Usize 2 ] |) ] |) @@ -97,7 +97,7 @@ Module instructions. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read_u16 : diff --git a/CoqOfRust/revm/interpreter/interpreter.v b/CoqOfRust/revm/interpreter/interpreter.v index 7e189d3d3..d7f715add 100644 --- a/CoqOfRust/revm/interpreter/interpreter.v +++ b/CoqOfRust/revm/interpreter/interpreter.v @@ -175,7 +175,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -215,11 +215,11 @@ Module interpreter. |), [] |); - Value.Integer 0; + Value.Integer IntegerKind.U64 0; Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -306,7 +306,7 @@ Module interpreter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -364,7 +364,7 @@ Module interpreter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -465,7 +465,7 @@ Module interpreter. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -516,7 +516,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -572,8 +572,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::Bytecode", "is_execution_ready", @@ -586,7 +586,8 @@ Module interpreter. "bytecode" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -781,7 +782,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -808,7 +809,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_is_eof_init : @@ -842,7 +843,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eof : M.IsAssociatedFunction Self "eof" eof. @@ -997,7 +998,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_eof_code : @@ -1356,7 +1357,7 @@ Module interpreter. |) |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -1490,7 +1491,7 @@ Module interpreter. |) |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -1593,7 +1594,7 @@ Module interpreter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_create_outcome : @@ -2014,7 +2015,7 @@ Module interpreter. |) |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2117,7 +2118,7 @@ Module interpreter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_eofcreate_outcome : @@ -2493,7 +2494,7 @@ Module interpreter. "from", [ Ty.path "i32" ] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.I32 1 ] |) ] |) @@ -2536,7 +2537,7 @@ Module interpreter. ] |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2732,7 +2733,7 @@ Module interpreter. ] |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2835,7 +2836,7 @@ Module interpreter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_call_outcome : @@ -2860,7 +2861,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_current_opcode : @@ -2881,7 +2882,7 @@ Module interpreter. "revm_interpreter::interpreter::Interpreter", "contract" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contract : M.IsAssociatedFunction Self "contract" contract. @@ -2901,7 +2902,7 @@ Module interpreter. "revm_interpreter::interpreter::Interpreter", "gas" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_gas : M.IsAssociatedFunction Self "gas" gas. @@ -2921,7 +2922,7 @@ Module interpreter. "revm_interpreter::interpreter::Interpreter", "stack" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_stack : M.IsAssociatedFunction Self "stack" stack. @@ -2991,7 +2992,7 @@ Module interpreter. |) ] |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_program_counter : @@ -3053,7 +3054,7 @@ Module interpreter. "instruction_pointer" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Isize 1 ] |) |) in @@ -3084,7 +3085,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_step : M.IsAssociatedFunction Self "step" step. @@ -3117,7 +3118,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_memory : M.IsAssociatedFunction Self "take_memory" take_memory. @@ -3351,7 +3352,7 @@ Module interpreter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_run : M.IsAssociatedFunction Self "run" run. @@ -3383,7 +3384,7 @@ Module interpreter. M.read (| new_size |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_resize_memory : @@ -3419,7 +3420,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_ok : M.IsAssociatedFunction Self "is_ok" is_ok. @@ -3450,7 +3451,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_revert : M.IsAssociatedFunction Self "is_revert" is_revert. @@ -3481,7 +3482,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_error : M.IsAssociatedFunction Self "is_error" is_error. @@ -3534,9 +3535,7 @@ Module interpreter. |) |) in let~ cost := - M.alloc (| - BinOp.Wrap.sub Integer.U64 (M.read (| new_cost |)) (M.read (| current_cost |)) - |) in + M.alloc (| BinOp.Wrap.sub (| M.read (| new_cost |), M.read (| current_cost |) |) |) in let~ success := M.alloc (| M.call_closure (| @@ -3566,10 +3565,10 @@ Module interpreter. |), [ M.read (| memory |); - BinOp.Wrap.mul - Integer.Usize - (M.rust_cast (M.read (| new_words |))) - (Value.Integer 32) + BinOp.Wrap.mul (| + M.rust_cast (M.read (| new_words |)), + Value.Integer IntegerKind.Usize 32 + |) ] |) |) in @@ -3579,7 +3578,7 @@ Module interpreter. |) in success |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_resize_memory : diff --git a/CoqOfRust/revm/interpreter/interpreter/analysis.v b/CoqOfRust/revm/interpreter/interpreter/analysis.v index 3761c5dbf..79c77a9bc 100644 --- a/CoqOfRust/revm/interpreter/interpreter/analysis.v +++ b/CoqOfRust/revm/interpreter/interpreter/analysis.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Module interpreter. Module analysis. Definition value_EOF_NON_RETURNING_FUNCTION : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 128 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 128 |))). (* pub fn to_analysed(bytecode: Bytecode) -> Bytecode { @@ -76,7 +76,11 @@ Module interpreter. "with_capacity", [] |), - [ BinOp.Wrap.add Integer.Usize (M.read (| len |)) (Value.Integer 33) + [ + BinOp.Wrap.add (| + M.read (| len |), + Value.Integer IntegerKind.Usize 33 + |) ] |) |) in @@ -128,11 +132,11 @@ Module interpreter. |), [ padded_bytecode; - BinOp.Wrap.add - Integer.Usize - (M.read (| len |)) - (Value.Integer 33); - Value.Integer 0 + BinOp.Wrap.add (| + M.read (| len |), + Value.Integer IntegerKind.Usize 33 + |); + Value.Integer IntegerKind.U8 0 ] |) |) in @@ -211,7 +215,7 @@ Module interpreter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_to_analysed : @@ -263,7 +267,7 @@ Module interpreter. [] |), [ - BinOp.Pure.ne (Value.Integer 0) (Value.Integer 0); + BinOp.ne (| Value.Integer IntegerKind.I32 0, Value.Integer IntegerKind.I32 0 |); M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -306,7 +310,7 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt (M.read (| iterator |)) (M.read (| end_ |)) + BinOp.lt (| M.read (| iterator |), M.read (| end_ |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -319,13 +323,14 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.get_constant (| "revm_interpreter::opcode::JUMPDEST" |) - |)) - (M.read (| opcode |)) + |), + M.read (| opcode |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -377,7 +382,7 @@ Module interpreter. "offset", [] |), - [ M.read (| iterator |); Value.Integer 1 ] + [ M.read (| iterator |); Value.Integer IntegerKind.Isize 1 ] |) |) in M.alloc (| Value.Tuple [] |))); @@ -407,9 +412,10 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| push_offset |)) - (Value.Integer 32) + BinOp.lt (| + M.read (| push_offset |), + Value.Integer IntegerKind.U8 32 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -428,10 +434,10 @@ Module interpreter. [ M.read (| iterator |); M.rust_cast - (BinOp.Wrap.add - Integer.U8 - (M.read (| push_offset |)) - (Value.Integer 2)) + (BinOp.Wrap.add (| + M.read (| push_offset |), + Value.Integer IntegerKind.U8 2 + |)) ] |) |) in @@ -447,7 +453,10 @@ Module interpreter. "offset", [] |), - [ M.read (| iterator |); Value.Integer 1 ] + [ + M.read (| iterator |); + Value.Integer IntegerKind.Isize 1 + ] |) |) in M.alloc (| Value.Tuple [] |))) @@ -491,7 +500,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_analyze : @@ -680,7 +689,7 @@ Module interpreter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| eof |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_validate_raw_eof : @@ -1093,7 +1102,7 @@ Module interpreter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_validate_eof : @@ -1197,8 +1206,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1220,8 +1229,8 @@ Module interpreter. "code_section" |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1244,7 +1253,8 @@ Module interpreter. "types_section" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1331,7 +1341,7 @@ Module interpreter. "index_mut", [] |), - [ queued_codes; Value.Integer 0 ] + [ queued_codes; Value.Integer IntegerKind.Usize 0 ] |), Value.Bool true |) in @@ -1360,7 +1370,7 @@ Module interpreter. "revm_primitives::bytecode::eof::body::EofBody", "types_section" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |) |) in @@ -1374,29 +1384,31 @@ Module interpreter. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| first_types |), "revm_primitives::bytecode::eof::types_section::TypesSection", "inputs" |) - |)) - (Value.Integer 0), + |), + Value.Integer IntegerKind.U8 0 + |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| first_types |), "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_interpreter::interpreter::analysis::EOF_NON_RETURNING_FUNCTION" |) - |)))) + |) + |))) |) |)) in let _ := @@ -1442,7 +1454,7 @@ Module interpreter. "new", [] |), - [ M.alloc (| Value.Array [ Value.Integer 0 ] |) ] + [ M.alloc (| Value.Array [ Value.Integer IntegerKind.Usize 0 ] |) ] |) |)) ] @@ -1727,8 +1739,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.call_closure (| M.get_trait_method (| "core::ops::index::Index", @@ -1749,7 +1761,8 @@ Module interpreter. M.read (| i |) ] |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1807,7 +1820,7 @@ Module interpreter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1875,10 +1888,10 @@ Module interpreter. fun γ => ltac:(M.monadic (let x := M.copy (| γ |) in - UnOp.Pure.not (M.read (| x |)))) + UnOp.not (| M.read (| x |) |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1906,7 +1919,7 @@ Module interpreter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_validate_eof_codes : @@ -1998,7 +2011,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2093,7 +2106,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2148,7 +2161,7 @@ Module interpreter. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -2238,7 +2251,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2282,7 +2295,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2410,7 +2423,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2550,7 +2563,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2583,7 +2596,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2621,7 +2634,7 @@ Module interpreter. Value.StructTuple "revm_interpreter::interpreter::analysis::EofError::Decode" [ M.read (| err |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2649,7 +2662,7 @@ Module interpreter. Value.StructTuple "revm_interpreter::interpreter::analysis::EofError::Validation" [ M.read (| err |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3121,7 +3134,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3161,7 +3174,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3216,9 +3229,9 @@ Module interpreter. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3252,7 +3265,7 @@ Module interpreter. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3309,7 +3322,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3359,7 +3372,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3381,7 +3394,7 @@ Module interpreter. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3806,7 +3819,7 @@ Module interpreter. |) |)) |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -3818,16 +3831,17 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| i |)) - (M.call_closure (| + BinOp.lt (| + M.read (| i |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| code |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3930,8 +3944,9 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| is_after_termination |)) + UnOp.not (| + M.read (| is_after_termination |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4004,14 +4019,15 @@ Module interpreter. LogicalOp.and (| M.read (| is_after_termination |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "is_jumpdest" |) - |)))) + |) + |))) |) |)) in let _ := @@ -4058,8 +4074,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::opcode::OpCodeInfo", @@ -4067,8 +4083,9 @@ Module interpreter. [] |), [ M.read (| opcode |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U8 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4084,11 +4101,10 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.rust_cast + BinOp.ge (| + BinOp.Wrap.add (| + M.read (| i |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path @@ -4097,8 +4113,9 @@ Module interpreter. [] |), [ M.read (| opcode |) ] - |)))) - (M.call_closure (| + |)) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -4107,7 +4124,8 @@ Module interpreter. [] |), [ M.read (| code |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4151,11 +4169,11 @@ Module interpreter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 1); + ("start", + Value.Integer IntegerKind.Usize 1); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.rust_cast + BinOp.Wrap.add (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path @@ -4164,8 +4182,9 @@ Module interpreter. [] |), [ M.read (| opcode |) ] - |))) - (Value.Integer 1)) + |)), + Value.Integer IntegerKind.Usize 1 + |)) ] ] |) @@ -4266,14 +4285,14 @@ Module interpreter. |), [ jumps; - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| i - |)) - (M.read (| + |), + M.read (| imm - |)) + |) + |) ] |) ] @@ -4393,7 +4412,7 @@ Module interpreter. |)) |) in let~ rjumpv_additional_immediates := - M.alloc (| Value.Integer 0 |) in + M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ absolute_jumpdest := M.alloc (| M.call_closure (| @@ -4421,7 +4440,7 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 224 + Value.Integer IntegerKind.U8 224 |) in Value.Tuple [])); fun γ => @@ -4429,7 +4448,7 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 225 + Value.Integer IntegerKind.U8 225 |) in Value.Tuple [])) ], @@ -4467,10 +4486,12 @@ Module interpreter. |), [ M.read (| code |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer + IntegerKind.Usize + 1 + |) ] |) ] @@ -4512,19 +4533,20 @@ Module interpreter. M.alloc (| Value.Array [ - BinOp.Wrap.add - Integer.Isize - (BinOp.Wrap.add - Integer.Isize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| offset - |)) - (Value.Integer - 3)) - (M.rust_cast + |), + Value.Integer + IntegerKind.Isize + 3 + |), + M.rust_cast (M.read (| i - |))) + |)) + |) ] |) ] @@ -4534,7 +4556,8 @@ Module interpreter. |) |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -4542,7 +4565,7 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 226 + Value.Integer IntegerKind.U8 226 |) in let~ max_index := M.alloc (| @@ -4551,28 +4574,28 @@ Module interpreter. M.SubPointer.get_array_field (| M.read (| code |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |) |) |)) |) in let~ len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| max_index |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| max_index |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| rjumpv_additional_immediates, - BinOp.Wrap.mul - Integer.Usize - (M.read (| len |)) - (Value.Integer 2) + BinOp.Wrap.mul (| + M.read (| len |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ _ := M.match_operator (| @@ -4583,17 +4606,19 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1)) - (M.read (| + BinOp.ge (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer + IntegerKind.Usize + 1 + |), + M.read (| rjumpv_additional_immediates - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -4602,7 +4627,8 @@ Module interpreter. [] |), [ M.read (| code |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -4647,7 +4673,10 @@ Module interpreter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer + IntegerKind.Usize + 0); ("end_", M.read (| rjumpv_additional_immediates @@ -4752,18 +4781,19 @@ Module interpreter. |), [ jumps; - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| i - |)) - (Value.Integer - 2)) - (M.read (| + |), + Value.Integer + IntegerKind.Usize + 2 + |), + M.read (| imm - |)) + |) + |) ] |) ] @@ -4889,7 +4919,10 @@ Module interpreter. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer + IntegerKind.Usize + 0); ("end_", M.read (| len |)) ] ] @@ -4983,22 +5016,24 @@ Module interpreter. |) ] |); - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| i - |)) - (Value.Integer - 2)) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer - 2) - (M.read (| + |), + Value.Integer + IntegerKind.Usize + 2 + |), + BinOp.Wrap.mul (| + Value.Integer + IntegerKind.Usize + 2, + M.read (| vtablei - |))) + |) + |) + |) ] |) ] @@ -5022,25 +5057,26 @@ Module interpreter. |), [ jumps; - BinOp.Wrap.add - Integer.Isize - (BinOp.Wrap.add - Integer.Isize - (BinOp.Wrap.add - Integer.Isize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| offset - |)) - (M.rust_cast + |), + M.rust_cast (M.read (| i - |)))) - (Value.Integer - 2)) - (M.rust_cast + |)) + |), + Value.Integer + IntegerKind.Isize + 2 + |), + M.rust_cast (M.read (| rjumpv_additional_immediates - |))) + |)) + |) ] |) |) in @@ -5062,7 +5098,7 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 227 + Value.Integer IntegerKind.U8 227 |) in let~ section_i := M.alloc (| @@ -5092,10 +5128,10 @@ Module interpreter. |), [ M.read (| code |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -5136,8 +5172,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| target_types @@ -5145,12 +5181,13 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_interpreter::interpreter::analysis::EOF_NON_RETURNING_FUNCTION" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5231,22 +5268,21 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (BinOp.Wrap.add - Integer.I32 - (BinOp.Wrap.sub - Integer.I32 - (M.read (| + BinOp.gt (| + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "biggest" |) - |)) - (M.read (| + |), + M.read (| stack_requirement - |))) - (M.rust_cast + |) + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| @@ -5255,13 +5291,15 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "max_stack_size" |) - |)))) - (M.rust_cast + |)) + |), + M.rust_cast (M.read (| M.get_constant (| "revm_interpreter::interpreter::stack::STACK_LIMIT" |) - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5295,7 +5333,7 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 229 + Value.Integer IntegerKind.U8 229 |) in let~ target_index := M.alloc (| @@ -5325,10 +5363,10 @@ Module interpreter. |), [ M.read (| code |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -5372,19 +5410,17 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (BinOp.Wrap.add - Integer.I32 - (BinOp.Wrap.sub - Integer.I32 - (M.read (| + BinOp.gt (| + BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "biggest" |) - |)) - (M.rust_cast + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| @@ -5393,8 +5429,9 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "inputs" |) - |)))) - (M.rust_cast + |)) + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| @@ -5403,13 +5440,15 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "max_stack_size" |) - |)))) - (M.rust_cast + |)) + |), + M.rust_cast (M.read (| M.get_constant (| "revm_interpreter::interpreter::stack::STACK_LIMIT" |) - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5465,8 +5504,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| target_types @@ -5474,12 +5513,13 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_interpreter::interpreter::analysis::EOF_NON_RETURNING_FUNCTION" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5510,8 +5550,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| this_types @@ -5519,8 +5559,8 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| target_types @@ -5528,7 +5568,8 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5560,11 +5601,9 @@ Module interpreter. let~ _ := M.write (| stack_requirement, - BinOp.Wrap.sub - Integer.I32 - (BinOp.Wrap.add - Integer.I32 - (M.rust_cast + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| @@ -5573,8 +5612,8 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |))) - (M.rust_cast + |)), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| @@ -5583,8 +5622,9 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "inputs" |) - |)))) - (M.rust_cast + |)) + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| @@ -5593,7 +5633,8 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |))) + |)) + |) |) in let~ _ := M.match_operator (| @@ -5604,17 +5645,18 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "biggest" |) - |)) - (M.read (| + |), + M.read (| stack_requirement - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5651,25 +5693,26 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (BinOp.Wrap.add - Integer.I32 - (M.read (| + BinOp.gt (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "biggest" |) - |)) - (M.read (| + |), + M.read (| stack_requirement - |))) - (M.rust_cast + |) + |), + M.rust_cast (M.read (| M.get_constant (| "revm_interpreter::interpreter::stack::STACK_LIMIT" |) - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5707,7 +5750,7 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 236 + Value.Integer IntegerKind.U8 236 |) in let~ index := M.alloc (| @@ -5716,10 +5759,10 @@ Module interpreter. M.SubPointer.get_array_field (| M.read (| code |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |) |) |)) @@ -5732,9 +5775,10 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| index |)) - (M.read (| num_of_containers |)) + BinOp.ge (| + M.read (| index |), + M.read (| num_of_containers |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5766,7 +5810,7 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 209 + Value.Integer IntegerKind.U8 209 |) in let~ index := M.alloc (| @@ -5796,10 +5840,10 @@ Module interpreter. |), [ M.read (| code |) ] |); - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) ] |) ] @@ -5814,17 +5858,21 @@ Module interpreter. M.use (M.alloc (| LogicalOp.or (| - BinOp.Pure.lt - (M.read (| data_size |)) - (Value.Integer 32), + BinOp.lt (| + M.read (| data_size |), + Value.Integer IntegerKind.Usize 32 + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| index |)) - (BinOp.Wrap.sub - Integer.Isize - (M.rust_cast - (M.read (| data_size |))) - (Value.Integer 32)))) + (BinOp.gt (| + M.read (| index |), + BinOp.Wrap.sub (| + M.rust_cast + (M.read (| data_size |)), + Value.Integer + IntegerKind.Isize + 32 + |) + |))) |) |)) in let _ := @@ -5857,7 +5905,7 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 228 + Value.Integer IntegerKind.U8 228 |) in let~ _ := M.write (| @@ -5879,15 +5927,16 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "biggest" |) - |)) - (M.read (| stack_requirement |)) + |), + M.read (| stack_requirement |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -5919,26 +5968,26 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 230 + Value.Integer IntegerKind.U8 230 |) in let~ _ := M.write (| stack_requirement, - BinOp.Wrap.add - Integer.I32 - (M.rust_cast + BinOp.Wrap.add (| + M.rust_cast (M.read (| M.SubPointer.get_array_field (| M.read (| code |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |))) - (Value.Integer 1) + |)), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -5946,26 +5995,26 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 231 + Value.Integer IntegerKind.U8 231 |) in let~ _ := M.write (| stack_requirement, - BinOp.Wrap.add - Integer.I32 - (M.rust_cast + BinOp.Wrap.add (| + M.rust_cast (M.read (| M.SubPointer.get_array_field (| M.read (| code |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |) |) - |))) - (Value.Integer 2) + |)), + Value.Integer IntegerKind.I32 2 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -5973,48 +6022,49 @@ Module interpreter. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 232 + Value.Integer IntegerKind.U8 232 |) in let~ imm := M.copy (| M.SubPointer.get_array_field (| M.read (| code |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |) |) |) in let~ n := M.alloc (| - BinOp.Wrap.add - Integer.U8 - (BinOp.Wrap.shr - (M.read (| imm |)) - (Value.Integer 4)) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.shr (| + M.read (| imm |), + Value.Integer IntegerKind.I32 4 + |), + Value.Integer IntegerKind.U8 1 + |) |) in let~ m := M.alloc (| - BinOp.Wrap.add - Integer.U8 - (BinOp.Pure.bit_and + BinOp.Wrap.add (| + BinOp.bit_and (M.read (| imm |)) - (Value.Integer 15)) - (Value.Integer 1) + (Value.Integer IntegerKind.U8 15), + Value.Integer IntegerKind.U8 1 + |) |) in let~ _ := M.write (| stack_requirement, - BinOp.Wrap.add - Integer.I32 - (BinOp.Wrap.add - Integer.I32 - (M.rust_cast (M.read (| n |))) - (M.rust_cast (M.read (| m |)))) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.rust_cast (M.read (| n |)), + M.rust_cast (M.read (| m |)) + |), + Value.Integer IntegerKind.I32 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -6029,15 +6079,16 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| stack_requirement |)) - (M.read (| + BinOp.gt (| + M.read (| stack_requirement |), + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "smallest" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6065,30 +6116,30 @@ Module interpreter. let~ _ := M.write (| next_smallest, - BinOp.Wrap.add - Integer.I32 - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "smallest" |) - |)) - (M.read (| stack_io_diff |)) + |), + M.read (| stack_io_diff |) + |) |) in let~ _ := M.write (| next_biggest, - BinOp.Wrap.add - Integer.I32 - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| this_instruction, "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "biggest" |) - |)) - (M.read (| stack_io_diff |)) + |), + M.read (| stack_io_diff |) + |) |) in let~ _ := M.use @@ -6168,11 +6219,14 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| absolute_jump - |)) - (Value.Integer 0) + |), + Value.Integer + IntegerKind.Isize + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6210,11 +6264,11 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| absolute_jump - |)) - (M.rust_cast + |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -6232,7 +6286,8 @@ Module interpreter. code |) ] - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6349,11 +6404,12 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.le - (M.read (| + BinOp.le (| + M.read (| absolute_jump - |)) - (M.read (| i |)) + |), + M.read (| i |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6371,8 +6427,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| target_jump @@ -6380,10 +6436,11 @@ Module interpreter. "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "biggest" |) - |)) - (M.read (| + |), + M.read (| next_biggest - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6425,8 +6482,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| target_jump @@ -6434,10 +6491,11 @@ Module interpreter. "revm_interpreter::interpreter::analysis::validate_eof_code::InstructionInfo", "smallest" |) - |)) - (M.read (| + |), + M.read (| next_smallest - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -6543,15 +6601,12 @@ Module interpreter. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.add (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path @@ -6560,8 +6615,11 @@ Module interpreter. [] |), [ M.read (| opcode |) ] - |)))) - (M.read (| rjumpv_additional_immediates |))) + |)) + |), + M.read (| rjumpv_additional_immediates |) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -6590,7 +6648,7 @@ Module interpreter. ltac:(M.monadic (let γ := M.use - (M.alloc (| UnOp.Pure.not (M.read (| is_after_termination |)) |)) in + (M.alloc (| UnOp.not (| M.read (| is_after_termination |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6611,7 +6669,7 @@ Module interpreter. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ max_stack_requirement := M.alloc (| Value.Integer 0 |) in + let~ max_stack_requirement := M.alloc (| Value.Integer IntegerKind.I32 0 |) in let~ _ := M.use (M.match_operator (| @@ -6715,9 +6773,9 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| max_stack_requirement |)) - (M.rust_cast + BinOp.ne (| + M.read (| max_stack_requirement |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_array_field (| @@ -6727,7 +6785,8 @@ Module interpreter. "revm_primitives::bytecode::eof::types_section::TypesSection", "max_stack_size" |) - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6754,7 +6813,7 @@ Module interpreter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_validate_eof_code : @@ -6830,7 +6889,7 @@ Module interpreter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6876,7 +6935,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6957,7 +7016,7 @@ Module interpreter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mark_as_immediate : @@ -6990,7 +7049,7 @@ Module interpreter. ("smallest", M.read (| M.get_constant (| "core::num::MAX" |) |)); ("biggest", M.read (| M.get_constant (| "core::num::MIN" |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/interpreter/interpreter/contract.v b/CoqOfRust/revm/interpreter/interpreter/contract.v index dc26a94aa..3b497cc01 100644 --- a/CoqOfRust/revm/interpreter/interpreter/contract.v +++ b/CoqOfRust/revm/interpreter/interpreter/contract.v @@ -138,7 +138,7 @@ Module interpreter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -244,7 +244,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -335,7 +335,7 @@ Module interpreter. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -401,7 +401,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -518,7 +518,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_env : M.IsAssociatedFunction Self "new_env" new_env. @@ -582,7 +582,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_context : @@ -671,14 +671,14 @@ Module interpreter. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_valid_jump : diff --git a/CoqOfRust/revm/interpreter/interpreter/shared_memory.v b/CoqOfRust/revm/interpreter/interpreter/shared_memory.v index ff08f4411..cb13496f4 100644 --- a/CoqOfRust/revm/interpreter/interpreter/shared_memory.v +++ b/CoqOfRust/revm/interpreter/interpreter/shared_memory.v @@ -84,7 +84,7 @@ Module interpreter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -177,23 +177,24 @@ Module interpreter. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter::shared_memory::SharedMemory", "last_checkpoint" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::interpreter::shared_memory::SharedMemory", "last_checkpoint" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -246,7 +247,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -328,7 +329,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -368,7 +369,7 @@ Module interpreter. |), [] |)); - ("last_checkpoint", Value.Integer 0) + ("last_checkpoint", Value.Integer IntegerKind.Usize 0) ] |))). @@ -467,7 +468,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -499,7 +500,7 @@ Module interpreter. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -529,9 +530,14 @@ Module interpreter. "with_capacity", [] |), - [ BinOp.Wrap.mul Integer.Usize (Value.Integer 4) (Value.Integer 1024) ] + [ + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 4, + Value.Integer IntegerKind.Usize 1024 + |) + ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -575,11 +581,11 @@ Module interpreter. "with_capacity", [] |), - [ Value.Integer 32 ] + [ Value.Integer IntegerKind.Usize 32 ] |)); - ("last_checkpoint", Value.Integer 0) + ("last_checkpoint", Value.Integer IntegerKind.Usize 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity : @@ -648,7 +654,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_context : M.IsAssociatedFunction Self "new_context" new_context. @@ -779,7 +785,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_free_context : @@ -795,9 +801,8 @@ Module interpreter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -812,15 +817,16 @@ Module interpreter. "buffer" |) ] - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter::shared_memory::SharedMemory", "last_checkpoint" |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -835,17 +841,18 @@ Module interpreter. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter::shared_memory::SharedMemory", "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -873,7 +880,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_current_expansion_cost : @@ -907,23 +914,23 @@ Module interpreter. "revm_interpreter::interpreter::shared_memory::SharedMemory", "buffer" |); - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter::shared_memory::SharedMemory", "last_checkpoint" |) - |)) - (M.read (| new_size |)); - Value.Integer 0 + |), + M.read (| new_size |) + |); + Value.Integer IntegerKind.U8 0 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_resize : M.IsAssociatedFunction Self "resize" resize. @@ -952,11 +959,11 @@ Module interpreter. "core::ops::range::Range" [ ("start", M.read (| offset |)); - ("end_", BinOp.Wrap.add Integer.Usize (M.read (| offset |)) (M.read (| size |))) + ("end_", BinOp.Wrap.add (| M.read (| offset |), M.read (| size |) |)) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice : M.IsAssociatedFunction Self "slice" slice. @@ -1182,7 +1189,7 @@ Module interpreter. |))) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_range : M.IsAssociatedFunction Self "slice_range" slice_range. @@ -1205,9 +1212,7 @@ Module interpreter. let size := M.alloc (| size |) in M.read (| let~ end_ := - M.alloc (| - BinOp.Wrap.add Integer.Usize (M.read (| offset |)) (M.read (| size |)) - |) in + M.alloc (| BinOp.Wrap.add (| M.read (| offset |), M.read (| size |) |) |) in M.alloc (| M.read (| M.match_operator (| @@ -1339,7 +1344,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_slice_mut : M.IsAssociatedFunction Self "slice_mut" slice_mut. @@ -1363,12 +1368,12 @@ Module interpreter. "slice", [] |), - [ M.read (| self |); M.read (| offset |); Value.Integer 1 ] + [ M.read (| self |); M.read (| offset |); Value.Integer IntegerKind.Usize 1 ] |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_byte : M.IsAssociatedFunction Self "get_byte" get_byte. @@ -1411,13 +1416,13 @@ Module interpreter. "slice", [] |), - [ M.read (| self |); M.read (| offset |); Value.Integer 32 ] + [ M.read (| self |); M.read (| offset |); Value.Integer IntegerKind.Usize 32 ] |) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_word : M.IsAssociatedFunction Self "get_word" get_word. @@ -1452,7 +1457,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_u256 : M.IsAssociatedFunction Self "get_u256" get_u256. @@ -1488,7 +1493,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_byte : M.IsAssociatedFunction Self "set_byte" set_byte. @@ -1532,7 +1537,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_word : M.IsAssociatedFunction Self "set_word" set_word. @@ -1578,7 +1583,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_u256 : M.IsAssociatedFunction Self "set_u256" set_u256. @@ -1606,15 +1611,16 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "is_empty", [] |), [ M.read (| value |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -1655,7 +1661,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set : M.IsAssociatedFunction Self "set" set. @@ -1701,16 +1707,17 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (M.read (| data_offset |)) - (M.call_closure (| + BinOp.ge (| + M.read (| data_offset |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| data |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1739,7 +1746,7 @@ Module interpreter. M.read (| len |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U8 0 ] |) |) in @@ -1755,10 +1762,7 @@ Module interpreter. M.call_closure (| M.get_function (| "core::cmp::min", [ Ty.path "usize" ] |), [ - BinOp.Wrap.add - Integer.Usize - (M.read (| data_offset |)) - (M.read (| len |)); + BinOp.Wrap.add (| M.read (| data_offset |), M.read (| len |) |); M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], @@ -1772,10 +1776,7 @@ Module interpreter. |) in let~ data_len := M.alloc (| - BinOp.Wrap.sub - Integer.Usize - (M.read (| data_end |)) - (M.read (| data_offset |)) + BinOp.Wrap.sub (| M.read (| data_end |), M.read (| data_offset |) |) |) in let~ _ := M.match_operator (| @@ -1795,30 +1796,33 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| - BinOp.Pure.lt - (M.read (| data_offset |)) - (M.call_closure (| + UnOp.not (| + LogicalOp.and (| + BinOp.lt (| + M.read (| data_offset |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| data |) ] - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| data_end |)) - (M.call_closure (| + (BinOp.le (| + M.read (| data_end |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| data |) ] - |)))) - |)) + |) + |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1899,24 +1903,21 @@ Module interpreter. |), [ M.read (| self |); - BinOp.Wrap.add - Integer.Usize - (M.read (| memory_offset |)) - (M.read (| data_len |)); - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| data_len |)) + BinOp.Wrap.add (| + M.read (| memory_offset |), + M.read (| data_len |) + |); + BinOp.Wrap.sub (| M.read (| len |), M.read (| data_len |) |) ] |); - Value.Integer 0 + Value.Integer IntegerKind.U8 0 ] |) |) in M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_data : M.IsAssociatedFunction Self "set_data" set_data. @@ -1956,8 +1957,7 @@ Module interpreter. "core::ops::range::Range" [ ("start", M.read (| src |)); - ("end_", - BinOp.Wrap.add Integer.Usize (M.read (| src |)) (M.read (| len |))) + ("end_", BinOp.Wrap.add (| M.read (| src |), M.read (| len |) |)) ]; M.read (| dst |) ] @@ -1965,7 +1965,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_copy : M.IsAssociatedFunction Self "copy" copy. @@ -2040,7 +2040,7 @@ Module interpreter. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_context_memory : @@ -2121,7 +2121,7 @@ Module interpreter. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_context_memory_mut : @@ -2138,14 +2138,14 @@ Module interpreter. | [], [ len ] => ltac:(M.monadic (let len := M.alloc (| len |) in - BinOp.Wrap.div - Integer.U64 - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.path "u64", "saturating_add", [] |), - [ M.read (| len |); Value.Integer 31 ] - |)) - (Value.Integer 32))) - | _, _ => M.impossible + [ M.read (| len |); Value.Integer IntegerKind.U64 31 ] + |), + Value.Integer IntegerKind.U64 32 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_num_words : diff --git a/CoqOfRust/revm/interpreter/interpreter/stack.v b/CoqOfRust/revm/interpreter/interpreter/stack.v index e164e561c..4820f8562 100644 --- a/CoqOfRust/revm/interpreter/interpreter/stack.v +++ b/CoqOfRust/revm/interpreter/interpreter/stack.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Module interpreter. Module stack. Definition value_STACK_LIMIT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1024 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 1024 |))). (* StructRecord { @@ -50,7 +50,7 @@ Module interpreter. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -109,7 +109,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -146,7 +146,7 @@ Module interpreter. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -187,7 +187,7 @@ Module interpreter. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -419,9 +419,10 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| i |)) - (Value.Integer 0) + BinOp.gt (| + M.read (| i |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -659,7 +660,7 @@ Module interpreter. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -690,7 +691,7 @@ Module interpreter. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -735,7 +736,7 @@ Module interpreter. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -766,7 +767,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -797,7 +798,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -817,7 +818,7 @@ Module interpreter. "revm_interpreter::interpreter::stack::Stack", "data" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_data : M.IsAssociatedFunction Self "data" data. @@ -837,7 +838,7 @@ Module interpreter. "revm_interpreter::interpreter::stack::Stack", "data" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_data_mut : M.IsAssociatedFunction Self "data_mut" data_mut. @@ -859,7 +860,7 @@ Module interpreter. "data" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_data : M.IsAssociatedFunction Self "into_data" into_data. @@ -902,7 +903,7 @@ Module interpreter. [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop : M.IsAssociatedFunction Self "pop" pop. @@ -942,7 +943,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_unsafe : M.IsAssociatedFunction Self "pop_unsafe" pop_unsafe. @@ -1004,12 +1005,12 @@ Module interpreter. |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_top_unsafe : M.IsAssociatedFunction Self "top_unsafe" top_unsafe. @@ -1051,7 +1052,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [ M.read (| pop |); M.read (| top |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_top_unsafe : @@ -1094,7 +1095,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [ M.read (| pop1 |); M.read (| pop2 |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop2_unsafe : M.IsAssociatedFunction Self "pop2_unsafe" pop2_unsafe. @@ -1149,7 +1150,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [ M.read (| pop1 |); M.read (| pop2 |); M.read (| top |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop2_top_unsafe : @@ -1205,7 +1206,7 @@ Module interpreter. |) in M.alloc (| Value.Tuple [ M.read (| pop1 |); M.read (| pop2 |); M.read (| pop3 |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop3_unsafe : M.IsAssociatedFunction Self "pop3_unsafe" pop3_unsafe. @@ -1275,7 +1276,7 @@ Module interpreter. [ M.read (| pop1 |); M.read (| pop2 |); M.read (| pop3 |); M.read (| pop4 |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop4_unsafe : M.IsAssociatedFunction Self "pop4_unsafe" pop4_unsafe. @@ -1363,7 +1364,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop5_unsafe : M.IsAssociatedFunction Self "pop5_unsafe" pop5_unsafe. @@ -1399,7 +1400,7 @@ Module interpreter. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_b256 : M.IsAssociatedFunction Self "push_b256" push_b256. @@ -1433,9 +1434,9 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1451,12 +1452,14 @@ Module interpreter. "data" |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_interpreter::interpreter::stack::STACK_LIMIT" |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1558,8 +1561,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1574,12 +1577,13 @@ Module interpreter. "data" |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_interpreter::interpreter::stack::STACK_LIMIT" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1624,7 +1628,7 @@ Module interpreter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push : M.IsAssociatedFunction Self "push" push. @@ -1653,8 +1657,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1669,8 +1673,9 @@ Module interpreter. "data" |) ] - |)) - (M.read (| no_from_top |)) + |), + M.read (| no_from_top |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1694,11 +1699,9 @@ Module interpreter. "revm_interpreter::interpreter::stack::Stack", "data" |); - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.call_closure (| + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1714,9 +1717,11 @@ Module interpreter. "data" |) ] - |)) - (M.read (| no_from_top |))) - (Value.Integer 1) + |), + M.read (| no_from_top |) + |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) @@ -1736,7 +1741,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_peek : M.IsAssociatedFunction Self "peek" peek. @@ -1776,7 +1781,9 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| n |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| M.read (| n |), Value.Integer IntegerKind.Usize 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1891,7 +1898,7 @@ Module interpreter. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.lt (M.read (| len |)) (M.read (| n |)) |)) in + M.use (M.alloc (| BinOp.lt (| M.read (| len |), M.read (| n |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -1912,16 +1919,17 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (BinOp.Wrap.add - Integer.Usize - (M.read (| len |)) - (Value.Integer 1)) - (M.read (| + BinOp.gt (| + BinOp.Wrap.add (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| M.get_constant (| "revm_interpreter::interpreter::stack::STACK_LIMIT" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1991,7 +1999,7 @@ Module interpreter. [ M.read (| ptr |); M.read (| n |) ] |)); M.read (| ptr |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -2011,10 +2019,10 @@ Module interpreter. "revm_interpreter::interpreter::stack::Stack", "data" |); - BinOp.Wrap.add - Integer.Usize - (M.read (| len |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| len |), + Value.Integer IntegerKind.Usize 1 + |) ] |) |) in @@ -2027,7 +2035,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_dup : M.IsAssociatedFunction Self "dup" dup. @@ -2049,9 +2057,9 @@ Module interpreter. "exchange", [] |), - [ M.read (| self |); Value.Integer 0; M.read (| n |) ] + [ M.read (| self |); Value.Integer IntegerKind.Usize 0; M.read (| n |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_swap : M.IsAssociatedFunction Self "swap" swap. @@ -2095,7 +2103,9 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not (BinOp.Pure.gt (M.read (| m |)) (Value.Integer 0)) + UnOp.not (| + BinOp.gt (| M.read (| m |), Value.Integer IntegerKind.Usize 0 |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2208,7 +2218,7 @@ Module interpreter. |) |) in let~ n_m_index := - M.alloc (| BinOp.Wrap.add Integer.Usize (M.read (| n |)) (M.read (| m |)) |) in + M.alloc (| BinOp.Wrap.add (| M.read (| n |), M.read (| m |) |) |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -2218,7 +2228,7 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.ge (M.read (| n_m_index |)) (M.read (| len |)) + BinOp.ge (| M.read (| n_m_index |), M.read (| len |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2266,7 +2276,7 @@ Module interpreter. |) ] |); - BinOp.Wrap.sub Integer.Usize (M.read (| len |)) (Value.Integer 1) + BinOp.Wrap.sub (| M.read (| len |), Value.Integer IntegerKind.Usize 1 |) ] |) |) in @@ -2294,7 +2304,7 @@ Module interpreter. |), [ M.read (| top |); M.read (| n_m_index |) ] |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -2302,7 +2312,7 @@ Module interpreter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_exchange : M.IsAssociatedFunction Self "exchange" exchange. @@ -2413,26 +2423,25 @@ Module interpreter. |) in let~ n_words := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| slice |) ] - |)) - (Value.Integer 31)) - (Value.Integer 32) + |), + Value.Integer IntegerKind.Usize 31 + |), + Value.Integer IntegerKind.Usize 32 + |) |) in let~ new_len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2447,8 +2456,9 @@ Module interpreter. "data" |) ] - |)) - (M.read (| n_words |)) + |), + M.read (| n_words |) + |) |) in let~ _ := M.match_operator (| @@ -2459,13 +2469,14 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| new_len |)) - (M.read (| + BinOp.gt (| + M.read (| new_len |), + M.read (| M.get_constant (| "revm_interpreter::interpreter::stack::STACK_LIMIT" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2561,7 +2572,7 @@ Module interpreter. ] |) |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ words := M.alloc (| M.call_closure (| @@ -2570,7 +2581,7 @@ Module interpreter. "chunks_exact", [] |), - [ M.read (| slice |); Value.Integer 32 ] + [ M.read (| slice |); Value.Integer IntegerKind.Usize 32 ] |) |) in let~ partial_last_word := @@ -2666,7 +2677,10 @@ Module interpreter. "rchunks_exact", [] |), - [ M.read (| word |); Value.Integer 8 ] + [ + M.read (| word |); + Value.Integer IntegerKind.Usize 8 + ] |) ] |) @@ -2812,10 +2826,12 @@ Module interpreter. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer + IntegerKind.Usize + 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2875,7 +2891,7 @@ Module interpreter. "rchunks_exact", [] |), - [ M.read (| partial_last_word |); Value.Integer 8 ] + [ M.read (| partial_last_word |); Value.Integer IntegerKind.Usize 8 ] |) |) in let~ partial_last_limb := @@ -3020,10 +3036,10 @@ Module interpreter. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -3041,22 +3057,23 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "is_empty", [] |), [ M.read (| partial_last_limb |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ tmp := M.alloc (| repeat (Value.Integer 0) 8 |) in + let~ tmp := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 8 |) in let~ _ := M.alloc (| M.call_closure (| @@ -3084,17 +3101,17 @@ Module interpreter. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (Value.Integer 8) - (M.call_closure (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 8, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| partial_last_limb |) ] - |))) + |) + |)) ] ] |); @@ -3134,7 +3151,10 @@ Module interpreter. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -3158,13 +3178,13 @@ Module interpreter. Value.Tuple [ M.alloc (| - BinOp.Wrap.div - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 3)) - (Value.Integer 4) + BinOp.Wrap.div (| + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 3 + |), + Value.Integer IntegerKind.Usize 4 + |) |); n_words ] @@ -3184,10 +3204,12 @@ Module interpreter. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |))) + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3254,7 +3276,7 @@ Module interpreter. |) in let~ m := M.alloc (| - BinOp.Wrap.rem Integer.Usize (M.read (| i |)) (Value.Integer 4) + BinOp.Wrap.rem (| M.read (| i |), Value.Integer IntegerKind.Usize 4 |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -3263,7 +3285,9 @@ Module interpreter. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.ne (M.read (| m |)) (Value.Integer 0) |)) in + (M.alloc (| + BinOp.ne (| M.read (| m |), Value.Integer IntegerKind.Usize 0 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -3283,8 +3307,11 @@ Module interpreter. |), [ M.read (| dst |); M.read (| i |) ] |); - Value.Integer 0; - BinOp.Wrap.sub Integer.Usize (Value.Integer 4) (M.read (| m |)) + Value.Integer IntegerKind.U8 0; + BinOp.Wrap.sub (| + Value.Integer IntegerKind.Usize 4, + M.read (| m |) + |) ] |) |) in @@ -3295,7 +3322,7 @@ Module interpreter. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_push_slice : M.IsAssociatedFunction Self "push_slice" push_slice. @@ -3327,8 +3354,8 @@ Module interpreter. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -3343,8 +3370,9 @@ Module interpreter. "data" |) ] - |)) - (M.read (| no_from_top |)) + |), + M.read (| no_from_top |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len := @@ -3384,13 +3412,10 @@ Module interpreter. "revm_interpreter::interpreter::stack::Stack", "data" |); - BinOp.Wrap.sub - Integer.Usize - (BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.read (| no_from_top |))) - (Value.Integer 1) + BinOp.Wrap.sub (| + BinOp.Wrap.sub (| M.read (| len |), M.read (| no_from_top |) |), + Value.Integer IntegerKind.Usize 1 + |) ] |), M.read (| val |) @@ -3412,7 +3437,7 @@ Module interpreter. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set : M.IsAssociatedFunction Self "set" set. diff --git a/CoqOfRust/revm/interpreter/interpreter_action.v b/CoqOfRust/revm/interpreter/interpreter_action.v index c87457328..1a82aa669 100644 --- a/CoqOfRust/revm/interpreter/interpreter_action.v +++ b/CoqOfRust/revm/interpreter/interpreter_action.v @@ -224,7 +224,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -370,7 +370,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -390,7 +390,7 @@ Module interpreter_action. | [], [] => ltac:(M.monadic (Value.StructTuple "revm_interpreter::interpreter_action::InterpreterAction::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -445,7 +445,7 @@ Module interpreter_action. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -628,7 +628,7 @@ Module interpreter_action. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -686,7 +686,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -728,7 +728,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_call : M.IsAssociatedFunction Self "is_call" is_call. @@ -760,7 +760,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_create : M.IsAssociatedFunction Self "is_create" is_create. @@ -792,7 +792,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_return : M.IsAssociatedFunction Self "is_return" is_return. @@ -824,7 +824,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_none : M.IsAssociatedFunction Self "is_none" is_none. @@ -839,16 +839,17 @@ Module interpreter_action. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::interpreter_action::InterpreterAction", "is_none", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_some : M.IsAssociatedFunction Self "is_some" is_some. @@ -887,7 +888,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_result_return : diff --git a/CoqOfRust/revm/interpreter/interpreter_action/call_inputs.v b/CoqOfRust/revm/interpreter/interpreter_action/call_inputs.v index 2212f2e70..eab062d8f 100644 --- a/CoqOfRust/revm/interpreter/interpreter_action/call_inputs.v +++ b/CoqOfRust/revm/interpreter/interpreter_action/call_inputs.v @@ -189,7 +189,7 @@ Module interpreter_action. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -328,7 +328,7 @@ Module interpreter_action. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -422,21 +422,22 @@ Module interpreter_action. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter_action::call_inputs::CallInputs", "gas_limit" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::interpreter_action::call_inputs::CallInputs", "gas_limit" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -555,40 +556,42 @@ Module interpreter_action. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter_action::call_inputs::CallInputs", "is_static" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::interpreter_action::call_inputs::CallInputs", "is_static" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter_action::call_inputs::CallInputs", "is_eof" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::interpreter_action::call_inputs::CallInputs", "is_eof" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -675,7 +678,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -887,7 +890,7 @@ Module interpreter_action. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1000,14 +1003,17 @@ Module interpreter_action. ("return_memory_offset", Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 0) ]) + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 0) + ]) ] ] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1067,7 +1073,7 @@ Module interpreter_action. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_boxed : M.IsAssociatedFunction Self "new_boxed" new_boxed. @@ -1127,11 +1133,11 @@ Module interpreter_action. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfers_value : @@ -1161,7 +1167,7 @@ Module interpreter_action. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_value : @@ -1191,7 +1197,7 @@ Module interpreter_action. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_apparent_value : @@ -1214,7 +1220,7 @@ Module interpreter_action. "caller" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_from : @@ -1237,7 +1243,7 @@ Module interpreter_action. "target_address" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer_to : M.IsAssociatedFunction Self "transfer_to" transfer_to. @@ -1266,7 +1272,7 @@ Module interpreter_action. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call_value : M.IsAssociatedFunction Self "call_value" call_value. @@ -1313,7 +1319,7 @@ Module interpreter_action. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1396,7 +1402,7 @@ Module interpreter_action. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1451,9 +1457,9 @@ Module interpreter_action. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1487,7 +1493,7 @@ Module interpreter_action. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1528,7 +1534,7 @@ Module interpreter_action. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1628,7 +1634,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1705,7 +1711,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1762,7 +1768,7 @@ Module interpreter_action. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -1848,7 +1854,7 @@ Module interpreter_action. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1887,7 +1893,7 @@ Module interpreter_action. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1984,7 +1990,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2011,7 +2017,7 @@ Module interpreter_action. (Value.StructTuple "revm_interpreter::interpreter_action::call_inputs::CallValue::Transfer" [ M.read (| M.get_constant (| "ruint::ZERO" |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2073,13 +2079,13 @@ Module interpreter_action. ltac:(M.monadic match γ with | [ value ] => ltac:(M.monadic value) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -2125,7 +2131,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer : M.IsAssociatedFunction Self "transfer" transfer. @@ -2158,7 +2164,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_transfer : M.IsAssociatedFunction Self "is_transfer" is_transfer. @@ -2204,7 +2210,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_apparent : M.IsAssociatedFunction Self "apparent" apparent. @@ -2237,7 +2243,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_apparent : M.IsAssociatedFunction Self "is_apparent" is_apparent. diff --git a/CoqOfRust/revm/interpreter/interpreter_action/call_outcome.v b/CoqOfRust/revm/interpreter/interpreter_action/call_outcome.v index eae3f38c6..aabbee995 100644 --- a/CoqOfRust/revm/interpreter/interpreter_action/call_outcome.v +++ b/CoqOfRust/revm/interpreter/interpreter_action/call_outcome.v @@ -62,7 +62,7 @@ Module interpreter_action. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113,7 +113,7 @@ Module interpreter_action. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -192,7 +192,7 @@ Module interpreter_action. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -238,7 +238,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,7 +271,7 @@ Module interpreter_action. Value.StructRecord "revm_interpreter::interpreter_action::call_outcome::CallOutcome" [ ("result", M.read (| result |)); ("memory_offset", M.read (| memory_offset |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -295,7 +295,7 @@ Module interpreter_action. "revm_interpreter::interpreter::InterpreterResult", "result" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_instruction_result : @@ -322,7 +322,7 @@ Module interpreter_action. "gas" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_gas : M.IsAssociatedFunction Self "gas" gas. @@ -346,7 +346,7 @@ Module interpreter_action. "revm_interpreter::interpreter::InterpreterResult", "output" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_output : M.IsAssociatedFunction Self "output" output. @@ -372,7 +372,7 @@ Module interpreter_action. "start" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_memory_start : @@ -404,7 +404,7 @@ Module interpreter_action. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_memory_length : diff --git a/CoqOfRust/revm/interpreter/interpreter_action/create_inputs.v b/CoqOfRust/revm/interpreter/interpreter_action/create_inputs.v index 06c2c1882..2af5a8749 100644 --- a/CoqOfRust/revm/interpreter/interpreter_action/create_inputs.v +++ b/CoqOfRust/revm/interpreter/interpreter_action/create_inputs.v @@ -110,7 +110,7 @@ Module interpreter_action. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -185,7 +185,7 @@ Module interpreter_action. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -314,23 +314,24 @@ Module interpreter_action. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter_action::create_inputs::CreateInputs", "gas_limit" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::interpreter_action::create_inputs::CreateInputs", "gas_limit" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -400,7 +401,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -518,7 +519,7 @@ Module interpreter_action. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -617,7 +618,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -677,7 +678,7 @@ Module interpreter_action. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_boxed : M.IsAssociatedFunction Self "new_boxed" new_boxed. @@ -771,7 +772,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_created_address : diff --git a/CoqOfRust/revm/interpreter/interpreter_action/create_outcome.v b/CoqOfRust/revm/interpreter/interpreter_action/create_outcome.v index b16b5ea1a..da4b9ec2f 100644 --- a/CoqOfRust/revm/interpreter/interpreter_action/create_outcome.v +++ b/CoqOfRust/revm/interpreter/interpreter_action/create_outcome.v @@ -57,7 +57,7 @@ Module interpreter_action. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -118,7 +118,7 @@ Module interpreter_action. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -203,7 +203,7 @@ Module interpreter_action. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -249,7 +249,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -279,7 +279,7 @@ Module interpreter_action. Value.StructRecord "revm_interpreter::interpreter_action::create_outcome::CreateOutcome" [ ("result", M.read (| result |)); ("address", M.read (| address |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -303,7 +303,7 @@ Module interpreter_action. "revm_interpreter::interpreter::InterpreterResult", "result" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_instruction_result : @@ -328,7 +328,7 @@ Module interpreter_action. "revm_interpreter::interpreter::InterpreterResult", "output" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_output : M.IsAssociatedFunction Self "output" output. @@ -352,7 +352,7 @@ Module interpreter_action. "revm_interpreter::interpreter::InterpreterResult", "gas" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_gas : M.IsAssociatedFunction Self "gas" gas. diff --git a/CoqOfRust/revm/interpreter/interpreter_action/eof_create_inputs.v b/CoqOfRust/revm/interpreter/interpreter_action/eof_create_inputs.v index 691fc6f09..2059737f2 100644 --- a/CoqOfRust/revm/interpreter/interpreter_action/eof_create_inputs.v +++ b/CoqOfRust/revm/interpreter/interpreter_action/eof_create_inputs.v @@ -115,7 +115,7 @@ Module interpreter_action. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -205,7 +205,7 @@ Module interpreter_action. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -326,7 +326,7 @@ Module interpreter_action. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -456,21 +456,22 @@ Module interpreter_action. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput", "gas_limit" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::interpreter_action::eof_create_inputs::EOFCreateInput", "gas_limit" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -495,7 +496,7 @@ Module interpreter_action. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -565,7 +566,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -620,7 +621,7 @@ Module interpreter_action. ("gas_limit", M.read (| gas_limit |)); ("return_memory_range", M.read (| return_memory_range |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. diff --git a/CoqOfRust/revm/interpreter/interpreter_action/eof_create_outcome.v b/CoqOfRust/revm/interpreter/interpreter_action/eof_create_outcome.v index 6bb3c5c31..0549e0f90 100644 --- a/CoqOfRust/revm/interpreter/interpreter_action/eof_create_outcome.v +++ b/CoqOfRust/revm/interpreter/interpreter_action/eof_create_outcome.v @@ -64,7 +64,7 @@ Module interpreter_action. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -140,7 +140,7 @@ Module interpreter_action. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -243,7 +243,7 @@ Module interpreter_action. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -296,7 +296,7 @@ Module interpreter_action. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -339,7 +339,7 @@ Module interpreter_action. ("address", M.read (| address |)); ("return_memory_range", M.read (| return_memory_range |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -363,7 +363,7 @@ Module interpreter_action. "revm_interpreter::interpreter::InterpreterResult", "result" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_instruction_result : @@ -388,7 +388,7 @@ Module interpreter_action. "revm_interpreter::interpreter::InterpreterResult", "output" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_output : M.IsAssociatedFunction Self "output" output. @@ -412,7 +412,7 @@ Module interpreter_action. "revm_interpreter::interpreter::InterpreterResult", "gas" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_gas : M.IsAssociatedFunction Self "gas" gas. @@ -443,7 +443,7 @@ Module interpreter_action. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_return_range : diff --git a/CoqOfRust/revm/interpreter/opcode.v b/CoqOfRust/revm/interpreter/opcode.v index b8c6835bb..d5fbfc611 100644 --- a/CoqOfRust/revm/interpreter/opcode.v +++ b/CoqOfRust/revm/interpreter/opcode.v @@ -135,7 +135,7 @@ Module opcode. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_plain : @@ -275,7 +275,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_boxed : @@ -368,7 +368,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert : @@ -500,7 +500,7 @@ Module opcode. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -521,7 +521,7 @@ Module opcode. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_convert_boxed : @@ -557,7 +557,7 @@ Module opcode. | [ H; SPEC ], [] => ltac:(M.monadic (M.read (| M.get_constant (| "revm_interpreter::opcode::make_instruction_table::NEW" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_make_instruction_table : @@ -617,7 +617,7 @@ Module opcode. |))) 256 |) in - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.loop (| ltac:(M.monadic @@ -628,7 +628,9 @@ Module opcode. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.lt (M.read (| i |)) (Value.Integer 256) |)) in + (M.alloc (| + BinOp.lt (| M.read (| i |), Value.Integer IntegerKind.Usize 256 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -646,7 +648,7 @@ Module opcode. let β := i in M.write (| β, - BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -760,11 +762,11 @@ Module opcode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_make_boxed_instruction_table : @@ -809,7 +811,7 @@ Module opcode. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -856,7 +858,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -893,7 +895,7 @@ Module opcode. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -923,7 +925,7 @@ Module opcode. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "invalid opcode" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -967,7 +969,7 @@ Module opcode. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1019,7 +1021,7 @@ Module opcode. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1046,7 +1048,7 @@ Module opcode. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1078,22 +1080,23 @@ Module opcode. ltac:(M.monadic (let self := M.alloc (| self |) in let other := M.alloc (| other |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "revm_interpreter::opcode::OpCode", 0 |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| other |), "revm_interpreter::opcode::OpCode", 0 |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1130,7 +1133,7 @@ Module opcode. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1173,7 +1176,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1209,7 +1212,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1241,7 +1244,7 @@ Module opcode. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1374,14 +1377,14 @@ Module opcode. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 8; + Value.Integer IntegerKind.U32 8; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Is" - [ Value.Integer 2 ] + [ Value.Integer IntegerKind.Usize 2 ] ] |) ] @@ -1402,7 +1405,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1449,7 +1452,7 @@ Module opcode. Value.StructTuple "revm_interpreter::opcode::OpCodeError" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1508,7 +1511,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1550,7 +1553,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_parse : M.IsAssociatedFunction Self "parse" parse. @@ -1565,16 +1568,17 @@ Module opcode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| M.read (| self |), "revm_interpreter::opcode::OpCode", 0 |) - |)) - (M.read (| M.get_constant (| "revm_interpreter::opcode::JUMPDEST" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "revm_interpreter::opcode::JUMPDEST" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_jumpdest : M.IsAssociatedFunction Self "is_jumpdest" is_jumpdest. @@ -1631,7 +1635,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_jumpdest_by_op : @@ -1647,12 +1651,13 @@ Module opcode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "revm_interpreter::opcode::OpCode", 0 |) - |)) - (M.read (| M.get_constant (| "revm_interpreter::opcode::JUMP" |) |)))) - | _, _ => M.impossible + |), + M.read (| M.get_constant (| "revm_interpreter::opcode::JUMP" |) |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_jump : M.IsAssociatedFunction Self "is_jump" is_jump. @@ -1709,7 +1714,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_jump_by_op : @@ -1726,27 +1731,29 @@ Module opcode. ltac:(M.monadic (let self := M.alloc (| self |) in LogicalOp.and (| - BinOp.Pure.ge - (M.read (| + BinOp.ge (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "revm_interpreter::opcode::OpCode", 0 |) - |)) - (M.read (| M.get_constant (| "revm_interpreter::opcode::PUSH1" |) |)), + |), + M.read (| M.get_constant (| "revm_interpreter::opcode::PUSH1" |) |) + |), ltac:(M.monadic - (BinOp.Pure.le - (M.read (| + (BinOp.le (| + M.read (| M.SubPointer.get_struct_tuple_field (| self, "revm_interpreter::opcode::OpCode", 0 |) - |)) - (M.read (| M.get_constant (| "revm_interpreter::opcode::PUSH32" |) |)))) + |), + M.read (| M.get_constant (| "revm_interpreter::opcode::PUSH32" |) |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_push : M.IsAssociatedFunction Self "is_push" is_push. @@ -1803,7 +1810,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_push_by_op : @@ -1820,7 +1827,7 @@ Module opcode. ltac:(M.monadic (let opcode := M.alloc (| opcode |) in Value.StructTuple "revm_interpreter::opcode::OpCode" [ M.read (| opcode |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_unchecked : @@ -1855,7 +1862,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_str : M.IsAssociatedFunction Self "as_str" as_str. @@ -1912,7 +1919,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_name_by_op : M.IsAssociatedFunction Self "name_by_op" name_by_op. @@ -1946,7 +1953,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inputs : M.IsAssociatedFunction Self "inputs" inputs. @@ -1980,7 +1987,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_outputs : M.IsAssociatedFunction Self "outputs" outputs. @@ -2014,7 +2021,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_io_diff : M.IsAssociatedFunction Self "io_diff" io_diff. @@ -2076,7 +2083,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_info_by_op : M.IsAssociatedFunction Self "info_by_op" info_by_op. @@ -2151,7 +2158,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_info : M.IsAssociatedFunction Self "info" info. @@ -2199,7 +2206,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_input_output : M.IsAssociatedFunction Self "input_output" input_output. @@ -2217,7 +2224,7 @@ Module opcode. M.read (| M.SubPointer.get_struct_tuple_field (| self, "revm_interpreter::opcode::OpCode", 0 |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -2226,7 +2233,9 @@ Module opcode. Definition value_STOP : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 0 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 0 ] + |))). Axiom AssociatedConstant_value_STOP : M.IsAssociatedConstant Self "value_STOP" value_STOP. @@ -2235,7 +2244,9 @@ Module opcode. Definition value_ADD : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 1 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 1 ] + |))). Axiom AssociatedConstant_value_ADD : M.IsAssociatedConstant Self "value_ADD" value_ADD. @@ -2244,7 +2255,9 @@ Module opcode. Definition value_MUL : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 2 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 2 ] + |))). Axiom AssociatedConstant_value_MUL : M.IsAssociatedConstant Self "value_MUL" value_MUL. @@ -2253,7 +2266,9 @@ Module opcode. Definition value_SUB : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 3 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 3 ] + |))). Axiom AssociatedConstant_value_SUB : M.IsAssociatedConstant Self "value_SUB" value_SUB. @@ -2262,7 +2277,9 @@ Module opcode. Definition value_DIV : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 4 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 4 ] + |))). Axiom AssociatedConstant_value_DIV : M.IsAssociatedConstant Self "value_DIV" value_DIV. @@ -2271,7 +2288,9 @@ Module opcode. Definition value_SDIV : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 5 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 5 ] + |))). Axiom AssociatedConstant_value_SDIV : M.IsAssociatedConstant Self "value_SDIV" value_SDIV. @@ -2280,7 +2299,9 @@ Module opcode. Definition value_MOD : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 6 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 6 ] + |))). Axiom AssociatedConstant_value_MOD : M.IsAssociatedConstant Self "value_MOD" value_MOD. @@ -2289,7 +2310,9 @@ Module opcode. Definition value_SMOD : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 7 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 7 ] + |))). Axiom AssociatedConstant_value_SMOD : M.IsAssociatedConstant Self "value_SMOD" value_SMOD. @@ -2298,7 +2321,9 @@ Module opcode. Definition value_ADDMOD : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 8 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 8 ] + |))). Axiom AssociatedConstant_value_ADDMOD : M.IsAssociatedConstant Self "value_ADDMOD" value_ADDMOD. @@ -2307,7 +2332,9 @@ Module opcode. Definition value_MULMOD : Value.t := M.run ltac:(M.monadic - (M.alloc (| Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 9 ] |))). + (M.alloc (| + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 9 ] + |))). Axiom AssociatedConstant_value_MULMOD : M.IsAssociatedConstant Self "value_MULMOD" value_MULMOD. @@ -2317,7 +2344,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 10 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 10 ] |))). Axiom AssociatedConstant_value_EXP : M.IsAssociatedConstant Self "value_EXP" value_EXP. @@ -2328,7 +2355,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 11 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 11 ] |))). Axiom AssociatedConstant_value_SIGNEXTEND : @@ -2340,7 +2367,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 16 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 16 ] |))). Axiom AssociatedConstant_value_LT : M.IsAssociatedConstant Self "value_LT" value_LT. @@ -2351,7 +2378,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 17 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 17 ] |))). Axiom AssociatedConstant_value_GT : M.IsAssociatedConstant Self "value_GT" value_GT. @@ -2362,7 +2389,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 18 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 18 ] |))). Axiom AssociatedConstant_value_SLT : M.IsAssociatedConstant Self "value_SLT" value_SLT. @@ -2373,7 +2400,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 19 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 19 ] |))). Axiom AssociatedConstant_value_SGT : M.IsAssociatedConstant Self "value_SGT" value_SGT. @@ -2384,7 +2411,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 20 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 20 ] |))). Axiom AssociatedConstant_value_EQ : M.IsAssociatedConstant Self "value_EQ" value_EQ. @@ -2395,7 +2422,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 21 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 21 ] |))). Axiom AssociatedConstant_value_ISZERO : M.IsAssociatedConstant Self "value_ISZERO" value_ISZERO. @@ -2406,7 +2433,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 22 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 22 ] |))). Axiom AssociatedConstant_value_AND : M.IsAssociatedConstant Self "value_AND" value_AND. @@ -2417,7 +2444,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 23 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 23 ] |))). Axiom AssociatedConstant_value_OR : M.IsAssociatedConstant Self "value_OR" value_OR. @@ -2428,7 +2455,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 24 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 24 ] |))). Axiom AssociatedConstant_value_XOR : M.IsAssociatedConstant Self "value_XOR" value_XOR. @@ -2439,7 +2466,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 25 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 25 ] |))). Axiom AssociatedConstant_value_NOT : M.IsAssociatedConstant Self "value_NOT" value_NOT. @@ -2450,7 +2477,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 26 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 26 ] |))). Axiom AssociatedConstant_value_BYTE : M.IsAssociatedConstant Self "value_BYTE" value_BYTE. @@ -2461,7 +2488,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 27 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 27 ] |))). Axiom AssociatedConstant_value_SHL : M.IsAssociatedConstant Self "value_SHL" value_SHL. @@ -2472,7 +2499,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 28 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 28 ] |))). Axiom AssociatedConstant_value_SHR : M.IsAssociatedConstant Self "value_SHR" value_SHR. @@ -2483,7 +2510,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 29 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 29 ] |))). Axiom AssociatedConstant_value_SAR : M.IsAssociatedConstant Self "value_SAR" value_SAR. @@ -2494,7 +2521,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 32 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 32 ] |))). Axiom AssociatedConstant_value_KECCAK256 : @@ -2506,7 +2533,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 48 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 48 ] |))). Axiom AssociatedConstant_value_ADDRESS : @@ -2518,7 +2545,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 49 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 49 ] |))). Axiom AssociatedConstant_value_BALANCE : @@ -2530,7 +2557,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 50 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 50 ] |))). Axiom AssociatedConstant_value_ORIGIN : M.IsAssociatedConstant Self "value_ORIGIN" value_ORIGIN. @@ -2541,7 +2568,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 51 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 51 ] |))). Axiom AssociatedConstant_value_CALLER : M.IsAssociatedConstant Self "value_CALLER" value_CALLER. @@ -2552,7 +2579,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 52 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 52 ] |))). Axiom AssociatedConstant_value_CALLVALUE : @@ -2564,7 +2591,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 53 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 53 ] |))). Axiom AssociatedConstant_value_CALLDATALOAD : @@ -2576,7 +2603,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 54 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 54 ] |))). Axiom AssociatedConstant_value_CALLDATASIZE : @@ -2588,7 +2615,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 55 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 55 ] |))). Axiom AssociatedConstant_value_CALLDATACOPY : @@ -2600,7 +2627,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 56 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 56 ] |))). Axiom AssociatedConstant_value_CODESIZE : @@ -2612,7 +2639,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 57 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 57 ] |))). Axiom AssociatedConstant_value_CODECOPY : @@ -2624,7 +2651,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 58 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 58 ] |))). Axiom AssociatedConstant_value_GASPRICE : @@ -2636,7 +2663,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 59 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 59 ] |))). Axiom AssociatedConstant_value_EXTCODESIZE : @@ -2648,7 +2675,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 60 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 60 ] |))). Axiom AssociatedConstant_value_EXTCODECOPY : @@ -2660,7 +2687,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 61 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 61 ] |))). Axiom AssociatedConstant_value_RETURNDATASIZE : @@ -2672,7 +2699,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 62 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 62 ] |))). Axiom AssociatedConstant_value_RETURNDATACOPY : @@ -2684,7 +2711,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 63 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 63 ] |))). Axiom AssociatedConstant_value_EXTCODEHASH : @@ -2696,7 +2723,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 64 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 64 ] |))). Axiom AssociatedConstant_value_BLOCKHASH : @@ -2708,7 +2735,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 65 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 65 ] |))). Axiom AssociatedConstant_value_COINBASE : @@ -2720,7 +2747,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 66 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 66 ] |))). Axiom AssociatedConstant_value_TIMESTAMP : @@ -2732,7 +2759,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 67 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 67 ] |))). Axiom AssociatedConstant_value_NUMBER : M.IsAssociatedConstant Self "value_NUMBER" value_NUMBER. @@ -2743,7 +2770,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 68 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 68 ] |))). Axiom AssociatedConstant_value_DIFFICULTY : @@ -2755,7 +2782,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 69 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 69 ] |))). Axiom AssociatedConstant_value_GASLIMIT : @@ -2767,7 +2794,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 70 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 70 ] |))). Axiom AssociatedConstant_value_CHAINID : @@ -2779,7 +2806,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 71 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 71 ] |))). Axiom AssociatedConstant_value_SELFBALANCE : @@ -2791,7 +2818,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 72 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 72 ] |))). Axiom AssociatedConstant_value_BASEFEE : @@ -2803,7 +2830,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 73 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 73 ] |))). Axiom AssociatedConstant_value_BLOBHASH : @@ -2815,7 +2842,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 74 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 74 ] |))). Axiom AssociatedConstant_value_BLOBBASEFEE : @@ -2827,7 +2854,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 80 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 80 ] |))). Axiom AssociatedConstant_value_POP : M.IsAssociatedConstant Self "value_POP" value_POP. @@ -2838,7 +2865,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 81 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 81 ] |))). Axiom AssociatedConstant_value_MLOAD : M.IsAssociatedConstant Self "value_MLOAD" value_MLOAD. @@ -2849,7 +2876,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 82 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 82 ] |))). Axiom AssociatedConstant_value_MSTORE : M.IsAssociatedConstant Self "value_MSTORE" value_MSTORE. @@ -2860,7 +2887,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 83 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 83 ] |))). Axiom AssociatedConstant_value_MSTORE8 : @@ -2872,7 +2899,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 84 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 84 ] |))). Axiom AssociatedConstant_value_SLOAD : M.IsAssociatedConstant Self "value_SLOAD" value_SLOAD. @@ -2883,7 +2910,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 85 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 85 ] |))). Axiom AssociatedConstant_value_SSTORE : M.IsAssociatedConstant Self "value_SSTORE" value_SSTORE. @@ -2894,7 +2921,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 86 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 86 ] |))). Axiom AssociatedConstant_value_JUMP : M.IsAssociatedConstant Self "value_JUMP" value_JUMP. @@ -2905,7 +2932,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 87 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 87 ] |))). Axiom AssociatedConstant_value_JUMPI : M.IsAssociatedConstant Self "value_JUMPI" value_JUMPI. @@ -2916,7 +2943,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 88 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 88 ] |))). Axiom AssociatedConstant_value_PC : M.IsAssociatedConstant Self "value_PC" value_PC. @@ -2927,7 +2954,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 89 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 89 ] |))). Axiom AssociatedConstant_value_MSIZE : M.IsAssociatedConstant Self "value_MSIZE" value_MSIZE. @@ -2938,7 +2965,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 90 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 90 ] |))). Axiom AssociatedConstant_value_GAS : M.IsAssociatedConstant Self "value_GAS" value_GAS. @@ -2949,7 +2976,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 91 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 91 ] |))). Axiom AssociatedConstant_value_JUMPDEST : @@ -2961,7 +2988,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 92 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 92 ] |))). Axiom AssociatedConstant_value_TLOAD : M.IsAssociatedConstant Self "value_TLOAD" value_TLOAD. @@ -2972,7 +2999,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 93 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 93 ] |))). Axiom AssociatedConstant_value_TSTORE : M.IsAssociatedConstant Self "value_TSTORE" value_TSTORE. @@ -2983,7 +3010,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 94 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 94 ] |))). Axiom AssociatedConstant_value_MCOPY : M.IsAssociatedConstant Self "value_MCOPY" value_MCOPY. @@ -2994,7 +3021,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 95 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 95 ] |))). Axiom AssociatedConstant_value_PUSH0 : M.IsAssociatedConstant Self "value_PUSH0" value_PUSH0. @@ -3005,7 +3032,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 96 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 96 ] |))). Axiom AssociatedConstant_value_PUSH1 : M.IsAssociatedConstant Self "value_PUSH1" value_PUSH1. @@ -3016,7 +3043,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 97 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 97 ] |))). Axiom AssociatedConstant_value_PUSH2 : M.IsAssociatedConstant Self "value_PUSH2" value_PUSH2. @@ -3027,7 +3054,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 98 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 98 ] |))). Axiom AssociatedConstant_value_PUSH3 : M.IsAssociatedConstant Self "value_PUSH3" value_PUSH3. @@ -3038,7 +3065,7 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 99 ] + Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer IntegerKind.U8 99 ] |))). Axiom AssociatedConstant_value_PUSH4 : M.IsAssociatedConstant Self "value_PUSH4" value_PUSH4. @@ -3049,7 +3076,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 100 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 100 ] |))). Axiom AssociatedConstant_value_PUSH5 : M.IsAssociatedConstant Self "value_PUSH5" value_PUSH5. @@ -3060,7 +3089,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 101 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 101 ] |))). Axiom AssociatedConstant_value_PUSH6 : M.IsAssociatedConstant Self "value_PUSH6" value_PUSH6. @@ -3071,7 +3102,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 102 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 102 ] |))). Axiom AssociatedConstant_value_PUSH7 : M.IsAssociatedConstant Self "value_PUSH7" value_PUSH7. @@ -3082,7 +3115,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 103 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 103 ] |))). Axiom AssociatedConstant_value_PUSH8 : M.IsAssociatedConstant Self "value_PUSH8" value_PUSH8. @@ -3093,7 +3128,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 104 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 104 ] |))). Axiom AssociatedConstant_value_PUSH9 : M.IsAssociatedConstant Self "value_PUSH9" value_PUSH9. @@ -3104,7 +3141,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 105 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 105 ] |))). Axiom AssociatedConstant_value_PUSH10 : M.IsAssociatedConstant Self "value_PUSH10" value_PUSH10. @@ -3115,7 +3154,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 106 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 106 ] |))). Axiom AssociatedConstant_value_PUSH11 : M.IsAssociatedConstant Self "value_PUSH11" value_PUSH11. @@ -3126,7 +3167,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 107 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 107 ] |))). Axiom AssociatedConstant_value_PUSH12 : M.IsAssociatedConstant Self "value_PUSH12" value_PUSH12. @@ -3137,7 +3180,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 108 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 108 ] |))). Axiom AssociatedConstant_value_PUSH13 : M.IsAssociatedConstant Self "value_PUSH13" value_PUSH13. @@ -3148,7 +3193,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 109 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 109 ] |))). Axiom AssociatedConstant_value_PUSH14 : M.IsAssociatedConstant Self "value_PUSH14" value_PUSH14. @@ -3159,7 +3206,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 110 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 110 ] |))). Axiom AssociatedConstant_value_PUSH15 : M.IsAssociatedConstant Self "value_PUSH15" value_PUSH15. @@ -3170,7 +3219,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 111 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 111 ] |))). Axiom AssociatedConstant_value_PUSH16 : M.IsAssociatedConstant Self "value_PUSH16" value_PUSH16. @@ -3181,7 +3232,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 112 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 112 ] |))). Axiom AssociatedConstant_value_PUSH17 : M.IsAssociatedConstant Self "value_PUSH17" value_PUSH17. @@ -3192,7 +3245,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 113 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 113 ] |))). Axiom AssociatedConstant_value_PUSH18 : M.IsAssociatedConstant Self "value_PUSH18" value_PUSH18. @@ -3203,7 +3258,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 114 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 114 ] |))). Axiom AssociatedConstant_value_PUSH19 : M.IsAssociatedConstant Self "value_PUSH19" value_PUSH19. @@ -3214,7 +3271,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 115 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 115 ] |))). Axiom AssociatedConstant_value_PUSH20 : M.IsAssociatedConstant Self "value_PUSH20" value_PUSH20. @@ -3225,7 +3284,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 116 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 116 ] |))). Axiom AssociatedConstant_value_PUSH21 : M.IsAssociatedConstant Self "value_PUSH21" value_PUSH21. @@ -3236,7 +3297,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 117 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 117 ] |))). Axiom AssociatedConstant_value_PUSH22 : M.IsAssociatedConstant Self "value_PUSH22" value_PUSH22. @@ -3247,7 +3310,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 118 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 118 ] |))). Axiom AssociatedConstant_value_PUSH23 : M.IsAssociatedConstant Self "value_PUSH23" value_PUSH23. @@ -3258,7 +3323,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 119 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 119 ] |))). Axiom AssociatedConstant_value_PUSH24 : M.IsAssociatedConstant Self "value_PUSH24" value_PUSH24. @@ -3269,7 +3336,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 120 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 120 ] |))). Axiom AssociatedConstant_value_PUSH25 : M.IsAssociatedConstant Self "value_PUSH25" value_PUSH25. @@ -3280,7 +3349,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 121 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 121 ] |))). Axiom AssociatedConstant_value_PUSH26 : M.IsAssociatedConstant Self "value_PUSH26" value_PUSH26. @@ -3291,7 +3362,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 122 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 122 ] |))). Axiom AssociatedConstant_value_PUSH27 : M.IsAssociatedConstant Self "value_PUSH27" value_PUSH27. @@ -3302,7 +3375,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 123 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 123 ] |))). Axiom AssociatedConstant_value_PUSH28 : M.IsAssociatedConstant Self "value_PUSH28" value_PUSH28. @@ -3313,7 +3388,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 124 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 124 ] |))). Axiom AssociatedConstant_value_PUSH29 : M.IsAssociatedConstant Self "value_PUSH29" value_PUSH29. @@ -3324,7 +3401,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 125 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 125 ] |))). Axiom AssociatedConstant_value_PUSH30 : M.IsAssociatedConstant Self "value_PUSH30" value_PUSH30. @@ -3335,7 +3414,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 126 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 126 ] |))). Axiom AssociatedConstant_value_PUSH31 : M.IsAssociatedConstant Self "value_PUSH31" value_PUSH31. @@ -3346,7 +3427,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 127 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 127 ] |))). Axiom AssociatedConstant_value_PUSH32 : M.IsAssociatedConstant Self "value_PUSH32" value_PUSH32. @@ -3357,7 +3440,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 128 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 128 ] |))). Axiom AssociatedConstant_value_DUP1 : M.IsAssociatedConstant Self "value_DUP1" value_DUP1. @@ -3368,7 +3453,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 129 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 129 ] |))). Axiom AssociatedConstant_value_DUP2 : M.IsAssociatedConstant Self "value_DUP2" value_DUP2. @@ -3379,7 +3466,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 130 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 130 ] |))). Axiom AssociatedConstant_value_DUP3 : M.IsAssociatedConstant Self "value_DUP3" value_DUP3. @@ -3390,7 +3479,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 131 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 131 ] |))). Axiom AssociatedConstant_value_DUP4 : M.IsAssociatedConstant Self "value_DUP4" value_DUP4. @@ -3401,7 +3492,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 132 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 132 ] |))). Axiom AssociatedConstant_value_DUP5 : M.IsAssociatedConstant Self "value_DUP5" value_DUP5. @@ -3412,7 +3505,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 133 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 133 ] |))). Axiom AssociatedConstant_value_DUP6 : M.IsAssociatedConstant Self "value_DUP6" value_DUP6. @@ -3423,7 +3518,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 134 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 134 ] |))). Axiom AssociatedConstant_value_DUP7 : M.IsAssociatedConstant Self "value_DUP7" value_DUP7. @@ -3434,7 +3531,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 135 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 135 ] |))). Axiom AssociatedConstant_value_DUP8 : M.IsAssociatedConstant Self "value_DUP8" value_DUP8. @@ -3445,7 +3544,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 136 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 136 ] |))). Axiom AssociatedConstant_value_DUP9 : M.IsAssociatedConstant Self "value_DUP9" value_DUP9. @@ -3456,7 +3557,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 137 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 137 ] |))). Axiom AssociatedConstant_value_DUP10 : M.IsAssociatedConstant Self "value_DUP10" value_DUP10. @@ -3467,7 +3570,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 138 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 138 ] |))). Axiom AssociatedConstant_value_DUP11 : M.IsAssociatedConstant Self "value_DUP11" value_DUP11. @@ -3478,7 +3583,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 139 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 139 ] |))). Axiom AssociatedConstant_value_DUP12 : M.IsAssociatedConstant Self "value_DUP12" value_DUP12. @@ -3489,7 +3596,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 140 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 140 ] |))). Axiom AssociatedConstant_value_DUP13 : M.IsAssociatedConstant Self "value_DUP13" value_DUP13. @@ -3500,7 +3609,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 141 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 141 ] |))). Axiom AssociatedConstant_value_DUP14 : M.IsAssociatedConstant Self "value_DUP14" value_DUP14. @@ -3511,7 +3622,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 142 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 142 ] |))). Axiom AssociatedConstant_value_DUP15 : M.IsAssociatedConstant Self "value_DUP15" value_DUP15. @@ -3522,7 +3635,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 143 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 143 ] |))). Axiom AssociatedConstant_value_DUP16 : M.IsAssociatedConstant Self "value_DUP16" value_DUP16. @@ -3533,7 +3648,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 144 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 144 ] |))). Axiom AssociatedConstant_value_SWAP1 : M.IsAssociatedConstant Self "value_SWAP1" value_SWAP1. @@ -3544,7 +3661,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 145 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 145 ] |))). Axiom AssociatedConstant_value_SWAP2 : M.IsAssociatedConstant Self "value_SWAP2" value_SWAP2. @@ -3555,7 +3674,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 146 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 146 ] |))). Axiom AssociatedConstant_value_SWAP3 : M.IsAssociatedConstant Self "value_SWAP3" value_SWAP3. @@ -3566,7 +3687,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 147 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 147 ] |))). Axiom AssociatedConstant_value_SWAP4 : M.IsAssociatedConstant Self "value_SWAP4" value_SWAP4. @@ -3577,7 +3700,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 148 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 148 ] |))). Axiom AssociatedConstant_value_SWAP5 : M.IsAssociatedConstant Self "value_SWAP5" value_SWAP5. @@ -3588,7 +3713,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 149 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 149 ] |))). Axiom AssociatedConstant_value_SWAP6 : M.IsAssociatedConstant Self "value_SWAP6" value_SWAP6. @@ -3599,7 +3726,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 150 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 150 ] |))). Axiom AssociatedConstant_value_SWAP7 : M.IsAssociatedConstant Self "value_SWAP7" value_SWAP7. @@ -3610,7 +3739,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 151 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 151 ] |))). Axiom AssociatedConstant_value_SWAP8 : M.IsAssociatedConstant Self "value_SWAP8" value_SWAP8. @@ -3621,7 +3752,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 152 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 152 ] |))). Axiom AssociatedConstant_value_SWAP9 : M.IsAssociatedConstant Self "value_SWAP9" value_SWAP9. @@ -3632,7 +3765,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 153 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 153 ] |))). Axiom AssociatedConstant_value_SWAP10 : M.IsAssociatedConstant Self "value_SWAP10" value_SWAP10. @@ -3643,7 +3778,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 154 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 154 ] |))). Axiom AssociatedConstant_value_SWAP11 : M.IsAssociatedConstant Self "value_SWAP11" value_SWAP11. @@ -3654,7 +3791,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 155 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 155 ] |))). Axiom AssociatedConstant_value_SWAP12 : M.IsAssociatedConstant Self "value_SWAP12" value_SWAP12. @@ -3665,7 +3804,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 156 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 156 ] |))). Axiom AssociatedConstant_value_SWAP13 : M.IsAssociatedConstant Self "value_SWAP13" value_SWAP13. @@ -3676,7 +3817,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 157 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 157 ] |))). Axiom AssociatedConstant_value_SWAP14 : M.IsAssociatedConstant Self "value_SWAP14" value_SWAP14. @@ -3687,7 +3830,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 158 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 158 ] |))). Axiom AssociatedConstant_value_SWAP15 : M.IsAssociatedConstant Self "value_SWAP15" value_SWAP15. @@ -3698,7 +3843,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 159 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 159 ] |))). Axiom AssociatedConstant_value_SWAP16 : M.IsAssociatedConstant Self "value_SWAP16" value_SWAP16. @@ -3709,7 +3856,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 160 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 160 ] |))). Axiom AssociatedConstant_value_LOG0 : M.IsAssociatedConstant Self "value_LOG0" value_LOG0. @@ -3720,7 +3869,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 161 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 161 ] |))). Axiom AssociatedConstant_value_LOG1 : M.IsAssociatedConstant Self "value_LOG1" value_LOG1. @@ -3731,7 +3882,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 162 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 162 ] |))). Axiom AssociatedConstant_value_LOG2 : M.IsAssociatedConstant Self "value_LOG2" value_LOG2. @@ -3742,7 +3895,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 163 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 163 ] |))). Axiom AssociatedConstant_value_LOG3 : M.IsAssociatedConstant Self "value_LOG3" value_LOG3. @@ -3753,7 +3908,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 164 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 164 ] |))). Axiom AssociatedConstant_value_LOG4 : M.IsAssociatedConstant Self "value_LOG4" value_LOG4. @@ -3764,7 +3921,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 208 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 208 ] |))). Axiom AssociatedConstant_value_DATALOAD : @@ -3776,7 +3935,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 209 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 209 ] |))). Axiom AssociatedConstant_value_DATALOADN : @@ -3788,7 +3949,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 210 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 210 ] |))). Axiom AssociatedConstant_value_DATASIZE : @@ -3800,7 +3963,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 211 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 211 ] |))). Axiom AssociatedConstant_value_DATACOPY : @@ -3812,7 +3977,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 224 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 224 ] |))). Axiom AssociatedConstant_value_RJUMP : M.IsAssociatedConstant Self "value_RJUMP" value_RJUMP. @@ -3823,7 +3990,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 225 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 225 ] |))). Axiom AssociatedConstant_value_RJUMPI : M.IsAssociatedConstant Self "value_RJUMPI" value_RJUMPI. @@ -3834,7 +4003,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 226 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 226 ] |))). Axiom AssociatedConstant_value_RJUMPV : M.IsAssociatedConstant Self "value_RJUMPV" value_RJUMPV. @@ -3845,7 +4016,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 227 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 227 ] |))). Axiom AssociatedConstant_value_CALLF : M.IsAssociatedConstant Self "value_CALLF" value_CALLF. @@ -3856,7 +4029,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 228 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 228 ] |))). Axiom AssociatedConstant_value_RETF : M.IsAssociatedConstant Self "value_RETF" value_RETF. @@ -3867,7 +4042,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 229 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 229 ] |))). Axiom AssociatedConstant_value_JUMPF : M.IsAssociatedConstant Self "value_JUMPF" value_JUMPF. @@ -3878,7 +4055,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 230 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 230 ] |))). Axiom AssociatedConstant_value_DUPN : M.IsAssociatedConstant Self "value_DUPN" value_DUPN. @@ -3889,7 +4068,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 231 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 231 ] |))). Axiom AssociatedConstant_value_SWAPN : M.IsAssociatedConstant Self "value_SWAPN" value_SWAPN. @@ -3900,7 +4081,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 232 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 232 ] |))). Axiom AssociatedConstant_value_EXCHANGE : @@ -3912,7 +4095,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 236 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 236 ] |))). Axiom AssociatedConstant_value_EOFCREATE : @@ -3924,7 +4109,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 237 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 237 ] |))). Axiom AssociatedConstant_value_TXCREATE : @@ -3936,7 +4123,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 238 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 238 ] |))). Axiom AssociatedConstant_value_RETURNCONTRACT : @@ -3948,7 +4137,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 240 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 240 ] |))). Axiom AssociatedConstant_value_CREATE : M.IsAssociatedConstant Self "value_CREATE" value_CREATE. @@ -3959,7 +4150,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 241 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 241 ] |))). Axiom AssociatedConstant_value_CALL : M.IsAssociatedConstant Self "value_CALL" value_CALL. @@ -3970,7 +4163,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 242 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 242 ] |))). Axiom AssociatedConstant_value_CALLCODE : @@ -3982,7 +4177,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 243 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 243 ] |))). Axiom AssociatedConstant_value_RETURN : M.IsAssociatedConstant Self "value_RETURN" value_RETURN. @@ -3993,7 +4190,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 244 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 244 ] |))). Axiom AssociatedConstant_value_DELEGATECALL : @@ -4005,7 +4204,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 245 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 245 ] |))). Axiom AssociatedConstant_value_CREATE2 : @@ -4017,7 +4218,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 247 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 247 ] |))). Axiom AssociatedConstant_value_RETURNDATALOAD : @@ -4029,7 +4232,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 248 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 248 ] |))). Axiom AssociatedConstant_value_EXTCALL : @@ -4041,7 +4246,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 249 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 249 ] |))). Axiom AssociatedConstant_value_EXFCALL : @@ -4053,7 +4260,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 250 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 250 ] |))). Axiom AssociatedConstant_value_STATICCALL : @@ -4065,7 +4274,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 251 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 251 ] |))). Axiom AssociatedConstant_value_EXTSCALL : @@ -4077,7 +4288,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 253 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 253 ] |))). Axiom AssociatedConstant_value_REVERT : M.IsAssociatedConstant Self "value_REVERT" value_REVERT. @@ -4088,7 +4301,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 254 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 254 ] |))). Axiom AssociatedConstant_value_INVALID : @@ -4100,7 +4315,9 @@ Module opcode. M.run ltac:(M.monadic (M.alloc (| - Value.StructTuple "revm_interpreter::opcode::OpCode" [ Value.Integer 255 ] + Value.StructTuple + "revm_interpreter::opcode::OpCode" + [ Value.Integer IntegerKind.U8 255 ] |))). Axiom AssociatedConstant_value_SELFDESTRUCT : @@ -4152,7 +4369,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4223,108 +4440,114 @@ Module opcode. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::opcode::OpCodeInfo", "name_len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::opcode::OpCodeInfo", "name_len" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::opcode::OpCodeInfo", "inputs" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::opcode::OpCodeInfo", "inputs" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::opcode::OpCodeInfo", "outputs" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::opcode::OpCodeInfo", "outputs" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::opcode::OpCodeInfo", "immediate_size" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::opcode::OpCodeInfo", "immediate_size" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::opcode::OpCodeInfo", "not_eof" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::opcode::OpCodeInfo", "not_eof" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::opcode::OpCodeInfo", "terminating" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_interpreter::opcode::OpCodeInfo", "terminating" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4375,7 +4598,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4675,7 +4898,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4932,7 +5155,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5058,7 +5281,7 @@ Module opcode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5241,7 +5464,7 @@ Module opcode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5284,13 +5507,15 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.call_closure (| + UnOp.not (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| name |) ] - |)) - (Value.Integer 256)) + |), + Value.Integer IntegerKind.Usize 256 + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -5353,15 +5578,15 @@ Module opcode. M.get_associated_function (| Ty.path "str", "len", [] |), [ M.read (| name |) ] |))); - ("inputs", Value.Integer 0); - ("outputs", Value.Integer 0); + ("inputs", Value.Integer IntegerKind.U8 0); + ("outputs", Value.Integer IntegerKind.U8 0); ("not_eof", Value.Bool false); ("terminating", Value.Bool false); - ("immediate_size", Value.Integer 0) + ("immediate_size", Value.Integer IntegerKind.U8 0) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -5423,7 +5648,7 @@ Module opcode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_name : M.IsAssociatedFunction Self "name" name. @@ -5438,25 +5663,25 @@ Module opcode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.I16 - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::opcode::OpCodeInfo", "outputs" |) - |))) - (M.rust_cast + |)), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_interpreter::opcode::OpCodeInfo", "inputs" |) - |))))) - | _, _ => M.impossible + |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_io_diff : M.IsAssociatedFunction Self "io_diff" io_diff. @@ -5478,7 +5703,7 @@ Module opcode. "inputs" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inputs : M.IsAssociatedFunction Self "inputs" inputs. @@ -5500,7 +5725,7 @@ Module opcode. "outputs" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_outputs : M.IsAssociatedFunction Self "outputs" outputs. @@ -5522,7 +5747,7 @@ Module opcode. "not_eof" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_disabled_in_eof : @@ -5545,7 +5770,7 @@ Module opcode. "terminating" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_terminating : @@ -5568,7 +5793,7 @@ Module opcode. "immediate_size" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_immediate_size : @@ -5598,7 +5823,7 @@ Module opcode. |) in op |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_not_eof : M.IsFunction "revm_interpreter::opcode::not_eof" not_eof. @@ -5627,7 +5852,7 @@ Module opcode. |) in op |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_immediate_size : @@ -5656,7 +5881,7 @@ Module opcode. |) in op |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_terminating : M.IsFunction "revm_interpreter::opcode::terminating" terminating. @@ -5696,7 +5921,7 @@ Module opcode. |) in op |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_stack_io : M.IsFunction "revm_interpreter::opcode::stack_io" stack_io. @@ -5704,360 +5929,520 @@ Module opcode. Definition value_NOP : Value.t := M.run ltac:(M.monadic (M.get_constant (| "revm_interpreter::opcode::JUMPDEST" |))). - Definition value_STOP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + Definition value_STOP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). - Definition value_ADD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 1 |))). + Definition value_ADD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). - Definition value_MUL : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 2 |))). + Definition value_MUL : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). - Definition value_SUB : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 3 |))). + Definition value_SUB : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 3 |))). - Definition value_DIV : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 4 |))). + Definition value_DIV : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 4 |))). - Definition value_SDIV : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 5 |))). + Definition value_SDIV : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 5 |))). - Definition value_MOD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 6 |))). + Definition value_MOD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 6 |))). - Definition value_SMOD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 7 |))). + Definition value_SMOD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 7 |))). - Definition value_ADDMOD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 8 |))). + Definition value_ADDMOD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 8 |))). - Definition value_MULMOD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 9 |))). + Definition value_MULMOD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 9 |))). - Definition value_EXP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 10 |))). + Definition value_EXP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 10 |))). - Definition value_SIGNEXTEND : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 11 |))). + Definition value_SIGNEXTEND : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 11 |))). - Definition value_LT : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 16 |))). + Definition value_LT : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 16 |))). - Definition value_GT : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 17 |))). + Definition value_GT : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 17 |))). - Definition value_SLT : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 18 |))). + Definition value_SLT : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 18 |))). - Definition value_SGT : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 19 |))). + Definition value_SGT : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 19 |))). - Definition value_EQ : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 20 |))). + Definition value_EQ : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 20 |))). - Definition value_ISZERO : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 21 |))). + Definition value_ISZERO : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 21 |))). - Definition value_AND : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 22 |))). + Definition value_AND : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 22 |))). - Definition value_OR : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 23 |))). + Definition value_OR : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 23 |))). - Definition value_XOR : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 24 |))). + Definition value_XOR : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 24 |))). - Definition value_NOT : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 25 |))). + Definition value_NOT : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 25 |))). - Definition value_BYTE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 26 |))). + Definition value_BYTE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 26 |))). - Definition value_SHL : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 27 |))). + Definition value_SHL : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 27 |))). - Definition value_SHR : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 28 |))). + Definition value_SHR : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 28 |))). - Definition value_SAR : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 29 |))). + Definition value_SAR : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 29 |))). - Definition value_KECCAK256 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 32 |))). + Definition value_KECCAK256 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 32 |))). - Definition value_ADDRESS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 48 |))). + Definition value_ADDRESS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 48 |))). - Definition value_BALANCE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 49 |))). + Definition value_BALANCE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 49 |))). - Definition value_ORIGIN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 50 |))). + Definition value_ORIGIN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 50 |))). - Definition value_CALLER : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 51 |))). + Definition value_CALLER : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 51 |))). - Definition value_CALLVALUE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 52 |))). + Definition value_CALLVALUE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 52 |))). Definition value_CALLDATALOAD : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 53 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 53 |))). Definition value_CALLDATASIZE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 54 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 54 |))). Definition value_CALLDATACOPY : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 55 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 55 |))). - Definition value_CODESIZE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 56 |))). + Definition value_CODESIZE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 56 |))). - Definition value_CODECOPY : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 57 |))). + Definition value_CODECOPY : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 57 |))). - Definition value_GASPRICE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 58 |))). + Definition value_GASPRICE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 58 |))). - Definition value_EXTCODESIZE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 59 |))). + Definition value_EXTCODESIZE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 59 |))). - Definition value_EXTCODECOPY : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 60 |))). + Definition value_EXTCODECOPY : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 60 |))). Definition value_RETURNDATASIZE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 61 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 61 |))). Definition value_RETURNDATACOPY : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 62 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 62 |))). - Definition value_EXTCODEHASH : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 63 |))). + Definition value_EXTCODEHASH : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 63 |))). - Definition value_BLOCKHASH : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 64 |))). + Definition value_BLOCKHASH : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 64 |))). - Definition value_COINBASE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 65 |))). + Definition value_COINBASE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 65 |))). - Definition value_TIMESTAMP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 66 |))). + Definition value_TIMESTAMP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 66 |))). - Definition value_NUMBER : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 67 |))). + Definition value_NUMBER : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 67 |))). - Definition value_DIFFICULTY : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 68 |))). + Definition value_DIFFICULTY : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 68 |))). - Definition value_GASLIMIT : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 69 |))). + Definition value_GASLIMIT : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 69 |))). - Definition value_CHAINID : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 70 |))). + Definition value_CHAINID : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 70 |))). - Definition value_SELFBALANCE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 71 |))). + Definition value_SELFBALANCE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 71 |))). - Definition value_BASEFEE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 72 |))). + Definition value_BASEFEE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 72 |))). - Definition value_BLOBHASH : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 73 |))). + Definition value_BLOBHASH : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 73 |))). - Definition value_BLOBBASEFEE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 74 |))). + Definition value_BLOBBASEFEE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 74 |))). - Definition value_POP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 80 |))). + Definition value_POP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 80 |))). - Definition value_MLOAD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 81 |))). + Definition value_MLOAD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 81 |))). - Definition value_MSTORE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 82 |))). + Definition value_MSTORE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 82 |))). - Definition value_MSTORE8 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 83 |))). + Definition value_MSTORE8 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 83 |))). - Definition value_SLOAD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 84 |))). + Definition value_SLOAD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 84 |))). - Definition value_SSTORE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 85 |))). + Definition value_SSTORE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 85 |))). - Definition value_JUMP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 86 |))). + Definition value_JUMP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 86 |))). - Definition value_JUMPI : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 87 |))). + Definition value_JUMPI : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 87 |))). - Definition value_PC : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 88 |))). + Definition value_PC : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 88 |))). - Definition value_MSIZE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 89 |))). + Definition value_MSIZE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 89 |))). - Definition value_GAS : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 90 |))). + Definition value_GAS : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 90 |))). - Definition value_JUMPDEST : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 91 |))). + Definition value_JUMPDEST : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 91 |))). - Definition value_TLOAD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 92 |))). + Definition value_TLOAD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 92 |))). - Definition value_TSTORE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 93 |))). + Definition value_TSTORE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 93 |))). - Definition value_MCOPY : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 94 |))). + Definition value_MCOPY : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 94 |))). - Definition value_PUSH0 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 95 |))). + Definition value_PUSH0 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 95 |))). - Definition value_PUSH1 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 96 |))). + Definition value_PUSH1 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 96 |))). - Definition value_PUSH2 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 97 |))). + Definition value_PUSH2 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 97 |))). - Definition value_PUSH3 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 98 |))). + Definition value_PUSH3 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 98 |))). - Definition value_PUSH4 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 99 |))). + Definition value_PUSH4 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 99 |))). - Definition value_PUSH5 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 100 |))). + Definition value_PUSH5 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 100 |))). - Definition value_PUSH6 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 101 |))). + Definition value_PUSH6 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 101 |))). - Definition value_PUSH7 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 102 |))). + Definition value_PUSH7 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 102 |))). - Definition value_PUSH8 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 103 |))). + Definition value_PUSH8 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 103 |))). - Definition value_PUSH9 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 104 |))). + Definition value_PUSH9 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 104 |))). - Definition value_PUSH10 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 105 |))). + Definition value_PUSH10 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 105 |))). - Definition value_PUSH11 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 106 |))). + Definition value_PUSH11 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 106 |))). - Definition value_PUSH12 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 107 |))). + Definition value_PUSH12 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 107 |))). - Definition value_PUSH13 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 108 |))). + Definition value_PUSH13 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 108 |))). - Definition value_PUSH14 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 109 |))). + Definition value_PUSH14 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 109 |))). - Definition value_PUSH15 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 110 |))). + Definition value_PUSH15 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 110 |))). - Definition value_PUSH16 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 111 |))). + Definition value_PUSH16 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 111 |))). - Definition value_PUSH17 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 112 |))). + Definition value_PUSH17 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 112 |))). - Definition value_PUSH18 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 113 |))). + Definition value_PUSH18 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 113 |))). - Definition value_PUSH19 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 114 |))). + Definition value_PUSH19 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 114 |))). - Definition value_PUSH20 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 115 |))). + Definition value_PUSH20 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 115 |))). - Definition value_PUSH21 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 116 |))). + Definition value_PUSH21 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 116 |))). - Definition value_PUSH22 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 117 |))). + Definition value_PUSH22 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 117 |))). - Definition value_PUSH23 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 118 |))). + Definition value_PUSH23 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 118 |))). - Definition value_PUSH24 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 119 |))). + Definition value_PUSH24 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 119 |))). - Definition value_PUSH25 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 120 |))). + Definition value_PUSH25 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 120 |))). - Definition value_PUSH26 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 121 |))). + Definition value_PUSH26 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 121 |))). - Definition value_PUSH27 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 122 |))). + Definition value_PUSH27 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 122 |))). - Definition value_PUSH28 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 123 |))). + Definition value_PUSH28 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 123 |))). - Definition value_PUSH29 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 124 |))). + Definition value_PUSH29 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 124 |))). - Definition value_PUSH30 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 125 |))). + Definition value_PUSH30 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 125 |))). - Definition value_PUSH31 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 126 |))). + Definition value_PUSH31 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 126 |))). - Definition value_PUSH32 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 127 |))). + Definition value_PUSH32 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 127 |))). - Definition value_DUP1 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 128 |))). + Definition value_DUP1 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 128 |))). - Definition value_DUP2 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 129 |))). + Definition value_DUP2 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 129 |))). - Definition value_DUP3 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 130 |))). + Definition value_DUP3 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 130 |))). - Definition value_DUP4 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 131 |))). + Definition value_DUP4 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 131 |))). - Definition value_DUP5 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 132 |))). + Definition value_DUP5 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 132 |))). - Definition value_DUP6 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 133 |))). + Definition value_DUP6 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 133 |))). - Definition value_DUP7 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 134 |))). + Definition value_DUP7 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 134 |))). - Definition value_DUP8 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 135 |))). + Definition value_DUP8 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 135 |))). - Definition value_DUP9 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 136 |))). + Definition value_DUP9 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 136 |))). - Definition value_DUP10 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 137 |))). + Definition value_DUP10 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 137 |))). - Definition value_DUP11 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 138 |))). + Definition value_DUP11 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 138 |))). - Definition value_DUP12 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 139 |))). + Definition value_DUP12 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 139 |))). - Definition value_DUP13 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 140 |))). + Definition value_DUP13 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 140 |))). - Definition value_DUP14 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 141 |))). + Definition value_DUP14 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 141 |))). - Definition value_DUP15 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 142 |))). + Definition value_DUP15 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 142 |))). - Definition value_DUP16 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 143 |))). + Definition value_DUP16 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 143 |))). - Definition value_SWAP1 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 144 |))). + Definition value_SWAP1 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 144 |))). - Definition value_SWAP2 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 145 |))). + Definition value_SWAP2 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 145 |))). - Definition value_SWAP3 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 146 |))). + Definition value_SWAP3 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 146 |))). - Definition value_SWAP4 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 147 |))). + Definition value_SWAP4 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 147 |))). - Definition value_SWAP5 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 148 |))). + Definition value_SWAP5 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 148 |))). - Definition value_SWAP6 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 149 |))). + Definition value_SWAP6 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 149 |))). - Definition value_SWAP7 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 150 |))). + Definition value_SWAP7 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 150 |))). - Definition value_SWAP8 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 151 |))). + Definition value_SWAP8 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 151 |))). - Definition value_SWAP9 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 152 |))). + Definition value_SWAP9 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 152 |))). - Definition value_SWAP10 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 153 |))). + Definition value_SWAP10 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 153 |))). - Definition value_SWAP11 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 154 |))). + Definition value_SWAP11 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 154 |))). - Definition value_SWAP12 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 155 |))). + Definition value_SWAP12 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 155 |))). - Definition value_SWAP13 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 156 |))). + Definition value_SWAP13 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 156 |))). - Definition value_SWAP14 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 157 |))). + Definition value_SWAP14 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 157 |))). - Definition value_SWAP15 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 158 |))). + Definition value_SWAP15 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 158 |))). - Definition value_SWAP16 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 159 |))). + Definition value_SWAP16 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 159 |))). - Definition value_LOG0 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 160 |))). + Definition value_LOG0 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 160 |))). - Definition value_LOG1 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 161 |))). + Definition value_LOG1 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 161 |))). - Definition value_LOG2 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 162 |))). + Definition value_LOG2 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 162 |))). - Definition value_LOG3 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 163 |))). + Definition value_LOG3 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 163 |))). - Definition value_LOG4 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 164 |))). + Definition value_LOG4 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 164 |))). - Definition value_DATALOAD : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 208 |))). + Definition value_DATALOAD : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 208 |))). - Definition value_DATALOADN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 209 |))). + Definition value_DATALOADN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 209 |))). - Definition value_DATASIZE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 210 |))). + Definition value_DATASIZE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 210 |))). - Definition value_DATACOPY : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 211 |))). + Definition value_DATACOPY : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 211 |))). - Definition value_RJUMP : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 224 |))). + Definition value_RJUMP : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 224 |))). - Definition value_RJUMPI : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 225 |))). + Definition value_RJUMPI : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 225 |))). - Definition value_RJUMPV : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 226 |))). + Definition value_RJUMPV : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 226 |))). - Definition value_CALLF : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 227 |))). + Definition value_CALLF : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 227 |))). - Definition value_RETF : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 228 |))). + Definition value_RETF : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 228 |))). - Definition value_JUMPF : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 229 |))). + Definition value_JUMPF : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 229 |))). - Definition value_DUPN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 230 |))). + Definition value_DUPN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 230 |))). - Definition value_SWAPN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 231 |))). + Definition value_SWAPN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 231 |))). - Definition value_EXCHANGE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 232 |))). + Definition value_EXCHANGE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 232 |))). - Definition value_EOFCREATE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 236 |))). + Definition value_EOFCREATE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 236 |))). - Definition value_TXCREATE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 237 |))). + Definition value_TXCREATE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 237 |))). Definition value_RETURNCONTRACT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 238 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 238 |))). - Definition value_CREATE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 240 |))). + Definition value_CREATE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 240 |))). - Definition value_CALL : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 241 |))). + Definition value_CALL : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 241 |))). - Definition value_CALLCODE : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 242 |))). + Definition value_CALLCODE : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 242 |))). - Definition value_RETURN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 243 |))). + Definition value_RETURN : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 243 |))). Definition value_DELEGATECALL : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 244 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 244 |))). - Definition value_CREATE2 : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 245 |))). + Definition value_CREATE2 : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 245 |))). Definition value_RETURNDATALOAD : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 247 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 247 |))). - Definition value_EXTCALL : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 248 |))). + Definition value_EXTCALL : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 248 |))). - Definition value_EXFCALL : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 249 |))). + Definition value_EXFCALL : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 249 |))). - Definition value_STATICCALL : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 250 |))). + Definition value_STATICCALL : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 250 |))). - Definition value_EXTSCALL : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 251 |))). + Definition value_EXTSCALL : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 251 |))). - Definition value_REVERT : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 253 |))). + Definition value_REVERT : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 253 |))). - Definition value_INVALID : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 254 |))). + Definition value_INVALID : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 254 |))). Definition value_SELFDESTRUCT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 255 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 255 |))). Definition value_OPCODE_INFO_JUMPTABLE : Value.t := M.run ltac:(M.monadic (let~ map := M.alloc (| repeat (Value.StructTuple "core::option::Option::None" []) 256 |) in - let~ prev := M.alloc (| Value.Integer 0 |) in - let~ val := M.alloc (| Value.Integer 0 |) in + let~ prev := M.alloc (| Value.Integer IntegerKind.U8 0 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6067,11 +6452,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6121,7 +6507,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -6133,10 +6519,10 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 0 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 0 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 1 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 1 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6146,11 +6532,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6200,15 +6587,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 1 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 1 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 2 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 2 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6218,11 +6605,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6272,15 +6660,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 2 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 2 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 3 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 3 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6290,11 +6678,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6344,15 +6733,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 3 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 3 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 4 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 4 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6362,11 +6751,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6416,15 +6806,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 4 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 4 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 5 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 5 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6434,11 +6824,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6488,15 +6879,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 5 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 5 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 6 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 6 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6506,11 +6897,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6560,15 +6952,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 6 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 6 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 7 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 7 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6578,11 +6970,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6632,15 +7025,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 7 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 7 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 8 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 8 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6650,11 +7043,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6704,15 +7098,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 8 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 8 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 9 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 9 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6722,11 +7116,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6776,15 +7171,15 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 9 |) |), + M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer IntegerKind.Usize 9 |) |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 10 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 10 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6794,11 +7189,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6848,15 +7244,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 10 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 10 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 11 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 11 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6866,11 +7265,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6920,15 +7320,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 11 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 11 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 16 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 16 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -6938,11 +7341,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -6992,15 +7396,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 16 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 16 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 17 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 17 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7010,11 +7417,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7064,15 +7472,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 17 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 17 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 18 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 18 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7082,11 +7493,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7136,15 +7548,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 18 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 18 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 19 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 19 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7154,11 +7569,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7208,15 +7624,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 19 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 19 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 20 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 20 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7226,11 +7645,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7280,15 +7700,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 20 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 20 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 21 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 21 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7298,11 +7721,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7352,15 +7776,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 21 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 21 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 22 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 22 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7370,11 +7797,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7424,15 +7852,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 22 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 22 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 23 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 23 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7442,11 +7873,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7496,15 +7928,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 23 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 23 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 24 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 24 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7514,11 +7949,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7568,15 +8004,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 24 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 24 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 25 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 25 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7586,11 +8025,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7640,15 +8080,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 25 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 25 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 26 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 26 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7658,11 +8101,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7712,15 +8156,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 26 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 26 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 27 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 27 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7730,11 +8177,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7784,15 +8232,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 27 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 27 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 28 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 28 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7802,11 +8253,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7856,15 +8308,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 28 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 28 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 29 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 29 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7874,11 +8329,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7928,15 +8384,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 29 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 29 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 32 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 32 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -7946,11 +8405,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8000,15 +8460,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 32 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 32 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 48 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 48 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8018,11 +8481,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8072,15 +8536,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 48 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 48 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 49 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 49 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8090,11 +8557,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8144,15 +8612,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 49 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 49 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 50 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 50 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8162,11 +8633,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8216,15 +8688,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 50 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 50 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 51 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 51 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8234,11 +8709,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8288,15 +8764,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 51 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 51 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 52 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 52 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8306,11 +8785,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8360,15 +8840,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 52 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 52 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 53 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 53 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8378,11 +8861,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8432,15 +8916,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 53 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 53 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 54 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 54 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8450,11 +8937,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8504,15 +8992,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 54 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 54 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 55 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 55 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8522,11 +9013,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8576,15 +9068,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 55 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 55 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 56 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 56 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8594,11 +9089,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8648,7 +9144,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -8660,10 +9156,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 56 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 56 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 57 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 57 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8673,11 +9172,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8727,7 +9227,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -8739,10 +9239,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 57 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 57 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 58 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 58 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8752,11 +9255,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8806,15 +9310,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 58 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 58 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 59 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 59 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8824,11 +9331,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8878,7 +9386,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -8890,10 +9398,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 59 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 59 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 60 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 60 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8903,11 +9414,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -8957,7 +9469,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 4; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -8969,10 +9481,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 60 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 60 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 61 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 61 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8982,11 +9497,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9036,15 +9552,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 61 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 61 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 62 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 62 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9054,11 +9573,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9108,15 +9628,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 62 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 62 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 63 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 63 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9126,11 +9649,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9180,7 +9704,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -9192,10 +9716,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 63 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 63 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 64 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 64 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9205,11 +9732,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9259,15 +9787,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 64 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 64 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 65 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 65 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9277,11 +9808,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9331,15 +9863,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 65 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 65 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 66 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 66 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9349,11 +9884,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9403,15 +9939,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 66 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 66 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 67 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 67 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9421,11 +9960,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9475,15 +10015,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 67 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 67 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 68 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 68 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9493,11 +10036,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9547,15 +10091,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 68 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 68 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 69 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 69 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9565,11 +10112,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9619,15 +10167,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 69 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 69 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 70 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 70 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9637,11 +10188,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9691,15 +10243,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 70 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 70 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 71 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 71 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9709,11 +10264,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9763,15 +10319,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 71 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 71 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 72 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 72 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9781,11 +10340,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9835,15 +10395,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 72 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 72 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 73 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 73 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9853,11 +10416,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9907,15 +10471,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 73 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 73 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 74 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 74 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9925,11 +10492,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -9979,15 +10547,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 74 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 74 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 80 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 80 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -9997,11 +10568,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10051,15 +10623,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 80 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 80 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 81 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 81 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10069,11 +10644,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10123,15 +10699,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 81 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 81 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 82 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 82 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10141,11 +10720,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10195,15 +10775,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 82 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 82 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 83 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 83 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10213,11 +10796,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10267,15 +10851,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 83 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 83 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 84 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 84 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10285,11 +10872,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10339,15 +10927,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 84 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 84 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 85 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 85 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10357,11 +10948,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10411,15 +11003,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 85 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 85 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 86 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 86 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10429,11 +11024,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10483,7 +11079,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -10495,10 +11091,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 86 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 86 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 87 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 87 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10508,11 +11107,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10562,7 +11162,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -10574,10 +11174,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 87 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 87 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 88 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 88 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10587,11 +11190,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10641,7 +11245,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -10653,10 +11257,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 88 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 88 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 89 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 89 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10666,11 +11273,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10720,15 +11328,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 89 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 89 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 90 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 90 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10738,11 +11349,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10792,7 +11404,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -10804,10 +11416,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 90 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 90 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 91 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 91 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10817,11 +11432,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10871,15 +11487,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 91 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 91 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 92 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 92 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10889,11 +11508,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -10943,15 +11563,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 92 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 92 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 93 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 93 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -10961,11 +11584,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11015,15 +11639,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 93 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 93 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 94 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 94 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11033,11 +11660,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11087,15 +11715,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 94 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 94 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 95 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 95 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11105,11 +11736,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11159,15 +11791,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 95 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 95 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 96 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 96 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11177,11 +11812,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11231,22 +11867,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 96 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 96 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 97 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 97 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11256,11 +11895,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11310,22 +11950,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 2 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 97 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 97 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 98 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 98 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11335,11 +11978,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11389,22 +12033,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 3 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 98 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 98 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 99 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 99 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11414,11 +12061,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11468,22 +12116,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 4 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 4 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 99 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 99 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 100 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 100 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11493,11 +12144,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11547,22 +12199,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 5 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 5 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 100 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 100 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 101 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 101 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11572,11 +12227,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11626,22 +12282,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 6 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 6 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 101 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 101 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 102 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 102 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11651,11 +12310,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11705,22 +12365,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 7 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 7 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 102 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 102 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 103 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 103 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11730,11 +12393,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11784,22 +12448,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 8 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 8 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 103 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 103 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 104 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 104 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11809,11 +12476,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11863,22 +12531,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 9 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 9 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 104 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 104 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 105 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 105 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11888,11 +12559,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11942,22 +12614,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 10 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 10 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 105 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 105 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 106 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 106 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -11967,11 +12642,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12021,22 +12697,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 11 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 11 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 106 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 106 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 107 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 107 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12046,11 +12725,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12100,22 +12780,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 12 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 12 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 107 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 107 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 108 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 108 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12125,11 +12808,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12179,22 +12863,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 13 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 13 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 108 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 108 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 109 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 109 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12204,11 +12891,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12258,22 +12946,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 14 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 14 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 109 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 109 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 110 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 110 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12283,11 +12974,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12337,22 +13029,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 15 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 15 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 110 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 110 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 111 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 111 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12362,11 +13057,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12416,22 +13112,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 16 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 16 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 111 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 111 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 112 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 112 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12441,11 +13140,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12495,22 +13195,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 17 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 17 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 112 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 112 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 113 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 113 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12520,11 +13223,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12574,22 +13278,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 18 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 18 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 113 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 113 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 114 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 114 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12599,11 +13306,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12653,22 +13361,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 19 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 19 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 114 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 114 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 115 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 115 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12678,11 +13389,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12732,22 +13444,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 20 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 20 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 115 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 115 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 116 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 116 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12757,11 +13472,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12811,22 +13527,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 21 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 21 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 116 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 116 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 117 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 117 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12836,11 +13555,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12890,22 +13610,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 22 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 22 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 117 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 117 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 118 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 118 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12915,11 +13638,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -12969,22 +13693,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 23 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 23 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 118 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 118 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 119 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 119 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -12994,11 +13721,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13048,22 +13776,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 24 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 24 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 119 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 119 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 120 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 120 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13073,11 +13804,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13127,22 +13859,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 25 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 25 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 120 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 120 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 121 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 121 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13152,11 +13887,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13206,22 +13942,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 26 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 26 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 121 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 121 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 122 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 122 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13231,11 +13970,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13285,22 +14025,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 27 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 27 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 122 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 122 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 123 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 123 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13310,11 +14053,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13364,22 +14108,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 28 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 28 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 123 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 123 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 124 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 124 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13389,11 +14136,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13443,22 +14191,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 29 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 29 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 124 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 124 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 125 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 125 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13468,11 +14219,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13522,22 +14274,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 30 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 30 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 125 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 125 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 126 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 126 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13547,11 +14302,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13601,22 +14357,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 31 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 31 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 126 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 126 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 127 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 127 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13626,11 +14385,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13680,22 +14440,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 32 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 32 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 127 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 127 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 128 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 128 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13705,11 +14468,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13759,15 +14523,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 2 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 2 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 128 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 128 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 129 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 129 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13777,11 +14544,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13831,15 +14599,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 3 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 3 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 129 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 129 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 130 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 130 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13849,11 +14620,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13903,15 +14675,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 4 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 4 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 130 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 130 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 131 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 131 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13921,11 +14696,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -13975,15 +14751,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 4; Value.Integer 5 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 5 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 131 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 131 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 132 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 132 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -13993,11 +14772,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14047,15 +14827,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 5; Value.Integer 6 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 5; Value.Integer IntegerKind.U8 6 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 132 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 132 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 133 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 133 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14065,11 +14848,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14119,15 +14903,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 6; Value.Integer 7 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 6; Value.Integer IntegerKind.U8 7 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 133 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 133 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 134 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 134 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14137,11 +14924,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14191,15 +14979,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 7; Value.Integer 8 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 7; Value.Integer IntegerKind.U8 8 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 134 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 134 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 135 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 135 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14209,11 +15000,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14263,15 +15055,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 8; Value.Integer 9 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 8; Value.Integer IntegerKind.U8 9 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 135 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 135 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 136 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 136 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14281,11 +15076,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14335,15 +15131,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 9; Value.Integer 10 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 9; Value.Integer IntegerKind.U8 10 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 136 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 136 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 137 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 137 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14353,11 +15152,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14407,15 +15207,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 10; Value.Integer 11 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 10; Value.Integer IntegerKind.U8 11 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 137 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 137 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 138 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 138 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14425,11 +15229,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14479,15 +15284,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 11; Value.Integer 12 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 11; Value.Integer IntegerKind.U8 12 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 138 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 138 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 139 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 139 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14497,11 +15306,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14551,15 +15361,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 12; Value.Integer 13 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 12; Value.Integer IntegerKind.U8 13 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 139 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 139 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 140 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 140 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14569,11 +15383,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14623,15 +15438,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 13; Value.Integer 14 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 13; Value.Integer IntegerKind.U8 14 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 140 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 140 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 141 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 141 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14641,11 +15460,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14695,15 +15515,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 14; Value.Integer 15 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 14; Value.Integer IntegerKind.U8 15 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 141 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 141 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 142 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 142 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14713,11 +15537,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14767,15 +15592,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 15; Value.Integer 16 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 15; Value.Integer IntegerKind.U8 16 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 142 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 142 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 143 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 143 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14785,11 +15614,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14839,15 +15669,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 16; Value.Integer 17 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 16; Value.Integer IntegerKind.U8 17 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 143 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 143 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 144 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 144 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14857,11 +15691,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14911,15 +15746,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 2 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 2 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 144 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 144 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 145 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 145 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -14929,11 +15767,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -14983,15 +15822,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 3 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 3 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 145 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 145 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 146 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 146 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15001,11 +15843,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15055,15 +15898,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 4; Value.Integer 4 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 4 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 146 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 146 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 147 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 147 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15073,11 +15919,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15127,15 +15974,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 5; Value.Integer 5 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 5; Value.Integer IntegerKind.U8 5 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 147 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 147 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 148 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 148 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15145,11 +15995,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15199,15 +16050,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 6; Value.Integer 6 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 6; Value.Integer IntegerKind.U8 6 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 148 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 148 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 149 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 149 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15217,11 +16071,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15271,15 +16126,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 7; Value.Integer 7 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 7; Value.Integer IntegerKind.U8 7 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 149 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 149 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 150 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 150 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15289,11 +16147,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15343,15 +16202,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 8; Value.Integer 8 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 8; Value.Integer IntegerKind.U8 8 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 150 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 150 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 151 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 151 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15361,11 +16223,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15415,15 +16278,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 9; Value.Integer 9 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 9; Value.Integer IntegerKind.U8 9 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 151 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 151 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 152 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 152 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15433,11 +16299,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15487,15 +16354,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 10; Value.Integer 10 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 10; Value.Integer IntegerKind.U8 10 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 152 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 152 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 153 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 153 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15505,11 +16376,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15559,15 +16431,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 11; Value.Integer 11 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 11; Value.Integer IntegerKind.U8 11 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 153 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 153 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 154 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 154 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15577,11 +16453,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15631,15 +16508,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 12; Value.Integer 12 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 12; Value.Integer IntegerKind.U8 12 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 154 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 154 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 155 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 155 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15649,11 +16530,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15703,15 +16585,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 13; Value.Integer 13 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 13; Value.Integer IntegerKind.U8 13 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 155 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 155 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 156 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 156 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15721,11 +16607,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15775,15 +16662,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 14; Value.Integer 14 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 14; Value.Integer IntegerKind.U8 14 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 156 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 156 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 157 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 157 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15793,11 +16684,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15847,15 +16739,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 15; Value.Integer 15 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 15; Value.Integer IntegerKind.U8 15 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 157 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 157 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 158 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 158 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15865,11 +16761,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15919,15 +16816,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 16; Value.Integer 16 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 16; Value.Integer IntegerKind.U8 16 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 158 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 158 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 159 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 159 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -15937,11 +16838,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15991,15 +16893,19 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 17; Value.Integer 17 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 17; Value.Integer IntegerKind.U8 17 + ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 159 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 159 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 160 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 160 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16009,11 +16915,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16063,15 +16970,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 160 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 160 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 161 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 161 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16081,11 +16991,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16135,15 +17046,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 161 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 161 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 162 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 162 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16153,11 +17067,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16207,15 +17122,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 4; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 162 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 162 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 163 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 163 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16225,11 +17143,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16279,15 +17198,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 5; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 5; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 163 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 163 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 164 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 164 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16297,11 +17219,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16351,15 +17274,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 6; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 6; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 164 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 164 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 208 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 208 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16369,11 +17295,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16423,15 +17350,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 208 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 208 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 209 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 209 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16441,11 +17371,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16495,22 +17426,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 2 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 209 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 209 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 210 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 210 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16520,11 +17454,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16574,15 +17509,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 210 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 210 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 211 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 211 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16592,11 +17530,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16646,15 +17585,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 0 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 211 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 211 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 224 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 224 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16664,11 +17606,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16718,14 +17661,14 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 2 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2 ] |) |) in let~ info := @@ -16737,10 +17680,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 224 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 224 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 225 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 225 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16750,11 +17696,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16804,22 +17751,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 2 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 225 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 225 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 226 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 226 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16829,11 +17779,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16883,22 +17834,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 226 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 226 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 227 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 227 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16908,11 +17862,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -16962,22 +17917,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 2 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 227 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 227 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 228 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 228 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -16987,11 +17945,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17041,7 +18000,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -17053,10 +18012,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 228 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 228 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 229 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 229 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17066,11 +18028,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17120,14 +18083,14 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 2 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2 ] |) |) in let~ info := @@ -17139,10 +18102,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 229 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 229 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 230 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 230 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17152,11 +18118,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17206,22 +18173,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 230 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 230 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 231 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 231 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17231,11 +18201,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17285,22 +18256,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 231 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 231 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 232 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 232 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17310,11 +18284,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17364,22 +18339,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 232 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 232 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 236 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 236 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17389,11 +18367,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17443,22 +18422,25 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 4; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 236 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 236 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 237 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 237 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17468,11 +18450,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17522,15 +18505,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 5; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 5; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 237 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 237 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 238 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 238 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17540,11 +18526,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17594,14 +18581,14 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::immediate_size", [] |), - [ M.read (| info |); Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -17613,10 +18600,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 238 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 238 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 240 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 240 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17626,11 +18616,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17680,7 +18671,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -17692,10 +18683,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 240 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 240 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 241 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 241 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17705,11 +18699,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17759,7 +18754,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 7; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 7; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -17771,10 +18766,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 241 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 241 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 242 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 242 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17784,11 +18782,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17838,7 +18837,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 7; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 7; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -17850,10 +18849,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 242 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 242 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 243 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 243 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17863,11 +18865,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17917,7 +18920,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -17929,10 +18932,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 243 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 243 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 244 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 244 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -17942,11 +18948,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -17996,7 +19003,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 6; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 6; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -18008,10 +19015,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 244 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 244 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 245 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 245 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18021,11 +19031,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18075,7 +19086,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 4; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -18087,10 +19098,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 245 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 245 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 247 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 247 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18100,11 +19114,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18154,15 +19169,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 247 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 247 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 248 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 248 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18172,11 +19190,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18226,15 +19245,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 4; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 4; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 248 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 248 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 249 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 249 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18244,11 +19266,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18298,15 +19321,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 249 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 249 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 250 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 250 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18316,11 +19342,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18370,7 +19397,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 6; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 6; Value.Integer IntegerKind.U8 1 ] |) |) in let~ info := @@ -18382,10 +19409,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 250 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 250 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 251 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 251 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18395,11 +19425,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18449,15 +19480,18 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 3; Value.Integer 1 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 3; Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 251 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 251 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 253 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 253 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18467,11 +19501,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18521,7 +19556,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 2; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -18533,10 +19568,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 253 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 253 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 254 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 254 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18546,11 +19584,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18600,7 +19639,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 0; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -18612,10 +19651,13 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 254 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 254 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in - let~ val := M.alloc (| Value.Integer 255 |) in + let~ val := M.alloc (| Value.Integer IntegerKind.U8 255 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -18625,11 +19667,12 @@ Module opcode. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.or (| - BinOp.Pure.eq (M.read (| val |)) (Value.Integer 0), - ltac:(M.monadic (BinOp.Pure.gt (M.read (| val |)) (M.read (| prev |)))) - |)) + UnOp.not (| + LogicalOp.or (| + BinOp.eq (| M.read (| val |), Value.Integer IntegerKind.U8 0 |), + ltac:(M.monadic (BinOp.gt (| M.read (| val |), M.read (| prev |) |))) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -18679,7 +19722,7 @@ Module opcode. M.alloc (| M.call_closure (| M.get_function (| "revm_interpreter::opcode::stack_io", [] |), - [ M.read (| info |); Value.Integer 1; Value.Integer 0 ] + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 0 ] |) |) in let~ info := @@ -18698,7 +19741,10 @@ Module opcode. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| map, M.alloc (| Value.Integer 255 |) |), + M.SubPointer.get_array_field (| + map, + M.alloc (| Value.Integer IntegerKind.Usize 255 |) + |), Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] |) in M.match_operator (| prev, [ fun γ => ltac:(M.monadic map) ] |))). @@ -18711,47 +19757,81 @@ Module opcode. Value.StructRecord "phf::map::Map" [ - ("key", Value.Integer 12913932095322966823); + ("key", Value.Integer IntegerKind.U64 12913932095322966823); ("disps", (* Unsize *) M.pointer_coercion (M.alloc (| Value.Array [ - Value.Tuple [ Value.Integer 0; Value.Integer 27 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 155 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 153 ]; - Value.Tuple [ Value.Integer 26; Value.Integer 134 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 135 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 123 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 70 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 100 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 4 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 111 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 33 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 0 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 154 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 8 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 49 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 1 ]; - Value.Tuple [ Value.Integer 7; Value.Integer 29 ]; - Value.Tuple [ Value.Integer 39; Value.Integer 151 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 77 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 55 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 17 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 75 ]; - Value.Tuple [ Value.Integer 15; Value.Integer 42 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 3 ]; - Value.Tuple [ Value.Integer 2; Value.Integer 32 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 5 ]; - Value.Tuple [ Value.Integer 1; Value.Integer 18 ]; - Value.Tuple [ Value.Integer 0; Value.Integer 2 ]; - Value.Tuple [ Value.Integer 69; Value.Integer 21 ] + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 27 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 3 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 155 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 0 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 153 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 26; Value.Integer IntegerKind.U32 134 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 135 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 123 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 2; Value.Integer IntegerKind.U32 3 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 70 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 0 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 100 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 4 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 111 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 2; Value.Integer IntegerKind.U32 33 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 0 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 1; Value.Integer IntegerKind.U32 154 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 8 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 1; Value.Integer IntegerKind.U32 49 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 1 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 7; Value.Integer IntegerKind.U32 29 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 39; Value.Integer IntegerKind.U32 151 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 2; Value.Integer IntegerKind.U32 77 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 55 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 17 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 75 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 15; Value.Integer IntegerKind.U32 42 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 3 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 2; Value.Integer IntegerKind.U32 32 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 5 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 1; Value.Integer IntegerKind.U32 18 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 2 ]; + Value.Tuple + [ Value.Integer IntegerKind.U32 69; Value.Integer IntegerKind.U32 21 ] ] |))); ("entries", @@ -19676,7 +20756,11 @@ Module opcode. [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 0 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19684,7 +20768,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 1 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19695,7 +20783,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 2 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 2 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19706,7 +20798,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 3 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 3 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19717,7 +20813,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 4 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 4 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19728,7 +20828,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 5 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 5 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19739,7 +20843,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 6 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 6 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19750,7 +20858,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 7 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 7 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19761,7 +20873,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 8 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 8 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19772,7 +20888,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 9 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 9 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19783,7 +20903,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 10 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 10 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19794,7 +20918,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 11 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 11 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19805,7 +20933,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 16 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 16 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19813,7 +20945,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 17 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 17 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19821,7 +20957,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 18 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 18 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19829,7 +20969,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 19 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 19 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19837,7 +20981,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 20 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 20 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19845,7 +20993,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 21 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 21 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19856,7 +21008,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 22 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 22 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19867,7 +21023,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 23 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 23 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19875,7 +21035,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 24 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 24 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19886,7 +21050,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 25 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 25 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19894,7 +21062,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 26 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 26 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19902,7 +21074,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 27 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 27 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19913,7 +21089,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 28 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 28 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19924,7 +21104,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 29 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 29 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19935,7 +21119,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 32 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 32 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19946,7 +21134,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 48 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 48 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19957,7 +21149,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 49 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 49 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19968,7 +21164,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 50 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 50 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19979,7 +21179,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 51 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 51 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19987,7 +21191,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 52 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 52 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -19998,7 +21206,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 53 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 53 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20009,7 +21221,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 54 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 54 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20020,7 +21236,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 55 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 55 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20031,7 +21251,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 56 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 56 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20042,7 +21266,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 57 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 57 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20053,7 +21281,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 58 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 58 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20064,7 +21296,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 59 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 59 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20075,7 +21311,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 60 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 60 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20086,7 +21326,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 61 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 61 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20097,7 +21341,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 62 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 62 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20108,7 +21356,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 63 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 63 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20119,7 +21371,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 64 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 64 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20130,7 +21386,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 65 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 65 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20141,7 +21401,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 66 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 66 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20152,7 +21416,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 67 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 67 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20163,7 +21431,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 68 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 68 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20174,7 +21446,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 69 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 69 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20185,7 +21461,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 70 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 70 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20196,7 +21476,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 71 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 71 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20207,7 +21491,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 72 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 72 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20218,7 +21506,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 73 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 73 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20229,7 +21521,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 74 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 74 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20240,7 +21536,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 80 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 80 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20248,7 +21548,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 81 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 81 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20256,7 +21560,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 82 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 82 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20264,7 +21572,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 83 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 83 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20275,7 +21587,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 84 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 84 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20286,7 +21602,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 85 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 85 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20297,7 +21617,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 86 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 86 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20305,7 +21629,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 87 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 87 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20313,7 +21641,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 88 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 88 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20321,7 +21653,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 89 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 89 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20329,7 +21665,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 90 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 90 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20337,7 +21677,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 91 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 91 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20348,7 +21692,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 92 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 92 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20359,7 +21707,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 93 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 93 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20370,7 +21722,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 94 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 94 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20381,7 +21737,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 95 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 95 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20392,7 +21752,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 96 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 96 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20400,7 +21764,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 97 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 97 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20408,7 +21776,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 98 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 98 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20416,7 +21788,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 99 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 99 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20424,7 +21800,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 100 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 100 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20432,7 +21812,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 101 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 101 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20440,7 +21824,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 102 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 102 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20448,7 +21836,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 103 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 103 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20456,7 +21848,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 104 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 104 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20464,7 +21860,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 105 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 105 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20472,7 +21872,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 106 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 106 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20480,7 +21884,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 107 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 107 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20488,7 +21896,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 108 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 108 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20496,7 +21908,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 109 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 109 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20504,7 +21920,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 110 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 110 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20512,7 +21932,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 111 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 111 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20520,7 +21944,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 112 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 112 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20528,7 +21956,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 113 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 113 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20536,7 +21968,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 114 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 114 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20544,7 +21980,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 115 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 115 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20552,7 +21992,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 116 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 116 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20560,7 +22004,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 117 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 117 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20568,7 +22016,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 118 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 118 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20576,7 +22028,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 119 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 119 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20584,7 +22040,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 120 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 120 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20592,7 +22052,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 121 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 121 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20600,7 +22064,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 122 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 122 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20608,7 +22076,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 123 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 123 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20616,7 +22088,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 124 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 124 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20624,7 +22100,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 125 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 125 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20632,7 +22112,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 126 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 126 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20640,7 +22124,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 127 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 127 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20648,7 +22136,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 128 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 128 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20656,7 +22148,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 129 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 129 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20664,7 +22160,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 130 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 130 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20672,7 +22172,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 131 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 131 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20680,7 +22184,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 132 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 132 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20688,7 +22196,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 133 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 133 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20696,7 +22208,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 134 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 134 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20704,7 +22220,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 135 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 135 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20712,7 +22232,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 136 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 136 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20720,7 +22244,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 137 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 137 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20728,7 +22256,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 138 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 138 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20736,7 +22268,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 139 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 139 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20744,7 +22280,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 140 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 140 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20752,7 +22292,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 141 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 141 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20760,7 +22304,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 142 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 142 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20768,7 +22316,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 143 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 143 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20776,7 +22328,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 144 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 144 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20784,7 +22340,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 145 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 145 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20792,7 +22352,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 146 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 146 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20800,7 +22364,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 147 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 147 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20808,7 +22376,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 148 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 148 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20816,7 +22388,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 149 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 149 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20824,7 +22400,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 150 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 150 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20832,7 +22412,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 151 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 151 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20840,7 +22424,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 152 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 152 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20848,7 +22436,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 153 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 153 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20856,7 +22448,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 154 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 154 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20864,7 +22460,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 155 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 155 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20872,7 +22472,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 156 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 156 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20880,7 +22484,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 157 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 157 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20888,7 +22496,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 158 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 158 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20896,7 +22508,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 159 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 159 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20904,7 +22520,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 160 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 160 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20912,7 +22532,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 161 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 161 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20920,7 +22544,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 162 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 162 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20928,7 +22556,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 163 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 163 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20936,7 +22568,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 164 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 164 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20944,7 +22580,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 208 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 208 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20955,7 +22595,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 209 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 209 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20966,7 +22610,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 210 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 210 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20977,7 +22625,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 211 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 211 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20988,7 +22640,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 224 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 224 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -20996,7 +22652,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 225 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 225 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21007,7 +22667,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 226 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 226 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21018,7 +22682,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 227 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 227 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21026,7 +22694,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 228 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 228 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21034,7 +22706,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 229 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 229 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21042,7 +22718,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 230 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 230 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21050,7 +22730,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 231 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 231 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21058,7 +22742,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 232 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 232 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21069,7 +22757,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 236 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 236 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21080,7 +22772,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 237 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 237 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21091,7 +22787,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 238 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 238 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21102,7 +22802,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 240 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 240 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21113,7 +22817,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 241 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 241 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21124,7 +22832,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 242 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 242 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21135,7 +22847,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 243 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 243 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21143,7 +22859,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 244 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 244 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21154,7 +22874,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 245 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 245 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21165,7 +22889,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 247 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 247 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21176,7 +22904,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 248 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 248 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21187,7 +22919,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 249 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 249 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21198,7 +22934,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 250 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 250 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21209,7 +22949,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 251 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 251 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21220,7 +22964,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 253 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 253 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21231,7 +22979,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 254 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 254 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21242,7 +22994,11 @@ Module opcode. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 255 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 255 + |) in M.alloc (| (* ReifyFnPointer *) M.pointer_coercion @@ -21264,7 +23020,7 @@ Module opcode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_instruction : M.IsFunction "revm_interpreter::opcode::instruction" instruction. diff --git a/CoqOfRust/revm/interpreter/opcode/eof_printer.v b/CoqOfRust/revm/interpreter/opcode/eof_printer.v index 986a696b7..32b552cf0 100644 --- a/CoqOfRust/revm/interpreter/opcode/eof_printer.v +++ b/CoqOfRust/revm/interpreter/opcode/eof_printer.v @@ -66,7 +66,7 @@ Module opcode. ltac:(M.monadic (let code := M.alloc (| code |) in M.read (| - let~ i := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in M.loop (| ltac:(M.monadic (M.match_operator (| @@ -77,16 +77,17 @@ Module opcode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| i |)) - (M.call_closure (| + BinOp.lt (| + M.read (| i |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| code |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -123,8 +124,8 @@ Module opcode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::opcode::OpCodeInfo", @@ -132,8 +133,9 @@ Module opcode. [] |), [ M.read (| opcode |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U8 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -148,11 +150,10 @@ Module opcode. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (M.rust_cast + BinOp.ge (| + BinOp.Wrap.add (| + M.read (| i |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path @@ -161,8 +162,9 @@ Module opcode. [] |), [ M.read (| opcode |) ] - |)))) - (M.call_closure (| + |)) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -171,7 +173,8 @@ Module opcode. [] |), [ M.read (| code |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -288,8 +291,8 @@ Module opcode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::opcode::OpCodeInfo", @@ -297,8 +300,9 @@ Module opcode. [] |), [ M.read (| opcode |) ] - |)) - (Value.Integer 0) + |), + Value.Integer IntegerKind.U8 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -377,24 +381,25 @@ Module opcode. "core::ops::range::Range" [ ("start", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| i - |)) - (Value.Integer - 1)); + |), + Value.Integer + IntegerKind.Usize + 1 + |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| i - |)) - (Value.Integer - 1)) - (M.rust_cast + |), + Value.Integer + IntegerKind.Usize + 1 + |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path @@ -407,7 +412,8 @@ Module opcode. opcode |) ] - |)))) + |)) + |)) ] ] |) @@ -429,7 +435,7 @@ Module opcode. ] |) in let~ rjumpv_additional_immediates := - M.alloc (| Value.Integer 0 |) in + M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -439,13 +445,14 @@ Module opcode. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| op |)) - (M.read (| + BinOp.eq (| + M.read (| op |), + M.read (| M.get_constant (| "revm_interpreter::opcode::RJUMPV" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -459,28 +466,28 @@ Module opcode. M.SubPointer.get_array_field (| M.read (| code |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |) |) |) |)) |) in let~ len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| max_index |)) - (Value.Integer 1) + BinOp.Wrap.add (| + M.read (| max_index |), + Value.Integer IntegerKind.Usize 1 + |) |) in let~ _ := M.write (| rjumpv_additional_immediates, - BinOp.Wrap.mul - Integer.Usize - (M.read (| len |)) - (Value.Integer 2) + BinOp.Wrap.mul (| + M.read (| len |), + Value.Integer IntegerKind.Usize 2 + |) |) in let~ _ := M.match_operator (| @@ -491,17 +498,17 @@ Module opcode. (let γ := M.use (M.alloc (| - BinOp.Pure.ge - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 1)) - (M.read (| + BinOp.ge (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 1 + |), + M.read (| rjumpv_additional_immediates - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") @@ -510,7 +517,8 @@ Module opcode. [] |), [ M.read (| code |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -580,7 +588,8 @@ Module opcode. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", + Value.Integer IntegerKind.Usize 0); ("end_", M.read (| len |)) ] ] @@ -666,20 +675,22 @@ Module opcode. |) ] |); - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer - 2)) - (BinOp.Wrap.mul - Integer.Usize - (Value.Integer - 2) - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer + IntegerKind.Usize + 2 + |), + BinOp.Wrap.mul (| + Value.Integer + IntegerKind.Usize + 2, + M.read (| vtablei - |))) + |) + |) + |) ] |) ] @@ -822,6 +833,7 @@ Module opcode. |), [ Value.Integer + IntegerKind.Usize 0; Value.UnicodeChar 32; @@ -829,6 +841,7 @@ Module opcode. "core::fmt::rt::Alignment::Unknown" []; Value.Integer + IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" @@ -847,6 +860,7 @@ Module opcode. |), [ Value.Integer + IntegerKind.Usize 1; Value.UnicodeChar 32; @@ -854,6 +868,7 @@ Module opcode. "core::fmt::rt::Alignment::Unknown" []; Value.Integer + IntegerKind.U32 8; Value.StructTuple "core::fmt::rt::Count::Implied" @@ -862,6 +877,7 @@ Module opcode. "core::fmt::rt::Count::Is" [ Value.Integer + IntegerKind.Usize 4 ] ] @@ -875,6 +891,7 @@ Module opcode. |), [ Value.Integer + IntegerKind.Usize 2; Value.UnicodeChar 32; @@ -882,6 +899,7 @@ Module opcode. "core::fmt::rt::Alignment::Unknown" []; Value.Integer + IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" @@ -922,15 +940,12 @@ Module opcode. let β := i in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| β |), + BinOp.Wrap.add (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::opcode::OpCodeInfo", @@ -938,8 +953,11 @@ Module opcode. [] |), [ M.read (| opcode |) ] - |)))) - (M.read (| rjumpv_additional_immediates |))) + |)) + |), + M.read (| rjumpv_additional_immediates |) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -959,7 +977,7 @@ Module opcode. |))) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_print_eof_code : diff --git a/CoqOfRust/revm/precompile/blake2.v b/CoqOfRust/revm/precompile/blake2.v index 1f30f1948..255b8c85e 100644 --- a/CoqOfRust/revm/precompile/blake2.v +++ b/CoqOfRust/revm/precompile/blake2.v @@ -2,10 +2,11 @@ Require Import CoqOfRust.CoqOfRust. Module blake2. - Definition value_F_ROUND : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 1 |))). + Definition value_F_ROUND : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). Definition value_INPUT_LENGTH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 213 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 213 |))). Definition value_FUN : Value.t := M.run @@ -16,7 +17,7 @@ Module blake2. [ M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 9 ] + [ Value.Integer IntegerKind.U64 9 ] |); Value.StructTuple "revm_primitives::precompile::Precompile::Standard" @@ -126,18 +127,19 @@ Module blake2. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| input |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_precompile::blake2::INPUT_LENGTH" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -164,18 +166,24 @@ Module blake2. M.match_operator (| M.SubPointer.get_array_field (| M.read (| input |), - M.alloc (| Value.Integer 212 |) + M.alloc (| Value.Integer IntegerKind.Usize 212 |) |), [ fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 1 + |) in M.alloc (| Value.Bool true |))); fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 0 + |) in M.alloc (| Value.Bool false |))); fun γ => ltac:(M.monadic @@ -242,7 +250,7 @@ Module blake2. M.read (| input |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 4) ] + [ ("end_", Value.Integer IntegerKind.Usize 4) ] ] |) ] @@ -254,10 +262,10 @@ Module blake2. |) in let~ gas_used := M.alloc (| - BinOp.Wrap.mul - Integer.U64 - (M.rust_cast (M.read (| rounds |))) - (M.read (| M.get_constant (| "revm_precompile::blake2::F_ROUND" |) |)) + BinOp.Wrap.mul (| + M.rust_cast (M.read (| rounds |)), + M.read (| M.get_constant (| "revm_precompile::blake2::F_ROUND" |) |) + |) |) in let~ _ := M.match_operator (| @@ -268,7 +276,7 @@ Module blake2. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| gas_used |)) (M.read (| gas_limit |)) + BinOp.gt (| M.read (| gas_used |), M.read (| gas_limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -290,8 +298,8 @@ Module blake2. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - let~ h := M.alloc (| repeat (Value.Integer 0) 8 |) in - let~ m := M.alloc (| repeat (Value.Integer 0) 16 |) in + let~ h := M.alloc (| repeat (Value.Integer IntegerKind.U64 0) 8 |) in + let~ m := M.alloc (| repeat (Value.Integer IntegerKind.U64 0) 16 |) in let~ _ := M.use (M.match_operator (| @@ -334,8 +342,11 @@ Module blake2. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 4); ("end_", Value.Integer 68) ]; - Value.Integer 8 + [ + ("start", Value.Integer IntegerKind.Usize 4); + ("end_", Value.Integer IntegerKind.Usize 68) + ]; + Value.Integer IntegerKind.Usize 8 ] |) ] @@ -455,10 +466,12 @@ Module blake2. [ ("start", M.read (| pos |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| pos |)) - (Value.Integer 8)) + BinOp.Wrap.add (| + M.read (| pos |), + Value.Integer + IntegerKind.Usize + 8 + |)) ] ] |) @@ -518,8 +531,11 @@ Module blake2. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 68); ("end_", Value.Integer 196) ]; - Value.Integer 8 + [ + ("start", Value.Integer IntegerKind.Usize 68); + ("end_", Value.Integer IntegerKind.Usize 196) + ]; + Value.Integer IntegerKind.Usize 8 ] |) ] @@ -639,10 +655,12 @@ Module blake2. [ ("start", M.read (| pos |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| pos |)) - (Value.Integer 8)) + BinOp.Wrap.add (| + M.read (| pos |), + Value.Integer + IntegerKind.Usize + 8 + |)) ] ] |) @@ -707,12 +725,12 @@ Module blake2. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 196); + ("start", Value.Integer IntegerKind.Usize 196); ("end_", - BinOp.Wrap.add - Integer.Usize - (Value.Integer 196) - (Value.Integer 8)) + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 196, + Value.Integer IntegerKind.Usize 8 + |)) ] ] |) @@ -765,12 +783,12 @@ Module blake2. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 204); + ("start", Value.Integer IntegerKind.Usize 204); ("end_", - BinOp.Wrap.add - Integer.Usize - (Value.Integer 204) - (Value.Integer 8)) + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 204, + Value.Integer IntegerKind.Usize 8 + |)) ] ] |) @@ -789,7 +807,7 @@ Module blake2. [ M.read (| rounds |); h; M.read (| m |); M.read (| t |); M.read (| f |) ] |) |) in - let~ out := M.alloc (| repeat (Value.Integer 0) 64 |) in + let~ out := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 64 |) in let~ _ := M.use (M.match_operator (| @@ -834,8 +852,11 @@ Module blake2. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 64) ]; - Value.Integer 8 + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 64) + ]; + Value.Integer IntegerKind.Usize 8 ] |); M.call_closure (| @@ -932,10 +953,10 @@ Module blake2. [ ("start", M.read (| i |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 8)) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 8 + |)) ] ] |); @@ -983,7 +1004,7 @@ Module blake2. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_run : M.IsFunction "revm_precompile::blake2::run" run. @@ -997,193 +1018,193 @@ Module blake2. [ Value.Array [ - Value.Integer 0; - Value.Integer 1; - Value.Integer 2; - Value.Integer 3; - Value.Integer 4; - Value.Integer 5; - Value.Integer 6; - Value.Integer 7; - Value.Integer 8; - Value.Integer 9; - Value.Integer 10; - Value.Integer 11; - Value.Integer 12; - Value.Integer 13; - Value.Integer 14; - Value.Integer 15 + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 15 ]; Value.Array [ - Value.Integer 14; - Value.Integer 10; - Value.Integer 4; - Value.Integer 8; - Value.Integer 9; - Value.Integer 15; - Value.Integer 13; - Value.Integer 6; - Value.Integer 1; - Value.Integer 12; - Value.Integer 0; - Value.Integer 2; - Value.Integer 11; - Value.Integer 7; - Value.Integer 5; - Value.Integer 3 + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 3 ]; Value.Array [ - Value.Integer 11; - Value.Integer 8; - Value.Integer 12; - Value.Integer 0; - Value.Integer 5; - Value.Integer 2; - Value.Integer 15; - Value.Integer 13; - Value.Integer 10; - Value.Integer 14; - Value.Integer 3; - Value.Integer 6; - Value.Integer 7; - Value.Integer 1; - Value.Integer 9; - Value.Integer 4 + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 4 ]; Value.Array [ - Value.Integer 7; - Value.Integer 9; - Value.Integer 3; - Value.Integer 1; - Value.Integer 13; - Value.Integer 12; - Value.Integer 11; - Value.Integer 14; - Value.Integer 2; - Value.Integer 6; - Value.Integer 5; - Value.Integer 10; - Value.Integer 4; - Value.Integer 0; - Value.Integer 15; - Value.Integer 8 + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 8 ]; Value.Array [ - Value.Integer 9; - Value.Integer 0; - Value.Integer 5; - Value.Integer 7; - Value.Integer 2; - Value.Integer 4; - Value.Integer 10; - Value.Integer 15; - Value.Integer 14; - Value.Integer 1; - Value.Integer 11; - Value.Integer 12; - Value.Integer 6; - Value.Integer 8; - Value.Integer 3; - Value.Integer 13 + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 13 ]; Value.Array [ - Value.Integer 2; - Value.Integer 12; - Value.Integer 6; - Value.Integer 10; - Value.Integer 0; - Value.Integer 11; - Value.Integer 8; - Value.Integer 3; - Value.Integer 4; - Value.Integer 13; - Value.Integer 7; - Value.Integer 5; - Value.Integer 15; - Value.Integer 14; - Value.Integer 1; - Value.Integer 9 + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 9 ]; Value.Array [ - Value.Integer 12; - Value.Integer 5; - Value.Integer 1; - Value.Integer 15; - Value.Integer 14; - Value.Integer 13; - Value.Integer 4; - Value.Integer 10; - Value.Integer 0; - Value.Integer 7; - Value.Integer 6; - Value.Integer 3; - Value.Integer 9; - Value.Integer 2; - Value.Integer 8; - Value.Integer 11 + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 11 ]; Value.Array [ - Value.Integer 13; - Value.Integer 11; - Value.Integer 7; - Value.Integer 14; - Value.Integer 12; - Value.Integer 1; - Value.Integer 3; - Value.Integer 9; - Value.Integer 5; - Value.Integer 0; - Value.Integer 15; - Value.Integer 4; - Value.Integer 8; - Value.Integer 6; - Value.Integer 2; - Value.Integer 10 + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 10 ]; Value.Array [ - Value.Integer 6; - Value.Integer 15; - Value.Integer 14; - Value.Integer 9; - Value.Integer 11; - Value.Integer 3; - Value.Integer 0; - Value.Integer 8; - Value.Integer 12; - Value.Integer 2; - Value.Integer 13; - Value.Integer 7; - Value.Integer 1; - Value.Integer 4; - Value.Integer 10; - Value.Integer 5 + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 5 ]; Value.Array [ - Value.Integer 10; - Value.Integer 2; - Value.Integer 8; - Value.Integer 4; - Value.Integer 7; - Value.Integer 6; - Value.Integer 1; - Value.Integer 5; - Value.Integer 15; - Value.Integer 11; - Value.Integer 9; - Value.Integer 14; - Value.Integer 3; - Value.Integer 12; - Value.Integer 13; - Value.Integer 0 + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 15; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 14; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 12; + Value.Integer IntegerKind.Usize 13; + Value.Integer IntegerKind.Usize 0 ] ] |))). @@ -1194,14 +1215,14 @@ Module blake2. (M.alloc (| Value.Array [ - Value.Integer 7640891576956012808; - Value.Integer 13503953896175478587; - Value.Integer 4354685564936845355; - Value.Integer 11912009170470909681; - Value.Integer 5840696475078001361; - Value.Integer 11170449401992604703; - Value.Integer 2270897969802886507; - Value.Integer 6620516959819538809 + Value.Integer IntegerKind.U64 7640891576956012808; + Value.Integer IntegerKind.U64 13503953896175478587; + Value.Integer IntegerKind.U64 4354685564936845355; + Value.Integer IntegerKind.U64 11912009170470909681; + Value.Integer IntegerKind.U64 5840696475078001361; + Value.Integer IntegerKind.U64 11170449401992604703; + Value.Integer IntegerKind.U64 2270897969802886507; + Value.Integer IntegerKind.U64 6620516959819538809 ] |))). @@ -1252,10 +1273,10 @@ Module blake2. M.call_closure (| M.get_associated_function (| Ty.path "u64", "rotate_right", [] |), [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_array_field (| M.read (| v |), d |) |)) (M.read (| M.SubPointer.get_array_field (| M.read (| v |), a |) |)); - Value.Integer 32 + Value.Integer IntegerKind.U32 32 ] |) |) in @@ -1276,10 +1297,10 @@ Module blake2. M.call_closure (| M.get_associated_function (| Ty.path "u64", "rotate_right", [] |), [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_array_field (| M.read (| v |), b |) |)) (M.read (| M.SubPointer.get_array_field (| M.read (| v |), c |) |)); - Value.Integer 24 + Value.Integer IntegerKind.U32 24 ] |) |) in @@ -1306,10 +1327,10 @@ Module blake2. M.call_closure (| M.get_associated_function (| Ty.path "u64", "rotate_right", [] |), [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_array_field (| M.read (| v |), d |) |)) (M.read (| M.SubPointer.get_array_field (| M.read (| v |), a |) |)); - Value.Integer 16 + Value.Integer IntegerKind.U32 16 ] |) |) in @@ -1330,16 +1351,16 @@ Module blake2. M.call_closure (| M.get_associated_function (| Ty.path "u64", "rotate_right", [] |), [ - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| M.SubPointer.get_array_field (| M.read (| v |), b |) |)) (M.read (| M.SubPointer.get_array_field (| M.read (| v |), c |) |)); - Value.Integer 63 + Value.Integer IntegerKind.U32 63 ] |) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_g : M.IsFunction "revm_precompile::blake2::algo::g" g. @@ -1385,7 +1406,7 @@ Module blake2. let t := M.alloc (| t |) in let f := M.alloc (| f |) in M.read (| - let~ v := M.alloc (| repeat (Value.Integer 0) 16 |) in + let~ v := M.alloc (| repeat (Value.Integer IntegerKind.U64 0) 16 |) in let~ _ := M.alloc (| M.call_closure (| @@ -1464,20 +1485,38 @@ Module blake2. |) |) in let~ _ := - let β := M.SubPointer.get_array_field (| v, M.alloc (| Value.Integer 12 |) |) in + let β := + M.SubPointer.get_array_field (| + v, + M.alloc (| Value.Integer IntegerKind.Usize 12 |) + |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (M.read (| M.SubPointer.get_array_field (| t, M.alloc (| Value.Integer 0 |) |) |)) + (M.read (| + M.SubPointer.get_array_field (| + t, + M.alloc (| Value.Integer IntegerKind.Usize 0 |) + |) + |)) |) in let~ _ := - let β := M.SubPointer.get_array_field (| v, M.alloc (| Value.Integer 13 |) |) in + let β := + M.SubPointer.get_array_field (| + v, + M.alloc (| Value.Integer IntegerKind.Usize 13 |) + |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (M.read (| M.SubPointer.get_array_field (| t, M.alloc (| Value.Integer 1 |) |) |)) + (M.read (| + M.SubPointer.get_array_field (| + t, + M.alloc (| Value.Integer IntegerKind.Usize 1 |) + |) + |)) |) in let~ _ := M.match_operator (| @@ -1488,11 +1527,18 @@ Module blake2. (let γ := M.use f in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.write (| - M.SubPointer.get_array_field (| v, M.alloc (| Value.Integer 14 |) |), - UnOp.Pure.not - (M.read (| - M.SubPointer.get_array_field (| v, M.alloc (| Value.Integer 14 |) |) - |)) + M.SubPointer.get_array_field (| + v, + M.alloc (| Value.Integer IntegerKind.Usize 14 |) + |), + UnOp.not (| + M.read (| + M.SubPointer.get_array_field (| + v, + M.alloc (| Value.Integer IntegerKind.Usize 14 |) + |) + |) + |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] @@ -1512,7 +1558,10 @@ Module blake2. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", M.read (| rounds |)) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", M.read (| rounds |)) + ] ] |) |), @@ -1562,10 +1611,10 @@ Module blake2. "revm_precompile::blake2::algo::SIGMA" |), M.alloc (| - BinOp.Wrap.rem - Integer.Usize - (M.read (| i |)) - (Value.Integer 10) + BinOp.Wrap.rem (| + M.read (| i |), + Value.Integer IntegerKind.Usize 10 + |) |) |) |) in @@ -1578,16 +1627,16 @@ Module blake2. |), [ (* Unsize *) M.pointer_coercion v; - Value.Integer 0; - Value.Integer 4; - Value.Integer 8; - Value.Integer 12; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 12; M.read (| M.SubPointer.get_array_field (| m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) |); @@ -1596,7 +1645,7 @@ Module blake2. m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) |) |) @@ -1612,16 +1661,16 @@ Module blake2. |), [ (* Unsize *) M.pointer_coercion v; - Value.Integer 1; - Value.Integer 5; - Value.Integer 9; - Value.Integer 13; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 13; M.read (| M.SubPointer.get_array_field (| m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 2 |) + M.alloc (| Value.Integer IntegerKind.Usize 2 |) |) |) |); @@ -1630,7 +1679,7 @@ Module blake2. m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 3 |) + M.alloc (| Value.Integer IntegerKind.Usize 3 |) |) |) |) @@ -1646,16 +1695,16 @@ Module blake2. |), [ (* Unsize *) M.pointer_coercion v; - Value.Integer 2; - Value.Integer 6; - Value.Integer 10; - Value.Integer 14; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 14; M.read (| M.SubPointer.get_array_field (| m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 4 |) + M.alloc (| Value.Integer IntegerKind.Usize 4 |) |) |) |); @@ -1664,7 +1713,7 @@ Module blake2. m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 5 |) + M.alloc (| Value.Integer IntegerKind.Usize 5 |) |) |) |) @@ -1680,16 +1729,16 @@ Module blake2. |), [ (* Unsize *) M.pointer_coercion v; - Value.Integer 3; - Value.Integer 7; - Value.Integer 11; - Value.Integer 15; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 15; M.read (| M.SubPointer.get_array_field (| m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 6 |) + M.alloc (| Value.Integer IntegerKind.Usize 6 |) |) |) |); @@ -1698,7 +1747,7 @@ Module blake2. m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 7 |) + M.alloc (| Value.Integer IntegerKind.Usize 7 |) |) |) |) @@ -1714,16 +1763,16 @@ Module blake2. |), [ (* Unsize *) M.pointer_coercion v; - Value.Integer 0; - Value.Integer 5; - Value.Integer 10; - Value.Integer 15; + Value.Integer IntegerKind.Usize 0; + Value.Integer IntegerKind.Usize 5; + Value.Integer IntegerKind.Usize 10; + Value.Integer IntegerKind.Usize 15; M.read (| M.SubPointer.get_array_field (| m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 8 |) + M.alloc (| Value.Integer IntegerKind.Usize 8 |) |) |) |); @@ -1732,7 +1781,7 @@ Module blake2. m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 9 |) + M.alloc (| Value.Integer IntegerKind.Usize 9 |) |) |) |) @@ -1748,16 +1797,16 @@ Module blake2. |), [ (* Unsize *) M.pointer_coercion v; - Value.Integer 1; - Value.Integer 6; - Value.Integer 11; - Value.Integer 12; + Value.Integer IntegerKind.Usize 1; + Value.Integer IntegerKind.Usize 6; + Value.Integer IntegerKind.Usize 11; + Value.Integer IntegerKind.Usize 12; M.read (| M.SubPointer.get_array_field (| m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 10 |) + M.alloc (| Value.Integer IntegerKind.Usize 10 |) |) |) |); @@ -1766,7 +1815,7 @@ Module blake2. m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 11 |) + M.alloc (| Value.Integer IntegerKind.Usize 11 |) |) |) |) @@ -1782,16 +1831,16 @@ Module blake2. |), [ (* Unsize *) M.pointer_coercion v; - Value.Integer 2; - Value.Integer 7; - Value.Integer 8; - Value.Integer 13; + Value.Integer IntegerKind.Usize 2; + Value.Integer IntegerKind.Usize 7; + Value.Integer IntegerKind.Usize 8; + Value.Integer IntegerKind.Usize 13; M.read (| M.SubPointer.get_array_field (| m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 12 |) + M.alloc (| Value.Integer IntegerKind.Usize 12 |) |) |) |); @@ -1800,7 +1849,7 @@ Module blake2. m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 13 |) + M.alloc (| Value.Integer IntegerKind.Usize 13 |) |) |) |) @@ -1816,16 +1865,16 @@ Module blake2. |), [ (* Unsize *) M.pointer_coercion v; - Value.Integer 3; - Value.Integer 4; - Value.Integer 9; - Value.Integer 14; + Value.Integer IntegerKind.Usize 3; + Value.Integer IntegerKind.Usize 4; + Value.Integer IntegerKind.Usize 9; + Value.Integer IntegerKind.Usize 14; M.read (| M.SubPointer.get_array_field (| m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 14 |) + M.alloc (| Value.Integer IntegerKind.Usize 14 |) |) |) |); @@ -1834,7 +1883,7 @@ Module blake2. m, M.SubPointer.get_array_field (| M.read (| s |), - M.alloc (| Value.Integer 15 |) + M.alloc (| Value.Integer IntegerKind.Usize 15 |) |) |) |) @@ -1862,7 +1911,10 @@ Module blake2. [ Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 8) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 8) + ] ] |) |), @@ -1908,18 +1960,18 @@ Module blake2. M.SubPointer.get_array_field (| M.read (| h |), i |) in M.write (| β, - BinOp.Pure.bit_xor + BinOp.bit_xor (M.read (| β |)) - (BinOp.Pure.bit_xor + (BinOp.bit_xor (M.read (| M.SubPointer.get_array_field (| v, i |) |)) (M.read (| M.SubPointer.get_array_field (| v, M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| i |)) - (Value.Integer 8) + BinOp.Wrap.add (| + M.read (| i |), + Value.Integer IntegerKind.Usize 8 + |) |) |) |))) @@ -1932,7 +1984,7 @@ Module blake2. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_compress : M.IsFunction "revm_precompile::blake2::algo::compress" compress. diff --git a/CoqOfRust/revm/precompile/bn128.v b/CoqOfRust/revm/precompile/bn128.v index d828f60ae..405bdb498 100644 --- a/CoqOfRust/revm/precompile/bn128.v +++ b/CoqOfRust/revm/precompile/bn128.v @@ -9,12 +9,12 @@ Module bn128. (M.alloc (| M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 6 ] + [ Value.Integer IntegerKind.U64 6 ] |) |))). Definition value_ISTANBUL_ADD_GAS_COST : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 150 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 150 |))). Definition value_ISTANBUL : Value.t := M.run @@ -87,14 +87,14 @@ Module bn128. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end))) ] ] |))). Definition value_BYZANTIUM_ADD_GAS_COST : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 500 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 500 |))). Definition value_BYZANTIUM : Value.t := M.run @@ -167,7 +167,7 @@ Module bn128. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end))) ] ] @@ -181,12 +181,12 @@ Module bn128. (M.alloc (| M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 7 ] + [ Value.Integer IntegerKind.U64 7 ] |) |))). Definition value_ISTANBUL_MUL_GAS_COST : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 6000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6000 |))). Definition value_ISTANBUL : Value.t := M.run @@ -259,14 +259,14 @@ Module bn128. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end))) ] ] |))). Definition value_BYZANTIUM_MUL_GAS_COST : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 40000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 40000 |))). Definition value_BYZANTIUM : Value.t := M.run @@ -339,7 +339,7 @@ Module bn128. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end))) ] ] @@ -353,15 +353,15 @@ Module bn128. (M.alloc (| M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 8 ] + [ Value.Integer IntegerKind.U64 8 ] |) |))). Definition value_ISTANBUL_PAIR_PER_POINT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 34000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 34000 |))). Definition value_ISTANBUL_PAIR_BASE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 45000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 45000 |))). Definition value_ISTANBUL : Value.t := M.run @@ -439,17 +439,17 @@ Module bn128. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end))) ] ] |))). Definition value_BYZANTIUM_PAIR_PER_POINT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 80000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 80000 |))). Definition value_BYZANTIUM_PAIR_BASE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 100000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 100000 |))). Definition value_BYZANTIUM : Value.t := M.run @@ -527,7 +527,7 @@ Module bn128. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end))) ] ] @@ -537,17 +537,32 @@ Module bn128. Definition value_ADD_INPUT_LEN : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.add Integer.Usize (Value.Integer 64) (Value.Integer 64) |))). + (M.alloc (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 64, + Value.Integer IntegerKind.Usize 64 + |) + |))). Definition value_MUL_INPUT_LEN : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.add Integer.Usize (Value.Integer 64) (Value.Integer 32) |))). + (M.alloc (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 64, + Value.Integer IntegerKind.Usize 32 + |) + |))). Definition value_PAIR_ELEMENT_LEN : Value.t := M.run ltac:(M.monadic - (M.alloc (| BinOp.Wrap.add Integer.Usize (Value.Integer 64) (Value.Integer 128) |))). + (M.alloc (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 64, + Value.Integer IntegerKind.Usize 128 + |) + |))). (* pub fn read_fq(input: &[u8]) -> Result { @@ -586,7 +601,9 @@ Module bn128. |), [ M.read (| input |); - Value.StructRecord "core::ops::range::RangeTo" [ ("end_", Value.Integer 32) ] + Value.StructRecord + "core::ops::range::RangeTo" + [ ("end_", Value.Integer IntegerKind.Usize 32) ] ] |) ] @@ -607,11 +624,11 @@ Module bn128. [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read_fq : M.IsFunction "revm_precompile::bn128::read_fq" read_fq. @@ -665,7 +682,10 @@ Module bn128. M.read (| input |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 32) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 32) + ] ] |) ] @@ -760,7 +780,10 @@ Module bn128. M.read (| input |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 32); ("end_", Value.Integer 64) ] + [ + ("start", Value.Integer IntegerKind.Usize 32); + ("end_", Value.Integer IntegerKind.Usize 64) + ] ] |) ] @@ -829,7 +852,7 @@ Module bn128. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_read_point : M.IsFunction "revm_precompile::bn128::read_point" read_point. @@ -992,7 +1015,7 @@ Module bn128. [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1000,7 +1023,7 @@ Module bn128. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_new_g1_point : M.IsFunction "revm_precompile::bn128::new_g1_point" new_g1_point. @@ -1043,7 +1066,7 @@ Module bn128. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| gas_cost |)) (M.read (| gas_limit |)) + BinOp.gt (| M.read (| gas_cost |), M.read (| gas_limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1120,7 +1143,7 @@ Module bn128. |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 64) ] + [ ("end_", Value.Integer IntegerKind.Usize 64) ] ] |) ] @@ -1233,7 +1256,7 @@ Module bn128. |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 64) ] + [ ("start", Value.Integer IntegerKind.Usize 64) ] ] |) ] @@ -1298,7 +1321,7 @@ Module bn128. ] |) |) in - let~ output := M.alloc (| repeat (Value.Integer 0) 64 |) in + let~ output := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 64 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1378,7 +1401,7 @@ Module bn128. output; Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 32) ] + [ ("end_", Value.Integer IntegerKind.Usize 32) ] ] |) ] @@ -1430,7 +1453,7 @@ Module bn128. output; Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 32) ] + [ ("start", Value.Integer IntegerKind.Usize 32) ] ] |) ] @@ -1464,7 +1487,7 @@ Module bn128. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_run_add : M.IsFunction "revm_precompile::bn128::run_add" run_add. @@ -1509,7 +1532,7 @@ Module bn128. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| gas_cost |)) (M.read (| gas_limit |)) + BinOp.gt (| M.read (| gas_cost |), M.read (| gas_limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1586,7 +1609,7 @@ Module bn128. |); Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 64) ] + [ ("end_", Value.Integer IntegerKind.Usize 64) ] ] |) ] @@ -1692,7 +1715,10 @@ Module bn128. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 64); ("end_", Value.Integer 96) ] + [ + ("start", Value.Integer IntegerKind.Usize 64); + ("end_", Value.Integer IntegerKind.Usize 96) + ] ] |) ] @@ -1700,7 +1726,7 @@ Module bn128. ] |) |) in - let~ output := M.alloc (| repeat (Value.Integer 0) 64 |) in + let~ output := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 64 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -1780,7 +1806,7 @@ Module bn128. output; Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 32) ] + [ ("end_", Value.Integer IntegerKind.Usize 32) ] ] |) ] @@ -1832,7 +1858,7 @@ Module bn128. output; Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 32) ] + [ ("start", Value.Integer IntegerKind.Usize 32) ] ] |) ] @@ -1866,7 +1892,7 @@ Module bn128. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_run_mul : M.IsFunction "revm_precompile::bn128::run_mul" run_mul. @@ -1941,26 +1967,26 @@ Module bn128. (M.read (| let~ gas_used := M.alloc (| - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (M.rust_cast - (BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.rust_cast + (BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| input |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_precompile::bn128::PAIR_ELEMENT_LEN" |) - |)))) - (M.read (| pair_per_point_cost |))) - (M.read (| pair_base_cost |)) + |) + |)), + M.read (| pair_per_point_cost |) + |), + M.read (| pair_base_cost |) + |) |) in let~ _ := M.match_operator (| @@ -1971,7 +1997,7 @@ Module bn128. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| gas_used |)) (M.read (| gas_limit |)) + BinOp.gt (| M.read (| gas_used |), M.read (| gas_limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2002,21 +2028,22 @@ Module bn128. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Wrap.rem - Integer.Usize - (M.call_closure (| + BinOp.ne (| + BinOp.Wrap.rem (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| input |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_precompile::bn128::PAIR_ELEMENT_LEN" |) - |))) - (Value.Integer 0) + |) + |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2064,19 +2091,19 @@ Module bn128. ltac:(M.monadic (let~ elements := M.alloc (| - BinOp.Wrap.div - Integer.Usize - (M.call_closure (| + BinOp.Wrap.div (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| input |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_precompile::bn128::PAIR_ELEMENT_LEN" |) - |)) + |) + |) |) in let~ mul := M.alloc (| @@ -2107,7 +2134,7 @@ Module bn128. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| elements |)) ] ] @@ -2206,20 +2233,23 @@ Module bn128. γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.lt - (M.read (| + UnOp.not (| + BinOp.lt (| + M.read (| n - |)) - (BinOp.Wrap.div - Integer.Usize - (M.read (| + |), + BinOp.Wrap.div (| + M.read (| M.get_constant (| "revm_precompile::bn128::PAIR_ELEMENT_LEN" |) - |)) - (Value.Integer - 32))) + |), + Value.Integer + IntegerKind.Usize + 32 + |) + |) + |) |)) in let _ := @@ -2268,23 +2298,24 @@ Module bn128. |) in let~ start := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.read (| idx - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_precompile::bn128::PAIR_ELEMENT_LEN" |) - |))) - (BinOp.Wrap.mul - Integer.Usize - (M.read (| n |)) - (Value.Integer - 32)) + |) + |), + BinOp.Wrap.mul (| + M.read (| n |), + Value.Integer + IntegerKind.Usize + 32 + |) + |) |) in let~ slice := M.alloc (| @@ -2318,13 +2349,14 @@ Module bn128. start |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + M.read (| start - |)) - (Value.Integer - 32)) + |), + Value.Integer + IntegerKind.Usize + 32 + |)) ] ] |) @@ -2391,8 +2423,8 @@ Module bn128. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -2401,7 +2433,8 @@ Module bn128. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |) in let~ ax := @@ -2445,7 +2478,12 @@ Module bn128. |), [ read_fq_at; - Value.Tuple [ Value.Integer 0 ] + Value.Tuple + [ + Value.Integer + IntegerKind.Usize + 0 + ] ] |) ] @@ -2555,7 +2593,12 @@ Module bn128. |), [ read_fq_at; - Value.Tuple [ Value.Integer 1 ] + Value.Tuple + [ + Value.Integer + IntegerKind.Usize + 1 + ] ] |) ] @@ -2665,7 +2708,12 @@ Module bn128. |), [ read_fq_at; - Value.Tuple [ Value.Integer 2 ] + Value.Tuple + [ + Value.Integer + IntegerKind.Usize + 2 + ] ] |) ] @@ -2775,7 +2823,12 @@ Module bn128. |), [ read_fq_at; - Value.Tuple [ Value.Integer 3 ] + Value.Tuple + [ + Value.Integer + IntegerKind.Usize + 3 + ] ] |) ] @@ -2885,7 +2938,12 @@ Module bn128. |), [ read_fq_at; - Value.Tuple [ Value.Integer 4 ] + Value.Tuple + [ + Value.Integer + IntegerKind.Usize + 4 + ] ] |) ] @@ -2995,7 +3053,12 @@ Module bn128. |), [ read_fq_at; - Value.Tuple [ Value.Integer 5 ] + Value.Tuple + [ + Value.Integer + IntegerKind.Usize + 5 + ] ] |) ] @@ -3329,8 +3392,8 @@ Module bn128. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -3490,7 +3553,7 @@ Module bn128. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_run_pair : M.IsFunction "revm_precompile::bn128::run_pair" run_pair. diff --git a/CoqOfRust/revm/precompile/hash.v b/CoqOfRust/revm/precompile/hash.v index 1b5c50ece..94b825130 100644 --- a/CoqOfRust/revm/precompile/hash.v +++ b/CoqOfRust/revm/precompile/hash.v @@ -11,7 +11,7 @@ Module hash. [ M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 2 ] + [ Value.Integer IntegerKind.U64 2 ] |); Value.StructTuple "revm_primitives::precompile::Precompile::Standard" @@ -31,7 +31,7 @@ Module hash. [ M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 3 ] + [ Value.Integer IntegerKind.U64 3 ] |); Value.StructTuple "revm_primitives::precompile::Precompile::Standard" @@ -81,8 +81,8 @@ Module hash. |) ] |); - Value.Integer 60; - Value.Integer 12 + Value.Integer IntegerKind.U64 60; + Value.Integer IntegerKind.U64 12 ] |) |) in @@ -93,7 +93,7 @@ Module hash. ltac:(M.monadic (let γ := M.use - (M.alloc (| BinOp.Pure.gt (M.read (| cost |)) (M.read (| gas_limit |)) |)) in + (M.alloc (| BinOp.gt (| M.read (| cost |), M.read (| gas_limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.StructTuple @@ -239,7 +239,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_sha256_run : M.IsFunction "revm_precompile::hash::sha256_run" sha256_run. @@ -286,8 +286,8 @@ Module hash. |) ] |); - Value.Integer 600; - Value.Integer 120 + Value.Integer IntegerKind.U64 600; + Value.Integer IntegerKind.U64 120 ] |) |) in @@ -299,7 +299,7 @@ Module hash. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| gas_used |)) (M.read (| gas_limit |)) + BinOp.gt (| M.read (| gas_used |), M.read (| gas_limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -343,7 +343,7 @@ Module hash. [ hasher; M.read (| input |) ] |) |) in - let~ output := M.alloc (| repeat (Value.Integer 0) 32 |) in + let~ output := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) 32 |) in let~ _ := M.alloc (| M.call_closure (| @@ -421,7 +421,7 @@ Module hash. output; Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 12) ] + [ ("start", Value.Integer IntegerKind.Usize 12) ] ] |) ] @@ -463,7 +463,7 @@ Module hash. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ripemd160_run : M.IsFunction "revm_precompile::hash::ripemd160_run" ripemd160_run. diff --git a/CoqOfRust/revm/precompile/identity.v b/CoqOfRust/revm/precompile/identity.v index 8565d8f7e..87a077e17 100644 --- a/CoqOfRust/revm/precompile/identity.v +++ b/CoqOfRust/revm/precompile/identity.v @@ -11,7 +11,7 @@ Module identity. [ M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 4 ] + [ Value.Integer IntegerKind.U64 4 ] |); Value.StructTuple "revm_primitives::precompile::Precompile::Standard" @@ -24,10 +24,10 @@ Module identity. |))). Definition value_IDENTITY_BASE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 15 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 15 |))). Definition value_IDENTITY_PER_WORD : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 3 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). (* pub fn identity_run(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -83,7 +83,7 @@ Module identity. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| gas_used |)) (M.read (| gas_limit |)) + BinOp.gt (| M.read (| gas_used |), M.read (| gas_limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -127,7 +127,7 @@ Module identity. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_identity_run : M.IsFunction "revm_precompile::identity::identity_run" identity_run. diff --git a/CoqOfRust/revm/precompile/kzg_point_evaluation.v b/CoqOfRust/revm/precompile/kzg_point_evaluation.v index 4b1ce80ff..a32a1ea62 100644 --- a/CoqOfRust/revm/precompile/kzg_point_evaluation.v +++ b/CoqOfRust/revm/precompile/kzg_point_evaluation.v @@ -26,14 +26,15 @@ Module kzg_point_evaluation. (M.alloc (| M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 10 ] + [ Value.Integer IntegerKind.U64 10 ] |) |))). - Definition value_GAS_COST : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.Integer 50000 |))). + Definition value_GAS_COST : Value.t := + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 50000 |))). Definition value_VERSIONED_HASH_VERSION_KZG : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). Definition value_RETURN_VALUE : Value.t := M.run @@ -92,13 +93,14 @@ Module kzg_point_evaluation. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| gas_limit |)) - (M.read (| + BinOp.lt (| + M.read (| gas_limit |), + M.read (| M.get_constant (| "revm_precompile::kzg_point_evaluation::GAS_COST" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -129,8 +131,8 @@ Module kzg_point_evaluation. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -148,8 +150,9 @@ Module kzg_point_evaluation. [ M.read (| input |) ] |) ] - |)) - (Value.Integer 192) + |), + Value.Integer IntegerKind.Usize 192 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -203,7 +206,9 @@ Module kzg_point_evaluation. |) ] |); - Value.StructRecord "core::ops::range::RangeTo" [ ("end_", Value.Integer 32) ] + Value.StructRecord + "core::ops::range::RangeTo" + [ ("end_", Value.Integer IntegerKind.Usize 32) ] ] |) |) in @@ -241,7 +246,10 @@ Module kzg_point_evaluation. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 96); ("end_", Value.Integer 144) ] + [ + ("start", Value.Integer IntegerKind.Usize 96); + ("end_", Value.Integer IntegerKind.Usize 144) + ] ] |) |) in @@ -344,7 +352,10 @@ Module kzg_point_evaluation. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 32); ("end_", Value.Integer 64) ] + [ + ("start", Value.Integer IntegerKind.Usize 32); + ("end_", Value.Integer IntegerKind.Usize 64) + ] ] |) ] @@ -387,7 +398,10 @@ Module kzg_point_evaluation. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 64); ("end_", Value.Integer 96) ] + [ + ("start", Value.Integer IntegerKind.Usize 64); + ("end_", Value.Integer IntegerKind.Usize 96) + ] ] |) ] @@ -430,7 +444,10 @@ Module kzg_point_evaluation. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 144); ("end_", Value.Integer 192) ] + [ + ("start", Value.Integer IntegerKind.Usize 144); + ("end_", Value.Integer IntegerKind.Usize 192) + ] ] |) ] @@ -445,8 +462,8 @@ Module kzg_point_evaluation. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_function (| "revm_precompile::kzg_point_evaluation::verify_kzg_proof", [] @@ -476,7 +493,8 @@ Module kzg_point_evaluation. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -528,7 +546,7 @@ Module kzg_point_evaluation. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_run : M.IsFunction "revm_precompile::kzg_point_evaluation::run" run. @@ -647,7 +665,10 @@ Module kzg_point_evaluation. |) in let~ _ := M.write (| - M.SubPointer.get_array_field (| hash, M.alloc (| Value.Integer 0 |) |), + M.SubPointer.get_array_field (| + hash, + M.alloc (| Value.Integer IntegerKind.Usize 0 |) + |), M.read (| M.get_constant (| "revm_precompile::kzg_point_evaluation::VERSIONED_HASH_VERSION_KZG" @@ -656,7 +677,7 @@ Module kzg_point_evaluation. |) in hash |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_kzg_to_versioned_hash : @@ -710,7 +731,7 @@ Module kzg_point_evaluation. Value.Bool false ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_verify_kzg_proof : @@ -751,7 +772,7 @@ Module kzg_point_evaluation. M.read (| Value.String "slice with incorrect length" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_as_array : M.IsFunction "revm_precompile::kzg_point_evaluation::as_array" as_array. @@ -791,7 +812,7 @@ Module kzg_point_evaluation. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_as_bytes32 : @@ -832,7 +853,7 @@ Module kzg_point_evaluation. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_as_bytes48 : diff --git a/CoqOfRust/revm/precompile/lib.v b/CoqOfRust/revm/precompile/lib.v index 2cd273fa8..6a61bcdd7 100644 --- a/CoqOfRust/revm/precompile/lib.v +++ b/CoqOfRust/revm/precompile/lib.v @@ -13,20 +13,20 @@ Definition calc_linear_cost_u32 (τ : list Ty.t) (α : list Value.t) : M := (let len := M.alloc (| len |) in let base := M.alloc (| base |) in let word := M.alloc (| word |) in - BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.add Integer.U64 (M.rust_cast (M.read (| len |))) (Value.Integer 32)) - (Value.Integer 1)) - (Value.Integer 32)) - (M.read (| word |))) - (M.read (| base |)))) - | _, _ => M.impossible + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + BinOp.Wrap.div (| + BinOp.Wrap.sub (| + BinOp.Wrap.add (| M.rust_cast (M.read (| len |)), Value.Integer IntegerKind.U64 32 |), + Value.Integer IntegerKind.U64 1 + |), + Value.Integer IntegerKind.U64 32 + |), + M.read (| word |) + |), + M.read (| base |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calc_linear_cost_u32 : @@ -120,7 +120,7 @@ Module Impl_core_clone_Clone_for_revm_precompile_PrecompileOutput. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -178,7 +178,7 @@ Module Impl_core_fmt_Debug_for_revm_precompile_PrecompileOutput. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -237,7 +237,7 @@ Module Impl_core_default_Default_for_revm_precompile_PrecompileOutput. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,21 +271,22 @@ Module Impl_core_cmp_PartialEq_for_revm_precompile_PrecompileOutput. let other := M.alloc (| other |) in LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_precompile::PrecompileOutput", "cost" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_precompile::PrecompileOutput", "cost" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -354,7 +355,7 @@ Module Impl_core_cmp_PartialEq_for_revm_precompile_PrecompileOutput. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -405,7 +406,7 @@ Module Impl_core_cmp_Eq_for_revm_precompile_PrecompileOutput. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -491,7 +492,7 @@ Module Impl_core_hash_Hash_for_revm_precompile_PrecompileOutput. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -542,7 +543,7 @@ Module Impl_revm_precompile_PrecompileOutput. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_without_logs : M.IsAssociatedFunction Self "without_logs" without_logs. @@ -601,7 +602,7 @@ Module Impl_core_clone_Clone_for_revm_precompile_Precompiles. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -641,7 +642,7 @@ Module Impl_core_default_Default_for_revm_precompile_Precompiles. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -683,7 +684,7 @@ Module Impl_core_fmt_Debug_for_revm_precompile_Precompiles. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -805,7 +806,7 @@ Module Impl_revm_precompile_Precompiles. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -924,11 +925,11 @@ Module Impl_revm_precompile_Precompiles. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_homestead : M.IsAssociatedFunction Self "homestead" homestead. @@ -1063,11 +1064,11 @@ Module Impl_revm_precompile_Precompiles. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_byzantium : M.IsAssociatedFunction Self "byzantium" byzantium. @@ -1199,11 +1200,11 @@ Module Impl_revm_precompile_Precompiles. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_istanbul : M.IsAssociatedFunction Self "istanbul" istanbul. @@ -1316,11 +1317,11 @@ Module Impl_revm_precompile_Precompiles. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_berlin : M.IsAssociatedFunction Self "berlin" berlin. @@ -1448,11 +1449,11 @@ Module Impl_revm_precompile_Precompiles. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cancun : M.IsAssociatedFunction Self "cancun" cancun. @@ -1470,7 +1471,7 @@ Module Impl_revm_precompile_Precompiles. M.get_associated_function (| Ty.path "revm_precompile::Precompiles", "cancun", [] |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_latest : M.IsAssociatedFunction Self "latest" latest. @@ -1505,7 +1506,7 @@ Module Impl_revm_precompile_Precompiles. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_addresses : M.IsAssociatedFunction Self "addresses" addresses. @@ -1542,7 +1543,7 @@ Module Impl_revm_precompile_Precompiles. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_addresses : @@ -1580,7 +1581,7 @@ Module Impl_revm_precompile_Precompiles. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contains : M.IsAssociatedFunction Self "contains" contains. @@ -1617,7 +1618,7 @@ Module Impl_revm_precompile_Precompiles. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. @@ -1654,7 +1655,7 @@ Module Impl_revm_precompile_Precompiles. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_mut : M.IsAssociatedFunction Self "get_mut" get_mut. @@ -1669,8 +1670,8 @@ Module Impl_revm_precompile_Precompiles. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "std::collections::hash::map::HashMap") @@ -1689,9 +1690,10 @@ Module Impl_revm_precompile_Precompiles. "inner" |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -1726,7 +1728,7 @@ Module Impl_revm_precompile_Precompiles. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -1836,7 +1838,7 @@ Module Impl_revm_precompile_Precompiles. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend : M.IsAssociatedFunction Self "extend" extend. @@ -1898,7 +1900,7 @@ Module Impl_core_clone_Clone_for_revm_precompile_PrecompileWithAddress. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1946,7 +1948,7 @@ Module Impl_core_fmt_Debug_for_revm_precompile_PrecompileWithAddress. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1976,7 +1978,7 @@ Module Impl_core_convert_From_Tuple_alloy_primitives_bits_address_Address_revm_p M.read (| M.SubPointer.get_tuple_field (| value, 0 |) |); M.read (| M.SubPointer.get_tuple_field (| value, 1 |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2030,7 +2032,7 @@ Module Impl_core_convert_From_revm_precompile_PrecompileWithAddress_for_Tuple_al |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2098,7 +2100,7 @@ Module Impl_core_clone_Clone_for_revm_precompile_PrecompileSpecId. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2168,7 +2170,7 @@ Module Impl_core_fmt_Debug_for_revm_precompile_PrecompileSpecId. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2221,9 +2223,9 @@ Module Impl_core_cmp_PartialEq_for_revm_precompile_PrecompileSpecId. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2255,7 +2257,7 @@ Module Impl_core_cmp_Eq_for_revm_precompile_PrecompileSpecId. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2295,7 +2297,7 @@ Module Impl_core_hash_Hash_for_revm_precompile_PrecompileSpecId. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2344,7 +2346,7 @@ Module Impl_core_cmp_Ord_for_revm_precompile_PrecompileSpecId. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2399,7 +2401,7 @@ Module Impl_core_cmp_PartialOrd_for_revm_precompile_PrecompileSpecId. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2504,7 +2506,7 @@ Module Impl_revm_precompile_PrecompileSpecId. (M.alloc (| Value.StructTuple "revm_precompile::PrecompileSpecId::HOMESTEAD" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2546,7 +2548,7 @@ Module Impl_revm_precompile_PrecompileSpecId. (M.alloc (| Value.StructTuple "revm_precompile::PrecompileSpecId::BYZANTIUM" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2580,7 +2582,7 @@ Module Impl_revm_precompile_PrecompileSpecId. (M.alloc (| Value.StructTuple "revm_precompile::PrecompileSpecId::ISTANBUL" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2646,7 +2648,7 @@ Module Impl_revm_precompile_PrecompileSpecId. (M.alloc (| Value.StructTuple "revm_precompile::PrecompileSpecId::BERLIN" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2680,7 +2682,7 @@ Module Impl_revm_precompile_PrecompileSpecId. (M.alloc (| Value.StructTuple "revm_precompile::PrecompileSpecId::CANCUN" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2691,7 +2693,7 @@ Module Impl_revm_precompile_PrecompileSpecId. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_spec_id : M.IsAssociatedFunction Self "from_spec_id" from_spec_id. @@ -2728,32 +2730,72 @@ Definition u64_to_address (τ : list Ty.t) (α : list Value.t) : M := [ Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - M.read (| M.SubPointer.get_array_field (| x, M.alloc (| Value.Integer 0 |) |) |); - M.read (| M.SubPointer.get_array_field (| x, M.alloc (| Value.Integer 1 |) |) |); - M.read (| M.SubPointer.get_array_field (| x, M.alloc (| Value.Integer 2 |) |) |); - M.read (| M.SubPointer.get_array_field (| x, M.alloc (| Value.Integer 3 |) |) |); - M.read (| M.SubPointer.get_array_field (| x, M.alloc (| Value.Integer 4 |) |) |); - M.read (| M.SubPointer.get_array_field (| x, M.alloc (| Value.Integer 5 |) |) |); - M.read (| M.SubPointer.get_array_field (| x, M.alloc (| Value.Integer 6 |) |) |); - M.read (| M.SubPointer.get_array_field (| x, M.alloc (| Value.Integer 7 |) |) |) + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + M.read (| + M.SubPointer.get_array_field (| + x, + M.alloc (| Value.Integer IntegerKind.Usize 0 |) + |) + |); + M.read (| + M.SubPointer.get_array_field (| + x, + M.alloc (| Value.Integer IntegerKind.Usize 1 |) + |) + |); + M.read (| + M.SubPointer.get_array_field (| + x, + M.alloc (| Value.Integer IntegerKind.Usize 2 |) + |) + |); + M.read (| + M.SubPointer.get_array_field (| + x, + M.alloc (| Value.Integer IntegerKind.Usize 3 |) + |) + |); + M.read (| + M.SubPointer.get_array_field (| + x, + M.alloc (| Value.Integer IntegerKind.Usize 4 |) + |) + |); + M.read (| + M.SubPointer.get_array_field (| + x, + M.alloc (| Value.Integer IntegerKind.Usize 5 |) + |) + |); + M.read (| + M.SubPointer.get_array_field (| + x, + M.alloc (| Value.Integer IntegerKind.Usize 6 |) + |) + |); + M.read (| + M.SubPointer.get_array_field (| + x, + M.alloc (| Value.Integer IntegerKind.Usize 7 |) + |) + |) ] ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_u64_to_address : M.IsFunction "revm_precompile::u64_to_address" u64_to_address. diff --git a/CoqOfRust/revm/precompile/modexp.v b/CoqOfRust/revm/precompile/modexp.v index a062e005e..99bfc0afe 100644 --- a/CoqOfRust/revm/precompile/modexp.v +++ b/CoqOfRust/revm/precompile/modexp.v @@ -11,7 +11,7 @@ Module modexp. [ M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.U64 5 ] |); Value.StructTuple "revm_primitives::precompile::Precompile::Standard" @@ -32,7 +32,7 @@ Module modexp. [ M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 5 ] + [ Value.Integer IntegerKind.U64 5 ] |); Value.StructTuple "revm_primitives::precompile::Precompile::Standard" @@ -97,7 +97,7 @@ Module modexp. ] |); M.read (| gas_limit |); - Value.Integer 0; + Value.Integer IntegerKind.U64 0; M.closure (fun γ => ltac:(M.monadic @@ -148,11 +148,11 @@ Module modexp. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_byzantium_run : @@ -211,7 +211,7 @@ Module modexp. ] |); M.read (| gas_limit |); - Value.Integer 200; + Value.Integer IntegerKind.U64 200; M.closure (fun γ => ltac:(M.monadic @@ -262,11 +262,11 @@ Module modexp. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_berlin_run : M.IsFunction "revm_precompile::modexp::berlin_run" berlin_run. @@ -294,7 +294,7 @@ Module modexp. (let exp_length := M.alloc (| exp_length |) in let exp_highp := M.alloc (| exp_highp |) in M.read (| - let~ iteration_count := M.alloc (| Value.Integer 0 |) in + let~ iteration_count := M.alloc (| Value.Integer IntegerKind.U64 0 |) in let~ _ := M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -305,7 +305,10 @@ Module modexp. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.le (M.read (| exp_length |)) (Value.Integer 32), + BinOp.le (| + M.read (| exp_length |), + Value.Integer IntegerKind.U64 32 + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -320,7 +323,7 @@ Module modexp. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ := M.write (| iteration_count, Value.Integer 0 |) in + let~ _ := M.write (| iteration_count, Value.Integer IntegerKind.U64 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic @@ -332,16 +335,18 @@ Module modexp. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| exp_length |)) (Value.Integer 32) + BinOp.le (| + M.read (| exp_length |), + Value.Integer IntegerKind.U64 32 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := M.write (| iteration_count, - BinOp.Wrap.sub - Integer.U64 - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "ruint::Uint", @@ -349,8 +354,9 @@ Module modexp. [] |), [ M.read (| exp_highp |) ] - |))) - (Value.Integer 1) + |)), + Value.Integer IntegerKind.U64 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -363,7 +369,10 @@ Module modexp. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| exp_length |)) (Value.Integer 32) + BinOp.gt (| + M.read (| exp_length |), + Value.Integer IntegerKind.U64 32 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -387,22 +396,21 @@ Module modexp. [] |), [ - Value.Integer 8; - BinOp.Wrap.sub - Integer.U64 - (M.read (| exp_length |)) - (Value.Integer 32) + Value.Integer IntegerKind.U64 8; + BinOp.Wrap.sub (| + M.read (| exp_length |), + Value.Integer IntegerKind.U64 32 + |) ] |); - BinOp.Wrap.sub - Integer.U64 - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "u64" ] |), [ - Value.Integer 1; + Value.Integer IntegerKind.U64 1; M.rust_cast (M.call_closure (| M.get_associated_function (| @@ -413,8 +421,9 @@ Module modexp. [ M.read (| exp_highp |) ] |)) ] - |)) - (Value.Integer 1) + |), + Value.Integer IntegerKind.U64 1 + |) ] |) |) in @@ -429,11 +438,11 @@ Module modexp. M.alloc (| M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "u64" ] |), - [ M.read (| iteration_count |); Value.Integer 1 ] + [ M.read (| iteration_count |); Value.Integer IntegerKind.U64 1 ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calculate_iteration_count : @@ -532,7 +541,7 @@ Module modexp. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| min_gas |)) (M.read (| gas_limit |)) + BinOp.gt (| M.read (| min_gas |), M.read (| gas_limit |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -573,7 +582,7 @@ Module modexp. "revm_precompile::utilities::right_pad_with_offset", [] |), - [ M.read (| input |); Value.Integer 0 ] + [ M.read (| input |); Value.Integer IntegerKind.Usize 0 ] |) ] |) @@ -599,7 +608,7 @@ Module modexp. "revm_precompile::utilities::right_pad_with_offset", [] |), - [ M.read (| input |); Value.Integer 32 ] + [ M.read (| input |); Value.Integer IntegerKind.Usize 32 ] |) ] |) @@ -625,7 +634,7 @@ Module modexp. "revm_precompile::utilities::right_pad_with_offset", [] |), - [ M.read (| input |); Value.Integer 64 ] + [ M.read (| input |); Value.Integer IntegerKind.Usize 64 ] |) ] |) @@ -688,13 +697,15 @@ Module modexp. M.use (M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| base_len |)) - (Value.Integer 0), + BinOp.eq (| + M.read (| base_len |), + Value.Integer IntegerKind.Usize 0 + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| mod_len |)) - (Value.Integer 0))) + (BinOp.eq (| + M.read (| mod_len |), + Value.Integer IntegerKind.Usize 0 + |))) |) |)) in let _ := @@ -760,7 +771,10 @@ Module modexp. "core::cmp::min", [ Ty.path "usize" ] |), - [ M.read (| exp_len |); Value.Integer 32 ] + [ + M.read (| exp_len |); + Value.Integer IntegerKind.Usize 32 + ] |) |) in let~ input := @@ -924,9 +938,10 @@ Module modexp. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| gas_cost |)) - (M.read (| gas_limit |)) + BinOp.gt (| + M.read (| gas_cost |), + M.read (| gas_limit |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1099,18 +1114,20 @@ Module modexp. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.read (| + UnOp.not (| + BinOp.eq (| + M.read (| M.read (| left_val |) - |)) - (M.read (| + |), + M.read (| M.read (| right_val |) - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1272,14 +1289,14 @@ Module modexp. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_run_inner : M.IsFunction "revm_precompile::modexp::run_inner" run_inner. Module run_inner. Definition value_HEADER_LENGTH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 96 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 96 |))). End run_inner. (* @@ -1368,7 +1385,7 @@ Module modexp. "from", [ Ty.path "i32" ] |), - [ Value.Integer 20 ] + [ Value.Integer IntegerKind.I32 20 ] |) ] |) @@ -1384,7 +1401,7 @@ Module modexp. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_byzantium_gas_calc : @@ -1417,7 +1434,10 @@ Module modexp. fun γ => ltac:(M.monadic (let γ := - M.use (M.alloc (| BinOp.Pure.le (M.read (| x |)) (Value.Integer 64) |)) in + M.use + (M.alloc (| + BinOp.le (| M.read (| x |), Value.Integer IntegerKind.U64 64 |) + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.call_closure (| @@ -1426,7 +1446,7 @@ Module modexp. "from", [ Ty.path "u64" ] |), - [ BinOp.Wrap.mul Integer.U64 (M.read (| x |)) (M.read (| x |)) ] + [ BinOp.Wrap.mul (| M.read (| x |), M.read (| x |) |) ] |) |))); fun γ => @@ -1439,7 +1459,7 @@ Module modexp. (let γ := M.use (M.alloc (| - BinOp.Pure.le (M.read (| x |)) (Value.Integer 1024) + BinOp.le (| M.read (| x |), Value.Integer IntegerKind.U64 1024 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1451,22 +1471,19 @@ Module modexp. [ Ty.path "u64" ] |), [ - BinOp.Wrap.sub - Integer.U64 - (BinOp.Wrap.add - Integer.U64 - (BinOp.Wrap.div - Integer.U64 - (BinOp.Wrap.mul - Integer.U64 - (M.read (| x |)) - (M.read (| x |))) - (Value.Integer 4)) - (BinOp.Wrap.mul - Integer.U64 - (Value.Integer 96) - (M.read (| x |)))) - (Value.Integer 3072) + BinOp.Wrap.sub (| + BinOp.Wrap.add (| + BinOp.Wrap.div (| + BinOp.Wrap.mul (| M.read (| x |), M.read (| x |) |), + Value.Integer IntegerKind.U64 4 + |), + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 96, + M.read (| x |) + |) + |), + Value.Integer IntegerKind.U64 3072 + |) ] |) |))); @@ -1531,7 +1548,7 @@ Module modexp. "from", [ Ty.path "i32" ] |), - [ Value.Integer 16 ] + [ Value.Integer IntegerKind.I32 16 ] |) ] |); @@ -1550,7 +1567,7 @@ Module modexp. "from", [ Ty.path "i32" ] |), - [ Value.Integer 480 ] + [ Value.Integer IntegerKind.I32 480 ] |); M.read (| x |) ] @@ -1563,7 +1580,7 @@ Module modexp. "from", [ Ty.path "i32" ] |), - [ Value.Integer 199680 ] + [ Value.Integer IntegerKind.I32 199680 ] |) ] |) @@ -1573,7 +1590,7 @@ Module modexp. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_mul_complexity : @@ -1666,7 +1683,7 @@ Module modexp. "from", [ Ty.path "i32" ] |), - [ Value.Integer 3 ] + [ Value.Integer IntegerKind.I32 3 ] |) ] |) @@ -1675,7 +1692,7 @@ Module modexp. M.call_closure (| M.get_function (| "core::cmp::max", [ Ty.path "u64" ] |), [ - Value.Integer 200; + Value.Integer IntegerKind.U64 200; M.call_closure (| M.get_associated_function (| Ty.path "ruint::Uint", @@ -1688,7 +1705,7 @@ Module modexp. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_berlin_gas_calc : @@ -1722,7 +1739,7 @@ Module modexp. |) in let~ words := M.alloc (| - BinOp.Wrap.div Integer.U64 (M.read (| max_length |)) (Value.Integer 8) + BinOp.Wrap.div (| M.read (| max_length |), Value.Integer IntegerKind.U64 8 |) |) in let~ _ := M.match_operator (| @@ -1733,19 +1750,20 @@ Module modexp. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (BinOp.Wrap.rem - Integer.U64 - (M.read (| max_length |)) - (Value.Integer 8)) - (Value.Integer 0) + BinOp.gt (| + BinOp.Wrap.rem (| + M.read (| max_length |), + Value.Integer IntegerKind.U64 8 + |), + Value.Integer IntegerKind.U64 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := let β := words in M.write (| β, - BinOp.Wrap.add Integer.U64 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U64 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1771,7 +1789,7 @@ Module modexp. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calculate_multiplication_complexity : diff --git a/CoqOfRust/revm/precompile/secp256k1.v b/CoqOfRust/revm/precompile/secp256k1.v index 68ea003ad..6daef96ec 100644 --- a/CoqOfRust/revm/precompile/secp256k1.v +++ b/CoqOfRust/revm/precompile/secp256k1.v @@ -11,7 +11,7 @@ Module secp256k1. [ M.call_closure (| M.get_function (| "revm_precompile::u64_to_address", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U64 1 ] |); Value.StructTuple "revm_primitives::precompile::Precompile::Standard" @@ -309,7 +309,7 @@ Module secp256k1. |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |) ] @@ -336,17 +336,17 @@ Module secp256k1. hash; Value.StructRecord "core::ops::range::RangeTo" - [ ("end_", Value.Integer 12) ] + [ ("end_", Value.Integer IntegerKind.Usize 12) ] ] |); - Value.Integer 0 + Value.Integer IntegerKind.U8 0 ] |) |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| hash |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ecrecover : @@ -396,13 +396,14 @@ Module secp256k1. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.get_constant (| "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE" |) - |)) - (M.read (| gas_limit |)) + |), + M.read (| gas_limit |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -462,8 +463,8 @@ Module secp256k1. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (LogicalOp.and (| + UnOp.not (| + LogicalOp.and (| M.call_closure (| M.get_trait_method (| "core::iter::traits::iterator::Iterator", @@ -514,8 +515,8 @@ Module secp256k1. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 32); - ("end_", Value.Integer 63) + ("start", Value.Integer IntegerKind.Usize 32); + ("end_", Value.Integer IntegerKind.Usize 63) ] ] |) @@ -535,12 +536,13 @@ Module secp256k1. ltac:(M.monadic (let γ := M.read (| γ |) in let b := M.copy (| γ |) in - BinOp.Pure.eq - (M.read (| b |)) - (Value.Integer 0))) + BinOp.eq (| + M.read (| b |), + Value.Integer IntegerKind.U8 0 + |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |), @@ -560,7 +562,7 @@ Module secp256k1. |), [ input ] |), - M.alloc (| Value.Integer 63 |) + M.alloc (| Value.Integer IntegerKind.Usize 63 |) |), [ fun γ => @@ -573,7 +575,7 @@ Module secp256k1. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 27 + Value.Integer IntegerKind.U8 27 |) in Value.Tuple [])); fun γ => @@ -581,7 +583,7 @@ Module secp256k1. (let _ := M.is_constant_or_break_match (| M.read (| γ |), - Value.Integer 28 + Value.Integer IntegerKind.U8 28 |) in Value.Tuple [])) ], @@ -592,14 +594,16 @@ Module secp256k1. | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -685,7 +689,10 @@ Module secp256k1. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 0); ("end_", Value.Integer 32) ] + [ + ("start", Value.Integer IntegerKind.Usize 0); + ("end_", Value.Integer IntegerKind.Usize 32) + ] ] |) ] @@ -695,9 +702,8 @@ Module secp256k1. |) in let~ recid := M.alloc (| - BinOp.Wrap.sub - Integer.U8 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_array_field (| M.call_closure (| M.get_trait_method (| @@ -711,10 +717,11 @@ Module secp256k1. |), [ input ] |), - M.alloc (| Value.Integer 63 |) + M.alloc (| Value.Integer IntegerKind.Usize 63 |) |) - |)) - (Value.Integer 27) + |), + Value.Integer IntegerKind.U8 27 + |) |) in let~ sig := M.alloc (| @@ -767,7 +774,10 @@ Module secp256k1. |); Value.StructRecord "core::ops::range::Range" - [ ("start", Value.Integer 64); ("end_", Value.Integer 128) ] + [ + ("start", Value.Integer IntegerKind.Usize 64); + ("end_", Value.Integer IntegerKind.Usize 128) + ] ] |) ] @@ -859,7 +869,7 @@ Module secp256k1. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -883,7 +893,7 @@ Module secp256k1. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_ec_recover_run : @@ -891,6 +901,6 @@ Module secp256k1. Module ec_recover_run. Definition value_ECRECOVER_BASE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 3000 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3000 |))). End ec_recover_run. End secp256k1. diff --git a/CoqOfRust/revm/precompile/utilities.v b/CoqOfRust/revm/precompile/utilities.v index d8d8dbcf1..db22c3ec8 100644 --- a/CoqOfRust/revm/precompile/utilities.v +++ b/CoqOfRust/revm/precompile/utilities.v @@ -42,7 +42,7 @@ Module utilities. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_right_pad_with_offset : @@ -90,7 +90,7 @@ Module utilities. M.read (| len |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_right_pad_with_offset_vec : @@ -182,7 +182,7 @@ Module utilities. |))); fun γ => ltac:(M.monadic - (let~ padded := M.alloc (| repeat (Value.Integer 0) LEN |) in + (let~ padded := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) LEN |) in let~ _ := M.alloc (| M.call_closure (| @@ -228,7 +228,7 @@ Module utilities. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_right_pad : M.IsFunction "revm_precompile::utilities::right_pad" right_pad. @@ -284,7 +284,7 @@ Module utilities. M.alloc (| M.call_closure (| M.get_function (| "alloc::vec::from_elem", [ Ty.path "u8" ] |), - [ Value.Integer 0; M.read (| len |) ] + [ Value.Integer IntegerKind.U8 0; M.read (| len |) ] |) |) in let~ _ := @@ -334,7 +334,7 @@ Module utilities. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_right_pad_vec : @@ -426,7 +426,7 @@ Module utilities. |))); fun γ => ltac:(M.monadic - (let~ padded := M.alloc (| repeat (Value.Integer 0) LEN |) in + (let~ padded := M.alloc (| repeat (Value.Integer IntegerKind.U8 0) LEN |) in let~ _ := M.alloc (| M.call_closure (| @@ -451,21 +451,21 @@ Module utilities. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.get_constant (| "revm_precompile::utilities::left_pad::LEN" |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| data |) ] - |))) + |) + |)) ] ] |); @@ -479,7 +479,7 @@ Module utilities. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_left_pad : M.IsFunction "revm_precompile::utilities::left_pad" left_pad. @@ -535,7 +535,7 @@ Module utilities. M.alloc (| M.call_closure (| M.get_function (| "alloc::vec::from_elem", [ Ty.path "u8" ] |), - [ Value.Integer 0; M.read (| len |) ] + [ Value.Integer IntegerKind.U8 0; M.read (| len |) ] |) |) in let~ _ := @@ -564,17 +564,17 @@ Module utilities. "core::ops::range::RangeFrom" [ ("start", - BinOp.Wrap.sub - Integer.Usize - (M.read (| len |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| len |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| data |) ] - |))) + |) + |)) ] ] |); @@ -588,7 +588,7 @@ Module utilities. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_left_pad_vec : @@ -623,7 +623,7 @@ Module utilities. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bool_to_bytes32 : @@ -660,7 +660,7 @@ Module utilities. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_bool_to_b256 : diff --git a/CoqOfRust/revm/primitives/bytecode.v b/CoqOfRust/revm/primitives/bytecode.v index 15cde2b81..9fdc5cde4 100644 --- a/CoqOfRust/revm/primitives/bytecode.v +++ b/CoqOfRust/revm/primitives/bytecode.v @@ -122,7 +122,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -222,7 +222,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -277,7 +277,7 @@ Module bytecode. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -399,7 +399,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -450,7 +450,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -562,7 +562,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -594,7 +594,7 @@ Module bytecode. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -631,7 +631,7 @@ Module bytecode. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -683,7 +683,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_legacy_jump_table : @@ -746,7 +746,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_hash_slow : M.IsAssociatedFunction Self "hash_slow" hash_slow. @@ -786,7 +786,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eof : M.IsAssociatedFunction Self "eof" eof. @@ -819,7 +819,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_eof : M.IsAssociatedFunction Self "is_eof" is_eof. @@ -837,7 +837,7 @@ Module bytecode. Value.StructTuple "revm_primitives::bytecode::Bytecode::LegacyRaw" [ M.read (| bytecode |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_raw : M.IsAssociatedFunction Self "new_raw" new_raw. @@ -874,7 +874,7 @@ Module bytecode. [ M.read (| bytecode |); M.read (| original_len |); M.read (| jump_table |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_analyzed : M.IsAssociatedFunction Self "new_analyzed" new_analyzed. @@ -964,7 +964,7 @@ Module bytecode. "revm_primitives::bytecode::eof::Eof", "body" |); - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 ] |); M.read (| Value.String "Valid EOF has at least one code section" |) @@ -974,7 +974,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bytecode : M.IsAssociatedFunction Self "bytecode" bytecode. @@ -989,8 +989,8 @@ Module bytecode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.match_operator (| self, [ @@ -1007,8 +1007,9 @@ Module bytecode. fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_execution_ready : @@ -1108,7 +1109,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_original_bytes : @@ -1230,7 +1231,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_original_byte_slice : @@ -1324,7 +1325,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -1339,17 +1340,18 @@ Module bytecode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::Bytecode", "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. diff --git a/CoqOfRust/revm/primitives/bytecode/eof.v b/CoqOfRust/revm/primitives/bytecode/eof.v index 3cb9e51af..2f7ec1050 100644 --- a/CoqOfRust/revm/primitives/bytecode/eof.v +++ b/CoqOfRust/revm/primitives/bytecode/eof.v @@ -79,7 +79,7 @@ Module bytecode. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -137,7 +137,7 @@ Module bytecode. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -238,7 +238,7 @@ Module bytecode. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -289,7 +289,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -372,7 +372,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -502,7 +502,7 @@ Module bytecode. "into", [] |), - [ Value.Array [ Value.Integer 0 ] ] + [ Value.Array [ Value.Integer IntegerKind.U8 0 ] ] |) ] |) @@ -548,7 +548,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -572,9 +572,8 @@ Module bytecode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::eof::header::EofHeader", "size", @@ -587,8 +586,8 @@ Module bytecode. "header" |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::eof::header::EofHeader", "body_size", @@ -601,8 +600,9 @@ Module bytecode. "header" |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size : M.IsAssociatedFunction Self "size" size. @@ -622,7 +622,7 @@ Module bytecode. "revm_primitives::bytecode::eof::Eof", "raw" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_raw : M.IsAssociatedFunction Self "raw" raw. @@ -766,14 +766,14 @@ Module bytecode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); (* Unsize *) M.pointer_coercion (M.alloc (| Value.Array [] |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_data_slice : M.IsAssociatedFunction Self "data_slice" data_slice. @@ -819,7 +819,7 @@ Module bytecode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_data : M.IsAssociatedFunction Self "data" data. @@ -911,7 +911,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_encode_slow : M.IsAssociatedFunction Self "encode_slow" encode_slow. @@ -1147,7 +1147,7 @@ Module bytecode. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decode : M.IsAssociatedFunction Self "decode" decode. @@ -1452,7 +1452,7 @@ Module bytecode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1491,7 +1491,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1544,9 +1544,9 @@ Module bytecode. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1578,7 +1578,7 @@ Module bytecode. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1634,7 +1634,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1683,7 +1683,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1704,7 +1704,7 @@ Module bytecode. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/bytecode/eof/body.v b/CoqOfRust/revm/primitives/bytecode/eof/body.v index 5e7e0beef..d03bb9b79 100644 --- a/CoqOfRust/revm/primitives/bytecode/eof/body.v +++ b/CoqOfRust/revm/primitives/bytecode/eof/body.v @@ -143,7 +143,7 @@ Module bytecode. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -217,7 +217,7 @@ Module bytecode. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -310,7 +310,7 @@ Module bytecode. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -474,23 +474,24 @@ Module bytecode. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::body::EofBody", "is_data_filled" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::eof::body::EofBody", "is_data_filled" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -559,7 +560,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -697,7 +698,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -751,7 +752,7 @@ Module bytecode. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_code : M.IsAssociatedFunction Self "code" code. @@ -793,9 +794,8 @@ Module bytecode. "revm_primitives::bytecode::eof::header::EofHeader" [ ("types_size", - BinOp.Wrap.mul - Integer.U16 - (M.rust_cast + BinOp.Wrap.mul (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -815,8 +815,9 @@ Module bytecode. "types_section" |) ] - |))) - (Value.Integer 4)); + |)), + Value.Integer IntegerKind.U16 4 + |)); ("code_sizes", M.call_closure (| M.get_trait_method (| @@ -937,7 +938,7 @@ Module bytecode. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1063,7 +1064,7 @@ Module bytecode. |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1211,7 +1212,7 @@ Module bytecode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1332,7 +1333,7 @@ Module bytecode. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1397,7 +1398,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_eof : M.IsAssociatedFunction Self "into_eof" into_eof. @@ -1797,7 +1798,7 @@ Module bytecode. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_encode : M.IsAssociatedFunction Self "encode" encode. @@ -1868,46 +1869,46 @@ Module bytecode. |) in let~ partial_body_len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| header |), "revm_primitives::bytecode::eof::header::EofHeader", "sum_code_sizes" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| header |), "revm_primitives::bytecode::eof::header::EofHeader", "sum_container_sizes" |) - |))) - (M.rust_cast + |) + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| header |), "revm_primitives::bytecode::eof::header::EofHeader", "types_size" |) - |))) + |)) + |) |) in let~ full_body_len := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| partial_body_len |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| partial_body_len |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| header |), "revm_primitives::bytecode::eof::header::EofHeader", "data_size" |) - |))) + |)) + |) |) in let~ _ := M.match_operator (| @@ -1918,8 +1919,8 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -1937,11 +1938,12 @@ Module bytecode. [ M.read (| input |) ] |) ] - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| header_len |)) - (M.read (| partial_body_len |))) + |), + BinOp.Wrap.add (| + M.read (| header_len |), + M.read (| partial_body_len |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1975,8 +1977,8 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -1994,11 +1996,12 @@ Module bytecode. [ M.read (| input |) ] |) ] - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| header_len |)) - (M.read (| full_body_len |))) + |), + BinOp.Wrap.add (| + M.read (| header_len |), + M.read (| full_body_len |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2091,7 +2094,7 @@ Module bytecode. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.call_closure (| M.get_associated_function (| @@ -2295,17 +2298,17 @@ Module bytecode. |)) in let~ start := M.alloc (| - BinOp.Wrap.add - Integer.Usize - (M.read (| header_len |)) - (M.rust_cast + BinOp.Wrap.add (| + M.read (| header_len |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| header |), "revm_primitives::bytecode::eof::header::EofHeader", "types_size" |) - |))) + |)) + |) |) in let~ _ := M.use @@ -2383,7 +2386,7 @@ Module bytecode. M.rust_cast (M.read (| M.read (| x |) |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2478,10 +2481,10 @@ Module bytecode. [ ("start", M.read (| start |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| size |))) + BinOp.Wrap.add (| + M.read (| start |), + M.read (| size |) + |)) ] ] |) @@ -2492,10 +2495,10 @@ Module bytecode. let β := start in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| size |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| size |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2580,7 +2583,7 @@ Module bytecode. M.rust_cast (M.read (| M.read (| x |) |)))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2675,10 +2678,10 @@ Module bytecode. [ ("start", M.read (| start |)); ("end_", - BinOp.Wrap.add - Integer.Usize - (M.read (| start |)) - (M.read (| size |))) + BinOp.Wrap.add (| + M.read (| start |), + M.read (| size |) + |)) ] ] |) @@ -2689,10 +2692,10 @@ Module bytecode. let β := start in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.read (| size |)) + BinOp.Wrap.add (| + M.read (| β |), + M.read (| size |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -2729,8 +2732,8 @@ Module bytecode. "revm_primitives::bytecode::eof::body::EofBody", "is_data_filled" |), - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -2754,20 +2757,21 @@ Module bytecode. ] |) ] - |)) - (M.rust_cast + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| header |), "revm_primitives::bytecode::eof::header::EofHeader", "data_size" |) - |))) + |)) + |) |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| body |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decode : M.IsAssociatedFunction Self "decode" decode. diff --git a/CoqOfRust/revm/primitives/bytecode/eof/decode_helpers.v b/CoqOfRust/revm/primitives/bytecode/eof/decode_helpers.v index 8b4aef6d3..2b3e51d87 100644 --- a/CoqOfRust/revm/primitives/bytecode/eof/decode_helpers.v +++ b/CoqOfRust/revm/primitives/bytecode/eof/decode_helpers.v @@ -80,13 +80,13 @@ Module bytecode. M.read (| input |); Value.StructRecord "core::ops::range::RangeFrom" - [ ("start", Value.Integer 1) ] + [ ("start", Value.Integer IntegerKind.Usize 1) ] ] |); M.read (| M.SubPointer.get_array_field (| M.read (| input |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |) ] @@ -94,7 +94,7 @@ Module bytecode. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_consume_u8 : @@ -126,16 +126,17 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| input |) ] - |)) - (Value.Integer 2) + |), + Value.Integer IntegerKind.Usize 2 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -165,7 +166,7 @@ Module bytecode. "split_at", [] |), - [ M.read (| input |); Value.Integer 2 ] + [ M.read (| input |); Value.Integer IntegerKind.Usize 2 ] |) |), [ @@ -194,13 +195,13 @@ Module bytecode. M.read (| M.SubPointer.get_array_field (| M.read (| int_bytes |), - M.alloc (| Value.Integer 0 |) + M.alloc (| Value.Integer IntegerKind.Usize 0 |) |) |); M.read (| M.SubPointer.get_array_field (| M.read (| int_bytes |), - M.alloc (| Value.Integer 1 |) + M.alloc (| Value.Integer IntegerKind.Usize 1 |) |) |) ] @@ -213,7 +214,7 @@ Module bytecode. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_consume_u16 : diff --git a/CoqOfRust/revm/primitives/bytecode/eof/header.v b/CoqOfRust/revm/primitives/bytecode/eof/header.v index 39200948e..630e004c5 100644 --- a/CoqOfRust/revm/primitives/bytecode/eof/header.v +++ b/CoqOfRust/revm/primitives/bytecode/eof/header.v @@ -132,7 +132,7 @@ Module bytecode. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -238,7 +238,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -331,7 +331,7 @@ Module bytecode. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -368,21 +368,22 @@ Module bytecode. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::header::EofHeader", "types_size" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::eof::header::EofHeader", "types_size" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -442,57 +443,60 @@ Module bytecode. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::header::EofHeader", "data_size" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::eof::header::EofHeader", "data_size" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::header::EofHeader", "sum_code_sizes" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::eof::header::EofHeader", "sum_code_sizes" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::header::EofHeader", "sum_container_sizes" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::eof::header::EofHeader", "sum_container_sizes" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -551,7 +555,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -698,7 +702,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -710,19 +714,19 @@ Module bytecode. End Impl_core_hash_Hash_for_revm_primitives_bytecode_eof_header_EofHeader. Definition value_KIND_TERMINAL : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 0 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). Definition value_KIND_TYPES : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). Definition value_KIND_CODE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 2 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). Definition value_KIND_CONTAINER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 3 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 3 |))). Definition value_KIND_DATA : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 4 |))). (* fn consume_header_section_size(input: &[u8]) -> Result<(&[u8], Vec, usize), EofDecodeError> { @@ -871,9 +875,10 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| num_sections |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| num_sections |), + Value.Integer IntegerKind.U16 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -901,10 +906,10 @@ Module bytecode. let~ byte_size := M.alloc (| M.rust_cast - (BinOp.Wrap.mul - Integer.U16 - (M.read (| num_sections |)) - (Value.Integer 2)) + (BinOp.Wrap.mul (| + M.read (| num_sections |), + Value.Integer IntegerKind.U16 2 + |)) |) in let~ _ := M.match_operator (| @@ -915,16 +920,17 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.call_closure (| + BinOp.lt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", [] |), [ M.read (| input |) ] - |)) - (M.read (| byte_size |)) + |), + M.read (| byte_size |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -962,7 +968,7 @@ Module bytecode. [ M.rust_cast (M.read (| num_sections |)) ] |) |) in - let~ sum := M.alloc (| Value.Integer 0 |) in + let~ sum := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ := M.use (M.match_operator (| @@ -981,7 +987,7 @@ Module bytecode. Value.StructRecord "core::ops::range::Range" [ - ("start", Value.Integer 0); + ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.rust_cast (M.read (| num_sections |))) ] ] @@ -1044,10 +1050,12 @@ Module bytecode. M.SubPointer.get_array_field (| M.read (| input |), M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (M.read (| i |)) - (Value.Integer 2) + BinOp.Wrap.mul (| + M.read (| i |), + Value.Integer + IntegerKind.Usize + 2 + |) |) |) |); @@ -1055,13 +1063,17 @@ Module bytecode. M.SubPointer.get_array_field (| M.read (| input |), M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.mul - Integer.Usize - (M.read (| i |)) - (Value.Integer 2)) - (Value.Integer 1) + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.read (| i |), + Value.Integer + IntegerKind.Usize + 2 + |), + Value.Integer + IntegerKind.Usize + 1 + |) |) |) |) @@ -1078,9 +1090,12 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| code_size |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| code_size |), + Value.Integer + IntegerKind.U16 + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1111,10 +1126,10 @@ Module bytecode. let β := sum in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.rust_cast (M.read (| code_size |))) + BinOp.Wrap.add (| + M.read (| β |), + M.rust_cast (M.read (| code_size |)) + |) |) in let~ _ := M.alloc (| @@ -1173,7 +1188,7 @@ Module bytecode. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_consume_header_section_size : @@ -1229,16 +1244,14 @@ Module bytecode. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| Value.Integer 0 |))); + M.alloc (| Value.Integer IntegerKind.Usize 0 |))); fun γ => ltac:(M.monadic (M.alloc (| - BinOp.Wrap.add - Integer.Usize - (Value.Integer 3) - (BinOp.Wrap.mul - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 3, + BinOp.Wrap.mul (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1253,21 +1266,20 @@ Module bytecode. "container_sizes" |) ] - |)) - (Value.Integer 2)) + |), + Value.Integer IntegerKind.Usize 2 + |) + |) |))) ] |) |) in M.alloc (| - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (Value.Integer 13) - (BinOp.Wrap.mul - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 13, + BinOp.Wrap.mul (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1282,12 +1294,15 @@ Module bytecode. "code_sizes" |) ] - |)) - (Value.Integer 2))) - (M.read (| optional_container_sizes |)) + |), + Value.Integer IntegerKind.Usize 2 + |) + |), + M.read (| optional_container_sizes |) + |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size : M.IsAssociatedFunction Self "size" size. @@ -1302,18 +1317,18 @@ Module bytecode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.div - Integer.Usize - (M.rust_cast + BinOp.Wrap.div (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::header::EofHeader", "types_size" |) - |))) - (Value.Integer 4))) - | _, _ => M.impossible + |)), + Value.Integer IntegerKind.Usize 4 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_types_count : @@ -1329,33 +1344,33 @@ Module bytecode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::header::EofHeader", "sum_code_sizes" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::header::EofHeader", "sum_container_sizes" |) - |))) - (M.rust_cast + |) + |), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::header::EofHeader", "data_size" |) - |))))) - | _, _ => M.impossible + |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_body_size : M.IsAssociatedFunction Self "body_size" body_size. @@ -1370,25 +1385,25 @@ Module bytecode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::eof::header::EofHeader", "size", [] |), [ M.read (| self |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::eof::header::EofHeader", "body_size", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eof_size : M.IsAssociatedFunction Self "eof_size" eof_size. @@ -1453,7 +1468,7 @@ Module bytecode. (M.alloc (| M.call_closure (| M.get_associated_function (| Ty.path "u16", "to_be_bytes", [] |), - [ Value.Integer 61184 ] + [ Value.Integer IntegerKind.U16 61184 ] |) |)) ] @@ -1469,7 +1484,7 @@ Module bytecode. "push", [] |), - [ M.read (| buffer |); Value.Integer 1 ] + [ M.read (| buffer |); Value.Integer IntegerKind.U8 1 ] |) |) in let~ _ := @@ -1982,7 +1997,7 @@ Module bytecode. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_encode : M.IsAssociatedFunction Self "encode" encode. @@ -2211,7 +2226,10 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne (M.read (| kind |)) (Value.Integer 61184) + BinOp.ne (| + M.read (| kind |), + Value.Integer IntegerKind.U16 61184 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2350,9 +2368,10 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| version |)) - (Value.Integer 1) + BinOp.ne (| + M.read (| version |), + Value.Integer IntegerKind.U8 1 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2496,13 +2515,14 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| kind_types |)) - (M.read (| + BinOp.ne (| + M.read (| kind_types |), + M.read (| M.get_constant (| "revm_primitives::bytecode::eof::header::KIND_TYPES" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2660,18 +2680,23 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (BinOp.Wrap.rem - Integer.U16 - (M.read (| + BinOp.ne (| + BinOp.Wrap.rem (| + M.read (| M.SubPointer.get_struct_record_field (| header, "revm_primitives::bytecode::eof::header::EofHeader", "types_size" |) - |)) - (Value.Integer 4)) - (Value.Integer 0) + |), + Value.Integer + IntegerKind.U16 + 4 + |), + Value.Integer + IntegerKind.U16 + 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2832,15 +2857,16 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| kind_types - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_primitives::bytecode::eof::header::KIND_CODE" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3030,8 +3056,8 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -3046,9 +3072,11 @@ Module bytecode. [] |), [ sizes ] - |)) - (Value.Integer - 1024) + |), + Value.Integer + IntegerKind.Usize + 1024 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3143,8 +3171,8 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.call_closure (| + BinOp.ne (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -3159,15 +3187,17 @@ Module bytecode. [] |), [ sizes ] - |)) - (M.rust_cast - (BinOp.Wrap.div - Integer.U16 - (M.read (| + |), + M.rust_cast + (BinOp.Wrap.div (| + M.read (| types_size - |)) - (Value.Integer - 4))) + |), + Value.Integer + IntegerKind.U16 + 4 + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3369,6 +3399,7 @@ Module bytecode. γ |), Value.Integer + IntegerKind.U8 3 |) in M.match_operator (| @@ -3569,8 +3600,8 @@ Module bytecode. γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -3587,9 +3618,11 @@ Module bytecode. [ sizes ] - |)) - (Value.Integer - 256) + |), + Value.Integer + IntegerKind.Usize + 256 + |) |)) in let _ := @@ -3827,15 +3860,16 @@ Module bytecode. γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| kind_data - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_primitives::bytecode::eof::header::KIND_DATA" |) - |)) + |) + |) |)) in let _ := @@ -3883,6 +3917,7 @@ Module bytecode. γ |), Value.Integer + IntegerKind.U8 4 |) in M.alloc (| @@ -4251,15 +4286,16 @@ Module bytecode. γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| terminator - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_primitives::bytecode::eof::header::KIND_TERMINAL" |) - |)) + |) + |) |)) in let _ := @@ -4329,7 +4365,7 @@ Module bytecode. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decode : M.IsAssociatedFunction Self "decode" decode. diff --git a/CoqOfRust/revm/primitives/bytecode/eof/types_section.v b/CoqOfRust/revm/primitives/bytecode/eof/types_section.v index bf9dee8c4..121598f9f 100644 --- a/CoqOfRust/revm/primitives/bytecode/eof/types_section.v +++ b/CoqOfRust/revm/primitives/bytecode/eof/types_section.v @@ -61,7 +61,7 @@ Module bytecode. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -95,7 +95,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -152,7 +152,7 @@ Module bytecode. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -229,7 +229,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -265,56 +265,59 @@ Module bytecode. let other := M.alloc (| other |) in LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "inputs" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::eof::types_section::TypesSection", "inputs" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "max_stack_size" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::eof::types_section::TypesSection", "max_stack_size" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -360,7 +363,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -398,25 +401,25 @@ Module bytecode. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.sub - Integer.I32 - (M.rust_cast + BinOp.Wrap.sub (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |))) - (M.rust_cast + |)), + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "inputs" |) - |))))) - | _, _ => M.impossible + |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_io_diff : M.IsAssociatedFunction Self "io_diff" io_diff. @@ -512,7 +515,7 @@ Module bytecode. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_encode : M.IsAssociatedFunction Self "encode" encode. @@ -978,7 +981,7 @@ Module bytecode. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_decode : M.IsAssociatedFunction Self "decode" decode. @@ -1013,36 +1016,39 @@ Module bytecode. (M.alloc (| LogicalOp.or (| LogicalOp.or (| - BinOp.Pure.gt - (M.read (| + BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "inputs" |) - |)) - (Value.Integer 127), + |), + Value.Integer IntegerKind.U8 127 + |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| + (BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "outputs" |) - |)) - (Value.Integer 128))) + |), + Value.Integer IntegerKind.U8 128 + |))) |), ltac:(M.monadic - (BinOp.Pure.gt - (M.read (| + (BinOp.gt (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "max_stack_size" |) - |)) - (Value.Integer 1023))) + |), + Value.Integer IntegerKind.U16 1023 + |))) |) |)) in let _ := @@ -1077,22 +1083,23 @@ Module bytecode. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.rust_cast + BinOp.gt (| + M.rust_cast (M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "inputs" |) - |))) - (M.read (| + |)), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::eof::types_section::TypesSection", "max_stack_size" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1120,7 +1127,7 @@ Module bytecode. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_validate : M.IsAssociatedFunction Self "validate" validate. diff --git a/CoqOfRust/revm/primitives/bytecode/legacy.v b/CoqOfRust/revm/primitives/bytecode/legacy.v index 8c52118d2..b915f1a61 100644 --- a/CoqOfRust/revm/primitives/bytecode/legacy.v +++ b/CoqOfRust/revm/primitives/bytecode/legacy.v @@ -73,7 +73,7 @@ Module bytecode. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -131,7 +131,7 @@ Module bytecode. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -187,21 +187,22 @@ Module bytecode. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::bytecode::legacy::LegacyAnalyzedBytecode", "original_len" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::bytecode::legacy::LegacyAnalyzedBytecode", "original_len" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -226,7 +227,7 @@ Module bytecode. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -277,7 +278,7 @@ Module bytecode. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -360,7 +361,7 @@ Module bytecode. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -399,10 +400,11 @@ Module bytecode. |), [ (* Unsize *) - M.pointer_coercion (M.alloc (| Value.Array [ Value.Integer 0 ] |)) + M.pointer_coercion + (M.alloc (| Value.Array [ Value.Integer IntegerKind.U8 0 ] |)) ] |)); - ("original_len", Value.Integer 0); + ("original_len", Value.Integer IntegerKind.Usize 0); ("jump_table", Value.StructTuple "revm_primitives::bytecode::legacy::jump_map::JumpTable" @@ -509,7 +511,7 @@ Module bytecode. |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -546,7 +548,7 @@ Module bytecode. ("original_len", M.read (| original_len |)); ("jump_table", M.read (| jump_table |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -566,7 +568,7 @@ Module bytecode. "revm_primitives::bytecode::legacy::LegacyAnalyzedBytecode", "bytecode" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bytecode : M.IsAssociatedFunction Self "bytecode" bytecode. @@ -588,7 +590,7 @@ Module bytecode. "original_len" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_original_len : @@ -630,7 +632,7 @@ Module bytecode. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_original_bytes : @@ -696,7 +698,7 @@ Module bytecode. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_original_byte_slice : @@ -717,7 +719,7 @@ Module bytecode. "revm_primitives::bytecode::legacy::LegacyAnalyzedBytecode", "jump_table" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_jump_table : M.IsAssociatedFunction Self "jump_table" jump_table. diff --git a/CoqOfRust/revm/primitives/bytecode/legacy/jump_map.v b/CoqOfRust/revm/primitives/bytecode/legacy/jump_map.v index b4bb4ef41..4b9f10259 100644 --- a/CoqOfRust/revm/primitives/bytecode/legacy/jump_map.v +++ b/CoqOfRust/revm/primitives/bytecode/legacy/jump_map.v @@ -57,7 +57,7 @@ Module bytecode. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,7 +97,7 @@ Module bytecode. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -166,7 +166,7 @@ Module bytecode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -203,7 +203,7 @@ Module bytecode. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -249,7 +249,7 @@ Module bytecode. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -355,7 +355,7 @@ Module bytecode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -413,7 +413,7 @@ Module bytecode. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_as_slice : M.IsAssociatedFunction Self "as_slice" as_slice. @@ -458,7 +458,7 @@ Module bytecode. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_slice : M.IsAssociatedFunction Self "from_slice" from_slice. @@ -475,9 +475,9 @@ Module bytecode. (let self := M.alloc (| self |) in let pc := M.alloc (| pc |) in LogicalOp.and (| - BinOp.Pure.lt - (M.read (| pc |)) - (M.call_closure (| + BinOp.lt (| + M.read (| pc |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "bitvec::vec::BitVec") @@ -510,7 +510,8 @@ Module bytecode. ] |) ] - |)), + |) + |), ltac:(M.monadic (M.read (| M.call_closure (| @@ -552,7 +553,7 @@ Module bytecode. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_valid : M.IsAssociatedFunction Self "is_valid" is_valid. diff --git a/CoqOfRust/revm/primitives/constants.v b/CoqOfRust/revm/primitives/constants.v index b0a7fd104..55651888c 100644 --- a/CoqOfRust/revm/primitives/constants.v +++ b/CoqOfRust/revm/primitives/constants.v @@ -3,13 +3,13 @@ Require Import CoqOfRust.CoqOfRust. Module constants. Definition value_MAX_CODE_SIZE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 24576 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 24576 |))). Definition value_BLOCK_HASH_HISTORY : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 256 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). Definition value_BLOCKHASH_SERVE_WINDOW : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 8192 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 8192 |))). Definition value_BLOCKHASH_STORAGE_ADDRESS : Value.t := M.run @@ -33,10 +33,10 @@ Module constants. M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.mul - Integer.Usize - (Value.Integer 2) - (M.read (| M.get_constant (| "revm_primitives::constants::MAX_CODE_SIZE" |) |)) + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| M.get_constant (| "revm_primitives::constants::MAX_CODE_SIZE" |) |) + |) |))). Definition value_PRECOMPILE3 : Value.t := @@ -52,79 +52,83 @@ Module constants. [ Value.Array [ - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 0; - Value.Integer 3 + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 3 ] ] |) |))). Definition value_GAS_PER_BLOB : Value.t := - M.run ltac:(M.monadic (M.alloc (| BinOp.Wrap.shl (Value.Integer 1) (Value.Integer 17) |))). + M.run + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 17 |) + |))). Definition value_TARGET_BLOB_NUMBER_PER_BLOCK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 3 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). Definition value_MAX_BLOB_NUMBER_PER_BLOCK : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.mul - Integer.U64 - (Value.Integer 2) - (M.read (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 2, + M.read (| M.get_constant (| "revm_primitives::constants::TARGET_BLOB_NUMBER_PER_BLOCK" |) - |)) + |) + |) |))). Definition value_MAX_BLOB_GAS_PER_BLOCK : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.mul - Integer.U64 - (M.read (| + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "revm_primitives::constants::MAX_BLOB_NUMBER_PER_BLOCK" |) - |)) - (M.read (| M.get_constant (| "revm_primitives::constants::GAS_PER_BLOB" |) |)) + |), + M.read (| M.get_constant (| "revm_primitives::constants::GAS_PER_BLOB" |) |) + |) |))). Definition value_TARGET_BLOB_GAS_PER_BLOCK : Value.t := M.run ltac:(M.monadic (M.alloc (| - BinOp.Wrap.mul - Integer.U64 - (M.read (| + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "revm_primitives::constants::TARGET_BLOB_NUMBER_PER_BLOCK" |) - |)) - (M.read (| M.get_constant (| "revm_primitives::constants::GAS_PER_BLOB" |) |)) + |), + M.read (| M.get_constant (| "revm_primitives::constants::GAS_PER_BLOB" |) |) + |) |))). Definition value_MIN_BLOB_GASPRICE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). Definition value_BLOB_GASPRICE_UPDATE_FRACTION : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 3338477 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3338477 |))). Definition value_VERSIONED_HASH_VERSION_KZG : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). End constants. diff --git a/CoqOfRust/revm/primitives/db.v b/CoqOfRust/revm/primitives/db.v index 5bf954fe0..21cb8302a 100644 --- a/CoqOfRust/revm/primitives/db.v +++ b/CoqOfRust/revm/primitives/db.v @@ -24,7 +24,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::Database", T, [], "basic", [] |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -39,7 +39,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::Database", T, [], "code_by_hash", [] |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -55,7 +55,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::Database", T, [], "storage", [] |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -70,7 +70,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::Database", T, [], "block_hash", [] |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::Database", T, [], "basic", [] |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -122,7 +122,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::Database", T, [], "code_by_hash", [] |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -138,7 +138,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::Database", T, [], "storage", [] |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -153,7 +153,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::Database", T, [], "block_hash", [] |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -186,7 +186,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::DatabaseCommit", T, [], "commit", [] |), [ M.read (| M.read (| self |) |); M.read (| changes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -213,7 +213,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::DatabaseCommit", T, [], "commit", [] |), [ M.read (| M.read (| self |) |); M.read (| changes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -242,7 +242,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::DatabaseRef", T, [], "basic_ref", [] |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -263,7 +263,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -279,7 +279,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::DatabaseRef", T, [], "storage_ref", [] |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -300,7 +300,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -336,7 +336,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::DatabaseRef", T, [], "basic_ref", [] |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -357,7 +357,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -373,7 +373,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::DatabaseRef", T, [], "storage_ref", [] |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -394,7 +394,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -431,7 +431,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::DatabaseRef", T, [], "basic_ref", [] |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -452,7 +452,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -468,7 +468,7 @@ Module db. M.get_trait_method (| "revm_primitives::db::DatabaseRef", T, [], "storage_ref", [] |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -489,7 +489,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -538,7 +538,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -571,7 +571,7 @@ Module db. M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -600,7 +600,7 @@ Module db. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -633,7 +633,7 @@ Module db. M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -682,7 +682,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -715,7 +715,7 @@ Module db. M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -744,7 +744,7 @@ Module db. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -777,7 +777,7 @@ Module db. M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -843,7 +843,7 @@ Module db. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -900,7 +900,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -930,7 +930,7 @@ Module db. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -982,7 +982,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1024,7 +1024,7 @@ Module db. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1064,7 +1064,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1103,7 +1103,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1138,7 +1138,7 @@ Module db. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1166,7 +1166,7 @@ Module db. ltac:(M.monadic (let f := M.alloc (| f |) in Value.StructTuple "revm_primitives::db::WrapDatabaseRef" [ M.read (| f |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1211,7 +1211,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1243,7 +1243,7 @@ Module db. M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1271,7 +1271,7 @@ Module db. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1303,7 +1303,7 @@ Module db. M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1349,7 +1349,7 @@ Module db. M.read (| changes |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1390,7 +1390,7 @@ Module db. Value.StructRecord "revm_primitives::db::RefDBWrapper" [ ("db", (* Unsize *) M.pointer_coercion (M.read (| db |))) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : forall (E : Ty.t), M.IsAssociatedFunction (Self E) "new" (new E). @@ -1434,7 +1434,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1468,7 +1468,7 @@ Module db. M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1504,7 +1504,7 @@ Module db. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1538,7 +1538,7 @@ Module db. M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/db/components.v b/CoqOfRust/revm/primitives/db/components.v index f801e288d..6ecf4c18b 100644 --- a/CoqOfRust/revm/primitives/db/components.v +++ b/CoqOfRust/revm/primitives/db/components.v @@ -51,7 +51,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -150,7 +150,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -228,7 +228,7 @@ Module db. "revm_primitives::db::components::DatabaseComponentError::State" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -284,7 +284,7 @@ Module db. "revm_primitives::db::components::DatabaseComponentError::State" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -340,7 +340,7 @@ Module db. "revm_primitives::db::components::DatabaseComponentError::State" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -396,7 +396,7 @@ Module db. "revm_primitives::db::components::DatabaseComponentError::BlockHash" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -481,7 +481,7 @@ Module db. "revm_primitives::db::components::DatabaseComponentError::State" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -537,7 +537,7 @@ Module db. "revm_primitives::db::components::DatabaseComponentError::State" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -593,7 +593,7 @@ Module db. "revm_primitives::db::components::DatabaseComponentError::State" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -649,7 +649,7 @@ Module db. "revm_primitives::db::components::DatabaseComponentError::BlockHash" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -707,7 +707,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/db/components/block_hash.v b/CoqOfRust/revm/primitives/db/components/block_hash.v index a452605de..adc4f61a9 100644 --- a/CoqOfRust/revm/primitives/db/components/block_hash.v +++ b/CoqOfRust/revm/primitives/db/components/block_hash.v @@ -32,7 +32,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -72,7 +72,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -111,7 +111,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -150,7 +150,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -190,7 +190,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -242,7 +242,7 @@ Module db. M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -294,7 +294,7 @@ Module db. M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -348,7 +348,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -411,7 +411,7 @@ Module db. M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/db/components/state.v b/CoqOfRust/revm/primitives/db/components/state.v index d748b172b..9040d71f6 100644 --- a/CoqOfRust/revm/primitives/db/components/state.v +++ b/CoqOfRust/revm/primitives/db/components/state.v @@ -32,7 +32,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -53,7 +53,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -75,7 +75,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -117,7 +117,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -138,7 +138,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -160,7 +160,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -201,7 +201,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -222,7 +222,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -244,7 +244,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -285,7 +285,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -306,7 +306,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -328,7 +328,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -370,7 +370,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -391,7 +391,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -413,7 +413,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -467,7 +467,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -500,7 +500,7 @@ Module db. M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -535,7 +535,7 @@ Module db. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -589,7 +589,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -622,7 +622,7 @@ Module db. M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&, &mut, Box, Rc, Arc)] *) @@ -657,7 +657,7 @@ Module db. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -713,7 +713,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -738,7 +738,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -764,7 +764,7 @@ Module db. |), [ M.read (| M.read (| self |) |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -829,7 +829,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -872,7 +872,7 @@ Module db. M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -917,7 +917,7 @@ Module db. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/env.v b/CoqOfRust/revm/primitives/env.v index 439ec1363..eb240c859 100644 --- a/CoqOfRust/revm/primitives/env.v +++ b/CoqOfRust/revm/primitives/env.v @@ -78,7 +78,7 @@ Module env. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -136,7 +136,7 @@ Module env. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -192,7 +192,7 @@ Module env. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -293,7 +293,7 @@ Module env. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -344,7 +344,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -386,7 +386,7 @@ Module env. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : M.IsAssociatedFunction Self "clear" clear. @@ -418,7 +418,7 @@ Module env. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_boxed : M.IsAssociatedFunction Self "boxed" boxed. @@ -515,7 +515,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_effective_gas_price : @@ -611,11 +611,11 @@ Module env. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_calc_data_fee : @@ -701,11 +701,11 @@ Module env. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_calc_max_data_fee : @@ -869,7 +869,7 @@ Module env. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_validate_block_env : @@ -1131,8 +1131,8 @@ Module env. M.use (M.alloc (| LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::env::CfgEnv", "is_base_fee_check_disabled", @@ -1145,7 +1145,8 @@ Module env. "cfg" |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -1215,8 +1216,8 @@ Module env. M.use (M.alloc (| LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::env::CfgEnv", "is_block_gas_limit_disabled", @@ -1229,7 +1230,8 @@ Module env. "cfg" |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -1392,11 +1394,14 @@ Module env. "saturating_mul", [] |), - [ M.read (| limit |); Value.Integer 2 ] + [ + M.read (| limit |); + Value.Integer IntegerKind.Usize 2 + ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -1416,8 +1421,8 @@ Module env. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -1445,8 +1450,9 @@ Module env. ] |) ] - |)) - (M.read (| max_initcode_size |)) + |), + M.read (| max_initcode_size |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1505,9 +1511,9 @@ Module env. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| tx_chain_id |)) - (M.read (| + BinOp.ne (| + M.read (| tx_chain_id |), + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| self |), @@ -1517,7 +1523,8 @@ Module env. "revm_primitives::env::CfgEnv", "chain_id" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1555,8 +1562,8 @@ Module env. M.use (M.alloc (| LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_trait_method (| "revm_primitives::specification::Spec", SPEC, @@ -1569,10 +1576,11 @@ Module env. "revm_primitives::specification::SpecId::BERLIN" [] ] - |)), + |) + |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -1604,7 +1612,8 @@ Module env. "access_list" |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -1983,8 +1992,8 @@ Module env. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| + BinOp.ne (| + M.read (| M.call_closure (| M.get_trait_method (| "core::ops::index::Index", @@ -1997,15 +2006,18 @@ Module env. |), [ M.read (| blob |); - Value.Integer 0 + Value.Integer + IntegerKind.Usize + 0 ] |) - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_primitives::constants::VERSIONED_HASH_VERSION_KZG" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2046,8 +2058,8 @@ Module env. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2070,13 +2082,14 @@ Module env. "blob_hashes" |) ] - |)) - (M.rust_cast + |), + M.rust_cast (M.read (| M.get_constant (| "revm_primitives::constants::MAX_BLOB_NUMBER_PER_BLOCK" |) - |))) + |)) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2115,8 +2128,8 @@ Module env. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2139,7 +2152,8 @@ Module env. "blob_hashes" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2252,8 +2266,8 @@ Module env. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2275,7 +2289,8 @@ Module env. "eof_initcodes" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2291,8 +2306,8 @@ Module env. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2315,7 +2330,8 @@ Module env. "blob_hashes" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2459,8 +2475,8 @@ Module env. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2483,8 +2499,9 @@ Module env. "eof_initcodes" |) ] - |)) - (Value.Integer 256) + |), + Value.Integer IntegerKind.Usize 256 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2607,8 +2624,8 @@ Module env. 1 |) in let i := M.copy (| γ0_1 |) in - BinOp.Pure.ge - (M.call_closure (| + BinOp.ge (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", @@ -2628,16 +2645,17 @@ Module env. [ M.read (| i |) ] |) ] - |)) - (M.read (| + |), + M.read (| M.get_constant (| "revm_primitives::constants::MAX_INITCODE_SIZE" |) - |)))) + |) + |))) ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible "wrong number of arguments" end)) ] |) @@ -2677,8 +2695,8 @@ Module env. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -2700,7 +2718,8 @@ Module env. "eof_initcodes" |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2730,7 +2749,7 @@ Module env. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_validate_tx : M.IsAssociatedFunction Self "validate_tx" validate_tx. @@ -2810,8 +2829,8 @@ Module env. M.use (M.alloc (| LogicalOp.and (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::env::CfgEnv", "is_eip3607_disabled", @@ -2824,7 +2843,8 @@ Module env. "cfg" |) ] - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -3086,7 +3106,7 @@ Module env. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -3456,7 +3476,7 @@ Module env. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_validate_tx_against_state : @@ -3552,7 +3572,7 @@ Module env. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3618,7 +3638,7 @@ Module env. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3676,7 +3696,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3712,21 +3732,22 @@ Module env. LogicalOp.and (| LogicalOp.and (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::env::CfgEnv", "chain_id" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::env::CfgEnv", "chain_id" |) - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -3796,7 +3817,7 @@ Module env. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3834,7 +3855,7 @@ Module env. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_chain_id : @@ -3851,7 +3872,7 @@ Module env. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_eip3607_disabled : @@ -3868,7 +3889,7 @@ Module env. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_balance_check_disabled : @@ -3885,7 +3906,7 @@ Module env. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_gas_refund_disabled : @@ -3902,7 +3923,7 @@ Module env. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_base_fee_check_disabled : @@ -3919,7 +3940,7 @@ Module env. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_block_gas_limit_disabled : @@ -3936,7 +3957,7 @@ Module env. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_beneficiary_reward_disabled : @@ -3978,7 +3999,7 @@ Module env. (Value.StructRecord "revm_primitives::env::CfgEnv" [ - ("chain_id", Value.Integer 1); + ("chain_id", Value.Integer IntegerKind.U64 1); ("perf_analyse_created_bytecodes", M.call_closure (| M.get_trait_method (| @@ -3994,7 +4015,7 @@ Module env. ("kzg_settings", Value.StructTuple "revm_primitives::kzg::env_settings::EnvKzgSettings::Default" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4181,7 +4202,7 @@ Module env. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4303,7 +4324,7 @@ Module env. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4536,7 +4557,7 @@ Module env. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4594,7 +4615,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4781,7 +4802,7 @@ Module env. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4829,7 +4850,7 @@ Module env. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_blob_excess_gas_and_price : @@ -4906,11 +4927,11 @@ Module env. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_blob_gasprice : @@ -4987,11 +5008,11 @@ Module env. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_blob_excess_gas : @@ -5024,7 +5045,7 @@ Module env. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : M.IsAssociatedFunction Self "clear" clear. @@ -5060,7 +5081,7 @@ Module env. ("timestamp", M.call_closure (| M.get_associated_function (| Ty.path "ruint::Uint", "from", [ Ty.path "i32" ] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.I32 1 ] |)); ("gas_limit", M.read (| M.get_constant (| "ruint::MAX" |) |)); ("basefee", M.read (| M.get_constant (| "ruint::ZERO" |) |)); @@ -5079,11 +5100,11 @@ Module env. "new", [] |), - [ Value.Integer 0 ] + [ Value.Integer IntegerKind.U64 0 ] |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5413,7 +5434,7 @@ Module env. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5583,7 +5604,7 @@ Module env. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5650,21 +5671,22 @@ Module env. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::env::TxEnv", "gas_limit" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::env::TxEnv", "gas_limit" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -5999,7 +6021,7 @@ Module env. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6130,7 +6152,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6185,10 +6207,9 @@ Module env. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.mul - Integer.U64 - (M.read (| M.get_constant (| "revm_primitives::constants::GAS_PER_BLOB" |) |)) - (M.rust_cast + BinOp.Wrap.mul (| + M.read (| M.get_constant (| "revm_primitives::constants::GAS_PER_BLOB" |) |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.apply @@ -6207,8 +6228,9 @@ Module env. "blob_hashes" |) ] - |))))) - | _, _ => M.impossible + |)) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_total_blob_gas : @@ -6241,7 +6263,7 @@ Module env. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : M.IsAssociatedFunction Self "clear" clear. @@ -6361,7 +6383,7 @@ Module env. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6414,7 +6436,7 @@ Module env. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6464,7 +6486,7 @@ Module env. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6497,39 +6519,41 @@ Module env. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::env::BlobExcessGasAndPrice", "excess_blob_gas" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::env::BlobExcessGasAndPrice", "excess_blob_gas" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::env::BlobExcessGasAndPrice", "blob_gasprice" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::env::BlobExcessGasAndPrice", "blob_gasprice" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6573,7 +6597,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6624,7 +6648,7 @@ Module env. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6669,7 +6693,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -6743,7 +6767,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6810,7 +6834,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6865,7 +6889,7 @@ Module env. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -6910,7 +6934,7 @@ Module env. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6947,7 +6971,7 @@ Module env. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7016,7 +7040,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7041,7 +7065,7 @@ Module env. ltac:(M.monadic (let address := M.alloc (| address |) in Value.StructTuple "revm_primitives::env::TransactTo::Call" [ M.read (| address |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call : M.IsAssociatedFunction Self "call" call. @@ -7054,7 +7078,7 @@ Module env. Definition create (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::env::TransactTo::Create" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_create : M.IsAssociatedFunction Self "create" create. @@ -7087,7 +7111,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_call : M.IsAssociatedFunction Self "is_call" is_call. @@ -7116,7 +7140,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_create : M.IsAssociatedFunction Self "is_create" is_create. @@ -7157,7 +7181,7 @@ Module env. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7236,7 +7260,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7273,7 +7297,7 @@ Module env. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7329,7 +7353,7 @@ Module env. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -7374,7 +7398,7 @@ Module env. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7442,7 +7466,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7502,7 +7526,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7521,7 +7545,7 @@ Module env. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::env::AnalysisKind::Analyse" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7570,7 +7594,7 @@ Module env. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7602,7 +7626,7 @@ Module env. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7656,9 +7680,9 @@ Module env. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7697,7 +7721,7 @@ Module env. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/env/handler_cfg.v b/CoqOfRust/revm/primitives/env/handler_cfg.v index f41efc0c6..e6438c757 100644 --- a/CoqOfRust/revm/primitives/env/handler_cfg.v +++ b/CoqOfRust/revm/primitives/env/handler_cfg.v @@ -25,7 +25,7 @@ Module env. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -78,7 +78,7 @@ Module env. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -115,7 +115,7 @@ Module env. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -169,7 +169,7 @@ Module env. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -207,7 +207,7 @@ Module env. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -249,7 +249,7 @@ Module env. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -288,7 +288,7 @@ Module env. Value.StructRecord "revm_primitives::env::handler_cfg::HandlerCfg" [ ("spec_id", M.read (| spec_id |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -310,7 +310,7 @@ Module env. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Bool false)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_optimism : M.IsAssociatedFunction Self "is_optimism" is_optimism. @@ -374,7 +374,7 @@ Module env. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -424,7 +424,7 @@ Module env. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -468,7 +468,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -546,7 +546,7 @@ Module env. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -577,7 +577,7 @@ Module env. Value.StructRecord "revm_primitives::env::handler_cfg::CfgEnvWithHandlerCfg" [ ("cfg_env", M.read (| cfg_env |)); ("handler_cfg", M.read (| handler_cfg |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -611,7 +611,7 @@ Module env. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_spec_id : @@ -636,7 +636,7 @@ Module env. "revm_primitives::env::handler_cfg::CfgEnvWithHandlerCfg", "cfg_env" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -668,7 +668,7 @@ Module env. "revm_primitives::env::handler_cfg::CfgEnvWithHandlerCfg", "cfg_env" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -743,7 +743,7 @@ Module env. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -793,7 +793,7 @@ Module env. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -840,7 +840,7 @@ Module env. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -884,7 +884,7 @@ Module env. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -968,7 +968,7 @@ Module env. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -996,7 +996,7 @@ Module env. Value.StructRecord "revm_primitives::env::handler_cfg::EnvWithHandlerCfg" [ ("env", M.read (| env |)); ("handler_cfg", M.read (| handler_cfg |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1030,7 +1030,7 @@ Module env. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_spec_id : @@ -1078,7 +1078,7 @@ Module env. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_cfg_env : @@ -1105,7 +1105,7 @@ Module env. "spec_id" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_spec_id : M.IsAssociatedFunction Self "spec_id" spec_id. @@ -1131,7 +1131,7 @@ Module env. "env" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1165,7 +1165,7 @@ Module env. "env" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/kzg/env_settings.v b/CoqOfRust/revm/primitives/kzg/env_settings.v index 772a1e55e..7411222e0 100644 --- a/CoqOfRust/revm/primitives/kzg/env_settings.v +++ b/CoqOfRust/revm/primitives/kzg/env_settings.v @@ -88,7 +88,7 @@ Module kzg. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -159,7 +159,7 @@ Module kzg. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -179,7 +179,7 @@ Module kzg. | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::kzg::env_settings::EnvKzgSettings::Default" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -216,7 +216,7 @@ Module kzg. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -306,7 +306,7 @@ Module kzg. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -416,7 +416,7 @@ Module kzg. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -601,7 +601,7 @@ Module kzg. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -636,7 +636,7 @@ Module kzg. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get : M.IsAssociatedFunction Self "get" get. diff --git a/CoqOfRust/revm/primitives/kzg/trusted_setup_points.v b/CoqOfRust/revm/primitives/kzg/trusted_setup_points.v index 8719fcbe7..5091a7be7 100644 --- a/CoqOfRust/revm/primitives/kzg/trusted_setup_points.v +++ b/CoqOfRust/revm/primitives/kzg/trusted_setup_points.v @@ -4,10 +4,10 @@ Require Import CoqOfRust.CoqOfRust. Module kzg. Module trusted_setup_points. Definition value_NUM_G1_POINTS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 4096 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4096 |))). Definition value_NUM_G2_POINTS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 65 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 65 |))). (* StructTuple { @@ -46,7 +46,7 @@ Module kzg. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86,7 +86,7 @@ Module kzg. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -139,7 +139,7 @@ Module kzg. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -164,7 +164,7 @@ Module kzg. "revm_primitives::kzg::trusted_setup_points::G1Points", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -190,7 +190,7 @@ Module kzg. "revm_primitives::kzg::trusted_setup_points::G1Points", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -220,7 +220,7 @@ Module kzg. "revm_primitives::kzg::trusted_setup_points::G1Points", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -246,7 +246,7 @@ Module kzg. "revm_primitives::kzg::trusted_setup_points::G1Points", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,8 +271,8 @@ Module kzg. ltac:(M.monadic (Value.StructTuple "revm_primitives::kzg::trusted_setup_points::G1Points" - [ repeat (repeat (Value.Integer 0) 48) 4096 ])) - | _, _ => M.impossible + [ repeat (repeat (Value.Integer IntegerKind.U8 0) 48) 4096 ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -320,7 +320,7 @@ Module kzg. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -360,7 +360,7 @@ Module kzg. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -397,7 +397,7 @@ Module kzg. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -451,7 +451,7 @@ Module kzg. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -476,7 +476,7 @@ Module kzg. "revm_primitives::kzg::trusted_setup_points::G2Points", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -502,7 +502,7 @@ Module kzg. "revm_primitives::kzg::trusted_setup_points::G2Points", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -532,7 +532,7 @@ Module kzg. "revm_primitives::kzg::trusted_setup_points::G2Points", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -558,7 +558,7 @@ Module kzg. "revm_primitives::kzg::trusted_setup_points::G2Points", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -583,8 +583,8 @@ Module kzg. ltac:(M.monadic (Value.StructTuple "revm_primitives::kzg::trusted_setup_points::G2Points" - [ repeat (repeat (Value.Integer 0) 96) 65 ])) - | _, _ => M.impossible + [ repeat (repeat (Value.Integer IntegerKind.U8 0) 96) 65 ])) + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -607,9 +607,9 @@ Module kzg. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", @@ -622,14 +622,16 @@ Module kzg. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "revm_primitives::kzg::trusted_setup_points::G1Points" ] |), [] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -693,9 +695,9 @@ Module kzg. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (BinOp.Pure.eq - (M.call_closure (| + UnOp.not (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "slice") [ Ty.path "u8" ], "len", @@ -708,14 +710,16 @@ Module kzg. |) |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_function (| "core::mem::size_of", [ Ty.path "revm_primitives::kzg::trusted_setup_points::G2Points" ] |), [] - |))) + |) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1006,7 +1010,7 @@ Module kzg. [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1261,7 +1265,7 @@ Module kzg. [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1348,13 +1352,14 @@ Module kzg. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| n_g1 |)) - (M.read (| + BinOp.ne (| + M.read (| n_g1 |), + M.read (| M.get_constant (| "revm_primitives::kzg::trusted_setup_points::NUM_G1_POINTS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1385,13 +1390,14 @@ Module kzg. (let γ := M.use (M.alloc (| - BinOp.Pure.ne - (M.read (| n_g2 |)) - (M.read (| + BinOp.ne (| + M.read (| n_g2 |), + M.read (| M.get_constant (| "revm_primitives::kzg::trusted_setup_points::NUM_G2_POINTS" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1705,7 +1711,8 @@ Module kzg. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -2086,7 +2093,8 @@ Module kzg. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -2235,7 +2243,7 @@ Module kzg. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_parse_kzg_trusted_setup : @@ -2374,7 +2382,7 @@ Module kzg. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2495,7 +2503,7 @@ Module kzg. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/precompile.v b/CoqOfRust/revm/primitives/precompile.v index 7490254dd..6c529c712 100644 --- a/CoqOfRust/revm/primitives/precompile.v +++ b/CoqOfRust/revm/primitives/precompile.v @@ -307,7 +307,7 @@ Module precompile. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -332,7 +332,7 @@ Module precompile. ltac:(M.monadic (let p := M.alloc (| p |) in Value.StructTuple "revm_primitives::precompile::Precompile::Standard" [ M.read (| p |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -368,7 +368,7 @@ Module precompile. ltac:(M.monadic (let p := M.alloc (| p |) in Value.StructTuple "revm_primitives::precompile::Precompile::Env" [ M.read (| p |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -410,7 +410,7 @@ Module precompile. Value.StructTuple "revm_primitives::precompile::Precompile::Stateful" [ (* Unsize *) M.pointer_coercion (M.read (| p |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -446,7 +446,7 @@ Module precompile. Value.StructTuple "revm_primitives::precompile::Precompile::StatefulMut" [ (* Unsize *) M.pointer_coercion (M.read (| p |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -568,7 +568,7 @@ Module precompile. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -606,7 +606,7 @@ Module precompile. [ M.read (| p |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_stateful : M.IsAssociatedFunction Self "new_stateful" new_stateful. @@ -635,7 +635,7 @@ Module precompile. [ M.read (| p |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_stateful_mut : @@ -769,7 +769,7 @@ Module precompile. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call : M.IsAssociatedFunction Self "call" call. @@ -1046,7 +1046,7 @@ Module precompile. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1315,7 +1315,7 @@ Module precompile. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1370,7 +1370,7 @@ Module precompile. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -1415,7 +1415,7 @@ Module precompile. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1452,7 +1452,7 @@ Module precompile. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1521,7 +1521,7 @@ Module precompile. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1559,7 +1559,7 @@ Module precompile. [ M.read (| err |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_other : M.IsAssociatedFunction Self "other" other. @@ -1759,7 +1759,7 @@ Module precompile. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/result.v b/CoqOfRust/revm/primitives/result.v index 95c7805c3..b33f1ddd7 100644 --- a/CoqOfRust/revm/primitives/result.v +++ b/CoqOfRust/revm/primitives/result.v @@ -76,7 +76,7 @@ Module result. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -140,7 +140,7 @@ Module result. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -231,7 +231,7 @@ Module result. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -275,7 +275,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -482,7 +482,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -705,7 +705,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -760,7 +760,7 @@ Module result. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -858,14 +858,16 @@ Module result. [ M.read (| __self_0 |); M.read (| __arg1_0 |) ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| __self_1 |) |)) - (M.read (| M.read (| __arg1_1 |) |)))) + (BinOp.eq (| + M.read (| M.read (| __self_1 |) |), + M.read (| M.read (| __arg1_1 |) |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| __self_2 |) |)) - (M.read (| M.read (| __arg1_2 |) |)))) + (BinOp.eq (| + M.read (| M.read (| __self_2 |) |), + M.read (| M.read (| __arg1_2 |) |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -944,9 +946,10 @@ Module result. let __arg1_1 := M.alloc (| γ2_1 |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)), + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |), ltac:(M.monadic (M.call_closure (| M.get_trait_method (| @@ -1007,9 +1010,10 @@ Module result. [ M.read (| __self_0 |); M.read (| __arg1_0 |) ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| __self_1 |) |)) - (M.read (| M.read (| __arg1_1 |) |)))) + (BinOp.eq (| + M.read (| M.read (| __self_1 |) |), + M.read (| M.read (| __arg1_1 |) |) + |))) |) |))); fun γ => @@ -1028,7 +1032,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1104,7 +1108,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1343,7 +1347,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1384,7 +1388,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_success : M.IsAssociatedFunction Self "is_success" is_success. @@ -1413,7 +1417,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_halt : M.IsAssociatedFunction Self "is_halt" is_halt. @@ -1478,7 +1482,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_output : M.IsAssociatedFunction Self "output" output. @@ -1541,7 +1545,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_output : M.IsAssociatedFunction Self "into_output" into_output. @@ -1598,7 +1602,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_logs : M.IsAssociatedFunction Self "logs" logs. @@ -1652,7 +1656,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_logs : M.IsAssociatedFunction Self "into_logs" into_logs. @@ -1716,13 +1720,13 @@ Module result. ltac:(M.monadic match γ with | [ gas_used ] => ltac:(M.monadic gas_used) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_gas_used : M.IsAssociatedFunction Self "gas_used" gas_used. @@ -1828,7 +1832,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1926,7 +1930,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1981,7 +1985,7 @@ Module result. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -2100,7 +2104,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2144,7 +2148,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2256,7 +2260,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2316,7 +2320,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_data : M.IsAssociatedFunction Self "into_data" into_data. @@ -2369,7 +2373,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_data : M.IsAssociatedFunction Self "data" data. @@ -2432,7 +2436,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_address : M.IsAssociatedFunction Self "address" address. @@ -2583,7 +2587,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2711,7 +2715,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2771,7 +2775,7 @@ Module result. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -2921,7 +2925,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2988,7 +2992,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3122,7 +3126,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3216,7 +3220,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3454,7 +3458,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3484,7 +3488,7 @@ Module result. Value.StructTuple "revm_primitives::result::EVMError::Transaction" [ M.read (| value |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3513,7 +3517,7 @@ Module result. ltac:(M.monadic (let value := M.alloc (| value |) in Value.StructTuple "revm_primitives::result::EVMError::Header" [ M.read (| value |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4166,7 +4170,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4603,7 +4607,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4658,7 +4662,7 @@ Module result. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -4771,13 +4775,15 @@ Module result. let __arg1_1 := M.alloc (| γ2_1 |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)), + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| __self_1 |) |)) - (M.read (| M.read (| __arg1_1 |) |)))) + (BinOp.eq (| + M.read (| M.read (| __self_1 |) |), + M.read (| M.read (| __arg1_1 |) |) + |))) |) |))); fun γ => @@ -4816,13 +4822,15 @@ Module result. let __arg1_1 := M.alloc (| γ2_1 |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq - (M.read (| M.read (| __self_0 |) |)) - (M.read (| M.read (| __arg1_0 |) |)), + BinOp.eq (| + M.read (| M.read (| __self_0 |) |), + M.read (| M.read (| __arg1_0 |) |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| __self_1 |) |)) - (M.read (| M.read (| __arg1_1 |) |)))) + (BinOp.eq (| + M.read (| M.read (| __self_1 |) |), + M.read (| M.read (| __arg1_1 |) |) + |))) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool true |))) @@ -4832,7 +4840,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4883,7 +4891,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -5060,7 +5068,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6163,7 +6171,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6235,7 +6243,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6267,7 +6275,7 @@ Module result. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6320,9 +6328,9 @@ Module result. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6354,7 +6362,7 @@ Module result. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6394,7 +6402,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6509,7 +6517,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6595,7 +6603,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6616,7 +6624,7 @@ Module result. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6680,9 +6688,9 @@ Module result. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6714,7 +6722,7 @@ Module result. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -6754,7 +6762,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7235,7 +7243,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7261,7 +7269,7 @@ Module result. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7327,7 +7335,7 @@ Module result. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -7372,7 +7380,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7409,7 +7417,7 @@ Module result. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7478,7 +7486,7 @@ Module result. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7592,7 +7600,7 @@ Module result. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7624,7 +7632,7 @@ Module result. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7677,9 +7685,9 @@ Module result. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7711,7 +7719,7 @@ Module result. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -7751,7 +7759,7 @@ Module result. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/specification.v b/CoqOfRust/revm/primitives/specification.v index ca5f17c27..12ad173bd 100644 --- a/CoqOfRust/revm/primitives/specification.v +++ b/CoqOfRust/revm/primitives/specification.v @@ -122,7 +122,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -347,7 +347,7 @@ Module specification. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -366,7 +366,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::SpecId::LATEST" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -419,9 +419,9 @@ Module specification. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -453,7 +453,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -509,7 +509,7 @@ Module specification. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -558,7 +558,7 @@ Module specification. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -597,7 +597,7 @@ Module specification. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -623,7 +623,11 @@ Module specification. [ fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 0 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 0 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -631,7 +635,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 1 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 1 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -643,7 +651,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 2 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 2 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -651,7 +663,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 3 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 3 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -659,7 +675,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 4 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 4 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -667,7 +687,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 5 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 5 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -679,7 +703,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 6 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 6 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -687,7 +715,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 7 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 7 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -699,7 +731,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 8 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 8 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -708,7 +744,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 9 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 9 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -716,7 +756,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 10 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 10 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -728,7 +772,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 11 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 11 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -736,7 +784,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 12 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 12 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -744,7 +796,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 13 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 13 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -756,7 +812,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 14 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 14 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -768,7 +828,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 15 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 15 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -776,7 +840,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 16 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 16 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -784,7 +852,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 17 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 17 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -792,7 +864,11 @@ Module specification. |))); fun γ => ltac:(M.monadic - (let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 18 |) in + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 18 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -801,7 +877,10 @@ Module specification. fun γ => ltac:(M.monadic (let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Integer 255 |) in + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 255 + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -812,7 +891,7 @@ Module specification. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_n : M.IsAssociatedFunction Self "n" n. @@ -834,7 +913,7 @@ Module specification. |), [ M.read (| spec_id |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_try_from_u8 : M.IsAssociatedFunction Self "try_from_u8" try_from_u8. @@ -858,7 +937,7 @@ Module specification. |), [ M.read (| self |); M.read (| other |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_enabled_in : @@ -875,8 +954,8 @@ Module specification. ltac:(M.monadic (let our := M.alloc (| our |) in let other := M.alloc (| other |) in - BinOp.Pure.ge (M.rust_cast (M.read (| our |))) (M.rust_cast (M.read (| other |))))) - | _, _ => M.impossible + BinOp.ge (| M.rust_cast (M.read (| our |)), M.rust_cast (M.read (| other |)) |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_enabled : M.IsAssociatedFunction Self "enabled" enabled. @@ -1047,7 +1126,7 @@ Module specification. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1249,7 +1328,7 @@ Module specification. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1278,7 +1357,7 @@ Module specification. M.read (| spec_id |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_enabled : @@ -1302,7 +1381,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1338,7 +1417,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "FrontierSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1357,7 +1436,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::FrontierSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1390,7 +1469,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1422,7 +1501,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1447,7 +1526,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1469,7 +1548,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1491,7 +1570,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1537,7 +1616,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1573,7 +1652,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "HomesteadSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1592,7 +1671,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::HomesteadSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1625,7 +1704,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1657,7 +1736,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1682,7 +1761,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1704,7 +1783,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1726,7 +1805,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1772,7 +1851,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1808,7 +1887,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "TangerineSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1827,7 +1906,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::TangerineSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1860,7 +1939,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1892,7 +1971,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1917,7 +1996,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1939,7 +2018,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1961,7 +2040,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2007,7 +2086,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2043,7 +2122,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "SpuriousDragonSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2062,7 +2141,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::SpuriousDragonSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2095,7 +2174,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2127,7 +2206,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2152,7 +2231,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2174,7 +2253,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2196,7 +2275,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2244,7 +2323,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2280,7 +2359,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "ByzantiumSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2299,7 +2378,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::ByzantiumSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2332,7 +2411,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2364,7 +2443,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2389,7 +2468,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2411,7 +2490,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2433,7 +2512,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2479,7 +2558,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2515,7 +2594,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "PetersburgSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2534,7 +2613,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::PetersburgSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2567,7 +2646,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2599,7 +2678,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2624,7 +2703,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2646,7 +2725,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2668,7 +2747,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2716,7 +2795,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2752,7 +2831,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "IstanbulSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2771,7 +2850,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::IstanbulSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2804,7 +2883,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2836,7 +2915,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2861,7 +2940,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2883,7 +2962,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2905,7 +2984,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2951,7 +3030,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2987,7 +3066,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "BerlinSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3006,7 +3085,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::BerlinSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3039,7 +3118,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3071,7 +3150,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3096,7 +3175,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3118,7 +3197,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3140,7 +3219,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3186,7 +3265,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3222,7 +3301,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "LondonSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3241,7 +3320,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::LondonSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3274,7 +3353,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3306,7 +3385,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3331,7 +3410,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3353,7 +3432,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3375,7 +3454,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3421,7 +3500,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3457,7 +3536,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "MergeSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3476,7 +3555,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::MergeSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3509,7 +3588,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3541,7 +3620,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3566,7 +3645,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3588,7 +3667,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3610,7 +3689,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3656,7 +3735,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3692,7 +3771,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "ShanghaiSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3711,7 +3790,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::ShanghaiSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3744,7 +3823,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3776,7 +3855,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3801,7 +3880,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3823,7 +3902,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3845,7 +3924,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3891,7 +3970,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3927,7 +4006,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "CancunSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3946,7 +4025,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::CancunSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3979,7 +4058,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4011,7 +4090,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4036,7 +4115,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4058,7 +4137,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4080,7 +4159,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4126,7 +4205,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4162,7 +4241,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "PragueSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4181,7 +4260,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::PragueSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4214,7 +4293,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4246,7 +4325,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4271,7 +4350,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4293,7 +4372,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4315,7 +4394,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4361,7 +4440,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4397,7 +4476,7 @@ Module specification. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "LatestSpec" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4416,7 +4495,7 @@ Module specification. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm_primitives::specification::LatestSpec" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4449,7 +4528,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4481,7 +4560,7 @@ Module specification. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4506,7 +4585,7 @@ Module specification. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4528,7 +4607,7 @@ Module specification. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4550,7 +4629,7 @@ Module specification. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/primitives/state.v b/CoqOfRust/revm/primitives/state.v index ecd98f42f..8726b5a97 100644 --- a/CoqOfRust/revm/primitives/state.v +++ b/CoqOfRust/revm/primitives/state.v @@ -98,7 +98,7 @@ Module state. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -179,7 +179,7 @@ Module state. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -294,7 +294,7 @@ Module state. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -345,7 +345,7 @@ Module state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -408,7 +408,7 @@ Module state. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -449,7 +449,7 @@ Module state. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -475,7 +475,7 @@ Module state. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -539,7 +539,7 @@ Module state. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -576,7 +576,7 @@ Module state. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -619,7 +619,7 @@ Module state. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -661,7 +661,7 @@ Module state. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -699,7 +699,7 @@ Module state. M.read (| state |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -722,7 +722,7 @@ Module state. match τ, α with | [], [] => ltac:(M.monadic (M.read (| M.get_constant (| "revm_primitives::state::Loaded" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -781,7 +781,7 @@ Module state. ("status", M.read (| M.get_constant (| "revm_primitives::state::LoadedAsNotExisting" |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_not_existing : @@ -820,7 +820,7 @@ Module state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mark_selfdestruct : @@ -859,7 +859,7 @@ Module state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unmark_selfdestruct : @@ -890,7 +890,7 @@ Module state. M.read (| M.get_constant (| "revm_primitives::state::SelfDestructed" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_selfdestructed : @@ -929,7 +929,7 @@ Module state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mark_touch : M.IsAssociatedFunction Self "mark_touch" mark_touch. @@ -967,7 +967,7 @@ Module state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unmark_touch : M.IsAssociatedFunction Self "unmark_touch" unmark_touch. @@ -997,7 +997,7 @@ Module state. M.read (| M.get_constant (| "revm_primitives::state::Touched" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_touched : M.IsAssociatedFunction Self "is_touched" is_touched. @@ -1035,7 +1035,7 @@ Module state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mark_created : M.IsAssociatedFunction Self "mark_created" mark_created. @@ -1073,7 +1073,7 @@ Module state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_unmark_created : @@ -1104,7 +1104,7 @@ Module state. M.read (| M.get_constant (| "revm_primitives::state::LoadedAsNotExisting" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_loaded_as_not_existing : @@ -1135,7 +1135,7 @@ Module state. M.read (| M.get_constant (| "revm_primitives::state::Created" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_created : M.IsAssociatedFunction Self "is_created" is_created. @@ -1164,7 +1164,7 @@ Module state. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -1254,11 +1254,11 @@ Module state. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_changed_storage_slots : @@ -1303,7 +1303,7 @@ Module state. |)); ("status", M.read (| M.get_constant (| "revm_primitives::state::Loaded" |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1364,7 +1364,7 @@ Module state. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1422,7 +1422,7 @@ Module state. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1467,7 +1467,7 @@ Module state. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1544,7 +1544,7 @@ Module state. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1581,7 +1581,7 @@ Module state. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1644,7 +1644,7 @@ Module state. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1677,7 +1677,7 @@ Module state. ("previous_or_original_value", M.read (| original |)); ("present_value", M.read (| original |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -1702,7 +1702,7 @@ Module state. ("previous_or_original_value", M.read (| previous_or_original_value |)); ("present_value", M.read (| present_value |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_changed : M.IsAssociatedFunction Self "new_changed" new_changed. @@ -1738,7 +1738,7 @@ Module state. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_changed : M.IsAssociatedFunction Self "is_changed" is_changed. @@ -1760,7 +1760,7 @@ Module state. "previous_or_original_value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_original_value : @@ -1783,7 +1783,7 @@ Module state. "present_value" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_present_value : @@ -1883,7 +1883,7 @@ Module state. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1949,7 +1949,7 @@ Module state. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2007,7 +2007,7 @@ Module state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2057,9 +2057,9 @@ Module state. [] |) ]); - ("nonce", Value.Integer 0) + ("nonce", Value.Integer IntegerKind.U64 0) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2110,21 +2110,22 @@ Module state. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::state::AccountInfo", "nonce" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm_primitives::state::AccountInfo", "nonce" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -2149,7 +2150,7 @@ Module state. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2233,7 +2234,7 @@ Module state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2273,7 +2274,7 @@ Module state. ("code", Value.StructTuple "core::option::Option::Some" [ M.read (| code |) ]); ("code_hash", M.read (| code_hash |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -2303,7 +2304,7 @@ Module state. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_without_code : M.IsAssociatedFunction Self "without_code" without_code. @@ -2375,19 +2376,20 @@ Module state. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::state::AccountInfo", "nonce" |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -2402,16 +2404,17 @@ Module state. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::state::AccountInfo", "is_empty", [] |), [ M.read (| self |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_exists_ : M.IsAssociatedFunction Self "exists_" exists_. @@ -2436,17 +2439,18 @@ Module state. [ M.read (| self |) ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm_primitives::state::AccountInfo", "nonce" |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_has_no_code_and_nonce : @@ -2469,7 +2473,7 @@ Module state. "code_hash" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_code_hash : M.IsAssociatedFunction Self "code_hash" code_hash. @@ -2501,7 +2505,7 @@ Module state. M.get_constant (| "revm_primitives::utilities::KECCAK_EMPTY" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty_code_hash : @@ -2533,7 +2537,7 @@ Module state. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_bytecode : @@ -2564,7 +2568,7 @@ Module state. [] |)) [ ("balance", M.read (| balance |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_from_balance : M.IsAssociatedFunction Self "from_balance" from_balance. diff --git a/CoqOfRust/revm/primitives/utilities.v b/CoqOfRust/revm/primitives/utilities.v index 3f46183b8..c132f3002 100644 --- a/CoqOfRust/revm/primitives/utilities.v +++ b/CoqOfRust/revm/primitives/utilities.v @@ -30,16 +30,16 @@ Module utilities. M.call_closure (| M.get_associated_function (| Ty.path "u64", "saturating_sub", [] |), [ - BinOp.Wrap.add - Integer.U64 - (M.read (| parent_excess_blob_gas |)) - (M.read (| parent_blob_gas_used |)); + BinOp.Wrap.add (| + M.read (| parent_excess_blob_gas |), + M.read (| parent_blob_gas_used |) + |); M.read (| M.get_constant (| "revm_primitives::constants::TARGET_BLOB_GAS_PER_BLOCK" |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calc_excess_blob_gas : @@ -69,7 +69,7 @@ Module utilities. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_calc_blob_gasprice : @@ -105,7 +105,9 @@ Module utilities. M.read (| let~ _ := M.match_operator (| - M.alloc (| Value.Tuple [ denominator; M.alloc (| Value.Integer 0 |) ] |), + M.alloc (| + Value.Tuple [ denominator; M.alloc (| Value.Integer IntegerKind.U64 0 |) ] + |), [ fun γ => ltac:(M.monadic @@ -121,9 +123,10 @@ Module utilities. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| M.read (| left_val |) |)) - (M.read (| M.read (| right_val |) |)) + BinOp.eq (| + M.read (| M.read (| left_val |) |), + M.read (| M.read (| right_val |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -181,12 +184,10 @@ Module utilities. let~ factor := M.alloc (| M.rust_cast (M.read (| factor |)) |) in let~ numerator := M.alloc (| M.rust_cast (M.read (| numerator |)) |) in let~ denominator := M.alloc (| M.rust_cast (M.read (| denominator |)) |) in - let~ i := M.alloc (| Value.Integer 1 |) in - let~ output := M.alloc (| Value.Integer 0 |) in + let~ i := M.alloc (| Value.Integer IntegerKind.U128 1 |) in + let~ output := M.alloc (| Value.Integer IntegerKind.U128 0 |) in let~ numerator_accum := - M.alloc (| - BinOp.Wrap.mul Integer.U128 (M.read (| factor |)) (M.read (| denominator |)) - |) in + M.alloc (| BinOp.Wrap.mul (| M.read (| factor |), M.read (| denominator |) |) |) in let~ _ := M.loop (| ltac:(M.monadic @@ -198,7 +199,10 @@ Module utilities. (let γ := M.use (M.alloc (| - BinOp.Pure.gt (M.read (| numerator_accum |)) (Value.Integer 0) + BinOp.gt (| + M.read (| numerator_accum |), + Value.Integer IntegerKind.U128 0 + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -206,30 +210,24 @@ Module utilities. let β := output in M.write (| β, - BinOp.Wrap.add - Integer.U128 - (M.read (| β |)) - (M.read (| numerator_accum |)) + BinOp.Wrap.add (| M.read (| β |), M.read (| numerator_accum |) |) |) in let~ _ := M.write (| numerator_accum, - BinOp.Wrap.div - Integer.U128 - (BinOp.Wrap.mul - Integer.U128 - (M.read (| numerator_accum |)) - (M.read (| numerator |))) - (BinOp.Wrap.mul - Integer.U128 - (M.read (| denominator |)) - (M.read (| i |))) + BinOp.Wrap.div (| + BinOp.Wrap.mul (| + M.read (| numerator_accum |), + M.read (| numerator |) + |), + BinOp.Wrap.mul (| M.read (| denominator |), M.read (| i |) |) + |) |) in let~ _ := let β := i in M.write (| β, - BinOp.Wrap.add Integer.U128 (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U128 1 |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -246,9 +244,9 @@ Module utilities. ] |))) |) in - M.alloc (| BinOp.Wrap.div Integer.U128 (M.read (| output |)) (M.read (| denominator |)) |) + M.alloc (| BinOp.Wrap.div (| M.read (| output |), M.read (| denominator |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_fake_exponential : diff --git a/CoqOfRust/revm/revm/builder.v b/CoqOfRust/revm/revm/builder.v index c80cd4a5f..6ad76eb17 100644 --- a/CoqOfRust/revm/revm/builder.v +++ b/CoqOfRust/revm/revm/builder.v @@ -123,7 +123,7 @@ Module builder. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -261,7 +261,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_empty_db : @@ -359,7 +359,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_db : @@ -471,7 +471,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_ref_db : @@ -552,7 +552,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_external_context : @@ -657,7 +657,7 @@ Module builder. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_env_with_handler_cfg : @@ -724,7 +724,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_context_with_handler_cfg : @@ -837,7 +837,7 @@ Module builder. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_cfg_env_with_handler_cfg : @@ -890,7 +890,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_handler_cfg : @@ -932,7 +932,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -1060,7 +1060,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reset_handler_with_empty_db : @@ -1164,7 +1164,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reset_handler_with_db : @@ -1276,7 +1276,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reset_handler_with_ref_db : @@ -1364,7 +1364,7 @@ Module builder. |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reset_handler_with_external_context : @@ -1400,7 +1400,7 @@ Module builder. |), [ M.read (| handler_cfg |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_handler : @@ -1440,7 +1440,7 @@ Module builder. ("handler", M.read (| handler |)); ("phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_handler : @@ -1484,7 +1484,7 @@ Module builder. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_build : @@ -1564,7 +1564,7 @@ Module builder. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append_handler_register : @@ -1647,7 +1647,7 @@ Module builder. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append_handler_register_box : @@ -1720,7 +1720,7 @@ Module builder. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_spec_id : @@ -1788,7 +1788,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify_db : @@ -1842,7 +1842,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify_external_context : @@ -1924,7 +1924,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify_env : @@ -1978,7 +1978,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_env : @@ -2054,7 +2054,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify_tx_env : @@ -2114,7 +2114,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_tx_env : @@ -2197,7 +2197,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify_block_env : @@ -2257,7 +2257,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_block_env : @@ -2336,7 +2336,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify_cfg_env : @@ -2395,7 +2395,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_clear_env : @@ -2466,7 +2466,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_clear_tx_env : @@ -2537,7 +2537,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_clear_block_env : @@ -2595,7 +2595,7 @@ Module builder. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reset_handler : diff --git a/CoqOfRust/revm/revm/context.v b/CoqOfRust/revm/revm/context.v index 8170bf542..0f156ef02 100644 --- a/CoqOfRust/revm/revm/context.v +++ b/CoqOfRust/revm/revm/context.v @@ -63,7 +63,7 @@ Module context. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -110,7 +110,7 @@ Module context. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -175,7 +175,7 @@ Module context. |)); ("external", Value.Tuple []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_empty : M.IsAssociatedFunction Self "new_empty" new_empty. @@ -227,7 +227,7 @@ Module context. |)); ("external", Value.Tuple []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_db : @@ -254,7 +254,7 @@ Module context. Value.StructRecord "revm::context::Context" [ ("evm", M.read (| evm |)); ("external", M.read (| external |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -292,7 +292,7 @@ Module context. Value.StructRecord "revm::context::ContextWithHandlerCfg" [ ("cfg", M.read (| cfg |)); ("context", M.read (| context |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -347,7 +347,7 @@ Module context. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/context/context_precompiles.v b/CoqOfRust/revm/revm/context/context_precompiles.v index a2fd2327c..6f9c3c11c 100644 --- a/CoqOfRust/revm/revm/context/context_precompiles.v +++ b/CoqOfRust/revm/revm/context/context_precompiles.v @@ -180,7 +180,7 @@ Module context. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -249,7 +249,7 @@ Module context. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -298,7 +298,7 @@ Module context. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_addresses : @@ -433,7 +433,7 @@ Module context. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend : @@ -710,7 +710,7 @@ Module context. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call : @@ -757,7 +757,7 @@ Module context. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -799,7 +799,7 @@ Module context. "revm::context::context_precompiles::ContextPrecompiles", "inner" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -832,7 +832,7 @@ Module context. "revm::context::context_precompiles::ContextPrecompiles", "inner" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -893,7 +893,7 @@ Module context. Value.StructTuple "revm::context::context_precompiles::ContextPrecompile::Ordinary" [ M.read (| p |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1075,14 +1075,14 @@ Module context. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1284,14 +1284,14 @@ Module context. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/context/evm_context.v b/CoqOfRust/revm/revm/context/evm_context.v index f16c44135..cdbfc7f15 100644 --- a/CoqOfRust/revm/revm/context/evm_context.v +++ b/CoqOfRust/revm/revm/context/evm_context.v @@ -68,7 +68,7 @@ Module context. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -152,7 +152,7 @@ Module context. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -188,7 +188,7 @@ Module context. "revm::context::evm_context::EvmContext", "inner" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -221,7 +221,7 @@ Module context. "revm::context::evm_context::EvmContext", "inner" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -277,7 +277,7 @@ Module context. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -325,7 +325,7 @@ Module context. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_env : @@ -382,7 +382,7 @@ Module context. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_db : @@ -476,7 +476,7 @@ Module context. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_precompiles : @@ -820,7 +820,7 @@ Module context. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call_precompile : @@ -998,7 +998,7 @@ Module context. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -1010,8 +1010,8 @@ Module context. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm::journaled_state::JournaledState", "depth", @@ -1035,10 +1035,9 @@ Module context. "journaled_state" |) ] - |)) - (M.read (| - M.get_constant (| "revm::evm::CALL_STACK_LIMIT" |) - |)) + |), + M.read (| M.get_constant (| "revm::evm::CALL_STACK_LIMIT" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1824,8 +1823,8 @@ Module context. ltac:(M.monadic (M.alloc (| Value.Bool true |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |))); fun γ => @@ -1947,15 +1946,16 @@ Module context. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::Bytecode", "is_empty", [] |), [ bytecode ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2137,7 +2137,7 @@ Module context. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_call_frame : diff --git a/CoqOfRust/revm/revm/context/inner_evm_context.v b/CoqOfRust/revm/revm/context/inner_evm_context.v index 6d684b136..cac7b5b9b 100644 --- a/CoqOfRust/revm/revm/context/inner_evm_context.v +++ b/CoqOfRust/revm/revm/context/inner_evm_context.v @@ -82,7 +82,7 @@ Module context. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -189,7 +189,7 @@ Module context. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -266,7 +266,7 @@ Module context. ("db", M.read (| db |)); ("error", Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -323,7 +323,7 @@ Module context. ("db", M.read (| db |)); ("error", Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_env : @@ -371,7 +371,7 @@ Module context. ("db", M.read (| db |)); ("error", Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_db : @@ -400,7 +400,7 @@ Module context. "spec" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_spec_id : @@ -705,7 +705,7 @@ Module context. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_access_list : @@ -730,7 +730,7 @@ Module context. "env" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : @@ -769,7 +769,7 @@ Module context. Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_error : @@ -822,7 +822,7 @@ Module context. M.constructor_as_closure "revm_primitives::result::EVMError::Database" ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_block_hash : @@ -862,7 +862,7 @@ Module context. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_touch : @@ -904,7 +904,7 @@ Module context. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_account : @@ -947,7 +947,7 @@ Module context. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_account_exist : @@ -1052,11 +1052,11 @@ Module context. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_balance : @@ -1183,11 +1183,11 @@ Module context. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_code : @@ -1400,7 +1400,7 @@ Module context. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_code_hash : @@ -1446,7 +1446,7 @@ Module context. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sload : @@ -1495,7 +1495,7 @@ Module context. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sstore : @@ -1531,7 +1531,7 @@ Module context. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_tload : @@ -1569,7 +1569,7 @@ Module context. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_tstore : @@ -1615,7 +1615,7 @@ Module context. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_selfdestruct : @@ -1794,7 +1794,7 @@ Module context. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -1806,8 +1806,8 @@ Module context. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm::journaled_state::JournaledState", "depth", @@ -1820,10 +1820,9 @@ Module context. "journaled_state" |) ] - |)) - (M.read (| - M.get_constant (| "revm::evm::CALL_STACK_LIMIT" |) - |)) + |), + M.read (| M.get_constant (| "revm::evm::CALL_STACK_LIMIT" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2518,7 +2517,7 @@ Module context. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_eofcreate_frame : @@ -2717,7 +2716,7 @@ Module context. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eofcreate_return : @@ -2885,7 +2884,7 @@ Module context. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -2897,8 +2896,8 @@ Module context. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.call_closure (| + BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "revm::journaled_state::JournaledState", "depth", @@ -2911,10 +2910,9 @@ Module context. "journaled_state" |) ] - |)) - (M.read (| - M.get_constant (| "revm::evm::CALL_STACK_LIMIT" |) - |)) + |), + M.read (| M.get_constant (| "revm::evm::CALL_STACK_LIMIT" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3195,10 +3193,10 @@ Module context. let~ _ := M.write (| old_nonce, - BinOp.Wrap.sub - Integer.U64 - (M.read (| nonce |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| nonce |), + Value.Integer IntegerKind.U64 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -3661,7 +3659,7 @@ Module context. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_make_create_frame : @@ -3756,7 +3754,7 @@ Module context. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -3805,7 +3803,7 @@ Module context. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call_return : @@ -3903,8 +3901,8 @@ Module context. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.match_operator (| M.SubPointer.get_struct_record_field (| M.read (| interpreter_result |), @@ -3965,13 +3963,15 @@ Module context. | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4029,8 +4029,8 @@ Module context. ] |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "is_empty", @@ -4054,7 +4054,8 @@ Module context. ] |) ] - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -4113,7 +4114,7 @@ Module context. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ M.alloc (| Value.Integer 239 |) ] + [ M.alloc (| Value.Integer IntegerKind.U8 239 |) ] |) ] |))) @@ -4185,8 +4186,8 @@ Module context. ] |), ltac:(M.monadic - (BinOp.Pure.gt - (M.call_closure (| + (BinOp.gt (| + M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", "len", @@ -4210,8 +4211,8 @@ Module context. ] |) ] - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "core::option::Option") @@ -4243,7 +4244,8 @@ Module context. |) |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -4289,9 +4291,8 @@ Module context. |) in let~ gas_for_code := M.alloc (| - BinOp.Wrap.mul - Integer.U64 - (M.rust_cast + BinOp.Wrap.mul (| + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "bytes::bytes::Bytes", @@ -4316,10 +4317,11 @@ Module context. ] |) ] - |))) - (M.read (| + |)), + M.read (| M.get_constant (| "revm_interpreter::gas::constants::CODEDEPOSIT" |) - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -4330,8 +4332,8 @@ Module context. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "record_cost", @@ -4345,7 +4347,8 @@ Module context. |); M.read (| gas_for_code |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4585,7 +4588,7 @@ Module context. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_create_return : diff --git a/CoqOfRust/revm/revm/db/emptydb.v b/CoqOfRust/revm/revm/db/emptydb.v index 1b016361f..c4af95cb4 100644 --- a/CoqOfRust/revm/revm/db/emptydb.v +++ b/CoqOfRust/revm/revm/db/emptydb.v @@ -32,7 +32,7 @@ Module db. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -79,7 +79,7 @@ Module db. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -126,7 +126,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -155,7 +155,7 @@ Module db. (let self := M.alloc (| self |) in let β1 := M.alloc (| β1 |) in M.match_operator (| β1, [ fun γ => ltac:(M.monadic (Value.Bool true)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -199,7 +199,7 @@ Module db. (Value.StructRecord "revm::db::emptydb::EmptyDBTyped" [ ("_phantom", Value.StructTuple "core::marker::PhantomData" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -224,7 +224,7 @@ Module db. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_keccak_block_hash : @@ -261,7 +261,7 @@ Module db. |), [ M.read (| self |); M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -286,7 +286,7 @@ Module db. |), [ M.read (| self |); M.read (| code_hash |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -312,7 +312,7 @@ Module db. |), [ M.read (| self |); M.read (| address |); M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -337,7 +337,7 @@ Module db. |), [ M.read (| self |); M.read (| number |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -378,7 +378,7 @@ Module db. Value.StructTuple "core::result::Result::Ok" [ Value.StructTuple "core::option::Option::None" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -407,7 +407,7 @@ Module db. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -437,7 +437,7 @@ Module db. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -485,7 +485,7 @@ Module db. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/db/in_memory_db.v b/CoqOfRust/revm/revm/db/in_memory_db.v index 0384fe13e..e39b9b7cb 100644 --- a/CoqOfRust/revm/revm/db/in_memory_db.v +++ b/CoqOfRust/revm/revm/db/in_memory_db.v @@ -121,7 +121,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -252,7 +252,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -291,7 +291,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -462,7 +462,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -524,15 +524,16 @@ Module db. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::bytecode::Bytecode", "is_empty", [] |), [ M.read (| code |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -666,7 +667,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -721,7 +722,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_contract : @@ -799,7 +800,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_account_info : @@ -1071,7 +1072,7 @@ Module db. [ ("info", M.read (| info |)) ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -1090,7 +1091,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_account : @@ -1227,7 +1228,7 @@ Module db. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_account_storage : @@ -1392,7 +1393,7 @@ Module db. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_replace_account_storage : @@ -1527,8 +1528,8 @@ Module db. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::state::Account", @@ -1536,7 +1537,8 @@ Module db. [] |), [ account ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2022,7 +2024,8 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |) @@ -2037,7 +2040,7 @@ Module db. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2318,7 +2321,7 @@ Module db. [ ("info", M.read (| info |)) ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -2351,7 +2354,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2576,7 +2579,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2784,7 +2787,8 @@ Module db. ltac:(M.monadic (M.alloc (| Value.Bool true |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) |))); fun γ => @@ -3230,7 +3234,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3434,7 +3438,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3549,7 +3553,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3643,7 +3647,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3795,7 +3799,7 @@ Module db. ltac:(M.monadic (M.alloc (| Value.Bool true |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -3864,7 +3868,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3947,7 +3951,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4032,7 +4036,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4113,7 +4117,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4175,7 +4179,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4216,7 +4220,7 @@ Module db. ("account_state", Value.StructTuple "revm::db::in_memory_db::AccountState::NotExisting" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_not_existing : @@ -4291,7 +4295,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_info : M.IsAssociatedFunction Self "info" info. @@ -4350,7 +4354,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4399,7 +4403,7 @@ Module db. ("info", M.read (| info |)); ("account_state", Value.StructTuple "revm::db::in_memory_db::AccountState::None" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4499,7 +4503,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4567,7 +4571,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4586,7 +4590,7 @@ Module db. match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm::db::in_memory_db::AccountState::None" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4639,9 +4643,9 @@ Module db. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4673,7 +4677,7 @@ Module db. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4713,7 +4717,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4754,7 +4758,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_storage_cleared : @@ -4809,7 +4813,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4852,7 +4856,7 @@ Module db. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4908,7 +4912,7 @@ Module db. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -4951,7 +4955,7 @@ Module db. [ M.read (| bytecode |); M.read (| hash |) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_bytecode : @@ -5032,7 +5036,7 @@ Module db. Value.StructRecord "revm_primitives::state::AccountInfo" [ - ("nonce", Value.Integer 1); + ("nonce", Value.Integer IntegerKind.U64 1); ("balance", M.call_closure (| M.get_associated_function (| @@ -5040,7 +5044,7 @@ Module db. "from", [ Ty.path "i32" ] |), - [ Value.Integer 10000000 ] + [ Value.Integer IntegerKind.I32 10000000 ] |)); ("code", Value.StructTuple @@ -5108,7 +5112,7 @@ Module db. "with_last_byte", [] |), - [ Value.Integer 1 ] + [ Value.Integer IntegerKind.U8 1 ] |) |) ] @@ -5129,7 +5133,7 @@ Module db. Value.StructRecord "revm_primitives::state::AccountInfo" [ - ("nonce", Value.Integer 0); + ("nonce", Value.Integer IntegerKind.U64 0); ("balance", M.call_closure (| M.get_associated_function (| @@ -5137,7 +5141,7 @@ Module db. "from", [ Ty.path "i32" ] |), - [ Value.Integer 10000000 ] + [ Value.Integer IntegerKind.I32 10000000 ] |)); ("code", Value.StructTuple @@ -5166,7 +5170,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5194,7 +5198,7 @@ Module db. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5223,7 +5227,7 @@ Module db. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5251,7 +5255,7 @@ Module db. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/db/states/account_status.v b/CoqOfRust/revm/revm/db/states/account_status.v index 7a1e723d5..c139e7b30 100644 --- a/CoqOfRust/revm/revm/db/states/account_status.v +++ b/CoqOfRust/revm/revm/db/states/account_status.v @@ -64,7 +64,7 @@ Module db. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,7 +97,7 @@ Module db. (Value.StructTuple "revm::db::states::account_status::AccountStatus::LoadedNotExisting" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -203,7 +203,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -256,9 +256,9 @@ Module db. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -290,7 +290,7 @@ Module db. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -336,7 +336,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -407,14 +407,14 @@ Module db. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_not_modified : @@ -477,14 +477,14 @@ Module db. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_was_destroyed : @@ -567,14 +567,14 @@ Module db. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_storage_known : @@ -623,14 +623,14 @@ Module db. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_modified_and_not_destroyed : @@ -711,7 +711,7 @@ Module db. "revm::db::states::account_status::AccountStatus::DestroyedChanged" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -776,13 +776,13 @@ Module db. "revm::db::states::account_status::AccountStatus::InMemoryChange" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_on_created : M.IsAssociatedFunction Self "on_created" on_created. @@ -873,7 +873,7 @@ Module db. "revm::db::states::account_status::AccountStatus::Destroyed" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -911,7 +911,7 @@ Module db. "revm::db::states::account_status::AccountStatus::DestroyedAgain" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -995,13 +995,13 @@ Module db. |) |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_on_touched_empty_post_eip161 : @@ -1121,7 +1121,7 @@ Module db. [] ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -1163,7 +1163,7 @@ Module db. [] ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -1247,13 +1247,13 @@ Module db. |) |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_on_touched_created_pre_eip161 : @@ -1437,13 +1437,13 @@ Module db. "revm::db::states::account_status::AccountStatus::DestroyedChanged" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_on_changed : M.IsAssociatedFunction Self "on_changed" on_changed. @@ -1531,7 +1531,7 @@ Module db. "revm::db::states::account_status::AccountStatus::DestroyedAgain" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -1544,7 +1544,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_on_selfdestructed : @@ -1663,7 +1663,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transition : M.IsAssociatedFunction Self "transition" transition. diff --git a/CoqOfRust/revm/revm/db/states/bundle_account.v b/CoqOfRust/revm/revm/db/states/bundle_account.v index c2e958f02..0795d3213 100644 --- a/CoqOfRust/revm/revm/db/states/bundle_account.v +++ b/CoqOfRust/revm/revm/db/states/bundle_account.v @@ -121,7 +121,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -187,7 +187,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -338,7 +338,7 @@ Module db. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -397,7 +397,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -443,7 +443,7 @@ Module db. ("storage", M.read (| storage |)); ("status", M.read (| status |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -458,10 +458,9 @@ Module db. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.call_closure (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "std::collections::hash::map::HashMap") @@ -480,8 +479,9 @@ Module db. "storage" |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size_hint : M.IsAssociatedFunction Self "size_hint" size_hint. @@ -571,7 +571,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -641,7 +641,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_storage_slot : @@ -675,7 +675,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_account_info : @@ -705,7 +705,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_was_destroyed : @@ -748,7 +748,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_info_changed : @@ -839,7 +839,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -904,14 +904,14 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_contract_changed : @@ -1181,7 +1181,7 @@ Module db. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible "wrong number of arguments" end)) ] |) @@ -1406,7 +1406,7 @@ Module db. M.alloc (| Value.Bool false |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revert : M.IsAssociatedFunction Self "revert" revert. @@ -1862,7 +1862,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ previous_storage_from_update := @@ -2112,7 +2112,8 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |); @@ -2156,7 +2157,7 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2164,7 +2165,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ info_revert := @@ -2430,7 +2431,7 @@ Module db. |) |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2716,7 +2717,7 @@ Module db. |) |) in info_revert)) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2894,7 +2895,7 @@ Module db. (M.alloc (| Value.StructTuple "core::option::Option::None" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -3029,7 +3030,7 @@ Module db. |) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -3385,7 +3386,8 @@ Module db. ] ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -3599,8 +3601,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -4188,7 +4190,8 @@ Module db. "core::option::Option::None" [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -4508,13 +4511,13 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_update_and_create_revert : diff --git a/CoqOfRust/revm/revm/db/states/bundle_state.v b/CoqOfRust/revm/revm/db/states/bundle_state.v index 8fe17731b..c428fd63c 100644 --- a/CoqOfRust/revm/revm/db/states/bundle_state.v +++ b/CoqOfRust/revm/revm/db/states/bundle_state.v @@ -213,7 +213,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -254,7 +254,7 @@ Module db. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -317,7 +317,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -370,9 +370,9 @@ Module db. [ M.read (| other |) ] |) |) in - M.alloc (| BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)) |) + M.alloc (| BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -404,7 +404,7 @@ Module db. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -460,7 +460,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -509,7 +509,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -554,7 +554,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -595,7 +595,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_not_known : @@ -714,7 +714,7 @@ Module db. "new", [] |), - [ Value.Integer 0; Value.Integer 0 ] + [ Value.Integer IntegerKind.U64 0; Value.Integer IntegerKind.U64 0 ] |)); ("revert_account", M.call_closure (| @@ -775,7 +775,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -814,7 +814,7 @@ Module db. [] |)) [ ("revert_range", M.read (| revert_range |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -857,7 +857,7 @@ Module db. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_state_address : @@ -928,7 +928,7 @@ Module db. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_state_original_account_info : @@ -999,7 +999,7 @@ Module db. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_state_present_account_info : @@ -1076,7 +1076,7 @@ Module db. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_state_storage : @@ -1122,7 +1122,7 @@ Module db. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revert_address : @@ -1207,7 +1207,7 @@ Module db. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revert_account_info : @@ -1291,7 +1291,7 @@ Module db. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revert_storage : @@ -1338,7 +1338,7 @@ Module db. |) in self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_contract : M.IsAssociatedFunction Self "contract" contract. @@ -1427,7 +1427,7 @@ Module db. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ state_size := M.alloc (| Value.Integer 0 |) in + let~ state_size := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ state := M.alloc (| M.call_closure (| @@ -1885,8 +1885,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -1895,8 +1895,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -1980,10 +1980,9 @@ Module db. let β := state_size in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -1991,7 +1990,8 @@ Module db. [] |), [ bundle_account ] - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -2003,14 +2003,14 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |) |) in - let~ reverts_size := M.alloc (| Value.Integer 0 |) in + let~ reverts_size := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ reverts_map := M.alloc (| M.call_closure (| @@ -2691,8 +2691,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -2701,7 +2701,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -2766,10 +2767,9 @@ Module db. let β := reverts_size in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::reverts::AccountRevert", @@ -2777,7 +2777,8 @@ Module db. [] |), [ account_revert ] - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -2895,7 +2896,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2993,7 +2994,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_build : M.IsAssociatedFunction Self "build" build. @@ -3013,7 +3014,7 @@ Module db. "revm::db::states::bundle_state::BundleBuilder", "states" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_get_states : M.IsAssociatedFunction Self "get_states" get_states. @@ -3080,7 +3081,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3121,7 +3122,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_includes_reverts : @@ -3235,7 +3236,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3356,7 +3357,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3430,7 +3431,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3562,40 +3563,42 @@ Module db. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::bundle_state::BundleState", "state_size" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::bundle_state::BundleState", "state_size" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::bundle_state::BundleState", "reverts_size" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::bundle_state::BundleState", "reverts_size" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3654,7 +3657,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3687,7 +3690,7 @@ Module db. |), [ M.read (| revert_range |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_builder : M.IsAssociatedFunction Self "builder" builder. @@ -3785,7 +3788,7 @@ Module db. let reverts := M.alloc (| reverts |) in let contracts := M.alloc (| contracts |) in M.read (| - let~ state_size := M.alloc (| Value.Integer 0 |) in + let~ state_size := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ state := M.alloc (| M.call_closure (| @@ -4122,8 +4125,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -4139,10 +4142,9 @@ Module db. let β := state_size in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -4150,7 +4152,8 @@ Module db. [] |), [ account ] - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -4159,14 +4162,14 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |) |) in - let~ reverts_size := M.alloc (| Value.Integer 0 |) in + let~ reverts_size := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ reverts := M.alloc (| M.call_closure (| @@ -4650,8 +4653,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -4670,10 +4673,9 @@ Module db. let β := reverts_size in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::reverts::AccountRevert", @@ -4681,7 +4683,8 @@ Module db. [] |), [ revert ] - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -4696,7 +4699,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -4704,7 +4708,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -4760,7 +4764,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -4775,25 +4779,24 @@ Module db. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (BinOp.Wrap.add - Integer.Usize - (M.read (| + BinOp.Wrap.add (| + BinOp.Wrap.add (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::bundle_state::BundleState", "state_size" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::bundle_state::BundleState", "reverts_size" |) - |))) - (M.call_closure (| + |) + |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "std::collections::hash::map::HashMap") @@ -4812,8 +4815,9 @@ Module db. "contracts" |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size_hint : M.IsAssociatedFunction Self "size_hint" size_hint. @@ -4833,7 +4837,7 @@ Module db. "revm::db::states::bundle_state::BundleState", "state" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_state : M.IsAssociatedFunction Self "state" state. @@ -4848,17 +4852,18 @@ Module db. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_state::BundleState", "len", [] |), [ M.read (| self |) ] - |)) - (Value.Integer 0))) - | _, _ => M.impossible + |), + Value.Integer IntegerKind.Usize 0 + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -4893,7 +4898,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_len : M.IsAssociatedFunction Self "len" len. @@ -4930,7 +4935,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_account : M.IsAssociatedFunction Self "account" account. @@ -4978,7 +4983,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bytecode : M.IsAssociatedFunction Self "bytecode" bytecode. @@ -5088,7 +5093,7 @@ Module db. ] |) |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Integer 0 |))) + fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] |) |) in @@ -5348,10 +5353,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -5359,7 +5363,8 @@ Module db. [] |), [ M.read (| entry |) ] - |)) + |) + |) |) in let~ revert := M.alloc (| @@ -5385,10 +5390,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -5396,7 +5400,8 @@ Module db. [] |), [ M.read (| entry |) ] - |)) + |) + |) |) in revert)); fun γ => @@ -5470,10 +5475,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -5481,7 +5485,8 @@ Module db. [] |), [ present_bundle ] - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -5566,8 +5571,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -5588,10 +5593,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::reverts::AccountRevert", @@ -5599,7 +5603,8 @@ Module db. [] |), [ revert ] - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -5686,7 +5691,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_apply_transitions_and_create_reverts : @@ -6198,10 +6203,11 @@ Module db. not_destroyed_and_changed := M.alloc (| LogicalOp.and (| - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| was_destroyed - |)), + |) + |), ltac:(M.monadic (M.call_closure (| M.get_associated_function (| @@ -6315,8 +6321,8 @@ Module db. M.use (M.alloc (| LogicalOp.or (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -6332,7 +6338,8 @@ Module db. [] |), [ account_storage_changed ] - |)), + |) + |), ltac:(M.monadic (M.read (| was_destroyed |))) |) @@ -6521,7 +6528,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -6538,7 +6545,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_plain_state : @@ -6598,7 +6605,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_plain_state_and_reverts : @@ -6778,10 +6785,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -6789,7 +6795,8 @@ Module db. [] |), [ M.read (| this |) ] - |)) + |) + |) |) in let~ _ := M.match_operator (| @@ -7059,10 +7066,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -7070,7 +7076,8 @@ Module db. [] |), [ M.read (| this |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -7091,10 +7098,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -7102,7 +7108,8 @@ Module db. [] |), [ other_account ] - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -7136,7 +7143,7 @@ Module db. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend_state : @@ -7682,10 +7689,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::reverts::AccountRevert", @@ -7693,7 +7699,8 @@ Module db. [] |), [ M.read (| revert |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] |))) ] @@ -7794,7 +7801,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend : M.IsAssociatedFunction Self "extend" extend. @@ -7833,9 +7840,9 @@ Module db. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| reverts_to_take |)) - (M.call_closure (| + BinOp.gt (| + M.read (| reverts_to_take |), + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -7875,7 +7882,8 @@ Module db. ] |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8115,7 +8123,7 @@ Module db. |) ] |); - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; M.closure (fun γ => ltac:(M.monadic @@ -8145,10 +8153,9 @@ Module db. 1 |) in let revert := M.alloc (| γ1_1 |) in - BinOp.Wrap.add - Integer.Usize - (M.read (| acc |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| acc |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::reverts::AccountRevert", @@ -8156,12 +8163,13 @@ Module db. [] |), [ M.read (| revert |) ] - |)))) + |) + |))) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -8211,7 +8219,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_n_reverts : @@ -8236,7 +8244,7 @@ Module db. "revm::db::states::bundle_state::BundleState", "reverts_size" |), - Value.Integer 0 + Value.Integer IntegerKind.Usize 0 |) in M.alloc (| M.call_closure (| @@ -8254,7 +8262,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_all_reverts : @@ -8488,10 +8496,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::reverts::AccountRevert", @@ -8499,7 +8506,8 @@ Module db. [] |), [ revert_account ] - |)) + |) + |) |) in M.match_operator (| M.alloc (| @@ -8568,10 +8576,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.sub - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.sub (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -8580,7 +8587,8 @@ Module db. |), [ M.read (| account |) ] - |)) + |) + |) |) in M.match_operator (| M.alloc (| @@ -8653,10 +8661,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -8668,7 +8675,8 @@ Module db. account |) ] - |)) + |) + |) |) in M.alloc (| Value.Tuple [] @@ -8735,8 +8743,8 @@ Module db. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -8749,7 +8757,8 @@ Module db. revert_account |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8767,10 +8776,9 @@ Module db. |) in M.write (| β, - BinOp.Wrap.add - Integer.Usize - (M.read (| β |)) - (M.call_closure (| + BinOp.Wrap.add (| + M.read (| β |), + M.call_closure (| M.get_associated_function (| Ty.path "revm::db::states::bundle_account::BundleAccount", @@ -8778,7 +8786,8 @@ Module db. [] |), [ account ] - |)) + |) + |) |) in let~ _ := M.alloc (| @@ -8834,7 +8843,7 @@ Module db. M.alloc (| Value.Bool false |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revert_latest : @@ -8873,7 +8882,10 @@ Module db. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| num_transitions |)) (Value.Integer 0) + BinOp.eq (| + M.read (| num_transitions |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8914,7 +8926,10 @@ Module db. let β := num_transitions in M.write (| β, - BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) |) in M.match_operator (| M.alloc (| Value.Tuple [] |), @@ -8924,9 +8939,10 @@ Module db. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| num_transitions |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| num_transitions |), + Value.Integer IntegerKind.Usize 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -8957,7 +8973,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_revert : M.IsAssociatedFunction Self "revert" revert. @@ -9067,7 +9083,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_prepend_state : diff --git a/CoqOfRust/revm/revm/db/states/cache.v b/CoqOfRust/revm/revm/db/states/cache.v index 04193056a..cacc92e9d 100644 --- a/CoqOfRust/revm/revm/db/states/cache.v +++ b/CoqOfRust/revm/revm/db/states/cache.v @@ -106,7 +106,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -164,7 +164,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -271,23 +271,24 @@ Module db. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::cache::CacheState", "has_state_clear" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::cache::CacheState", "has_state_clear" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -338,7 +339,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -370,7 +371,7 @@ Module db. |), [ Value.Bool true ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -437,7 +438,7 @@ Module db. |)); ("has_state_clear", M.read (| has_state_clear |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -465,7 +466,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_state_clear_flag : @@ -656,17 +657,17 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_trie_account : @@ -719,7 +720,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_not_existing : @@ -753,15 +754,16 @@ Module db. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::state::AccountInfo", "is_empty", [] |), [ info ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -852,7 +854,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_account : @@ -892,15 +894,16 @@ Module db. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::state::AccountInfo", "is_empty", [] |), [ info ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -956,7 +959,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_account_with_storage : @@ -1154,7 +1157,7 @@ Module db. |)) in transitions |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_apply_evm_state : @@ -1231,15 +1234,16 @@ Module db. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::state::Account", "is_touched", [] |), [ account ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1508,7 +1512,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_apply_account_state : diff --git a/CoqOfRust/revm/revm/db/states/cache_account.v b/CoqOfRust/revm/revm/db/states/cache_account.v index e5c2da630..0136e215a 100644 --- a/CoqOfRust/revm/revm/db/states/cache_account.v +++ b/CoqOfRust/revm/revm/db/states/cache_account.v @@ -67,7 +67,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -117,7 +117,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -200,7 +200,7 @@ Module db. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -244,7 +244,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -398,7 +398,7 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -449,7 +449,7 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -470,7 +470,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -513,7 +513,7 @@ Module db. ("status", Value.StructTuple "revm::db::states::account_status::AccountStatus::Loaded" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_loaded : M.IsAssociatedFunction Self "new_loaded" new_loaded. @@ -552,7 +552,7 @@ Module db. "revm::db::states::account_status::AccountStatus::LoadedEmptyEIP161" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_loaded_empty_eip161 : @@ -579,7 +579,7 @@ Module db. "revm::db::states::account_status::AccountStatus::LoadedNotExisting" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_loaded_not_existing : @@ -615,7 +615,7 @@ Module db. "revm::db::states::account_status::AccountStatus::InMemoryChange" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_newly_created : @@ -642,7 +642,7 @@ Module db. "revm::db::states::account_status::AccountStatus::Destroyed" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_destroyed : @@ -676,7 +676,7 @@ Module db. ("status", Value.StructTuple "revm::db::states::account_status::AccountStatus::Changed" []) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_changed : @@ -758,14 +758,14 @@ Module db. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_some : M.IsAssociatedFunction Self "is_some" is_some. @@ -870,11 +870,11 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_storage_slot : @@ -961,11 +961,11 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_account_info : @@ -1046,7 +1046,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -1058,7 +1058,7 @@ Module db. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_components : @@ -1191,7 +1191,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1404,7 +1404,7 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1467,7 +1467,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1531,7 +1531,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_touch_create_pre_eip161 : @@ -1633,7 +1633,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1705,7 +1705,7 @@ Module db. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1758,7 +1758,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_touch_empty_eip161 : @@ -1845,7 +1845,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1951,7 +1951,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_selfdestruct : @@ -2056,7 +2056,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2172,7 +2172,7 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2255,7 +2255,7 @@ Module db. |) in transition_account |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_newly_created : @@ -2290,7 +2290,10 @@ Module db. (let γ := M.use (M.alloc (| - BinOp.Pure.eq (M.read (| balance |)) (Value.Integer 0) + BinOp.eq (| + M.read (| balance |), + Value.Integer IntegerKind.U128 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -2380,7 +2383,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2400,7 +2403,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_increment_balance : @@ -2651,7 +2654,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_account_info_change : @@ -2752,11 +2755,11 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drain_balance : @@ -2888,7 +2891,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2978,7 +2981,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3099,7 +3102,7 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3271,7 +3274,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)); @@ -3290,7 +3293,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_change : M.IsAssociatedFunction Self "change" change. diff --git a/CoqOfRust/revm/revm/db/states/changes.v b/CoqOfRust/revm/revm/db/states/changes.v index c053297ec..b60d09336 100644 --- a/CoqOfRust/revm/revm/db/states/changes.v +++ b/CoqOfRust/revm/revm/db/states/changes.v @@ -133,7 +133,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -191,7 +191,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -272,7 +272,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -370,7 +370,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -428,7 +428,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -484,21 +484,22 @@ Module db. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::changes::PlainStorageChangeset", "wipe_storage" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::changes::PlainStorageChangeset", "wipe_storage" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -535,7 +536,7 @@ Module db. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -586,7 +587,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -648,7 +649,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -751,7 +752,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -809,7 +810,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -865,21 +866,22 @@ Module db. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::changes::PlainStorageRevert", "wiped" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::changes::PlainStorageRevert", "wiped" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -924,7 +926,7 @@ Module db. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -975,7 +977,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1041,7 +1043,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1164,7 +1166,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1214,7 +1216,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1285,7 +1287,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1360,7 +1362,7 @@ Module db. [ M.read (| capacity |) ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_capacity : diff --git a/CoqOfRust/revm/revm/db/states/plain_account.v b/CoqOfRust/revm/revm/db/states/plain_account.v index 5797ccfb3..f60068262 100644 --- a/CoqOfRust/revm/revm/db/states/plain_account.v +++ b/CoqOfRust/revm/revm/db/states/plain_account.v @@ -75,7 +75,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -125,7 +125,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -176,7 +176,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -267,7 +267,7 @@ Module db. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -311,7 +311,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -355,7 +355,7 @@ Module db. |)); ("storage", M.read (| storage |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_empty_with_storage : @@ -388,7 +388,7 @@ Module db. |) |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_components : @@ -448,7 +448,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/db/states/reverts.v b/CoqOfRust/revm/revm/db/states/reverts.v index b39cc97e2..c64f69ff3 100644 --- a/CoqOfRust/revm/revm/db/states/reverts.v +++ b/CoqOfRust/revm/revm/db/states/reverts.v @@ -71,7 +71,7 @@ Module db. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -112,7 +112,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -159,7 +159,7 @@ Module db. [] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -242,7 +242,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -279,7 +279,7 @@ Module db. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -327,7 +327,7 @@ Module db. "revm::db::states::reverts::Reverts", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -357,7 +357,7 @@ Module db. "revm::db::states::reverts::Reverts", 0 |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -382,7 +382,7 @@ Module db. ltac:(M.monadic (let reverts := M.alloc (| reverts |) in Value.StructTuple "revm::db::states::reverts::Reverts" [ M.read (| reverts |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -581,7 +581,8 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => + M.impossible "wrong number of arguments" end)) ] |) @@ -594,7 +595,7 @@ Module db. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sort : M.IsAssociatedFunction Self "sort" sort. @@ -680,7 +681,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_extend : M.IsAssociatedFunction Self "extend" extend. @@ -1208,8 +1209,8 @@ Module db. |) |), ltac:(M.monadic - (UnOp.Pure.not - (M.call_closure (| + (UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1232,7 +1233,8 @@ Module db. "storage" |) ] - |)))) + |) + |))) |) |)) in let _ := @@ -1432,7 +1434,7 @@ Module db. |)) in state_reverts |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_plain_state_reverts : @@ -1546,7 +1548,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1619,7 +1621,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1685,7 +1687,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1802,23 +1804,24 @@ Module db. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::reverts::AccountRevert", "wipe_storage" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::reverts::AccountRevert", "wipe_storage" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1877,7 +1880,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -1902,10 +1905,9 @@ Module db. | [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - BinOp.Wrap.add - Integer.Usize - (Value.Integer 1) - (M.call_closure (| + BinOp.Wrap.add (| + Value.Integer IntegerKind.Usize 1, + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "std::collections::hash::map::HashMap") @@ -1924,8 +1926,9 @@ Module db. "storage" |) ] - |)))) - | _, _ => M.impossible + |) + |))) + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_size_hint : M.IsAssociatedFunction Self "size_hint" size_hint. @@ -2088,7 +2091,7 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2218,7 +2221,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_selfdestructed_again : @@ -2403,7 +2406,7 @@ Module db. "core::option::Option::Some" [ M.read (| ret |) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -2412,7 +2415,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_selfdestructed_from_bundle : @@ -2579,7 +2582,7 @@ Module db. ])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2597,7 +2600,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_selfdestructed : @@ -2661,16 +2664,17 @@ Module db. |))) |), ltac:(M.monadic - (UnOp.Pure.not - (M.read (| + (UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::reverts::AccountRevert", "wipe_storage" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_empty : M.IsAssociatedFunction Self "is_empty" is_empty. @@ -2769,7 +2773,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2789,7 +2793,7 @@ Module db. | [], [] => ltac:(M.monadic (Value.StructTuple "revm::db::states::reverts::AccountInfoRevert::DoNothing" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2877,7 +2881,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -2932,7 +2936,7 @@ Module db. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -2977,7 +2981,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3014,7 +3018,7 @@ Module db. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3089,7 +3093,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3135,7 +3139,7 @@ Module db. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3205,7 +3209,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3271,7 +3275,7 @@ Module db. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -3316,7 +3320,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3353,7 +3357,7 @@ Module db. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3428,7 +3432,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3480,7 +3484,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_to_previous_value : diff --git a/CoqOfRust/revm/revm/db/states/state.v b/CoqOfRust/revm/revm/db/states/state.v index 53f80039d..7bdef22ef 100644 --- a/CoqOfRust/revm/revm/db/states/state.v +++ b/CoqOfRust/revm/revm/db/states/state.v @@ -158,7 +158,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -205,7 +205,7 @@ Module db. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_builder : M.IsAssociatedFunction Self "builder" builder. @@ -240,7 +240,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_bundle_size_hint : @@ -373,9 +373,10 @@ Module db. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| balance |)) - (Value.Integer 0) + BinOp.eq (| + M.read (| balance |), + Value.Integer IntegerKind.U128 0 + |) |)) in let _ := M.is_constant_or_break_match (| @@ -599,7 +600,7 @@ Module db. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_increment_balances : @@ -955,7 +956,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_drain_balances : @@ -995,7 +996,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_state_clear_flag : @@ -1029,7 +1030,7 @@ Module db. M.read (| address |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_not_existing : @@ -1065,7 +1066,7 @@ Module db. M.read (| info |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_account : @@ -1109,7 +1110,7 @@ Module db. M.read (| storage |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_account_with_storage : @@ -1180,7 +1181,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_apply_transition : @@ -1296,7 +1297,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_merge_transitions : @@ -1776,7 +1777,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_cache_account : @@ -1807,7 +1808,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_bundle : @@ -1894,11 +1895,11 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2268,7 +2269,7 @@ Module db. res |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -2757,7 +2758,8 @@ Module db. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |) @@ -2869,7 +2871,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -3141,8 +3143,8 @@ Module db. (let γ := M.use (M.alloc (| - BinOp.Pure.lt - (M.read (| + BinOp.lt (| + M.read (| M.call_closure (| M.get_associated_function (| Ty.apply @@ -3159,8 +3161,8 @@ Module db. |), [ entry ] |) - |)) - (M.call_closure (| + |), + M.call_closure (| M.get_associated_function (| Ty.path "u64", "saturating_sub", @@ -3175,7 +3177,8 @@ Module db. |) |)) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -3232,7 +3235,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -3300,7 +3303,7 @@ Module db. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/db/states/state_builder.v b/CoqOfRust/revm/revm/db/states/state_builder.v index ad5cebe10..cfdf03d5e 100644 --- a/CoqOfRust/revm/revm/db/states/state_builder.v +++ b/CoqOfRust/revm/revm/db/states/state_builder.v @@ -171,7 +171,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -288,7 +288,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -347,21 +347,22 @@ Module db. ] |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::state_builder::StateBuilder", "with_state_clear" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::state_builder::StateBuilder", "with_state_clear" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -422,38 +423,40 @@ Module db. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::state_builder::StateBuilder", "with_bundle_update" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::state_builder::StateBuilder", "with_bundle_update" |) - |)))) + |) + |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::state_builder::StateBuilder", "with_background_transition_merge" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::state_builder::StateBuilder", "with_background_transition_merge" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -492,7 +495,7 @@ Module db. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -566,7 +569,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -615,7 +618,7 @@ Module db. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -648,7 +651,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -708,7 +711,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_with_database : @@ -790,7 +793,7 @@ Module db. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_database : @@ -823,7 +826,7 @@ Module db. Value.StructTuple "revm_primitives::db::WrapDatabaseRef" [ M.read (| database |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_database_ref : @@ -864,7 +867,7 @@ Module db. |), [ M.read (| self |); (* Unsize *) M.pointer_coercion (M.read (| database |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_database_boxed : @@ -888,7 +891,7 @@ Module db. M.struct_record_update (M.read (| self |)) [ ("with_state_clear", Value.Bool false) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_without_state_clear : @@ -916,7 +919,7 @@ Module db. ("with_bundle_prestate", Value.StructTuple "core::option::Option::Some" [ M.read (| bundle |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_bundle_prestate : @@ -940,7 +943,7 @@ Module db. M.struct_record_update (M.read (| self |)) [ ("with_bundle_update", Value.Bool true) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_bundle_update : @@ -968,7 +971,7 @@ Module db. ("with_cache_prestate", Value.StructTuple "core::option::Option::Some" [ M.read (| cache |) ]) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_cached_prestate : @@ -996,7 +999,7 @@ Module db. M.struct_record_update (M.read (| self |)) [ ("with_background_transition_merge", Value.Bool true) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_background_transition_merge : @@ -1024,7 +1027,7 @@ Module db. M.struct_record_update (M.read (| self |)) [ ("with_block_hashes", M.read (| block_hashes |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_with_block_hashes : @@ -1174,7 +1177,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)); @@ -1246,7 +1249,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_build : diff --git a/CoqOfRust/revm/revm/db/states/transition_account.v b/CoqOfRust/revm/revm/db/states/transition_account.v index 6f594fcd1..f69bcb247 100644 --- a/CoqOfRust/revm/revm/db/states/transition_account.v +++ b/CoqOfRust/revm/revm/db/states/transition_account.v @@ -157,7 +157,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -263,7 +263,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -440,23 +440,24 @@ Module db. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::db::states::transition_account::TransitionAccount", "storage_was_destroyed" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::db::states::transition_account::TransitionAccount", "storage_was_destroyed" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -525,7 +526,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -625,7 +626,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -686,7 +687,7 @@ Module db. ("storage", M.read (| storage |)); ("storage_was_destroyed", Value.Bool false) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_empty_eip161 : @@ -779,7 +780,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -850,7 +851,7 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1080,14 +1081,14 @@ Module db. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1101,7 +1102,7 @@ Module db. M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_has_new_contract : @@ -1186,13 +1187,13 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_previous_balance : @@ -1277,13 +1278,13 @@ Module db. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_current_balance : @@ -1473,7 +1474,7 @@ Module db. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_balance_delta : @@ -1603,7 +1604,7 @@ Module db. ltac:(M.monadic match γ with | [] => ltac:(M.monadic (M.alloc (| Value.Bool true |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Bool false |))) @@ -1914,7 +1915,7 @@ Module db. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_update : M.IsAssociatedFunction Self "update" update. @@ -1953,7 +1954,7 @@ Module db. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_create_revert : @@ -2047,7 +2048,7 @@ Module db. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_present_bundle_account : @@ -2133,7 +2134,7 @@ Module db. |) |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_original_bundle_account : diff --git a/CoqOfRust/revm/revm/db/states/transition_state.v b/CoqOfRust/revm/revm/db/states/transition_state.v index 0c7386433..623ee4477 100644 --- a/CoqOfRust/revm/revm/db/states/transition_state.v +++ b/CoqOfRust/revm/revm/db/states/transition_state.v @@ -57,7 +57,7 @@ Module db. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -97,7 +97,7 @@ Module db. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -139,7 +139,7 @@ Module db. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -206,7 +206,7 @@ Module db. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -243,7 +243,7 @@ Module db. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -312,7 +312,7 @@ Module db. [ ("transitions", M.read (| transitions |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_single : M.IsAssociatedFunction Self "single" single. @@ -334,7 +334,7 @@ Module db. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take : M.IsAssociatedFunction Self "take" take. @@ -540,7 +540,7 @@ Module db. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_add_transitions : diff --git a/CoqOfRust/revm/revm/evm.v b/CoqOfRust/revm/revm/evm.v index 913c8b0f4..6aa48dd8a 100644 --- a/CoqOfRust/revm/revm/evm.v +++ b/CoqOfRust/revm/revm/evm.v @@ -3,7 +3,7 @@ Require Import CoqOfRust.CoqOfRust. Module evm. Definition value_CALL_STACK_LIMIT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer 1024 |))). + M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). (* StructRecord { @@ -76,7 +76,7 @@ Module evm. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -258,7 +258,7 @@ Module evm. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transact_commit : @@ -330,7 +330,7 @@ Module evm. [ ("context", M.read (| context |)); ("handler", M.read (| handler |)) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -358,7 +358,7 @@ Module evm. |), [ M.read (| self |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify : @@ -390,7 +390,7 @@ Module evm. "spec_id" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_spec_id : @@ -443,7 +443,7 @@ Module evm. M.alloc (| α0 |), [ fun γ => ltac:(M.monadic (Value.Tuple [])) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -461,7 +461,7 @@ Module evm. |) in output |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_preverify_transaction : @@ -517,7 +517,7 @@ Module evm. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : @@ -686,7 +686,7 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -812,7 +812,7 @@ Module evm. output |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transact_preverified : @@ -1227,7 +1227,7 @@ Module evm. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_preverify_transaction_inner : @@ -1347,7 +1347,7 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -1473,7 +1473,7 @@ Module evm. output |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transact : @@ -1500,7 +1500,7 @@ Module evm. "revm::handler::Handler", "cfg" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_handler_cfg : @@ -1532,7 +1532,7 @@ Module evm. "revm_primitives::env::Env", "cfg" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cfg : @@ -1580,7 +1580,7 @@ Module evm. "revm_primitives::env::Env", "cfg" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cfg_mut : @@ -1628,7 +1628,7 @@ Module evm. "revm_primitives::env::Env", "tx" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_tx : @@ -1676,7 +1676,7 @@ Module evm. "revm_primitives::env::Env", "tx" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_tx_mut : @@ -1718,7 +1718,7 @@ Module evm. "revm::context::inner_evm_context::InnerEvmContext", "db" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_db : @@ -1760,7 +1760,7 @@ Module evm. "revm::context::inner_evm_context::InnerEvmContext", "db" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_db_mut : @@ -1808,7 +1808,7 @@ Module evm. "revm_primitives::env::Env", "block" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_block : @@ -1856,7 +1856,7 @@ Module evm. "revm_primitives::env::Env", "block" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_block_mut : @@ -1898,7 +1898,7 @@ Module evm. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify_spec_id : @@ -1919,7 +1919,7 @@ Module evm. M.read (| M.SubPointer.get_struct_record_field (| self, "revm::evm::Evm", "context" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_context : @@ -2001,7 +2001,7 @@ Module evm. |)) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_db_and_env_with_handler_cfg : @@ -2045,7 +2045,7 @@ Module evm. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_context_with_handler_cfg : @@ -2213,7 +2213,7 @@ Module evm. |) in frame_result |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_start_the_loop : @@ -2344,7 +2344,7 @@ Module evm. "with_capacity", [] |), - [ Value.Integer 1025 ] + [ Value.Integer IntegerKind.Usize 1025 ] |) |) in let~ _ := @@ -3914,7 +3914,7 @@ Module evm. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_run_the_loop : @@ -4222,9 +4222,8 @@ Module evm. |) in let~ gas_limit := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.read (| + BinOp.Wrap.sub (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| @@ -4257,8 +4256,9 @@ Module evm. "revm_primitives::env::TxEnv", "gas_limit" |) - |)) - (M.read (| initial_gas_spend |)) + |), + M.read (| initial_gas_spend |) + |) |) in let~ exec := M.alloc (| @@ -5100,7 +5100,7 @@ Module evm. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transact_preverified_inner : @@ -5149,7 +5149,7 @@ Module evm. |), [] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_builder : M.IsAssociatedFunction Self "builder" builder. @@ -5197,7 +5197,7 @@ Module evm. "env" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5237,7 +5237,7 @@ Module evm. "env" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5363,13 +5363,13 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5495,13 +5495,13 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5627,13 +5627,13 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5762,13 +5762,13 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -5898,13 +5898,13 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6032,13 +6032,13 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6168,13 +6168,13 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6221,7 +6221,7 @@ Module evm. M.read (| index |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6270,7 +6270,7 @@ Module evm. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6325,7 +6325,7 @@ Module evm. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -6469,13 +6469,13 @@ Module evm. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/frame.v b/CoqOfRust/revm/revm/frame.v index 35ede3780..644231edf 100644 --- a/CoqOfRust/revm/revm/frame.v +++ b/CoqOfRust/revm/revm/frame.v @@ -52,7 +52,7 @@ Module frame. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -113,7 +113,7 @@ Module frame. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -183,7 +183,7 @@ Module frame. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -244,7 +244,7 @@ Module frame. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -383,7 +383,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -492,7 +492,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_interpreter_result : @@ -640,7 +640,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_output : M.IsAssociatedFunction Self "output" output. @@ -729,7 +729,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_gas : M.IsAssociatedFunction Self "gas" gas. @@ -818,7 +818,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_gas_mut : M.IsAssociatedFunction Self "gas_mut" gas_mut. @@ -895,7 +895,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_interpreter_result : @@ -973,7 +973,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_interpreter_result_mut : @@ -1003,7 +1003,7 @@ Module frame. "result" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_instruction_result : @@ -1082,7 +1082,7 @@ Module frame. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_create : M.IsAssociatedFunction Self "new_create" new_create. @@ -1136,7 +1136,7 @@ Module frame. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_call : M.IsAssociatedFunction Self "new_call" new_call. @@ -1164,7 +1164,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_call : M.IsAssociatedFunction Self "is_call" is_call. @@ -1192,7 +1192,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_create : M.IsAssociatedFunction Self "is_create" is_create. @@ -1242,7 +1242,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_created_address : @@ -1307,7 +1307,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_into_frame_data : @@ -1381,7 +1381,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_frame_data : M.IsAssociatedFunction Self "frame_data" frame_data. @@ -1454,7 +1454,7 @@ Module frame. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_frame_data_mut : @@ -1478,7 +1478,7 @@ Module frame. "revm::frame::FrameData", "interpreter" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_interpreter : M.IsAssociatedFunction Self "interpreter" interpreter. @@ -1501,7 +1501,7 @@ Module frame. "revm::frame::FrameData", "interpreter" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_interpreter_mut : @@ -1535,7 +1535,7 @@ Module frame. [ M.read (| created_address |); M.read (| checkpoint |); M.read (| interpreter |) ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_create_frame : @@ -1598,7 +1598,7 @@ Module frame. |) ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_eofcreate_frame : @@ -1636,7 +1636,7 @@ Module frame. ] |) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_call_frame : @@ -1671,7 +1671,7 @@ Module frame. ] ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_create_result : @@ -1712,7 +1712,7 @@ Module frame. ] ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_eofcreate_result : @@ -1749,7 +1749,7 @@ Module frame. ] ] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new_call_result : diff --git a/CoqOfRust/revm/revm/handler.v b/CoqOfRust/revm/revm/handler.v index 6b335148d..8cbfe782c 100644 --- a/CoqOfRust/revm/revm/handler.v +++ b/CoqOfRust/revm/revm/handler.v @@ -84,7 +84,7 @@ Module handler. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -199,7 +199,7 @@ Module handler. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mainnet : @@ -231,7 +231,7 @@ Module handler. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_is_optimism : @@ -294,7 +294,7 @@ Module handler. [] |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -338,7 +338,7 @@ Module handler. [] |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -439,7 +439,7 @@ Module handler. [] |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -483,7 +483,7 @@ Module handler. [] |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -551,7 +551,7 @@ Module handler. [] |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -640,7 +640,7 @@ Module handler. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_mainnet_with_spec : @@ -665,7 +665,7 @@ Module handler. "cfg" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_cfg : @@ -703,7 +703,7 @@ Module handler. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_take_instruction_table : @@ -734,7 +734,7 @@ Module handler. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_instruction_table : @@ -757,7 +757,7 @@ Module handler. "revm::handler::Handler", "pre_execution" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pre_execution : @@ -780,7 +780,7 @@ Module handler. "revm::handler::Handler", "post_execution" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_post_execution : @@ -803,7 +803,7 @@ Module handler. "revm::handler::Handler", "execution" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_execution : @@ -826,7 +826,7 @@ Module handler. "revm::handler::Handler", "validation" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_validation : @@ -883,7 +883,7 @@ Module handler. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append_handler_register : @@ -940,7 +940,7 @@ Module handler. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append_handler_register_plain : @@ -1024,7 +1024,7 @@ Module handler. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_append_handler_register_box : @@ -1254,7 +1254,7 @@ Module handler. |) in out |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_pop_handle_register : @@ -1405,7 +1405,7 @@ Module handler. |)) in base_handler |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_create_handle_generic : @@ -1643,7 +1643,7 @@ Module handler. M.alloc (| Value.Tuple [] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_modify_spec_id : diff --git a/CoqOfRust/revm/revm/handler/handle_types/execution.v b/CoqOfRust/revm/revm/handler/handle_types/execution.v index 34f338234..43c34aa7c 100644 --- a/CoqOfRust/revm/revm/handler/handle_types/execution.v +++ b/CoqOfRust/revm/revm/handler/handle_types/execution.v @@ -711,7 +711,7 @@ Module handler. ] |))) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -783,7 +783,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| frame_result |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_frame_return : @@ -880,7 +880,7 @@ Module handler. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call : @@ -959,7 +959,7 @@ Module handler. [ M.read (| context |); M.read (| frame |); M.read (| interpreter_result |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_call_return : @@ -1046,7 +1046,7 @@ Module handler. ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_call_outcome : @@ -1125,7 +1125,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| inputs |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_create : @@ -1204,7 +1204,7 @@ Module handler. [ M.read (| context |); M.read (| frame |); M.read (| interpreter_result |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_create_return : @@ -1281,7 +1281,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| frame |); M.read (| outcome |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_create_outcome : @@ -1363,7 +1363,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| inputs |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eofcreate : @@ -1442,7 +1442,7 @@ Module handler. [ M.read (| context |); M.read (| frame |); M.read (| interpreter_result |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_eofcreate_return : @@ -1523,7 +1523,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| frame |); M.read (| outcome |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_insert_eofcreate_outcome : diff --git a/CoqOfRust/revm/revm/handler/handle_types/post_execution.v b/CoqOfRust/revm/revm/handler/handle_types/post_execution.v index 64820eb9b..3af1d27a4 100644 --- a/CoqOfRust/revm/revm/handler/handle_types/post_execution.v +++ b/CoqOfRust/revm/revm/handler/handle_types/post_execution.v @@ -346,7 +346,7 @@ Module handler. ] |))) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -418,7 +418,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| gas |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reimburse_caller : @@ -491,7 +491,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| gas |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_reward_beneficiary : @@ -564,7 +564,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| result |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_output : @@ -642,7 +642,7 @@ Module handler. Value.Tuple [ M.read (| context |); M.read (| end_output |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_end_ : @@ -709,7 +709,7 @@ Module handler. Value.Tuple [ M.read (| context |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : diff --git a/CoqOfRust/revm/revm/handler/handle_types/pre_execution.v b/CoqOfRust/revm/revm/handler/handle_types/pre_execution.v index 268d29686..b49148d5d 100644 --- a/CoqOfRust/revm/revm/handler/handle_types/pre_execution.v +++ b/CoqOfRust/revm/revm/handler/handle_types/pre_execution.v @@ -200,7 +200,7 @@ Module handler. ] |))) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -266,7 +266,7 @@ Module handler. Value.Tuple [ M.read (| context |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_deduct_caller : @@ -333,7 +333,7 @@ Module handler. Value.Tuple [ M.read (| context |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_accounts : @@ -384,7 +384,7 @@ Module handler. Value.Tuple [] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_precompiles : diff --git a/CoqOfRust/revm/revm/handler/handle_types/validation.v b/CoqOfRust/revm/revm/handler/handle_types/validation.v index 59f1fd46c..fa3883500 100644 --- a/CoqOfRust/revm/revm/handler/handle_types/validation.v +++ b/CoqOfRust/revm/revm/handler/handle_types/validation.v @@ -210,7 +210,7 @@ Module handler. ] |))) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : @@ -269,7 +269,7 @@ Module handler. Value.Tuple [ M.read (| env |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_env : @@ -329,7 +329,7 @@ Module handler. Value.Tuple [ M.read (| env |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_initial_tx_gas : @@ -399,7 +399,7 @@ Module handler. Value.Tuple [ M.read (| context |) ] ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_tx_against_state : diff --git a/CoqOfRust/revm/revm/handler/mainnet/execution.v b/CoqOfRust/revm/revm/handler/mainnet/execution.v index 325a4dae8..3daac9394 100644 --- a/CoqOfRust/revm/revm/handler/mainnet/execution.v +++ b/CoqOfRust/revm/revm/handler/mainnet/execution.v @@ -198,7 +198,7 @@ Module handler. |) |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => @@ -249,7 +249,7 @@ Module handler. |) |) in M.alloc (| Value.Tuple [] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -297,7 +297,7 @@ Module handler. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_frame_return_with_refund_flag : @@ -358,7 +358,7 @@ Module handler. |) in M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_last_frame_return : @@ -393,7 +393,7 @@ Module handler. M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call : M.IsFunction "revm::handler::mainnet::execution::call" call. @@ -485,7 +485,7 @@ Module handler. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_call_return : @@ -653,7 +653,7 @@ Module handler. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_insert_call_outcome : @@ -700,7 +700,7 @@ Module handler. M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_create : M.IsFunction "revm::handler::mainnet::execution::create" create. @@ -806,7 +806,7 @@ Module handler. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_create_return : @@ -971,7 +971,7 @@ Module handler. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_insert_create_outcome : @@ -1020,7 +1020,7 @@ Module handler. M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_eofcreate : @@ -1131,7 +1131,7 @@ Module handler. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_eofcreate_return : @@ -1307,7 +1307,7 @@ Module handler. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_insert_eofcreate_outcome : diff --git a/CoqOfRust/revm/revm/handler/mainnet/post_execution.v b/CoqOfRust/revm/revm/handler/mainnet/post_execution.v index b7c5ca18d..7fef317e7 100644 --- a/CoqOfRust/revm/revm/handler/mainnet/post_execution.v +++ b/CoqOfRust/revm/revm/handler/mainnet/post_execution.v @@ -19,7 +19,7 @@ Module handler. (let _context := M.alloc (| _context |) in let evm_output := M.alloc (| evm_output |) in M.read (| evm_output |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_end_ : M.IsFunction "revm::handler::mainnet::post_execution::end" end_. @@ -97,7 +97,7 @@ Module handler. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_clear : M.IsFunction "revm::handler::mainnet::post_execution::clear" clear. @@ -477,17 +477,16 @@ Module handler. [ Ty.path "u64" ] |), [ - BinOp.Wrap.sub - Integer.U64 - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "spent", [] |), [ M.read (| gas |) ] - |)) - (M.rust_cast + |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -495,7 +494,8 @@ Module handler. [] |), [ M.read (| gas |) ] - |))) + |)) + |) ] |) ] @@ -510,7 +510,7 @@ Module handler. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_reward_beneficiary : @@ -793,17 +793,16 @@ Module handler. [ Ty.path "u64" ] |), [ - BinOp.Wrap.add - Integer.U64 - (M.call_closure (| + BinOp.Wrap.add (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "remaining", [] |), [ M.read (| gas |) ] - |)) - (M.rust_cast + |), + M.rust_cast (M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", @@ -811,7 +810,8 @@ Module handler. [] |), [ M.read (| gas |) ] - |))) + |)) + |) ] |) ] @@ -826,7 +826,7 @@ Module handler. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_reimburse_caller : @@ -1016,9 +1016,8 @@ Module handler. |) in let~ final_gas_used := M.alloc (| - BinOp.Wrap.sub - Integer.U64 - (M.call_closure (| + BinOp.Wrap.sub (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_interpreter::gas::Gas", "spent", @@ -1034,8 +1033,9 @@ Module handler. [ result ] |) ] - |)) - (M.read (| gas_refunded |)) + |), + M.read (| gas_refunded |) + |) |) in let~ output := M.alloc (| @@ -1290,7 +1290,7 @@ Module handler. |) |) |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |))) ] @@ -1309,7 +1309,7 @@ Module handler. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_output : M.IsFunction "revm::handler::mainnet::post_execution::output" output. diff --git a/CoqOfRust/revm/revm/handler/mainnet/pre_execution.v b/CoqOfRust/revm/revm/handler/mainnet/pre_execution.v index 8f73f7bef..c8713671c 100644 --- a/CoqOfRust/revm/revm/handler/mainnet/pre_execution.v +++ b/CoqOfRust/revm/revm/handler/mainnet/pre_execution.v @@ -59,7 +59,7 @@ Module handler. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_load_precompiles : @@ -413,7 +413,7 @@ Module handler. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_load_accounts : @@ -637,7 +637,7 @@ Module handler. "nonce" |) |); - Value.Integer 1 + Value.Integer IntegerKind.U64 1 ] |) |) in @@ -658,7 +658,7 @@ Module handler. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_deduct_caller_inner : @@ -875,7 +875,7 @@ Module handler. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_deduct_caller : diff --git a/CoqOfRust/revm/revm/handler/mainnet/validation.v b/CoqOfRust/revm/revm/handler/mainnet/validation.v index 5b3033ff3..ee82213a3 100644 --- a/CoqOfRust/revm/revm/handler/mainnet/validation.v +++ b/CoqOfRust/revm/revm/handler/mainnet/validation.v @@ -182,7 +182,7 @@ Module handler. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ Value.Tuple [] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_validate_env : @@ -516,7 +516,7 @@ Module handler. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_validate_tx_against_state : @@ -689,9 +689,9 @@ Module handler. (let γ := M.use (M.alloc (| - BinOp.Pure.gt - (M.read (| initial_gas_spend |)) - (M.read (| + BinOp.gt (| + M.read (| initial_gas_spend |), + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| env |), @@ -701,7 +701,8 @@ Module handler. "revm_primitives::env::TxEnv", "gas_limit" |) - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -743,7 +744,7 @@ Module handler. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_validate_initial_tx_gas : diff --git a/CoqOfRust/revm/revm/handler/register.v b/CoqOfRust/revm/revm/handler/register.v index 2110f69fa..2ac9797d9 100644 --- a/CoqOfRust/revm/revm/handler/register.v +++ b/CoqOfRust/revm/revm/handler/register.v @@ -167,7 +167,7 @@ Module handler. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_register : diff --git a/CoqOfRust/revm/revm/inspector.v b/CoqOfRust/revm/revm/inspector.v index 8e61f823e..40dca1838 100644 --- a/CoqOfRust/revm/revm/inspector.v +++ b/CoqOfRust/revm/revm/inspector.v @@ -24,7 +24,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_initialize_interp : @@ -50,7 +50,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_step : @@ -76,7 +76,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_step_end : @@ -102,7 +102,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_log : @@ -132,7 +132,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_call : @@ -156,7 +156,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_call_end : @@ -186,7 +186,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_create : @@ -210,7 +210,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_create_end : @@ -240,7 +240,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_eofcreate : @@ -264,7 +264,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_eofcreate_end : @@ -298,7 +298,7 @@ Module inspector. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom ProvidedMethod_selfdestruct : @@ -329,7 +329,7 @@ Module inspector. |), [ M.read (| M.read (| self |) |); M.read (| interp |); M.read (| context |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -345,7 +345,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "step", [] |), [ M.read (| M.read (| self |) |); M.read (| interp |); M.read (| context |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -361,7 +361,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "step_end", [] |), [ M.read (| M.read (| self |) |); M.read (| interp |); M.read (| context |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -377,7 +377,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "log", [] |), [ M.read (| M.read (| self |) |); M.read (| context |); M.read (| log |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -393,7 +393,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "call", [] |), [ M.read (| M.read (| self |) |); M.read (| context |); M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -415,7 +415,7 @@ Module inspector. M.read (| outcome |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -431,7 +431,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "create", [] |), [ M.read (| M.read (| self |) |); M.read (| context |); M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -453,7 +453,7 @@ Module inspector. M.read (| outcome |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -469,7 +469,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "eofcreate", [] |), [ M.read (| M.read (| self |) |); M.read (| context |); M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -491,7 +491,7 @@ Module inspector. M.read (| outcome |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -513,7 +513,7 @@ Module inspector. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -560,7 +560,7 @@ Module inspector. |), [ M.read (| M.read (| self |) |); M.read (| interp |); M.read (| context |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -576,7 +576,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "step", [] |), [ M.read (| M.read (| self |) |); M.read (| interp |); M.read (| context |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -592,7 +592,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "step_end", [] |), [ M.read (| M.read (| self |) |); M.read (| interp |); M.read (| context |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -608,7 +608,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "log", [] |), [ M.read (| M.read (| self |) |); M.read (| context |); M.read (| log |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -624,7 +624,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "call", [] |), [ M.read (| M.read (| self |) |); M.read (| context |); M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -646,7 +646,7 @@ Module inspector. M.read (| outcome |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -662,7 +662,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "create", [] |), [ M.read (| M.read (| self |) |); M.read (| context |); M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -684,7 +684,7 @@ Module inspector. M.read (| outcome |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -700,7 +700,7 @@ Module inspector. M.get_trait_method (| "revm::inspector::Inspector", T, [ DB ], "eofcreate", [] |), [ M.read (| M.read (| self |) |); M.read (| context |); M.read (| inputs |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -722,7 +722,7 @@ Module inspector. M.read (| outcome |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* #[auto_impl(&mut, Box)] *) @@ -744,7 +744,7 @@ Module inspector. M.read (| value |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/inspector/customprinter.v b/CoqOfRust/revm/revm/inspector/customprinter.v index cc2283939..16cfc395b 100644 --- a/CoqOfRust/revm/revm/inspector/customprinter.v +++ b/CoqOfRust/revm/revm/inspector/customprinter.v @@ -40,7 +40,7 @@ Module inspector. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -82,7 +82,7 @@ Module inspector. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -116,7 +116,7 @@ Module inspector. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -168,7 +168,7 @@ Module inspector. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -495,10 +495,10 @@ Module inspector. [] |), [ - Value.Integer 0; + Value.Integer IntegerKind.Usize 0; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -510,10 +510,10 @@ Module inspector. [] |), [ - Value.Integer 1; + Value.Integer IntegerKind.Usize 1; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -525,10 +525,10 @@ Module inspector. [] |), [ - Value.Integer 2; + Value.Integer IntegerKind.Usize 2; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 4; + Value.Integer IntegerKind.U32 4; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -540,10 +540,10 @@ Module inspector. [] |), [ - Value.Integer 3; + Value.Integer IntegerKind.Usize 3; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -555,10 +555,10 @@ Module inspector. [] |), [ - Value.Integer 4; + Value.Integer IntegerKind.Usize 4; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -570,10 +570,10 @@ Module inspector. [] |), [ - Value.Integer 5; + Value.Integer IntegerKind.Usize 5; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -585,10 +585,10 @@ Module inspector. [] |), [ - Value.Integer 6; + Value.Integer IntegerKind.Usize 6; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 4; + Value.Integer IntegerKind.U32 4; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -600,10 +600,10 @@ Module inspector. [] |), [ - Value.Integer 7; + Value.Integer IntegerKind.Usize 7; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -615,10 +615,10 @@ Module inspector. [] |), [ - Value.Integer 8; + Value.Integer IntegerKind.Usize 8; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -630,10 +630,10 @@ Module inspector. [] |), [ - Value.Integer 9; + Value.Integer IntegerKind.Usize 9; Value.UnicodeChar 32; Value.StructTuple "core::fmt::rt::Alignment::Unknown" []; - Value.Integer 0; + Value.Integer IntegerKind.U32 0; Value.StructTuple "core::fmt::rt::Count::Implied" []; Value.StructTuple "core::fmt::rt::Count::Implied" [] ] @@ -677,7 +677,7 @@ Module inspector. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -717,7 +717,7 @@ Module inspector. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -758,7 +758,7 @@ Module inspector. M.read (| outcome |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -799,7 +799,7 @@ Module inspector. M.read (| outcome |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -981,7 +981,7 @@ Module inspector. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1118,7 +1118,7 @@ Module inspector. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.StructTuple "core::option::Option::None" [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -1203,7 +1203,7 @@ Module inspector. M.alloc (| Value.Tuple [] |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/inspector/gas.v b/CoqOfRust/revm/revm/inspector/gas.v index 09bece038..a593d4226 100644 --- a/CoqOfRust/revm/revm/inspector/gas.v +++ b/CoqOfRust/revm/revm/inspector/gas.v @@ -25,7 +25,7 @@ Module inspector. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -86,7 +86,7 @@ Module inspector. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -131,7 +131,7 @@ Module inspector. [] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -162,7 +162,7 @@ Module inspector. "gas_remaining" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_gas_remaining : @@ -185,7 +185,7 @@ Module inspector. "last_gas_cost" |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_last_gas_cost : @@ -237,7 +237,7 @@ Module inspector. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -282,7 +282,7 @@ Module inspector. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -354,7 +354,7 @@ Module inspector. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -441,7 +441,7 @@ Module inspector. "revm::inspector::gas::GasInspector", "gas_remaining" |), - Value.Integer 0 + Value.Integer IntegerKind.U64 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -449,7 +449,7 @@ Module inspector. |) in outcome |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. (* @@ -536,7 +536,7 @@ Module inspector. "revm::inspector::gas::GasInspector", "gas_remaining" |), - Value.Integer 0 + Value.Integer IntegerKind.U64 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -544,7 +544,7 @@ Module inspector. |) in outcome |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/inspector/handler_register.v b/CoqOfRust/revm/revm/inspector/handler_register.v index c221aa03b..1c37cff57 100644 --- a/CoqOfRust/revm/revm/inspector/handler_register.v +++ b/CoqOfRust/revm/revm/inspector/handler_register.v @@ -21,7 +21,7 @@ Module inspector. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| self |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -484,7 +484,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -687,7 +687,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -857,8 +857,8 @@ Module inspector. ] |))) | _ => - ltac:(M.monadic - (M.impossible (||))) + M.impossible + "wrong number of arguments" end)) ] |)) @@ -1051,8 +1051,8 @@ Module inspector. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.call_closure (| + BinOp.eq (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path @@ -1108,14 +1108,16 @@ Module inspector. "logs" |) ] - |)) - (BinOp.Wrap.add - Integer.Usize - (M.read (| + |), + BinOp.Wrap.add (| + M.read (| old_log_len - |)) - (Value.Integer - 1)) + |), + Value.Integer + IntegerKind.Usize + 1 + |) + |) |)) in let _ := M.is_constant_or_break_match (| @@ -1319,7 +1321,7 @@ Module inspector. ] |))) | _ => - ltac:(M.monadic (M.impossible (||))) + M.impossible "wrong number of arguments" end)) ] |)) @@ -1330,7 +1332,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) |) in let~ _ := @@ -1552,7 +1554,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) @@ -1892,7 +1894,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) @@ -2053,7 +2055,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -2899,7 +2901,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) @@ -3383,7 +3385,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) @@ -3808,7 +3810,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) @@ -4207,7 +4209,7 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) @@ -4943,14 +4945,14 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |)) |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_inspector_handle_register : @@ -5068,7 +5070,7 @@ Module inspector. "instruction_pointer" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -5189,7 +5191,7 @@ Module inspector. "instruction_pointer" |) |); - Value.Integer 1 + Value.Integer IntegerKind.Usize 1 ] |) |) in @@ -5280,11 +5282,11 @@ Module inspector. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |))))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Function_inspector_instruction : diff --git a/CoqOfRust/revm/revm/inspector/noop.v b/CoqOfRust/revm/revm/inspector/noop.v index 067d8aa1c..2028168d3 100644 --- a/CoqOfRust/revm/revm/inspector/noop.v +++ b/CoqOfRust/revm/revm/inspector/noop.v @@ -20,7 +20,7 @@ Module inspector. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| M.read (| self |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -56,7 +56,7 @@ Module inspector. M.get_associated_function (| Ty.path "core::fmt::Formatter", "write_str", [] |), [ M.read (| f |); M.read (| Value.String "NoOpInspector" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -74,7 +74,7 @@ Module inspector. Definition default (τ : list Ty.t) (α : list Value.t) : M := match τ, α with | [], [] => ltac:(M.monadic (Value.StructTuple "revm::inspector::noop::NoOpInspector" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -107,7 +107,7 @@ Module inspector. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.Bool true)) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -139,7 +139,7 @@ Module inspector. ltac:(M.monadic (let self := M.alloc (| self |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -164,7 +164,7 @@ Module inspector. Value.StructTuple "core::option::Option::Some" [ Value.StructTuple "core::cmp::Ordering::Equal" [] ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -186,7 +186,7 @@ Module inspector. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in Value.StructTuple "core::cmp::Ordering::Equal" [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -208,7 +208,7 @@ Module inspector. (let self := M.alloc (| self |) in let state := M.alloc (| state |) in Value.Tuple [])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/CoqOfRust/revm/revm/journaled_state.v b/CoqOfRust/revm/revm/journaled_state.v index 66d2520bf..1770aa14d 100644 --- a/CoqOfRust/revm/revm/journaled_state.v +++ b/CoqOfRust/revm/revm/journaled_state.v @@ -158,7 +158,7 @@ Module journaled_state. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -333,7 +333,7 @@ Module journaled_state. ] |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -491,21 +491,22 @@ Module journaled_state. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::journaled_state::JournaledState", "depth" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::journaled_state::JournaledState", "depth" |) - |)))) + |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -610,7 +611,7 @@ Module journaled_state. ] |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -693,7 +694,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -846,11 +847,11 @@ Module journaled_state. |)) ] |)); - ("depth", Value.Integer 0); + ("depth", Value.Integer IntegerKind.Usize 0); ("spec", M.read (| spec |)); ("warm_preloaded_addresses", M.read (| warm_preloaded_addresses |)) ])) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_new : M.IsAssociatedFunction Self "new" new. @@ -870,7 +871,7 @@ Module journaled_state. "revm::journaled_state::JournaledState", "state" |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_state : M.IsAssociatedFunction Self "state" state. @@ -898,7 +899,7 @@ Module journaled_state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_spec_id : M.IsAssociatedFunction Self "set_spec_id" set_spec_id. @@ -1038,7 +1039,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_touch : M.IsAssociatedFunction Self "touch" touch. @@ -1067,15 +1068,16 @@ Module journaled_state. (let γ := M.use (M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::state::Account", "is_touched", [] |), [ M.read (| account |) ] - |)) + |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ := @@ -1115,7 +1117,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_touch_account : @@ -1170,7 +1172,7 @@ Module journaled_state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_clear : M.IsAssociatedFunction Self "clear" clear. @@ -1347,7 +1349,7 @@ Module journaled_state. ] |) |) in - let~ _ := M.write (| M.read (| depth |), Value.Integer 0 |) in + let~ _ := M.write (| M.read (| depth |), Value.Integer IntegerKind.Usize 0 |) in let~ state := M.alloc (| M.call_closure (| @@ -1389,7 +1391,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_finalize : M.IsAssociatedFunction Self "finalize" finalize. @@ -1440,7 +1442,7 @@ Module journaled_state. M.read (| Value.String "Account expected to be loaded" |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_account : M.IsAssociatedFunction Self "account" account. @@ -1463,7 +1465,7 @@ Module journaled_state. "depth" |) |)))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_depth : M.IsAssociatedFunction Self "depth" depth. @@ -1726,7 +1728,7 @@ Module journaled_state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_set_code : M.IsAssociatedFunction Self "set_code" set_code. @@ -1803,8 +1805,8 @@ Module journaled_state. (let γ := M.use (M.alloc (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| account |), @@ -1814,8 +1816,9 @@ Module journaled_state. "revm_primitives::state::AccountInfo", "nonce" |) - |)) - (M.read (| M.get_constant (| "core::num::MAX" |) |)) + |), + M.read (| M.get_constant (| "core::num::MAX" |) |) + |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2006,7 +2009,10 @@ Module journaled_state. "revm_primitives::state::AccountInfo", "nonce" |) in - M.write (| β, BinOp.Wrap.add Integer.U64 (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.U64 1 |) + |) in M.alloc (| Value.StructTuple "core::option::Option::Some" @@ -2026,7 +2032,7 @@ Module journaled_state. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_inc_nonce : M.IsAssociatedFunction Self "inc_nonce" inc_nonce. @@ -2696,7 +2702,7 @@ Module journaled_state. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_transfer : M.IsAssociatedFunction Self "transfer" transfer. @@ -2939,8 +2945,8 @@ Module journaled_state. ] |), ltac:(M.monadic - (BinOp.Pure.ne - (M.read (| + (BinOp.ne (| + M.read (| M.SubPointer.get_struct_record_field (| M.SubPointer.get_struct_record_field (| M.read (| account |), @@ -2950,8 +2956,9 @@ Module journaled_state. "revm_primitives::state::AccountInfo", "nonce" |) - |)) - (Value.Integer 0))) + |), + Value.Integer IntegerKind.U64 0 + |))) |), ltac:(M.monadic (M.call_closure (| @@ -3144,7 +3151,7 @@ Module journaled_state. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -3242,7 +3249,7 @@ Module journaled_state. "revm_primitives::state::AccountInfo", "nonce" |), - Value.Integer 1 + Value.Integer IntegerKind.U64 1 |) in M.alloc (| Value.Tuple [] |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -3343,7 +3350,7 @@ Module journaled_state. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_create_account_checkpoint : @@ -4144,10 +4151,10 @@ Module journaled_state. |) in M.write (| β, - BinOp.Wrap.sub - Integer.U64 - (M.read (| β |)) - (Value.Integer 1) + BinOp.Wrap.sub (| + M.read (| β |), + Value.Integer IntegerKind.U64 1 + |) |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4225,7 +4232,7 @@ Module journaled_state. "revm_primitives::state::AccountInfo", "nonce" |), - Value.Integer 0 + Value.Integer IntegerKind.U64 0 |) in M.alloc (| Value.Tuple [] |))); fun γ => @@ -4589,7 +4596,7 @@ Module journaled_state. ] |)) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_journal_revert : @@ -4673,7 +4680,10 @@ Module journaled_state. "revm::journaled_state::JournaledState", "depth" |) in - M.write (| β, BinOp.Wrap.add Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in let~ _ := M.alloc (| M.call_closure (| @@ -4718,7 +4728,7 @@ Module journaled_state. |) in checkpoint |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checkpoint : M.IsAssociatedFunction Self "checkpoint" checkpoint. @@ -4741,10 +4751,13 @@ Module journaled_state. "revm::journaled_state::JournaledState", "depth" |) in - M.write (| β, BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checkpoint_commit : @@ -4825,7 +4838,10 @@ Module journaled_state. "revm::journaled_state::JournaledState", "depth" |) in - M.write (| β, BinOp.Wrap.sub Integer.Usize (M.read (| β |)) (Value.Integer 1) |) in + M.write (| + β, + BinOp.Wrap.sub (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) in let~ leng := M.alloc (| M.call_closure (| @@ -4985,16 +5001,16 @@ Module journaled_state. |) ] |); - BinOp.Wrap.sub - Integer.Usize - (M.read (| leng |)) - (M.read (| + BinOp.Wrap.sub (| + M.read (| leng |), + M.read (| M.SubPointer.get_struct_record_field (| checkpoint, "revm::journaled_state::JournalCheckpoint", "journal_i" |) - |)) + |) + |) ] |); M.closure @@ -5037,7 +5053,7 @@ Module journaled_state. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |) @@ -5109,7 +5125,7 @@ Module journaled_state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_checkpoint_revert : @@ -5589,8 +5605,7 @@ Module journaled_state. |), [ M.read (| acc |) ] |), - ltac:(M.monadic - (UnOp.Pure.not (M.read (| is_cancun_enabled |)))) + ltac:(M.monadic (UnOp.not (| M.read (| is_cancun_enabled |) |))) |) |)) in let _ := @@ -5825,21 +5840,22 @@ Module journaled_state. |) |)); ("target_exists", - UnOp.Pure.not - (M.read (| + UnOp.not (| + M.read (| M.SubPointer.get_struct_record_field (| load_result, "revm_interpreter::host::LoadAccountResult", "is_empty" |) - |))); + |) + |)); ("previously_destroyed", M.read (| previously_destroyed |)) ] ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_selfdestruct : M.IsAssociatedFunction Self "selfdestruct" selfdestruct. @@ -6145,7 +6161,7 @@ Module journaled_state. |))) ] |))) - | _ => ltac:(M.monadic (M.impossible (||))) + | _ => M.impossible "wrong number of arguments" end)) ] |); @@ -6438,7 +6454,7 @@ Module journaled_state. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| account |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_initial_account_load : @@ -6817,8 +6833,8 @@ Module journaled_state. |) in let~ is_cold := M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.apply (Ty.path "std::collections::hash::set::HashSet") @@ -6837,7 +6853,8 @@ Module journaled_state. |); address ] - |)) + |) + |) |) in M.alloc (| Value.Tuple @@ -6863,7 +6880,7 @@ Module journaled_state. |) ])) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_account : M.IsAssociatedFunction Self "load_account" load_account. @@ -7060,15 +7077,16 @@ Module journaled_state. |) in let~ is_not_touched := M.alloc (| - UnOp.Pure.not - (M.call_closure (| + UnOp.not (| + M.call_closure (| M.get_associated_function (| Ty.path "revm_primitives::state::Account", "is_touched", [] |), [ M.read (| acc |) ] - |)) + |) + |) |) in M.alloc (| LogicalOp.and (| @@ -7095,7 +7113,7 @@ Module journaled_state. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_account_exist : @@ -7520,7 +7538,7 @@ Module journaled_state. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_load_code : M.IsAssociatedFunction Self "load_code" load_code. @@ -7957,7 +7975,7 @@ Module journaled_state. M.alloc (| Value.StructTuple "core::result::Result::Ok" [ M.read (| load |) ] |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sload : M.IsAssociatedFunction Self "sload" sload. @@ -8375,7 +8393,7 @@ Module journaled_state. |) |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_sstore : M.IsAssociatedFunction Self "sstore" sstore. @@ -8446,7 +8464,7 @@ Module journaled_state. |) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_tload : M.IsAssociatedFunction Self "tload" tload. @@ -8737,7 +8755,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_tstore : M.IsAssociatedFunction Self "tstore" tstore. @@ -8781,7 +8799,7 @@ Module journaled_state. |) in M.alloc (| Value.Tuple [] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom AssociatedFunction_log : M.IsAssociatedFunction Self "log" log. @@ -9190,7 +9208,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9622,7 +9640,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -9677,7 +9695,7 @@ Module journaled_state. |) in M.alloc (| LogicalOp.and (| - BinOp.Pure.eq (M.read (| __self_tag |)) (M.read (| __arg1_tag |)), + BinOp.eq (| M.read (| __self_tag |), M.read (| __arg1_tag |) |), ltac:(M.monadic (M.read (| M.match_operator (| @@ -9804,9 +9822,10 @@ Module journaled_state. |))) |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| M.read (| __self_2 |) |)) - (M.read (| M.read (| __arg1_2 |) |)))) + (BinOp.eq (| + M.read (| M.read (| __self_2 |) |), + M.read (| M.read (| __arg1_2 |) |) + |))) |), ltac:(M.monadic (M.call_closure (| @@ -10229,7 +10248,7 @@ Module journaled_state. |) |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10287,7 +10306,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10711,7 +10730,7 @@ Module journaled_state. ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10768,7 +10787,7 @@ Module journaled_state. |)) ] |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10805,7 +10824,7 @@ Module journaled_state. [ fun γ => ltac:(M.monadic (M.read (| self |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10838,39 +10857,41 @@ Module journaled_state. (let self := M.alloc (| self |) in let other := M.alloc (| other |) in LogicalOp.and (| - BinOp.Pure.eq - (M.read (| + BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::journaled_state::JournalCheckpoint", "log_i" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::journaled_state::JournalCheckpoint", "log_i" |) - |)), + |) + |), ltac:(M.monadic - (BinOp.Pure.eq - (M.read (| + (BinOp.eq (| + M.read (| M.SubPointer.get_struct_record_field (| M.read (| self |), "revm::journaled_state::JournalCheckpoint", "journal_i" |) - |)) - (M.read (| + |), + M.read (| M.SubPointer.get_struct_record_field (| M.read (| other |), "revm::journaled_state::JournalCheckpoint", "journal_i" |) - |)))) + |) + |))) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : @@ -10907,7 +10928,7 @@ Module journaled_state. [ fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) |))) - | _, _ => M.impossible + | _, _ => M.impossible "wrong number of arguments" end. Axiom Implements : diff --git a/lib/src/expression.rs b/lib/src/expression.rs index da54d724d..79cfdf982 100644 --- a/lib/src/expression.rs +++ b/lib/src/expression.rs @@ -43,6 +43,7 @@ pub(crate) enum CallKind { #[derive(Debug, Eq, PartialEq)] pub(crate) struct LiteralInteger { + pub(crate) kind: String, pub(crate) negative_sign: bool, pub(crate) value: u128, } @@ -388,13 +389,17 @@ impl Literal { Literal::Bool(b) => coq::Expression::just_name("Value.Bool") .apply(&coq::Expression::just_name(b.to_string().as_str())), Literal::Integer(LiteralInteger { + kind, negative_sign, value, - }) => coq::Expression::just_name("Value.Integer").apply(&if *negative_sign { - coq::Expression::just_name(format!("(-{value})").as_str()) - } else { - coq::Expression::just_name(value.to_string().as_str()) - }), + }) => coq::Expression::just_name("Value.Integer").apply_many(&[ + coq::Expression::just_name(format!("IntegerKind.{kind}").as_str()), + if *negative_sign { + coq::Expression::just_name(format!("(-{value})").as_str()) + } else { + coq::Expression::just_name(value.to_string().as_str()) + }, + ]), Literal::Char(c) => coq::Expression::just_name("Value.UnicodeChar").apply( &coq::Expression::just_name((*c as u32).to_string().as_str()), ), @@ -504,9 +509,10 @@ impl Expr { ), ( vec![coq::Expression::Wild], - coq::Expression::monadic( - &coq::Expression::just_name("M.impossible") - .monadic_apply_empty(), + coq::Expression::just_name("M.impossible").apply( + &coq::Expression::String( + "wrong number of arguments".to_string(), + ), ), ), ], diff --git a/lib/src/render.rs b/lib/src/render.rs index 82a205071..c763fe6fc 100644 --- a/lib/src/render.rs +++ b/lib/src/render.rs @@ -144,3 +144,11 @@ where text("]"), ]) } + +pub(crate) fn capitalize(s: &str) -> String { + let mut chars = s.chars(); + match chars.next() { + None => String::new(), + Some(f) => f.to_uppercase().collect::() + chars.as_str(), + } +} diff --git a/lib/src/thir_expression.rs b/lib/src/thir_expression.rs index 5bcc0516d..a31305b1d 100644 --- a/lib/src/thir_expression.rs +++ b/lib/src/thir_expression.rs @@ -2,6 +2,7 @@ use crate::env::*; use crate::expression::*; use crate::path::*; use crate::pattern::*; +use crate::render::*; use crate::thir_ty::*; use crate::ty::CoqType; use rustc_hir::def::DefKind; @@ -11,48 +12,25 @@ use rustc_middle::thir::{AdtExpr, LogicalOp}; use rustc_middle::ty::TyKind; use std::rc::Rc; -fn path_of_bin_op( - env: &Env, - span: &rustc_span::Span, - bin_op: &BinOp, - lhs_ty: &rustc_middle::ty::Ty, -) -> (&'static str, CallKind, Vec>) { - let integer_ty_name = crate::ty::get_integer_ty_name(lhs_ty); - let additional_args = match bin_op { - BinOp::Add | BinOp::Sub | BinOp::Mul | BinOp::Div | BinOp::Rem => match integer_ty_name { - Some(integer_ty_name) => vec![Expr::local_var(integer_ty_name.as_str())], - None => { - emit_warning_with_note( - env, - span, - "Expected an integer type for the parameters", - Some("Please report 🙏"), - ); - - vec![Expr::local_var("Integer.Usize")] - } - }, - _ => vec![], - }; - +fn path_of_bin_op(bin_op: &BinOp) -> (&'static str, CallKind) { match bin_op { - BinOp::Add => ("BinOp.Wrap.add", CallKind::Pure, additional_args), - BinOp::Sub => ("BinOp.Wrap.sub", CallKind::Pure, additional_args), - BinOp::Mul => ("BinOp.Wrap.mul", CallKind::Pure, additional_args), - BinOp::Div => ("BinOp.Wrap.div", CallKind::Pure, additional_args), - BinOp::Rem => ("BinOp.Wrap.rem", CallKind::Pure, additional_args), - BinOp::BitXor => ("BinOp.Pure.bit_xor", CallKind::Pure, additional_args), - BinOp::BitAnd => ("BinOp.Pure.bit_and", CallKind::Pure, additional_args), - BinOp::BitOr => ("BinOp.Pure.bit_or", CallKind::Pure, additional_args), - BinOp::Shl => ("BinOp.Wrap.shl", CallKind::Pure, additional_args), - BinOp::Shr => ("BinOp.Wrap.shr", CallKind::Pure, additional_args), - BinOp::Eq => ("BinOp.Pure.eq", CallKind::Pure, additional_args), - BinOp::Ne => ("BinOp.Pure.ne", CallKind::Pure, additional_args), - BinOp::Lt => ("BinOp.Pure.lt", CallKind::Pure, additional_args), - BinOp::Le => ("BinOp.Pure.le", CallKind::Pure, additional_args), - BinOp::Ge => ("BinOp.Pure.ge", CallKind::Pure, additional_args), - BinOp::Gt => ("BinOp.Pure.gt", CallKind::Pure, additional_args), - BinOp::Offset => ("BinOp.Pure.offset", CallKind::Pure, additional_args), + BinOp::Add => ("BinOp.Wrap.add", CallKind::Effectful), + BinOp::Sub => ("BinOp.Wrap.sub", CallKind::Effectful), + BinOp::Mul => ("BinOp.Wrap.mul", CallKind::Effectful), + BinOp::Div => ("BinOp.Wrap.div", CallKind::Effectful), + BinOp::Rem => ("BinOp.Wrap.rem", CallKind::Effectful), + BinOp::BitXor => ("BinOp.bit_xor", CallKind::Pure), + BinOp::BitAnd => ("BinOp.bit_and", CallKind::Pure), + BinOp::BitOr => ("BinOp.bit_or", CallKind::Pure), + BinOp::Shl => ("BinOp.Wrap.shl", CallKind::Effectful), + BinOp::Shr => ("BinOp.Wrap.shr", CallKind::Effectful), + BinOp::Eq => ("BinOp.eq", CallKind::Effectful), + BinOp::Ne => ("BinOp.ne", CallKind::Effectful), + BinOp::Lt => ("BinOp.lt", CallKind::Effectful), + BinOp::Le => ("BinOp.le", CallKind::Effectful), + BinOp::Ge => ("BinOp.ge", CallKind::Effectful), + BinOp::Gt => ("BinOp.gt", CallKind::Effectful), + BinOp::Offset => ("BinOp.Pure.offset", CallKind::Pure), _ => todo!(), } } @@ -438,6 +416,31 @@ fn get_if_conditions<'a>( } } +fn compile_literal_integer( + env: &Env, + span: &rustc_span::Span, + ty: &rustc_middle::ty::Ty, + negative_sign: bool, + integer: u128, +) -> LiteralInteger { + let uncapitalized_name = match ty.kind() { + TyKind::Int(int_ty) => format!("{int_ty:?}"), + TyKind::Uint(uint_ty) => format!("{uint_ty:?}"), + _ => { + emit_warning_with_note(env, span, "Unknown integer type", Some("Please report 🙏")); + + "unknown_kind_of_integer".to_string() + } + }; + let kind = capitalize(&uncapitalized_name); + + LiteralInteger { + kind, + negative_sign, + value: integer, + } +} + pub(crate) fn compile_expr<'a>( env: &Env<'a>, generics: &'a rustc_middle::ty::Generics, @@ -518,14 +521,13 @@ pub(crate) fn compile_expr<'a>( } thir::ExprKind::Deref { arg } => compile_expr(env, generics, thir, arg).read(), thir::ExprKind::Binary { op, lhs, rhs } => { - let lhs_ty = &thir.exprs.get(*lhs).unwrap().ty; - let (path, kind, additional_args) = path_of_bin_op(env, &expr.span, op, lhs_ty); + let (path, kind) = path_of_bin_op(op); let lhs = compile_expr(env, generics, thir, lhs); let rhs = compile_expr(env, generics, thir, rhs); Rc::new(Expr::Call { func: Expr::local_var(path), - args: [additional_args, vec![lhs.read(), rhs.read()]].concat(), + args: vec![lhs.read(), rhs.read()], kind, }) .alloc() @@ -546,33 +548,15 @@ pub(crate) fn compile_expr<'a>( .alloc() } thir::ExprKind::Unary { op, arg } => { - let (path, kind, additional_args) = match op { - UnOp::Not => ("UnOp.Pure.not", CallKind::Pure, vec![]), - UnOp::Neg => { - let arg_ty = &thir.exprs.get(*arg).unwrap().ty; - let integer_ty_name = crate::ty::get_integer_ty_name(arg_ty); - let additional_args = match integer_ty_name { - Some(integer_ty_name) => vec![Expr::local_var(integer_ty_name.as_str())], - None => { - emit_warning_with_note( - env, - &expr.span, - "Expected an integer type for the parameters", - Some("Please report 🙏"), - ); - - vec![Expr::local_var("Integer.Usize")] - } - }; - - ("UnOp.Panic.neg", CallKind::Effectful, additional_args) - } + let (path, kind) = match op { + UnOp::Not => ("UnOp.not", CallKind::Effectful), + UnOp::Neg => ("UnOp.neg", CallKind::Effectful), }; let arg = compile_expr(env, generics, thir, arg); Rc::new(Expr::Call { func: Expr::local_var(path), - args: [additional_args, vec![arg.read()]].concat(), + args: vec![arg.read()], kind, }) .alloc() @@ -678,8 +662,7 @@ pub(crate) fn compile_expr<'a>( }) } thir::ExprKind::AssignOp { op, lhs, rhs } => { - let lhs_ty = &thir.exprs.get(*lhs).unwrap().ty; - let (path, kind, additional_args) = path_of_bin_op(env, &expr.span, op, lhs_ty); + let (path, kind) = path_of_bin_op(op); let lhs = compile_expr(env, generics, thir, lhs); let rhs = compile_expr(env, generics, thir, rhs); @@ -693,11 +676,7 @@ pub(crate) fn compile_expr<'a>( Expr::local_var("β"), Rc::new(Expr::Call { func: Expr::local_var(path), - args: [ - additional_args, - vec![Expr::local_var("β").read(), rhs.read()], - ] - .concat(), + args: vec![Expr::local_var("β").read(), rhs.read()], kind, }), ], @@ -936,25 +915,25 @@ pub(crate) fn compile_expr<'a>( rustc_ast::LitKind::Char(c) => { Rc::new(Expr::Literal(Rc::new(Literal::Char(c)))).alloc() } - rustc_ast::LitKind::Int(i, _) => { - Rc::new(Expr::Literal(Rc::new(Literal::Integer(LiteralInteger { - negative_sign: *neg, - value: i, - })))) - .alloc() - } + rustc_ast::LitKind::Int(i, _) => Rc::new(Expr::Literal(Rc::new(Literal::Integer( + compile_literal_integer(env, &expr.span, &expr.ty, *neg, i), + )))) + .alloc(), rustc_ast::LitKind::Bool(c) => { Rc::new(Expr::Literal(Rc::new(Literal::Bool(c)))).alloc() } _ => Rc::new(Expr::Literal(Rc::new(Literal::Error))), }, - thir::ExprKind::NonHirLiteral { lit, .. } => { - Rc::new(Expr::Literal(Rc::new(Literal::Integer(LiteralInteger { - negative_sign: false, - value: lit.try_to_uint(lit.size()).unwrap(), - })))) - .alloc() - } + thir::ExprKind::NonHirLiteral { lit, .. } => Rc::new(Expr::Literal(Rc::new( + Literal::Integer(compile_literal_integer( + env, + &expr.span, + &expr.ty, + false, + lit.try_to_uint(lit.size()).unwrap(), + )), + ))) + .alloc(), thir::ExprKind::ZstLiteral { .. } => { match &expr.ty.kind() { TyKind::FnDef(def_id, generic_args) => { diff --git a/lib/src/thir_pattern.rs b/lib/src/thir_pattern.rs index b60c46d60..6d695df2d 100644 --- a/lib/src/thir_pattern.rs +++ b/lib/src/thir_pattern.rs @@ -2,6 +2,7 @@ use crate::env::*; use crate::expression::*; use crate::path::*; use crate::pattern::*; +use crate::render::*; use rustc_middle::thir::{Pat, PatKind}; use rustc_type_ir::TyKind; use std::rc::Rc; @@ -116,12 +117,13 @@ pub(crate) fn compile_pattern(env: &Env, pat: &Pat) -> Rc { } // And for the rest... match &ty.kind() { - rustc_middle::ty::TyKind::Int(_) => { + rustc_middle::ty::TyKind::Int(int_ty) => { let uint_value = constant.try_to_scalar().unwrap().assert_int(); let int_value = uint_value.try_to_int(uint_value.size()).unwrap(); return Rc::new(Pattern::Literal(Rc::new(Literal::Integer( LiteralInteger { + kind: capitalize(&format!("{int_ty:?}")), negative_sign: int_value < 0, // The `unsigned_abs` method is necessary to get the minimal int128's // absolute value. @@ -129,11 +131,12 @@ pub(crate) fn compile_pattern(env: &Env, pat: &Pat) -> Rc { }, )))); } - rustc_middle::ty::TyKind::Uint(_) => { + rustc_middle::ty::TyKind::Uint(uint_ty) => { let uint_value = constant.try_to_scalar().unwrap().assert_int(); return Rc::new(Pattern::Literal(Rc::new(Literal::Integer( LiteralInteger { + kind: capitalize(&format!("{uint_ty:?}")), negative_sign: false, value: uint_value.assert_bits(uint_value.size()), }, diff --git a/lib/src/top_level.rs b/lib/src/top_level.rs index 04bc68387..457e21da5 100644 --- a/lib/src/top_level.rs +++ b/lib/src/top_level.rs @@ -1279,7 +1279,11 @@ impl FunDefinition { ), ( vec![coq::Expression::Wild, coq::Expression::Wild], - coq::Expression::just_name("M.impossible"), + coq::Expression::just_name("M.impossible").apply( + &coq::Expression::String( + "wrong number of arguments".to_string(), + ), + ), ), ], }; diff --git a/lib/src/ty.rs b/lib/src/ty.rs index e6b433b12..3328e38cd 100644 --- a/lib/src/ty.rs +++ b/lib/src/ty.rs @@ -131,34 +131,6 @@ pub(crate) fn compile_path_ty_params( } } -pub(crate) fn get_integer_ty_name(ty: &rustc_middle::ty::Ty) -> Option { - match ty.kind() { - rustc_middle::ty::Int(int_ty) => Some( - match int_ty { - rustc_middle::ty::IntTy::Isize => "Integer.Isize", - rustc_middle::ty::IntTy::I8 => "Integer.I8", - rustc_middle::ty::IntTy::I16 => "Integer.I16", - rustc_middle::ty::IntTy::I32 => "Integer.I32", - rustc_middle::ty::IntTy::I64 => "Integer.I64", - rustc_middle::ty::IntTy::I128 => "Integer.I128", - } - .to_string(), - ), - rustc_middle::ty::Uint(uint_ty) => Some( - match uint_ty { - rustc_middle::ty::UintTy::Usize => "Integer.Usize", - rustc_middle::ty::UintTy::U8 => "Integer.U8", - rustc_middle::ty::UintTy::U16 => "Integer.U16", - rustc_middle::ty::UintTy::U32 => "Integer.U32", - rustc_middle::ty::UintTy::U64 => "Integer.U64", - rustc_middle::ty::UintTy::U128 => "Integer.U128", - } - .to_string(), - ), - _ => None, - } -} - impl CoqType { pub(crate) fn to_coq(&self) -> coq::Expression { match self {